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
package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridSetCorrectAnswerSection.js
CHANGED
@@ -6,12 +6,12 @@ const css = Cypress.env('css');
|
|
6
6
|
const questionStems = ['Pollution caused by treating chemical waste', 'Pollution caused by cement production', 'Pollution caused by methane production', 'Pollution caused by cement and methane production'];
|
7
7
|
const options = ['Fully agree as true', 'Fully agree as false', 'Somewhat agree', 'Somewhat disagree'];
|
8
8
|
|
9
|
-
describe('Create Item page - Multiple Selection Grid: Set correct answer,
|
9
|
+
describe('Create Item page - Multiple Selection Grid: Set correct answer, Alternative correct answer - Edit tab cases', () => {
|
10
10
|
before(() => {
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
describe('
|
14
|
+
describe('Specify correct answer section', () => {
|
15
15
|
abortEarlySetup();
|
16
16
|
before(() => {
|
17
17
|
multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
|
@@ -19,7 +19,7 @@ describe('Create Item page - Multiple Selection Grid: Set correct answer, Altern
|
|
19
19
|
|
20
20
|
multipleSelectionGridPage.tests.verifyAutoScoredSetCorrectAnswerHeaderSectionContents('multiple selection grid');
|
21
21
|
|
22
|
-
it('In the
|
22
|
+
it('In the Specify correct answer section table, 4 columns and 2 rows with \'Question stem\' header and \'No question stem added\' should be displayed with disabled checkboxes should be displayed', () => {
|
23
23
|
for (let index = 0; index < 4; index++) {
|
24
24
|
multipleSelectionGridPage.steps.verifyTableRowCheckboxesInSetCorrectAnswerTable(index, 2);
|
25
25
|
multipleSelectionGridPage.steps.verifyDisabledTableRowCheckboxesInSetCorrectAnswerTable(index);
|
@@ -70,7 +70,7 @@ describe('Create Item page - Multiple Selection Grid: Set correct answer, Altern
|
|
70
70
|
});
|
71
71
|
});
|
72
72
|
|
73
|
-
describe('
|
73
|
+
describe('Alternative correct answer', () => {
|
74
74
|
abortEarlySetup();
|
75
75
|
before(() => {
|
76
76
|
multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
|
@@ -98,7 +98,7 @@ describe('Create Item page - Multiple Selection Grid: Set correct answer, Altern
|
|
98
98
|
}
|
99
99
|
});
|
100
100
|
|
101
|
-
it('CSS of
|
101
|
+
it('CSS of alternative correct answer tab', { tags: 'css' }, () => {
|
102
102
|
multipleSelectionGridPage.alternateAnswerTab(1)
|
103
103
|
.verifyCSS(css.color.secondaryBtnActive, css.fontSize.default, css.fontWeight.bold)
|
104
104
|
cy.log('CSS of inactive Correct answer tab')
|
@@ -106,11 +106,11 @@ describe('Create Item page - Multiple Selection Grid: Set correct answer, Altern
|
|
106
106
|
.verifyCSS(css.color.labels, css.fontSize.default, css.fontWeight.bold)
|
107
107
|
});
|
108
108
|
|
109
|
-
it('Accessibility of
|
109
|
+
it('Accessibility of alternative correct answer tab', { tags: 'a11y' }, () => {
|
110
110
|
cy.checkAccessibility(multipleSelectionGridPage.correctTab().parents('[class*="AlternatePointsComponentstyles__AnswerTabWrapper"]'));
|
111
111
|
});
|
112
112
|
|
113
|
-
it('User should be able to set
|
113
|
+
it('User should be able to set alternative correct answer by checking the checkboxes besides the question stems in Alternate answer tab', () => {
|
114
114
|
multipleSelectionGridPage.steps.allotPoints(5);
|
115
115
|
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSetCorrectAnswerTable([[0], [1], [0, 1], [0]]);
|
116
116
|
});
|
@@ -33,8 +33,8 @@ describe('Short text response - Additional settings', () => {
|
|
33
33
|
shortTextResponsePage.tests.verifyFontSizeSectionContents();
|
34
34
|
|
35
35
|
//Failing due to https://redmine.zeuslearning.com/issues/526873
|
36
|
-
const fontsizes = ['
|
37
|
-
const font = ['
|
36
|
+
const fontsizes = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
37
|
+
const font = ['12px', '14px', '16px', '18px', '22px', '26px'];
|
38
38
|
fontsizes.forEach((option, count) => {
|
39
39
|
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview tab contents should be changed to ${option} in the \'Set Correct Answer\' section as well as in the \'Preview\' tab`, () => {
|
40
40
|
shortTextResponsePage.fontSizeDropdown()
|
@@ -171,7 +171,7 @@ describe('Short text response - Additional settings', () => {
|
|
171
171
|
.should('not.exist');
|
172
172
|
shortTextResponsePage.incorrectIcon()
|
173
173
|
.should('not.exist');
|
174
|
-
shortTextResponsePage.
|
174
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
175
175
|
.should('not.exist');
|
176
176
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
177
177
|
.should('not.exist');
|
@@ -187,7 +187,7 @@ describe('Short text response - Additional settings', () => {
|
|
187
187
|
shortTextResponsePage.checkAnswerButton()
|
188
188
|
.click();
|
189
189
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon()
|
190
|
-
shortTextResponsePage.
|
190
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
191
191
|
.should('not.exist');
|
192
192
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
193
193
|
.should('not.exist');
|
@@ -203,7 +203,7 @@ describe('Short text response - Additional settings', () => {
|
|
203
203
|
shortTextResponsePage.checkAnswerButton()
|
204
204
|
.click();
|
205
205
|
shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon()
|
206
|
-
shortTextResponsePage.
|
206
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
207
207
|
.should('not.exist');
|
208
208
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
209
209
|
.should('not.exist');
|
@@ -218,7 +218,7 @@ describe('Short text response - Additional settings', () => {
|
|
218
218
|
|
219
219
|
it('CSS of disabled \'Check Answer\' button', { tags: 'css' }, () => {
|
220
220
|
shortTextResponsePage.checkAnswerButton()
|
221
|
-
.verifyCSS(css.color.primaryBtnDisabled, css.fontSize.default, css.fontWeight.
|
221
|
+
.verifyCSS(css.color.primaryBtnDisabled, css.fontSize.default, css.fontWeight.semibold);
|
222
222
|
});
|
223
223
|
|
224
224
|
it('Accessibility of disabled Check Answer button', { tags: 'a11y' }, () => {
|
@@ -259,7 +259,7 @@ describe('Short text response - Additional settings', () => {
|
|
259
259
|
shortTextResponsePage.checkAnswerButton()
|
260
260
|
.should('be.enabled');
|
261
261
|
shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
|
262
|
-
shortTextResponsePage.
|
262
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
263
263
|
.should('not.exist');
|
264
264
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
265
265
|
.should('not.exist');
|
@@ -272,7 +272,7 @@ describe('Short text response - Additional settings', () => {
|
|
272
272
|
shortTextResponsePage.checkAnswerButton()
|
273
273
|
.click();
|
274
274
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
275
|
-
shortTextResponsePage.
|
275
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
276
276
|
.should('not.exist');
|
277
277
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
278
278
|
.should('not.exist');
|
@@ -300,7 +300,7 @@ describe('Short text response - Additional settings', () => {
|
|
300
300
|
shortTextResponsePage.checkAnswerButton()
|
301
301
|
.should('be.enabled');
|
302
302
|
shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
|
303
|
-
shortTextResponsePage.
|
303
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
304
304
|
.should('not.exist');
|
305
305
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
306
306
|
.should('not.exist');
|
@@ -313,7 +313,7 @@ describe('Short text response - Additional settings', () => {
|
|
313
313
|
shortTextResponsePage.checkAnswerButton()
|
314
314
|
.click();
|
315
315
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
316
|
-
shortTextResponsePage.
|
316
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
317
317
|
.should('not.exist');
|
318
318
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
319
319
|
.should('not.exist');
|
@@ -21,12 +21,9 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
21
21
|
.type('Response');
|
22
22
|
shortTextResponsePage.steps.allotPoints(20);
|
23
23
|
shortTextResponsePage.steps.switchToPreviewTab();
|
24
|
-
shortTextResponsePage.
|
25
|
-
|
26
|
-
.
|
27
|
-
.should('be.visible');
|
28
|
-
shortTextResponsePage.showCorrectAnswerCheckboxLabel()
|
29
|
-
.verifyInnerText('Show correct answer');
|
24
|
+
shortTextResponsePage.steps.uncheckShowCorrectAnswerCheckbox();
|
25
|
+
shortTextResponsePage.previewScoreLabel()
|
26
|
+
.verifyInnerText('Score:');
|
30
27
|
cy.log('Checking total points displayed')
|
31
28
|
shortTextResponsePage.previewScoreText()
|
32
29
|
.verifyInnerText('0/20');
|
@@ -45,18 +42,16 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
45
42
|
});
|
46
43
|
|
47
44
|
it('When the user selects \'Show correct answer\' checkbox without attempting the question, correct/Incorrect answer label and border should not be displayed, correct answer container along with correct response should be displayed below the question field', () => {
|
48
|
-
shortTextResponsePage.
|
49
|
-
.click()
|
50
|
-
.should('be.checked');
|
45
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
51
46
|
shortTextResponsePage.correctIcon()
|
52
47
|
.should('not.exist');
|
53
48
|
shortTextResponsePage.incorrectIcon()
|
54
49
|
.should('not.exist');
|
55
|
-
shortTextResponsePage.
|
50
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
56
51
|
.should('not.exist');
|
57
52
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
58
53
|
.should('not.exist');
|
59
|
-
shortTextResponsePage.
|
54
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
60
55
|
.should('not.exist');
|
61
56
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
62
57
|
.should('be.visible');
|
@@ -89,12 +84,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
89
84
|
shortTextResponsePage.previewScoreText()
|
90
85
|
.verifyInnerText('0/20');
|
91
86
|
cy.log('When the user selects \'Show correct answer\' checkbox, red cross-mark icon should be displayed besides the incorrect answer input field, incorrect answer label and border should not be displayed below the question field and the correct answer container with the correct answer should be displayed');
|
92
|
-
shortTextResponsePage.
|
93
|
-
.click();
|
87
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
94
88
|
shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
|
95
89
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
96
90
|
.should('not.exist');
|
97
|
-
shortTextResponsePage.
|
91
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
98
92
|
.should('not.exist');
|
99
93
|
cy.log('The correct answer container with the correct answer should be displayed')
|
100
94
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
@@ -108,7 +102,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
108
102
|
shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
|
109
103
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
110
104
|
.should('not.exist');
|
111
|
-
shortTextResponsePage.
|
105
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
112
106
|
.should('not.exist');
|
113
107
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
114
108
|
.should('not.exist');
|
@@ -125,12 +119,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
125
119
|
shortTextResponsePage.previewScoreText()
|
126
120
|
.verifyInnerText('20/20');
|
127
121
|
cy.log('When the user selects the \'Show correct answer\' checkbox, green check-mark icon should be displayed besides the response field, correct answer label and border should not be displayed below the question field, correct answer container should not be displayed and user should be awarded with full points');
|
128
|
-
shortTextResponsePage.
|
129
|
-
.click();
|
122
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
130
123
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
131
124
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
132
125
|
.should('not.exist');
|
133
|
-
shortTextResponsePage.
|
126
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
134
127
|
.should('not.exist');
|
135
128
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
136
129
|
.should('not.exist');
|
@@ -141,7 +134,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
141
134
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
142
135
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
143
136
|
.should('not.exist');
|
144
|
-
shortTextResponsePage.
|
137
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
145
138
|
.should('not.exist');
|
146
139
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
147
140
|
.should('not.exist');
|
@@ -178,8 +171,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
178
171
|
shortTextResponsePage.previewScoreText()
|
179
172
|
.verifyInnerText('0/7');
|
180
173
|
cy.log('When the user selects \'Show correct answer\' checkbox without attempting the question, correct answer container should be displayed with the correct response from the correct tab');
|
181
|
-
shortTextResponsePage.
|
182
|
-
.click();
|
174
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
183
175
|
shortTextResponsePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount('Response 1');
|
184
176
|
shortTextResponsePage.correctIcon()
|
185
177
|
.should('not.exist');
|
@@ -187,7 +179,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
187
179
|
.should('not.exist');
|
188
180
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
189
181
|
.should('not.exist');
|
190
|
-
shortTextResponsePage.
|
182
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
191
183
|
.should('not.exist');
|
192
184
|
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
193
185
|
|
@@ -197,12 +189,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
197
189
|
cy.log('User should be awarded with full points')
|
198
190
|
shortTextResponsePage.previewScoreText()
|
199
191
|
.verifyInnerText('7/7');
|
200
|
-
shortTextResponsePage.
|
201
|
-
.click();
|
192
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
202
193
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
203
194
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
204
195
|
.should('not.exist');
|
205
|
-
shortTextResponsePage.
|
196
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
206
197
|
.should('not.exist');
|
207
198
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
208
199
|
.should('not.exist');
|
@@ -214,7 +205,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
214
205
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
215
206
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
216
207
|
.should('not.exist');
|
217
|
-
shortTextResponsePage.
|
208
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
218
209
|
.should('not.exist');
|
219
210
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
220
211
|
.should('not.exist');
|
@@ -226,12 +217,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
226
217
|
cy.log('User should be awarded points (less than overall) allocated for the Alternate correct answer tab');
|
227
218
|
shortTextResponsePage.previewScoreText()
|
228
219
|
.verifyInnerText('3/7');
|
229
|
-
shortTextResponsePage.
|
230
|
-
.click();
|
220
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
231
221
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
232
222
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
233
223
|
.should('not.exist');
|
234
|
-
shortTextResponsePage.
|
224
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
235
225
|
.should('not.exist');
|
236
226
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
237
227
|
.should('not.exist');
|
@@ -243,7 +233,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
243
233
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
244
234
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
245
235
|
.should('not.exist');
|
246
|
-
shortTextResponsePage.
|
236
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
247
237
|
.should('not.exist');
|
248
238
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
249
239
|
.should('not.exist');
|
@@ -260,10 +250,9 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
260
250
|
shortTextResponsePage.previewScoreText()
|
261
251
|
.verifyInnerText('0/10')
|
262
252
|
cy.log('When the user selects \'Show correct answer\' checkbox without attempting the question, correct answer container should be displayed with the correct response from the Alternate tab')
|
263
|
-
shortTextResponsePage.
|
264
|
-
.click();
|
253
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
265
254
|
shortTextResponsePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount('Response 2');
|
266
|
-
shortTextResponsePage.
|
255
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
267
256
|
.should('not.exist');
|
268
257
|
shortTextResponsePage.correctIcon()
|
269
258
|
.should('not.exist');
|
@@ -271,7 +260,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
271
260
|
.should('not.exist');
|
272
261
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
273
262
|
.should('not.exist');
|
274
|
-
shortTextResponsePage.
|
263
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
275
264
|
.should('not.exist');
|
276
265
|
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
277
266
|
|
@@ -280,12 +269,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
280
269
|
.type('Response 1');
|
281
270
|
shortTextResponsePage.previewScoreText()
|
282
271
|
.verifyInnerText('7/10');
|
283
|
-
shortTextResponsePage.
|
284
|
-
.click();
|
272
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
285
273
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
286
274
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
287
275
|
.should('not.exist');
|
288
|
-
shortTextResponsePage.
|
276
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
289
277
|
.should('not.exist');
|
290
278
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
291
279
|
.should('not.exist')
|
@@ -297,7 +285,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
297
285
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
298
286
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
299
287
|
.should('not.exist');
|
300
|
-
shortTextResponsePage.
|
288
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
301
289
|
.should('not.exist');
|
302
290
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
303
291
|
.should('not.exist');
|
@@ -309,12 +297,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
309
297
|
cy.log('User should be awarded with full points');
|
310
298
|
shortTextResponsePage.previewScoreText()
|
311
299
|
.verifyInnerText('10/10');
|
312
|
-
shortTextResponsePage.
|
313
|
-
.click();
|
300
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
314
301
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
315
302
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
316
303
|
.should('not.exist');
|
317
|
-
shortTextResponsePage.
|
304
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
318
305
|
.should('not.exist');
|
319
306
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
320
307
|
.should('not.exist')
|
@@ -326,7 +313,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
326
313
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
327
314
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
328
315
|
.should('not.exist');
|
329
|
-
shortTextResponsePage.
|
316
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
330
317
|
.should('not.exist');
|
331
318
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
332
319
|
.should('not.exist');
|
@@ -344,10 +331,9 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
344
331
|
.verifyInnerText('0/7');
|
345
332
|
|
346
333
|
cy.log('When the user selects the \'Show correct answer\' checkbox without attempting the question, correct answer container should be displayed with the correct response from the correct tab and Correct/Incorrect answer label and border should not be displayed')
|
347
|
-
shortTextResponsePage.
|
348
|
-
.click();
|
334
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
349
335
|
shortTextResponsePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount('Response 1');
|
350
|
-
shortTextResponsePage.
|
336
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
351
337
|
.should('not.exist');
|
352
338
|
shortTextResponsePage.correctIcon()
|
353
339
|
.should('not.exist');
|
@@ -355,7 +341,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
355
341
|
.should('not.exist');
|
356
342
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
357
343
|
.should('not.exist');
|
358
|
-
shortTextResponsePage.
|
344
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
359
345
|
.should('not.exist');
|
360
346
|
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
361
347
|
|
@@ -365,8 +351,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
365
351
|
cy.log('User should be awarded with full points')
|
366
352
|
shortTextResponsePage.previewScoreText()
|
367
353
|
.verifyInnerText('7/7');
|
368
|
-
shortTextResponsePage.
|
369
|
-
.click();
|
354
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
370
355
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
371
356
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
372
357
|
.should('not.exist');
|
@@ -378,7 +363,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
378
363
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
379
364
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
380
365
|
.should('not.exist');
|
381
|
-
shortTextResponsePage.
|
366
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
382
367
|
.should('not.exist');
|
383
368
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
384
369
|
.should('not.exist');
|
@@ -390,12 +375,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
390
375
|
cy.log('User should be awarded with full points')
|
391
376
|
shortTextResponsePage.previewScoreText()
|
392
377
|
.verifyInnerText('7/7');
|
393
|
-
shortTextResponsePage.
|
394
|
-
.click();
|
378
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
395
379
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
396
380
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
397
381
|
.should('not.exist');
|
398
|
-
shortTextResponsePage.
|
382
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
399
383
|
.should('not.exist');
|
400
384
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
401
385
|
.should('not.exist');
|
@@ -407,7 +391,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
407
391
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
408
392
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
409
393
|
.should('not.exist');
|
410
|
-
shortTextResponsePage.
|
394
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
411
395
|
.should('not.exist');
|
412
396
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
413
397
|
.should('not.exist');
|
@@ -10,7 +10,7 @@ describe('Create item page - Short text response: \'Case sensitive\' and \'Ignor
|
|
10
10
|
describe('User can select different property (Exact or Contains text) across multiple set answer tabs (Correct answer tab and Alternate answer tabs)', () => {
|
11
11
|
abortEarlySetup();
|
12
12
|
before(() => {
|
13
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow
|
13
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox and switching to preview tab');
|
14
14
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
15
15
|
shortTextResponsePage.questionInstructionsInputField()
|
16
16
|
.type('Question Instructions');
|
@@ -53,7 +53,7 @@ describe('Create item page - Short text response: \'Case sensitive\' and \'Ignor
|
|
53
53
|
describe('\'Case sensitive\' property should be applied globally to all the set correct answer tabs (Correct answer tab and Alternate answer tabs)', () => {
|
54
54
|
abortEarlySetup();
|
55
55
|
before(() => {
|
56
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow
|
56
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox and switching to preview tab');
|
57
57
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
58
58
|
shortTextResponsePage.questionInstructionsInputField()
|
59
59
|
.type('Question Instructions');
|
@@ -105,7 +105,7 @@ describe('Create item page - Short text response: \'Case sensitive\' and \'Ignor
|
|
105
105
|
describe('\'Ignore spaces before and after\' property should be applied globally to all the set correct answer tabs (Correct answer tab and Alternate answer tabs)', () => {
|
106
106
|
abortEarlySetup();
|
107
107
|
before(() => {
|
108
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow
|
108
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox and switching to preview tab');
|
109
109
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
110
110
|
shortTextResponsePage.questionInstructionsInputField()
|
111
111
|
.type('Question Instructions');
|
package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js
CHANGED
@@ -10,7 +10,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
|
|
10
10
|
describe('\'Contains text\' radio button is selected, \'Case sensitive\' checkbox is unchecked and \'Ignore spaces before and after\' checkbox is checked', () => {
|
11
11
|
abortEarlySetup();
|
12
12
|
before(() => {
|
13
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow
|
13
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow student to check answer checkbox and switching to Preview tab');
|
14
14
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
15
15
|
shortTextResponsePage.questionInstructionsInputField()
|
16
16
|
.type('Question Instructions');
|
@@ -51,7 +51,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
|
|
51
51
|
describe('\'Contains text\' radio button is selected, \'Case sensitive\' checkbox is checked and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
52
52
|
abortEarlySetup();
|
53
53
|
before(() => {
|
54
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow
|
54
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow student to check answer checkbox and switching to Preview tab');
|
55
55
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
56
56
|
shortTextResponsePage.questionInstructionsInputField()
|
57
57
|
.type('Question Instructions');
|
@@ -91,7 +91,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
|
|
91
91
|
describe('\'Contains text\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
92
92
|
abortEarlySetup();
|
93
93
|
before(() => {
|
94
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, unchecking the Ignore spaces before and after checkbox, checking the allow
|
94
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, unchecking the Ignore spaces before and after checkbox, checking the allow student to check answer checkbox and switching to preview tab');
|
95
95
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
96
96
|
shortTextResponsePage.questionInstructionsInputField()
|
97
97
|
.type('Question Instructions');
|
@@ -129,7 +129,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
|
|
129
129
|
describe('\'Contains text\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is checked', () => {
|
130
130
|
abortEarlySetup();
|
131
131
|
before(() => {
|
132
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, checking the Case sensitive checkbox, checking the allow
|
132
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, checking the Case sensitive checkbox, checking the allow student to check answer checkbox and switching to preview tab');
|
133
133
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
134
134
|
shortTextResponsePage.questionInstructionsInputField()
|
135
135
|
.type('Question Instructions');
|
@@ -17,7 +17,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
17
17
|
shortTextResponsePage.tests.verifyScoringTypeLabelAndDropdown('autoScored');
|
18
18
|
|
19
19
|
it('CSS of Scoring section', { tags: 'css' }, () => {
|
20
|
-
shortTextResponsePage.
|
20
|
+
shortTextResponsePage.minimumScoringLabel()
|
21
21
|
.verifyCSS(css.color.labels, css.fontSize.normal, css.fontWeight.semibold);
|
22
22
|
shortTextResponsePage.pointsLabel()
|
23
23
|
.verifyCSS(css.color.labels, css.fontSize.normal, css.fontWeight.semibold);
|
@@ -25,7 +25,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
25
25
|
|
26
26
|
it('Accessibility of Scoring Section', { tags: 'a11y' }, () => {
|
27
27
|
cy.checkAccessibility(shortTextResponsePage.scoringTypeDropdown());
|
28
|
-
cy.checkAccessibility(shortTextResponsePage.
|
28
|
+
cy.checkAccessibility(shortTextResponsePage.minimumScoringDropdown());
|
29
29
|
cy.checkAccessibility(shortTextResponsePage.pointsInputField());
|
30
30
|
});
|
31
31
|
});
|
@@ -37,21 +37,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
37
37
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
38
38
|
});
|
39
39
|
|
40
|
-
|
41
|
-
shortTextResponsePage.pointsLabel()
|
42
|
-
.verifyInnerText('Points')
|
43
|
-
.and('be.visible');
|
44
|
-
shortTextResponsePage.pointsInputField()
|
45
|
-
.should('have.value', '')
|
46
|
-
.and('be.visible');
|
47
|
-
shortTextResponsePage.minimumScoreIfAttemptedLabel()
|
48
|
-
.verifyInnerText('Minimum score awarded (if attempted)')
|
49
|
-
.and('be.visible');
|
50
|
-
shortTextResponsePage.minimumScoreIfAttemptedInputField()
|
51
|
-
.should('have.value', '')
|
52
|
-
.and('be.visible');
|
53
|
-
});
|
54
|
-
|
40
|
+
shortTextResponsePage.tests.verifyAutoScoredAllOrNothingPointsAndMinimumScoreAwardedLabelAndInputField();
|
55
41
|
shortTextResponsePage.tests.verifyPointsFieldErrorState(10);
|
56
42
|
shortTextResponsePage.tests.verifyMinimumScoreIfAttemptedFieldErrorState(10, 20, 10);
|
57
43
|
});
|
@@ -67,11 +53,13 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
67
53
|
shortTextResponsePage.steps.selectAScoringTypeFromScoringTypeDropdown('Manually scored');
|
68
54
|
});
|
69
55
|
|
70
|
-
it('When the user has selected \'Manually scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input field should be displayed; and inside \'Additional settings accordion\', \'Check answer\' section i.e. \'Check answer\' label and \'Allow
|
56
|
+
it('When the user has selected \'Manually scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input field should be displayed; and inside \'Additional settings accordion\', \'Check answer\' section i.e. \'Check answer\' label and \'Allow student to check answer\' checkbox should not be displayed', () => {
|
71
57
|
shortTextResponsePage.setCorrectAnswerLabel()
|
72
58
|
.should('not.exist');
|
59
|
+
shortTextResponsePage.steps.expandMinimumScoringDropdown();
|
60
|
+
shortTextResponsePage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
73
61
|
shortTextResponsePage.minimumScoreIfAttemptedLabel()
|
74
|
-
.verifyInnerText('Minimum
|
62
|
+
.verifyInnerText('Minimum points')
|
75
63
|
.and('be.visible');
|
76
64
|
shortTextResponsePage.minimumScoreIfAttemptedInputField()
|
77
65
|
.should('have.value', '')
|
@@ -10,7 +10,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
|
|
10
10
|
describe('\'Exact\' radio button is selected, \'Case sensitive\' checkbox is unchecked and \'Ignore spaces before and after\' checkbox is checked', () => {
|
11
11
|
abortEarlySetup();
|
12
12
|
before(() => {
|
13
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow
|
13
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox and switch to Preview tab');
|
14
14
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
15
15
|
shortTextResponsePage.questionInstructionsInputField()
|
16
16
|
.type('Question Instructions');
|
@@ -48,7 +48,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
|
|
48
48
|
describe('\'Exact\' radio button is selected, \'Case sensitive\' checkbox is checked and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
49
49
|
abortEarlySetup();
|
50
50
|
before(() => {
|
51
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow
|
51
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox and switching to Preview tab');
|
52
52
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
53
53
|
shortTextResponsePage.questionInstructionsInputField()
|
54
54
|
.type('Question Instructions');
|
@@ -86,7 +86,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
|
|
86
86
|
describe('\'Exact\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
87
87
|
abortEarlySetup();
|
88
88
|
before(() => {
|
89
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow
|
89
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox, unchecking the Ignore spaces before and after checkbox and switching to preview tab');
|
90
90
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
91
91
|
shortTextResponsePage.questionInstructionsInputField()
|
92
92
|
.type('Question Instructions');
|
@@ -122,7 +122,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
|
|
122
122
|
describe('\'Exact\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is checked', () => {
|
123
123
|
abortEarlySetup();
|
124
124
|
before(() => {
|
125
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow
|
125
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox, checking the Case sensitive checkbox and switching to preview tab');
|
126
126
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
127
127
|
shortTextResponsePage.questionInstructionsInputField()
|
128
128
|
.type('Question Instructions');
|