itemengine-cypress-automation 1.0.69 → 1.0.72
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/essayResponseScoringSection.js +2 -2
- package/cypress/e2e/ILC/FeedbackScale/feedbackScaleAdditionalSettingsBasic.js +8 -9
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabBasic.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingWithAlternateAnswer.js +6 -18
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedSetCorrectAnswerCheckboxes.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerCheckboxes.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettingsBasic.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoring.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoringWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownManuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeights.js +5 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeightsWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeights.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeightsWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +6 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +6 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +6 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAddResponseContainer.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsBasic.js +12 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsMultilineResponse.js +4 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsStudentResponseAreaAndLayout.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextManualAndNonScored.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsScoring.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswer.js +0 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsScoring.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswer.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsAdvanceSettingsForAllResponseAreas.js +17 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsBasic.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAutoScoredScoring.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextCaseSensitiveAndIgnoreExtraSpacesCheckboxes.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextManuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeights.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeightsWithAlternateAnswer.js +3 -1
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeights.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingScoring.js +2 -0
- package/cypress/e2e/ILC/Highlight/{highlightBasicScoringForTextSelectionTypes.js → HighlightScoring/highlightBasicScoringForTextSelectionTypes.js} +1 -1
- package/cypress/e2e/ILC/Highlight/HighlightScoring/{manualAndNonScored.js → manuallyAndNonScored.js} +1 -1
- package/cypress/e2e/ILC/Highlight/HighlightScoring/{partialDifferentWeightsCorrectEqualToAlternatePoints.js → partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js} +2 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsScoring.js +7 -2
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointEqualToAlternatePoints.js +2 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsScoring.js +6 -1
- package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsBasic.js +2 -3
- package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsMaximumNumberOfAnswers.js +0 -2
- package/cypress/e2e/ILC/Highlight/highlightEditTabScoringSection.js +4 -3
- package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettings.js +4 -4
- package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettingsBasic.js +4 -10
- package/cypress/e2e/ILC/HighlightImage/highlightImageAllOrNothingScoring.js +3 -3
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabScoring.js +9 -5
- package/cypress/e2e/ILC/HighlightImage/highlightImageManuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsScoring.js +14 -15
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsWithAlternateAnswer.js +0 -3
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialEqualWeightsScoring.js +14 -14
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferentWeightsScoring.js +2 -3
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsScorings.js +2 -2
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsScoring.js +2 -3
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsScoring.js +2 -2
- package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/ListMatching/listMatchingEditTabScoringTypes.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +2 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/manuallyAndNonScoredScoring.js +3 -3
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +4 -3
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsScoring.js +14 -13
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +2 -2
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsScoring.js +0 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsAnswerNumerationAndOptionLabel.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsOptionStyleDropdown.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsSetPointsPopup.js +3 -7
- package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabScoringSection.js +6 -6
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/manuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsScoring.js +12 -12
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsScoring.js +13 -13
- package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/ListSorting/listSortingEditTabScoringSection.js +6 -6
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionAdditionalSettingsGridOptions.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +16 -19
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAutoScoredScoring.js +4 -4
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabScoringSection.js +2 -2
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridManuallyAndNonScoredScoring.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeights.js +12 -12
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +25 -26
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +23 -24
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +25 -26
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeights.js +14 -13
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +23 -24
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +21 -22
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +23 -24
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridSetCorrectAnswerSection.js +7 -7
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettingsBasic.js +10 -10
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.js +37 -53
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseConditionalCheckboxes.js +3 -3
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js +4 -4
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseEditTabScoringSection.js +7 -19
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseExactConditionalRadioButton.js +4 -4
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseManuallyScoredNonScoredScoringSection.js +9 -15
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAdditionalSettingsBasic.js +16 -18
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAutoScoredScoring.js +4 -4
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabScoringSection.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridManuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeights.js +11 -10
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +16 -16
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +18 -18
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeights.js +10 -9
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +14 -14
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +16 -17
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridSetCorrectAnswerSection.js +31 -31
- package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +60 -66
- package/cypress/e2e/ILC/UploadResponse/uploadResponseEditTabBasicSections.js +84 -109
- package/cypress/e2e/ILC/UploadResponse/uploadResponseHeaderSection.js +4 -18
- package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +119 -150
- package/cypress/e2e/ILC/UploadResponse/uploadResponseScoringSection.js +2 -2
- package/cypress/e2e/ILC/UploadResponse/uplodResponsePreviewUploadedFileProperties.js +110 -164
- package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettings.js +1 -1
- package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettingsBasic.js +11 -12
- package/cypress/e2e/ILC/VideoResponse/videoResponsePreviewTab.js +6 -5
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.js +4 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +8 -2
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +10 -4
- package/package.json +1 -1
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingScoring.js +0 -0
@@ -114,7 +114,8 @@ describe('Create item page - Highlight: Edit tab scoring types and set correct a
|
|
114
114
|
|
115
115
|
it('Accessibility of \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input field and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
|
116
116
|
cy.checkAccessibility(highlightPage.penaltyPointsInputField().parents('.points-container'));
|
117
|
-
cy.checkAccessibility(highlightPage.
|
117
|
+
cy.checkAccessibility(highlightPage.minimumScoringDropdown());
|
118
|
+
cy.checkAccessibility(highlightPage.roundingDropdown());
|
118
119
|
});
|
119
120
|
|
120
121
|
it('When the user switches to \'All or nothing\' scoring, the \'Points per response\' label and the points displayed for individual responses should not be displayed and the points displayed in \'Points\' input field should remain unchanged', () => {
|
@@ -320,14 +321,14 @@ describe('Create item page - Highlight: Edit tab scoring types and set correct a
|
|
320
321
|
highlightPage.steps.selectAScoringTypeFromScoringTypeDropdown('Manually scored')
|
321
322
|
});
|
322
323
|
|
323
|
-
it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed, \'All or Nothing\', \'Partial - equal weights\' and \'Partial - different weights\' radio buttons should not be displayed, \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed, round down score label and checkbox should not be displayed and inside Additional Settings accordion Check Answer section i.e. \'Allow
|
324
|
+
it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed, \'All or Nothing\', \'Partial - equal weights\' and \'Partial - different weights\' radio buttons should not be displayed, \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed, round down score label and checkbox should not be displayed and inside Additional Settings accordion Check Answer section i.e. \'Allow student to check answer\' checkbox should not be displayed', () => {
|
324
325
|
utilities.verifyElementVisibilityState(highlightPage.setCorrectAnswerLabel(), 'notExist');
|
325
326
|
utilities.verifyElementVisibilityState(highlightPage.allOrNothingCheckbox(), 'notExist');
|
326
327
|
utilities.verifyElementVisibilityState(highlightPage.partialEqualWeightsCheckbox(), 'notExist');
|
327
328
|
utilities.verifyElementVisibilityState(highlightPage.partialDifferentWeightsCheckbox(), 'notExist');
|
328
329
|
utilities.verifyElementVisibilityState(highlightPage.penaltyPointsInputField(), 'notExist');
|
329
330
|
utilities.verifyElementVisibilityState(highlightPage.penaltyPointsLabel(), 'notExist');
|
330
|
-
utilities.verifyElementVisibilityState(highlightPage.
|
331
|
+
utilities.verifyElementVisibilityState(highlightPage.roundingDropdown(), 'notExist');
|
331
332
|
utilities.verifyElementVisibilityState(highlightPage.rounddownScoreCheckboxLabel(), 'notExist');
|
332
333
|
highlightPage.steps.verifyDefaultMinimumScoreIfAttemptedLabelAndPointsField();
|
333
334
|
highlightPage.steps.expandAdditonalSettings()
|
@@ -9,12 +9,9 @@ let imageHeight = 500;
|
|
9
9
|
const flowerHighlightRegion = [[24, 6], [24, 24], [56, 24], [56, 6]];
|
10
10
|
const branchesHighlightRegion = [[36, 36], [36, 46], [58, 46], [58, 36]];
|
11
11
|
const leafHighlightRegion = [[54, 48], [54, 72], [82, 72], [82, 48]];
|
12
|
-
const rootsHighlightRegion = [[28, 84], [28, 98], [74, 98], [74, 84]];
|
13
12
|
const numbers = ['1', '2'];
|
14
13
|
const lowercase = ['a', 'b'];
|
15
14
|
const uppercase = ['A', 'B'];
|
16
|
-
const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
|
17
|
-
const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
|
18
15
|
const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
|
19
16
|
|
20
17
|
describe('Create Item page - Highlight image: Additional settings', () => {
|
@@ -47,7 +44,7 @@ describe('Create Item page - Highlight image: Additional settings', () => {
|
|
47
44
|
|
48
45
|
//Note: a11y covered in verifyAdditonalSettingsAccordionProperties
|
49
46
|
});
|
50
|
-
|
47
|
+
|
51
48
|
describe('Additional settings: Answer numeration (only while grading) contents', () => {
|
52
49
|
abortEarlySetup();
|
53
50
|
before(() => {
|
@@ -117,6 +114,7 @@ describe('Create Item page - Highlight image: Additional settings', () => {
|
|
117
114
|
highlightImagePage.steps.switchToPreviewTab();
|
118
115
|
highlightImagePage.steps.checkShowCorrectAnswerCheckbox();
|
119
116
|
highlightImagePage.steps.highlightARegionInPreviewTab(1);
|
117
|
+
highlightImagePage.steps.checkShowCorrectAnswerCheckbox();
|
120
118
|
highlightImagePage.steps.verifyCorrectAnswerContainerNumeration(numbers);
|
121
119
|
});
|
122
120
|
|
@@ -125,6 +123,7 @@ describe('Create Item page - Highlight image: Additional settings', () => {
|
|
125
123
|
highlightImagePage.steps.selectAnswerNumerationDropdownOption(`${answerNumerationDropdownOptions[1]}`);
|
126
124
|
highlightImagePage.steps.switchToPreviewTab();
|
127
125
|
highlightImagePage.steps.highlightARegionInPreviewTab(1);
|
126
|
+
highlightImagePage.steps.checkShowCorrectAnswerCheckbox();
|
128
127
|
highlightImagePage.steps.verifyCorrectAnswerContainerNumeration(uppercase);
|
129
128
|
});
|
130
129
|
|
@@ -133,6 +132,7 @@ describe('Create Item page - Highlight image: Additional settings', () => {
|
|
133
132
|
highlightImagePage.steps.selectAnswerNumerationDropdownOption(`${answerNumerationDropdownOptions[2]}`);
|
134
133
|
highlightImagePage.steps.switchToPreviewTab();
|
135
134
|
highlightImagePage.steps.highlightARegionInPreviewTab(1);
|
135
|
+
highlightImagePage.steps.checkShowCorrectAnswerCheckbox();
|
136
136
|
highlightImagePage.steps.verifyCorrectAnswerContainerNumeration(lowercase);
|
137
137
|
});
|
138
138
|
});
|
@@ -4,18 +4,12 @@ import abortEarlySetup from "../../../support/helpers/abortEarly";
|
|
4
4
|
import utilities from "../../../support/helpers/utilities";
|
5
5
|
const css = Cypress.env('css');
|
6
6
|
|
7
|
-
let imageWidth = 500;
|
8
|
-
let imageHeight = 500;
|
9
7
|
const flowerHighlightRegion = [[24, 6], [24, 24], [56, 24], [56, 6]];
|
10
8
|
const branchesHighlightRegion = [[36, 36], [36, 46], [58, 46], [58, 36]];
|
11
9
|
const leafHighlightRegion = [[54, 48], [54, 72], [82, 72], [82, 48]];
|
12
10
|
const rootsHighlightRegion = [[28, 84], [28, 98], [74, 98], [74, 84]];
|
13
|
-
const
|
14
|
-
const
|
15
|
-
const uppercase = ['A', 'B'];
|
16
|
-
const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
|
17
|
-
const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
|
18
|
-
const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
|
11
|
+
const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
12
|
+
const fontSizes = ['12px', '14px', '16px', '18px', '22px', '26px'];
|
19
13
|
|
20
14
|
describe('Create Item page - Highlight image: Additional settings', () => {
|
21
15
|
before(() => {
|
@@ -67,10 +61,10 @@ describe('Create Item page - Highlight image: Additional settings', () => {
|
|
67
61
|
highlightImagePage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex);
|
68
62
|
utilities.verifyInnerText(highlightImagePage.fontSizeDropdown(), `${option}`);
|
69
63
|
utilities.verifyCSS(highlightImagePage.setCorrectAnswerSectionImage(), {
|
70
|
-
'font-size': fontSizes[
|
64
|
+
'font-size': fontSizes[1]
|
71
65
|
});
|
72
66
|
utilities.verifyCSS(highlightImagePage.highlightNumeration(), {
|
73
|
-
'font-size': fontSizes[
|
67
|
+
'font-size': fontSizes[2]
|
74
68
|
});
|
75
69
|
});
|
76
70
|
});
|
@@ -137,7 +137,7 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
137
137
|
it('CSS of incorrect answer state', { tags: 'css' }, () => {
|
138
138
|
highlightImagePage.steps.checkShowCorrectAnswerCheckbox();
|
139
139
|
cy.log('Verifying CSS of incorrect cross-mark icon')
|
140
|
-
utilities.verifyCSS(highlightImagePage.
|
140
|
+
utilities.verifyCSS(highlightImagePage.correctIncorrectAnswerLabel(), {
|
141
141
|
'color': css.color.incorrectAnswer,
|
142
142
|
'font-size': css.fontSize.normal,
|
143
143
|
'font-weight': css.fontWeight.bold
|
@@ -213,12 +213,12 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
213
213
|
'color': css.color.primaryBtn,
|
214
214
|
'background-color': css.color.correctAnswer
|
215
215
|
});
|
216
|
-
utilities.verifyCSS(highlightImagePage.
|
216
|
+
utilities.verifyCSS(highlightImagePage.correctIncorrectAnswerLabel(), {
|
217
217
|
'color': css.color.correctAnswer,
|
218
218
|
'font-size': css.fontSize.normal,
|
219
219
|
'font-weight': css.fontWeight.bold
|
220
220
|
});
|
221
|
-
utilities.verifyCSS(highlightImagePage.
|
221
|
+
utilities.verifyCSS(highlightImagePage.correctIncorrectAnswerLabel(), {
|
222
222
|
'color': css.color.correctAnswer,
|
223
223
|
'font-size': css.fontSize.normal,
|
224
224
|
'font-weight': css.fontWeight.bold
|
@@ -149,6 +149,8 @@ describe('Create Item page - Highlight image: Edit tab scoring types and set cor
|
|
149
149
|
|
150
150
|
it('User should be able to enter points in \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input fields', () => {
|
151
151
|
highlightImagePage.steps.allotPenaltyPoints(2);
|
152
|
+
highlightImagePage.steps.expandMinimumScoringDropdown()
|
153
|
+
highlightImagePage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
152
154
|
highlightImagePage.steps.allotMinimumScoreAwardedIfAttempted(1);
|
153
155
|
});
|
154
156
|
|
@@ -184,9 +186,9 @@ describe('Create Item page - Highlight image: Edit tab scoring types and set cor
|
|
184
186
|
'font-weight': css.fontWeight.semibold
|
185
187
|
});
|
186
188
|
utilities.verifyCSS(highlightImagePage.rounddownScoreCheckboxLabel(), {
|
187
|
-
'color': css.color.
|
189
|
+
'color': css.color.labels,
|
188
190
|
'font-size': css.fontSize.normal,
|
189
|
-
'font-weight': css.fontWeight.
|
191
|
+
'font-weight': css.fontWeight.semibold
|
190
192
|
});
|
191
193
|
});
|
192
194
|
|
@@ -269,6 +271,8 @@ describe('Create Item page - Highlight image: Edit tab scoring types and set cor
|
|
269
271
|
|
270
272
|
it('User should be able to enter points in \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input fields', () => {
|
271
273
|
highlightImagePage.steps.allotPenaltyPoints(2);
|
274
|
+
highlightImagePage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
275
|
+
highlightImagePage.steps.allotMinimumScoreAwardedIfAttempted(1);
|
272
276
|
highlightImagePage.steps.allotMinimumScoreAwardedIfAttempted(1);
|
273
277
|
});
|
274
278
|
|
@@ -298,9 +302,9 @@ describe('Create Item page - Highlight image: Edit tab scoring types and set cor
|
|
298
302
|
'font-weight': css.fontWeight.semibold
|
299
303
|
});
|
300
304
|
utilities.verifyCSS(highlightImagePage.rounddownScoreCheckboxLabel(), {
|
301
|
-
'color': css.color.
|
305
|
+
'color': css.color.labels,
|
302
306
|
'font-size': css.fontSize.normal,
|
303
|
-
'font-weight': css.fontWeight.
|
307
|
+
'font-weight': css.fontWeight.semibold
|
304
308
|
});
|
305
309
|
});
|
306
310
|
|
@@ -355,7 +359,7 @@ describe('Create Item page - Highlight image: Edit tab scoring types and set cor
|
|
355
359
|
highlightImagePage.steps.selectAScoringTypeFromScoringTypeDropdown('Manually scored');
|
356
360
|
});
|
357
361
|
|
358
|
-
it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed, \'All or Nothing\', \'Partial - equal weights\' and \'Partial - different weights\' radio buttons should not be displayed, \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed, round down score label and checkbox should not be displayed and inside Additional Settings accordion Check Answer section i.e. \'Allow
|
362
|
+
it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed, \'All or Nothing\', \'Partial - equal weights\' and \'Partial - different weights\' radio buttons should not be displayed, \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed, round down score label and checkbox should not be displayed and inside Additional Settings accordion Check Answer section i.e. \'Allow student to check answer\' checkbox should not be displayed', () => {
|
359
363
|
utilities.verifyElementVisibilityState(highlightImagePage.setCorrectAnswerLabel(), 'notExist');
|
360
364
|
utilities.verifyElementVisibilityState(highlightImagePage.setCorrectAnswerHelpText(), 'notExist');
|
361
365
|
utilities.verifyElementVisibilityState(highlightImagePage.correctTab(), 'notExist');
|
@@ -46,7 +46,7 @@ describe('Create Item page - Highlight image - Manually and Non-scored', () => {
|
|
46
46
|
highlightImagePage.steps.verifyRegionIsNotHighlighted(2);
|
47
47
|
});
|
48
48
|
|
49
|
-
highlightImagePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
|
49
|
+
highlightImagePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
50
50
|
});
|
51
51
|
|
52
52
|
describe('Question Preview: Non scored', () => {
|
@@ -34,7 +34,6 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
34
34
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(0);
|
35
35
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(3);
|
36
36
|
highlightImagePage.steps.selectPartialDifferentWeightsCheckbox();
|
37
|
-
highlightImagePage.steps.uncheckRoundDownScoreCheckbox();
|
38
37
|
highlightImagePage.steps.addPartialDifferentWeightsPoints([4.2, , , 2.3]);
|
39
38
|
highlightImagePage.steps.expandAdditonalSettings();
|
40
39
|
highlightImagePage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
@@ -183,21 +182,7 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
183
182
|
highlightImagePage.steps.switchToPreviewTab();
|
184
183
|
});
|
185
184
|
|
186
|
-
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
|
187
|
-
highlightImagePage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
|
188
|
-
highlightImagePage.steps.highlightARegionInPreviewTab(0);
|
189
|
-
highlightImagePage.steps.verifyPreviewTabScoreText(4, 9.5);
|
190
|
-
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
191
|
-
highlightImagePage.steps.highlightARegionInPreviewTab(1);
|
192
|
-
highlightImagePage.steps.highlightARegionInPreviewTab(3);
|
193
|
-
highlightImagePage.steps.verifyPreviewTabScoreText(9, 9.5);
|
194
|
-
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
195
|
-
});
|
196
|
-
|
197
185
|
it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
|
198
|
-
highlightImagePage.steps.switchToEditTab()
|
199
|
-
highlightImagePage.steps.uncheckRoundDownScoreCheckbox()
|
200
|
-
highlightImagePage.steps.switchToPreviewTab();
|
201
186
|
highlightImagePage.steps.highlightARegionInPreviewTab(3);
|
202
187
|
highlightImagePage.steps.verifyPreviewTabScoreText(2.3, 9.5);
|
203
188
|
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
@@ -206,5 +191,19 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
206
191
|
highlightImagePage.steps.verifyPreviewTabScoreText(9.5, 9.5);
|
207
192
|
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
208
193
|
});
|
194
|
+
|
195
|
+
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
|
196
|
+
highlightImagePage.steps.switchToEditTab()
|
197
|
+
highlightImagePage.steps.expandRoundingDropdown();
|
198
|
+
highlightImagePage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
199
|
+
highlightImagePage.steps.switchToPreviewTab();
|
200
|
+
highlightImagePage.steps.highlightARegionInPreviewTab(0);
|
201
|
+
highlightImagePage.steps.verifyPreviewTabScoreText(4, 9.5);
|
202
|
+
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
203
|
+
highlightImagePage.steps.highlightARegionInPreviewTab(1);
|
204
|
+
highlightImagePage.steps.highlightARegionInPreviewTab(3);
|
205
|
+
highlightImagePage.steps.verifyPreviewTabScoreText(9, 9.5);
|
206
|
+
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
207
|
+
});
|
209
208
|
});
|
210
209
|
});
|
package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsWithAlternateAnswer.js
CHANGED
@@ -34,7 +34,6 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
34
34
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(0);
|
35
35
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(3);
|
36
36
|
highlightImagePage.steps.selectPartialDifferentWeightsCheckbox();
|
37
|
-
highlightImagePage.steps.uncheckRoundDownScoreCheckbox();
|
38
37
|
highlightImagePage.steps.addPartialDifferentWeightsPoints([7, , , 8]);
|
39
38
|
highlightImagePage.steps.clickOnAddAlternateAnswerButton();
|
40
39
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(0);
|
@@ -339,7 +338,6 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
339
338
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(0);
|
340
339
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(3);
|
341
340
|
highlightImagePage.steps.selectPartialDifferentWeightsCheckbox();
|
342
|
-
highlightImagePage.steps.uncheckRoundDownScoreCheckbox();
|
343
341
|
highlightImagePage.steps.addPartialDifferentWeightsPoints([9, , , 3]);
|
344
342
|
highlightImagePage.steps.clickOnAddAlternateAnswerButton();
|
345
343
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(0);
|
@@ -644,7 +642,6 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
644
642
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(0);
|
645
643
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(3);
|
646
644
|
highlightImagePage.steps.selectPartialDifferentWeightsCheckbox();
|
647
|
-
highlightImagePage.steps.uncheckRoundDownScoreCheckbox();
|
648
645
|
highlightImagePage.steps.addPartialDifferentWeightsPoints([7, , , 8]);
|
649
646
|
highlightImagePage.steps.clickOnAddAlternateAnswerButton();
|
650
647
|
highlightImagePage.steps.highlightARegionInSetCorrectAnswerSection(0);
|
@@ -181,21 +181,7 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
181
181
|
highlightImagePage.steps.switchToPreviewTab();
|
182
182
|
});
|
183
183
|
|
184
|
-
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
|
185
|
-
highlightImagePage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
|
186
|
-
highlightImagePage.steps.highlightARegionInPreviewTab(0);
|
187
|
-
highlightImagePage.steps.verifyPreviewTabScoreText(2, 6.3);
|
188
|
-
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
189
|
-
highlightImagePage.steps.highlightARegionInPreviewTab(1);
|
190
|
-
highlightImagePage.steps.highlightARegionInPreviewTab(3);
|
191
|
-
highlightImagePage.steps.verifyPreviewTabScoreText(6, 6.3);
|
192
|
-
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
193
|
-
});
|
194
|
-
|
195
184
|
it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
|
196
|
-
highlightImagePage.steps.switchToEditTab()
|
197
|
-
highlightImagePage.steps.uncheckRoundDownScoreCheckbox()
|
198
|
-
highlightImagePage.steps.switchToPreviewTab();
|
199
185
|
highlightImagePage.steps.highlightARegionInPreviewTab(3);
|
200
186
|
highlightImagePage.steps.verifyPreviewTabScoreText(2.1, 6.3);
|
201
187
|
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
@@ -204,5 +190,19 @@ describe('Create Item page - Highlight image: Preview tab Scoring Section', () =
|
|
204
190
|
highlightImagePage.steps.verifyPreviewTabScoreText(6.3, 6.3);
|
205
191
|
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
206
192
|
});
|
193
|
+
|
194
|
+
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
|
195
|
+
highlightImagePage.steps.switchToEditTab()
|
196
|
+
highlightImagePage.steps.expandRoundingDropdown();
|
197
|
+
highlightImagePage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
198
|
+
highlightImagePage.steps.switchToPreviewTab();
|
199
|
+
highlightImagePage.steps.highlightARegionInPreviewTab(0);
|
200
|
+
highlightImagePage.steps.verifyPreviewTabScoreText(2, 6.3);
|
201
|
+
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
202
|
+
highlightImagePage.steps.highlightARegionInPreviewTab(1);
|
203
|
+
highlightImagePage.steps.highlightARegionInPreviewTab(3);
|
204
|
+
highlightImagePage.steps.verifyPreviewTabScoreText(6, 6.3);
|
205
|
+
highlightImagePage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
206
|
+
});
|
207
207
|
});
|
208
208
|
});
|
@@ -26,7 +26,7 @@ describe('Create Item page - List Matching - grouped options layout - Manually s
|
|
26
26
|
listMatchingPage.steps.verifyGroupedResponseOptionsInPreviewTab(1, 'Group 2', ['Correct answer for stem 2', 'Incorrect answer 2']);
|
27
27
|
});
|
28
28
|
|
29
|
-
listMatchingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
|
29
|
+
listMatchingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
30
30
|
});
|
31
31
|
|
32
32
|
describe('Question Preview: Non scored grouped options layout', () => {
|
@@ -9,14 +9,13 @@ describe('Create Item page - List Matching - grouped options layout - Partial di
|
|
9
9
|
describe('Question Preview: AutoScored - Partial different weights grouped options layout', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
|
-
cy.log('Navigate to question, add input to stems and options, set correct answers, switch to partial different weights scoring, allocate points, allow
|
12
|
+
cy.log('Navigate to question, add input to stems and options, set correct answers, switch to partial different weights scoring, allocate points, allow student to check answer, switch to preview tab');
|
13
13
|
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
14
|
cy.barsPreLoaderWait();
|
15
15
|
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithoutAlternateTab();
|
16
16
|
listMatchingPage.steps.selectPartialDifferentWeightsCheckbox()
|
17
17
|
listMatchingPage.steps.setCorrectAnswersForScoringWithoutAlternateTab();
|
18
18
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([5.4, 4.6]);
|
19
|
-
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
20
19
|
listMatchingPage.steps.expandAdditonalSettings();
|
21
20
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
22
21
|
listMatchingPage.steps.switchToPreviewTab();
|
@@ -34,7 +33,7 @@ describe('Create Item page - List Matching - grouped options layout - Partial di
|
|
34
33
|
describe('Question Preview: AutoScored - Partial different weights grouped options layout- Round down score', () => {
|
35
34
|
abortEarlySetup();
|
36
35
|
before(() => {
|
37
|
-
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial different weights scoring, allow
|
36
|
+
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial different weights scoring, allow student to check answer, switch to preview tab');
|
38
37
|
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
39
38
|
cy.barsPreLoaderWait();
|
40
39
|
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithoutAlternateTab();
|
@@ -19,7 +19,6 @@ describe('Create Item page - List Matching - grouped options layout - Partial di
|
|
19
19
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
20
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
21
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([4, 9, 6, 10]);
|
22
|
-
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
listMatchingPage.steps.expandAdditonalSettings();
|
24
23
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
24
|
listMatchingPage.steps.switchToPreviewTab();
|
@@ -19,7 +19,6 @@ describe('Create Item page - List Matching - grouped options layout - Partial di
|
|
19
19
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
20
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
21
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([6, 9, 4, 5]);
|
22
|
-
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
listMatchingPage.steps.expandAdditonalSettings();
|
24
23
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
24
|
listMatchingPage.steps.switchToPreviewTab();
|
@@ -19,7 +19,6 @@ describe('Create Item page - List Matching - grouped options layout - Partial di
|
|
19
19
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
20
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
21
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([3, 9, 2, 6]);
|
22
|
-
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
listMatchingPage.steps.expandAdditonalSettings();
|
24
23
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
24
|
listMatchingPage.steps.switchToPreviewTab();
|
@@ -9,7 +9,7 @@ describe('Create Item page - List Matching - standard options layout - Partial e
|
|
9
9
|
describe('Question Preview: AutoScored - Partial equal weights grouped options layout', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
|
-
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial equal weights scoring, allow
|
12
|
+
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial equal weights scoring, allow student to check answer, switch to preview tab');
|
13
13
|
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
14
|
cy.barsPreLoaderWait();
|
15
15
|
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithoutAlternateTab();
|
@@ -33,7 +33,7 @@ describe('Create Item page - List Matching - standard options layout - Partial e
|
|
33
33
|
describe('Question Preview: AutoScored - Partial equal weights grouped options layout- Round down score', () => {
|
34
34
|
abortEarlySetup();
|
35
35
|
before(() => {
|
36
|
-
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial equal weights scoring, allow
|
36
|
+
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial equal weights scoring, allow student to check answer, switch to preview tab');
|
37
37
|
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
38
38
|
cy.barsPreLoaderWait();
|
39
39
|
listMatchingPage.steps.setQuestionStemsAndGroupedOptionsForScoringWithoutAlternateTab();
|
@@ -25,7 +25,7 @@ describe('Create Item page - List Matching - standard options layout - Manually
|
|
25
25
|
listMatchingPage.steps.verifyOptionsInPreviewTab(['Correct answer for stem 1', 'Correct answer for stem 2', 'Incorrect answer 1', 'Incorrect answer 2']);
|
26
26
|
});
|
27
27
|
|
28
|
-
listMatchingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
|
28
|
+
listMatchingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
29
29
|
});
|
30
30
|
|
31
31
|
describe('Question Preview: Non scored standard options layout', () => {
|
@@ -19,7 +19,6 @@ describe('Create Item page - List Matching - standard options layout - Partial d
|
|
19
19
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
20
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
21
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([4, 9, 6, 10]);
|
22
|
-
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
listMatchingPage.steps.expandAdditonalSettings();
|
24
23
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
24
|
listMatchingPage.steps.switchToPreviewTab();
|
@@ -19,7 +19,6 @@ describe('Create Item page - List Matching - standard options layout - Partial d
|
|
19
19
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
20
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
21
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([6, 9, 4, 5]);
|
22
|
-
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
listMatchingPage.steps.expandAdditonalSettings();
|
24
23
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
24
|
listMatchingPage.steps.switchToPreviewTab();
|
@@ -19,7 +19,6 @@ describe('Create Item page - List Matching - standard options layout - Partial d
|
|
19
19
|
listMatchingPage.steps.clickOnAddAlternateAnswerButton();
|
20
20
|
listMatchingPage.steps.setCorrectAnswersForAlternateTab();
|
21
21
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([3, 9, 2, 6]);
|
22
|
-
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
listMatchingPage.steps.expandAdditonalSettings();
|
24
23
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
24
|
listMatchingPage.steps.switchToPreviewTab();
|
@@ -9,14 +9,13 @@ describe('Create Item page - List Matching - standard options layout - Partial d
|
|
9
9
|
describe('Question Preview: AutoScored - Partial different weights standard options layout', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
|
-
cy.log('Navigate to question, add input to stems and options, set correct answers, switch to partial different weights scoring, allocate points, allow
|
12
|
+
cy.log('Navigate to question, add input to stems and options, set correct answers, switch to partial different weights scoring, allocate points, allow student to check answer, switch to preview tab');
|
13
13
|
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
14
|
cy.barsPreLoaderWait();
|
15
15
|
listMatchingPage.steps.setQuestionStemsAndOptionsForScoringWithoutAlternateTab();
|
16
16
|
listMatchingPage.steps.selectPartialDifferentWeightsCheckbox()
|
17
17
|
listMatchingPage.steps.setCorrectAnswersForScoringWithoutAlternateTab();
|
18
18
|
listMatchingPage.steps.addPartialDifferentWeightsPoints([5.4, 4.6]);
|
19
|
-
listMatchingPage.steps.uncheckRoundDownScoreCheckbox();
|
20
19
|
listMatchingPage.steps.expandAdditonalSettings();
|
21
20
|
listMatchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
22
21
|
listMatchingPage.steps.switchToPreviewTab();
|
@@ -34,7 +33,7 @@ describe('Create Item page - List Matching - standard options layout - Partial d
|
|
34
33
|
describe('Question Preview: AutoScored - Partial different weights standard options layout - Round down score', () => {
|
35
34
|
abortEarlySetup();
|
36
35
|
before(() => {
|
37
|
-
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial different weights scoring, allow
|
36
|
+
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial different weights scoring, allow student to check answer, switch to preview tab');
|
38
37
|
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
39
38
|
cy.barsPreLoaderWait();
|
40
39
|
listMatchingPage.steps.setQuestionStemsAndOptionsForScoringWithoutAlternateTab();
|
@@ -9,7 +9,7 @@ describe('Create Item page - List Matching - standard options layout - Partial e
|
|
9
9
|
describe('Question Preview: AutoScored - Partial equal weights standard options layout', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
|
-
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial equal weights scoring, allow
|
12
|
+
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial equal weights scoring, allow student to check answer, switch to preview tab');
|
13
13
|
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
14
14
|
cy.barsPreLoaderWait();
|
15
15
|
listMatchingPage.steps.setQuestionStemsAndOptionsForScoringWithoutAlternateTab();
|
@@ -33,7 +33,7 @@ describe('Create Item page - List Matching - standard options layout - Partial e
|
|
33
33
|
describe('Question Preview: AutoScored - Partial equal weights standard options layout - Round down score', () => {
|
34
34
|
abortEarlySetup();
|
35
35
|
before(() => {
|
36
|
-
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial equal weights scoring, allow
|
36
|
+
cy.log('Navigate to question, add input to stems and options, set correct answers and allocate points, switch to partial equal weights scoring, allow student to check answer, switch to preview tab');
|
37
37
|
listMatchingPage.steps.navigateToCreateQuestion('list matching');
|
38
38
|
cy.barsPreLoaderWait();
|
39
39
|
listMatchingPage.steps.setQuestionStemsAndOptionsForScoringWithoutAlternateTab();
|
@@ -3,8 +3,8 @@ import abortEarlySetup from "../../../support/helpers/abortEarly";
|
|
3
3
|
import utilities from "../../../support/helpers/utilities";
|
4
4
|
const css = Cypress.env('css');
|
5
5
|
|
6
|
-
const fontSizeDropdownOptions = ['
|
7
|
-
const fontSizes = ['
|
6
|
+
const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
7
|
+
const fontSizes = ['12px', '14px', '16px', '18px', '22px', '26px'];
|
8
8
|
|
9
9
|
describe('List matching - additional settings', () => {
|
10
10
|
before(() => {
|
@@ -69,7 +69,7 @@ describe('Create Item page - List Matching: Edit tab scoring types and set corr
|
|
69
69
|
listMatchingPage.steps.selectAScoringTypeFromScoringTypeDropdown('Manually scored')
|
70
70
|
});
|
71
71
|
|
72
|
-
it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'All or Nothing\', \'Partial - equal weights\' and \'Partial - different weights\' radio buttons should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed; and inside Additional Settings accordion Check Answer section i.e. \'Allow
|
72
|
+
it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'All or Nothing\', \'Partial - equal weights\' and \'Partial - different weights\' radio buttons should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed; and inside Additional Settings accordion Check Answer section i.e. \'Allow student to check answer\' checkbox should not be displayed', () => {
|
73
73
|
listMatchingPage.setCorrectAnswerLabel()
|
74
74
|
.should('not.exist');
|
75
75
|
listMatchingPage.allOrNothingCheckbox()
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { listOrderingPage } from "../../../../pages/listOrderingPage";
|
2
2
|
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
-
import utilities from "../../../../support/helpers/utilities";
|
4
3
|
|
5
4
|
let options = ['sprout', 'plant', 'flower', 'seed'];
|
6
5
|
let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
@@ -134,6 +133,7 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
|
|
134
133
|
|
135
134
|
it('When the user attempts the question partially correct exclusively according to the alternate tab then 0 points should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, \'Incorrect\' label and border should be displayed and the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the alternate tab with numeration', () => {
|
136
135
|
listOrderingPage.steps.resetQuestionPreview(options);
|
136
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
|
137
137
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
|
138
138
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
|
139
139
|
listOrderingPage.steps.verifyPreviewTabScoreText(0, 25);
|
@@ -131,6 +131,7 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
|
|
131
131
|
|
132
132
|
it('When the user attempts the question partially correct exclusively according to the alternate tab then 0 points should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, \'Incorrect\' label and border should be displayed and the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the alternate tab with numeration', () => {
|
133
133
|
listOrderingPage.steps.resetQuestionPreview(options);
|
134
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
|
134
135
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
|
135
136
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
|
136
137
|
listOrderingPage.steps.verifyPreviewTabScoreText(0, 20);
|
@@ -141,7 +142,7 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
|
|
141
142
|
listOrderingPage.steps.verifyIncorrectOptionsCrossmarkIcon('seed');
|
142
143
|
listOrderingPage.steps.verifyIncorrectAttemptBorder();
|
143
144
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
|
144
|
-
listOrderingPage.steps.verifyCorrectAnswerContainerContents(['seed', 'plant'], ['1', '4']);
|
145
|
+
listOrderingPage.steps.verifyCorrectAnswerContainerContents(['seed', 'sprout', 'plant', 'flower'], ['1', '2', '3', '4']);
|
145
146
|
|
146
147
|
listOrderingPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
147
148
|
|
@@ -133,6 +133,7 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
|
|
133
133
|
|
134
134
|
it('When the user attempts the question partially correct exclusively according to the alternate tab then 0 points should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, \'Incorrect\' label and border should be displayed and the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration', () => {
|
135
135
|
listOrderingPage.steps.resetQuestionPreview(options);
|
136
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
|
136
137
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
|
137
138
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
|
138
139
|
listOrderingPage.steps.verifyPreviewTabScoreText(0, 20);
|
@@ -143,7 +144,7 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
|
|
143
144
|
listOrderingPage.steps.verifyIncorrectOptionsCrossmarkIcon('seed');
|
144
145
|
listOrderingPage.steps.verifyIncorrectAttemptBorder();
|
145
146
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
|
146
|
-
listOrderingPage.steps.verifyCorrectAnswerContainerContents(['seed', 'plant'], ['1', '4']);
|
147
|
+
listOrderingPage.steps.verifyCorrectAnswerContainerContents(['seed', 'sprout', 'plant', 'flower'], ['1', '2', '3', '4']);
|
147
148
|
|
148
149
|
listOrderingPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
149
150
|
|
package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/manuallyAndNonScoredScoring.js
RENAMED
@@ -2,7 +2,7 @@ import { listOrderingPage } from "../../../../pages/listOrderingPage";
|
|
2
2
|
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
import utilities from "../../../../support/helpers/utilities";
|
4
4
|
|
5
|
-
let options = ['plant', '
|
5
|
+
let options = ['plant', 'flower', 'sprout', 'seed'];
|
6
6
|
let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
7
7
|
|
8
8
|
describe('Create item page - List sorting: Preview tab \'Scoring\' section', () => {
|
@@ -35,7 +35,7 @@ describe('Create item page - List sorting: Preview tab \'Scoring\' section', ()
|
|
35
35
|
utilities.verifyElementCount(listOrderingPage.previewTabOption(), 4);
|
36
36
|
});
|
37
37
|
|
38
|
-
listOrderingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
|
38
|
+
listOrderingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
39
39
|
});
|
40
40
|
|
41
41
|
describe('Question Preview: Non Scored', () => {
|
@@ -70,7 +70,7 @@ describe('Create item page - List sorting: Preview tab \'Scoring\' section', ()
|
|
70
70
|
cy.log('Pre-step: Deselect the show correct checkbox')
|
71
71
|
listOrderingPage.steps.uncheckShowCorrectAnswerCheckbox()
|
72
72
|
listOrderingPage.steps.checkAnswer();
|
73
|
-
listOrderingPage.steps.
|
73
|
+
listOrderingPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
74
74
|
listOrderingPage.steps.verifyCorrectIncorrectIconsDoesNotExist();
|
75
75
|
listOrderingPage.steps.verifyCorrectAnswerContainerDoesNotExist();
|
76
76
|
});
|