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
@@ -20,8 +20,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
20
20
|
singleSelectionGridPage.steps.addOption()
|
21
21
|
singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
|
22
22
|
singleSelectionGridPage.steps.addInputToAllOptionsFields(options);
|
23
|
-
singleSelectionGridPage.steps.selectPartialEqualWeightsCheckbox();
|
24
|
-
singleSelectionGridPage.steps.uncheckRoundDownScoreCheckbox()
|
23
|
+
singleSelectionGridPage.steps.selectPartialEqualWeightsCheckbox();
|
25
24
|
singleSelectionGridPage.steps.allotPoints(20);
|
26
25
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 0, 1]);
|
27
26
|
singleSelectionGridPage.steps.clickOnAddAlternateAnswerButton();
|
@@ -42,7 +41,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
42
41
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
43
42
|
singleSelectionGridPage.incorrectIcon()
|
44
43
|
.should('not.exist');
|
45
|
-
singleSelectionGridPage.
|
44
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
46
45
|
.should('not.exist');
|
47
46
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
48
47
|
|
@@ -56,7 +55,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
56
55
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
57
56
|
singleSelectionGridPage.incorrectIcon()
|
58
57
|
.should('not.exist');
|
59
|
-
singleSelectionGridPage.
|
58
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
60
59
|
.should('not.exist');
|
61
60
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
62
61
|
|
@@ -67,7 +66,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
67
66
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
68
67
|
singleSelectionGridPage.incorrectIcon()
|
69
68
|
.should('not.exist');
|
70
|
-
singleSelectionGridPage.
|
69
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
71
70
|
.should('not.exist');
|
72
71
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
73
72
|
|
@@ -79,7 +78,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
79
78
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
80
79
|
singleSelectionGridPage.incorrectIcon()
|
81
80
|
.should('not.exist');
|
82
|
-
singleSelectionGridPage.
|
81
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
83
82
|
.should('not.exist');
|
84
83
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
85
84
|
|
@@ -90,7 +89,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
90
89
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
91
90
|
singleSelectionGridPage.incorrectIcon()
|
92
91
|
.should('not.exist');
|
93
|
-
singleSelectionGridPage.
|
92
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
94
93
|
.should('not.exist');
|
95
94
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
96
95
|
|
@@ -102,7 +101,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
102
101
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
103
102
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 1);
|
104
103
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
105
|
-
singleSelectionGridPage.
|
104
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
106
105
|
.should('not.exist');
|
107
106
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
108
107
|
|
@@ -114,7 +113,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
114
113
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 1);
|
115
114
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
|
116
115
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
117
|
-
singleSelectionGridPage.
|
116
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
118
117
|
.should('not.exist');
|
119
118
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
120
119
|
|
@@ -126,7 +125,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
126
125
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
127
126
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
|
128
127
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
129
|
-
singleSelectionGridPage.
|
128
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
130
129
|
.should('not.exist');
|
131
130
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
132
131
|
|
@@ -138,7 +137,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
138
137
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 2);
|
139
138
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 2);
|
140
139
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
141
|
-
singleSelectionGridPage.
|
140
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
142
141
|
.should('not.exist');
|
143
142
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
144
143
|
|
@@ -149,7 +148,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
149
148
|
.verifyInnerText('15/20');
|
150
149
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
151
150
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
152
|
-
singleSelectionGridPage.
|
151
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
153
152
|
.should('not.exist');
|
154
153
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
155
154
|
|
@@ -161,7 +160,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
161
160
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
162
161
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
|
163
162
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
|
164
|
-
singleSelectionGridPage.
|
163
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
165
164
|
.should('not.exist');
|
166
165
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
167
166
|
|
@@ -172,7 +171,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
172
171
|
.verifyInnerText('0/20');
|
173
172
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
174
173
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
|
175
|
-
singleSelectionGridPage.
|
174
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
176
175
|
.should('not.exist');
|
177
176
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
178
177
|
|
@@ -183,7 +182,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
183
182
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
|
184
183
|
singleSelectionGridPage.correctIcon()
|
185
184
|
.should('not.exist');
|
186
|
-
singleSelectionGridPage.
|
185
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
187
186
|
.should('not.exist');
|
188
187
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
189
188
|
|
@@ -206,7 +205,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
206
205
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
|
207
206
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
208
207
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 2);
|
209
|
-
singleSelectionGridPage.
|
208
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
210
209
|
.should('not.exist');
|
211
210
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
212
211
|
|
@@ -218,7 +217,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
218
217
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
219
218
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 2);
|
220
219
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
|
221
|
-
singleSelectionGridPage.
|
220
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
222
221
|
.should('not.exist');
|
223
222
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
224
223
|
});
|
@@ -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 - Single Selection Grid:
|
9
|
+
describe('Create Item page - Single Selection Grid: Specify correct answer section, 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 section', () => {
|
15
15
|
abortEarlySetup();
|
16
16
|
before(() => {
|
17
17
|
singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
|
@@ -19,7 +19,7 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
19
19
|
|
20
20
|
singleSelectionGridPage.tests.verifyAutoScoredSetCorrectAnswerHeaderSectionContents('single selection grid');
|
21
21
|
|
22
|
-
it('In the
|
22
|
+
it('In the Specify correct answer section section table, 4 columns and 2 rows with \'Question stem\' header and \'No question stem added\' should be displayed with disabled radio buttons should be displayed', () => {
|
23
23
|
for (let index = 0; index < 4; index++) {
|
24
24
|
singleSelectionGridPage.steps.verifyTableRowRadioButtonsInSetCorrectAnswerTable(index, 2);
|
25
25
|
singleSelectionGridPage.steps.verifyDisabledTableRowRadioButtonsInSetCorrectAnswerTable(index);
|
@@ -30,7 +30,7 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
30
30
|
.verifyInnerText('Question stem');
|
31
31
|
});
|
32
32
|
|
33
|
-
it('When user adds question stems and options then the radio buttons should be enabled and user should be able to
|
33
|
+
it('When user adds question stems and options then the radio buttons should be enabled and user should be able to specify correct answer by checking the radio button besides the question stems in the table', () => {
|
34
34
|
cy.log('Pre-step: Adding question instructions, question stem and options')
|
35
35
|
singleSelectionGridPage.steps.addQuestionInstructions()
|
36
36
|
singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
|
@@ -50,14 +50,14 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
50
50
|
|
51
51
|
//Note: a11y checked in header section file
|
52
52
|
|
53
|
-
it('When user clicks on Add
|
54
|
-
singleSelectionGridPage.steps.
|
53
|
+
it('When user clicks on Add alternative answer button without selecting options for all question stems then a warning popup should be displayed', () => {
|
54
|
+
singleSelectionGridPage.steps.clickOnAddAlternativeAnswerButton()
|
55
55
|
dialogBoxBase.dialogBox()
|
56
56
|
.should('exist');
|
57
57
|
dialogBoxBase.steps.closeWarningPopup();
|
58
58
|
});
|
59
59
|
|
60
|
-
it('When user closes the warning popup Please
|
60
|
+
it('When user closes the warning popup Please specify correct answer error message should be displayed as user has partially selected correct answer', () => {
|
61
61
|
singleSelectionGridPage.errorMessage()
|
62
62
|
.eq(1)
|
63
63
|
.verifyInnerText('Error: Please set a correct answer.')
|
@@ -73,16 +73,16 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
73
73
|
});
|
74
74
|
});
|
75
75
|
|
76
|
-
describe('
|
76
|
+
describe('Alternative correct answer', () => {
|
77
77
|
abortEarlySetup();
|
78
78
|
before(() => {
|
79
79
|
singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
|
80
80
|
singleSelectionGridPage.steps.addQuestionInstructions()
|
81
81
|
});
|
82
82
|
|
83
|
-
singleSelectionGridPage.tests.
|
83
|
+
singleSelectionGridPage.tests.verifyAutoScoredAlternativeAnswer();
|
84
84
|
|
85
|
-
it('When user has added points and selected correct answer in the Correct tab, then the user should be able to add
|
85
|
+
it('When user has added points and selected correct answer in the Correct tab, then the user should be able to add alternative answer for the question using \'Add Alternative Answer\' button', () => {
|
86
86
|
cy.log('Pre step: Adding 2 options')
|
87
87
|
singleSelectionGridPage.steps.addOption();
|
88
88
|
singleSelectionGridPage.steps.addOption();
|
@@ -90,10 +90,10 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
90
90
|
singleSelectionGridPage.steps.addInputToAllOptionsFields(options);
|
91
91
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([1, 3, 2, 1]);
|
92
92
|
singleSelectionGridPage.steps.allotPoints(10);
|
93
|
-
singleSelectionGridPage.steps.
|
93
|
+
singleSelectionGridPage.steps.addAlternativeTab(1);
|
94
94
|
});
|
95
95
|
|
96
|
-
it('When user adds
|
96
|
+
it('When user adds Alternative answer tab then the question stems and option stems should be prefilled and the radio buttons should be deselected', () => {
|
97
97
|
singleSelectionGridPage.steps.verifyQuestionStemsInSetCorrectAnswerTable(questionStems);
|
98
98
|
singleSelectionGridPage.steps.verifyTableHeaderContentsInSetCorrectAnswerTable(options);
|
99
99
|
for (let index = 0; index < 4; index++) {
|
@@ -101,31 +101,31 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
101
101
|
}
|
102
102
|
});
|
103
103
|
|
104
|
-
it('CSS of
|
105
|
-
singleSelectionGridPage.
|
104
|
+
it('CSS of Alternative correct answer tab', { tags: 'css' }, () => {
|
105
|
+
singleSelectionGridPage.alternativeAnswerTab(1)
|
106
106
|
.verifyCSS(css.color.secondaryBtnActive, css.fontSize.default, css.fontWeight.bold)
|
107
107
|
cy.log('CSS of inactive Correct answer tab')
|
108
108
|
singleSelectionGridPage.correctTab()
|
109
109
|
.verifyCSS(css.color.labels, css.fontSize.default, css.fontWeight.bold)
|
110
110
|
});
|
111
111
|
|
112
|
-
it('Accessibility of
|
113
|
-
cy.checkAccessibility(singleSelectionGridPage.correctTab().parents('[class*="
|
112
|
+
it('Accessibility of Alternative correct answer tab', { tags: 'a11y' }, () => {
|
113
|
+
cy.checkAccessibility(singleSelectionGridPage.correctTab().parents('[class*="AlternativePointsComponentstyles__AnswerTabWrapper"]'));
|
114
114
|
});
|
115
115
|
|
116
|
-
it('User should be able to set
|
116
|
+
it('User should be able to set alternative correct answer by checking the radio buttons besides the question stems in Alternative answer tab', () => {
|
117
117
|
singleSelectionGridPage.steps.allotPoints(5);
|
118
118
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 2, 3]);
|
119
119
|
});
|
120
120
|
|
121
|
-
it('User should be able to add another
|
122
|
-
singleSelectionGridPage.steps.
|
121
|
+
it('User should be able to add another alternative answer for the question using \'Add Alternative Answer\' button and the name for this new tab should be \'Alternative 2\'', () => {
|
122
|
+
singleSelectionGridPage.steps.addAlternativeTab(2);
|
123
123
|
});
|
124
124
|
|
125
|
-
singleSelectionGridPage.tests.
|
125
|
+
singleSelectionGridPage.tests.verifyWarningPopupAndTabNavigationWhenNoPointsAddedInAlternativeTab();
|
126
126
|
|
127
127
|
//Failing due to https://redmine.zeuslearning.com/issues/532359
|
128
|
-
it('When user partially selects correct answer the Please
|
128
|
+
it('When user partially selects correct answer the Please specify correct answer error message should not disappear', () => {
|
129
129
|
singleSelectionGridPage.steps.selectOptionFromSetCorrectAnswerTable(0, 1);
|
130
130
|
singleSelectionGridPage.steps.selectOptionFromSetCorrectAnswerTable(1, 0);
|
131
131
|
singleSelectionGridPage.errorMessage()
|
@@ -142,27 +142,27 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
142
142
|
.should('not.exist');
|
143
143
|
});
|
144
144
|
|
145
|
-
it('When the user clicks on the \'Close\' button alongside
|
146
|
-
cy.log('
|
145
|
+
it('When the user clicks on the \'Close\' button alongside alternative answer tab, alternative answer tab should get removed and the name of the alternative answer tabs should get updated accordingly', () => {
|
146
|
+
cy.log('specify correct answer and points in alternative 2 tab, then switch to Alternative 1 tab and click delete icon button');
|
147
147
|
singleSelectionGridPage.steps.allotPoints(7);
|
148
148
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([1, 0, 1, 3]);
|
149
|
-
singleSelectionGridPage.steps.
|
150
|
-
singleSelectionGridPage.steps.
|
151
|
-
singleSelectionGridPage.
|
149
|
+
singleSelectionGridPage.steps.navigateToAlternativeTab(1);
|
150
|
+
singleSelectionGridPage.steps.deleteAlternativeTab();
|
151
|
+
singleSelectionGridPage.alternativeAnswerTab(2)
|
152
152
|
.should('not.exist');
|
153
|
-
singleSelectionGridPage.
|
154
|
-
.verifyInnerText('
|
153
|
+
singleSelectionGridPage.alternativeAnswerTab(1)
|
154
|
+
.verifyInnerText('Alternative 1');
|
155
155
|
});
|
156
156
|
|
157
157
|
//Failing due to https://redmine.zeuslearning.com/issues/531902
|
158
|
-
it('On deleting option set as correct answer option in
|
158
|
+
it('On deleting option set as correct answer option in Alternative answer tab, \'Error: Please set a correct answer.\' validation error message should be thrown along with an error icon on the \'Alternative 1\' tab', () => {
|
159
159
|
singleSelectionGridPage.steps.deleteOption(0)
|
160
160
|
singleSelectionGridPage.errorMessage()
|
161
161
|
.verifyInnerText('Error: Please set a correct answer.');
|
162
162
|
singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsDisplayed()
|
163
163
|
});
|
164
164
|
|
165
|
-
it('On reselecting correct answer option in
|
165
|
+
it('On reselecting correct answer option in Alternative answer tab, \'Error: Please set a correct answer.\' validation error message should disappear', () => {
|
166
166
|
singleSelectionGridPage.steps.selectOptionFromSetCorrectAnswerTable(1, 2);
|
167
167
|
singleSelectionGridPage.steps.verifyErrorMessageIsNotDisplayed();
|
168
168
|
singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
@@ -174,7 +174,7 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
174
174
|
singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
175
175
|
});
|
176
176
|
|
177
|
-
it('When the user is on \'
|
177
|
+
it('When the user is on \'Alternative 1\' tab then on deleting option set as correct answer option only in the Correct answer tab, tab should be switched from \'Alternative 1\' to \'CORRECT\' tab and \'Error: Please set a correct answer.\' validation error message should be thrown alongwith an error icon besides the \'Correct\' tab', () => {
|
178
178
|
singleSelectionGridPage.steps.deleteOption(1)
|
179
179
|
singleSelectionGridPage.steps.verifyActiveStateOfCorrectTab()
|
180
180
|
singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsDisplayed()
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
2
2
|
import { uploadResponsePage } from "../../../pages";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
3
4
|
const css = Cypress.env('css');
|
4
5
|
|
5
6
|
describe('Create question page - Upload Response: Additional Settings', () => {
|
@@ -16,14 +17,16 @@ describe('Create question page - Upload Response: Additional Settings', () => {
|
|
16
17
|
uploadResponsePage.tests.verifyAdditonalSettingsAccordionProperties();
|
17
18
|
|
18
19
|
it('\'File settings and layout\' label should be displayed', () => {
|
19
|
-
uploadResponsePage.fileSettingsAndLayoutLabel()
|
20
|
-
|
21
|
-
.and('be.visible');
|
20
|
+
utilities.verifyInnerText(uploadResponsePage.fileSettingsAndLayoutLabel(), 'File settings and layout');
|
21
|
+
utilities.verifyElementVisibilityState(uploadResponsePage.fileSettingsAndLayoutLabel(), 'visible');
|
22
22
|
});
|
23
23
|
|
24
24
|
it('CSS of \'File settings and layout\' section', { tags: 'css' }, () => {
|
25
|
-
uploadResponsePage.fileSettingsAndLayoutLabel()
|
26
|
-
|
25
|
+
utilities.verifyCSS(uploadResponsePage.fileSettingsAndLayoutLabel(), {
|
26
|
+
'color': css.color.sectionHeading,
|
27
|
+
'font-size': css.fontSize.default,
|
28
|
+
'font-weight': css.fontWeight.semibold
|
29
|
+
});
|
27
30
|
});
|
28
31
|
|
29
32
|
it('Accessibility of \'File settings and layout\' section', { tags: 'a11y' }, () => {
|
@@ -41,21 +44,19 @@ describe('Create question page - Upload Response: Additional Settings', () => {
|
|
41
44
|
});
|
42
45
|
|
43
46
|
it('\'Allow students to capture photos\' checkbox label and checkbox should be displayed and by default it should be checked', () => {
|
44
|
-
uploadResponsePage.allowStudentsToCapturePhotosLabel()
|
45
|
-
|
46
|
-
uploadResponsePage.allowStudentsToCapturePhotosCheckbox()
|
47
|
-
.should('be.checked')
|
48
|
-
.parent()
|
49
|
-
.should('be.visible');
|
47
|
+
utilities.verifyInnerText(uploadResponsePage.allowStudentsToCapturePhotosLabel(), 'Allow students to capture photos');
|
48
|
+
uploadResponsePage.steps.verifyCapturePhotosCheckboxIsCheckedAndVisible();
|
50
49
|
});
|
51
50
|
|
52
51
|
it('CSS of \'Allow students to capture photos\' section - checked state', { tags: 'css' }, () => {
|
53
|
-
uploadResponsePage.allowStudentsToCapturePhotosLabel()
|
54
|
-
|
55
|
-
|
56
|
-
.
|
57
|
-
|
58
|
-
|
52
|
+
utilities.verifyCSS(uploadResponsePage.allowStudentsToCapturePhotosLabel(), {
|
53
|
+
'color': css.color.labelText,
|
54
|
+
'font-size': css.fontSize.normal,
|
55
|
+
'font-weight': css.fontWeight.regular
|
56
|
+
});
|
57
|
+
utilities.verifyCSS(uploadResponsePage.allowStudentsToCapturePhotosCheckbox().parent().find('svg'), {
|
58
|
+
'color': css.color.activeButtons
|
59
|
+
});
|
59
60
|
});
|
60
61
|
|
61
62
|
it('Accessibility of \'Allow students to capture photos\' section - checked state', { tags: 'a11y' }, () => {
|
@@ -64,37 +65,32 @@ describe('Create question page - Upload Response: Additional Settings', () => {
|
|
64
65
|
|
65
66
|
it('When the \'Allow students to capture photos\' checkbox is checked then in the preview tab, the upload response area text should be \"Drag & Drop files here or browse files on your device, Google Drive or capture an image\"', () => {
|
66
67
|
uploadResponsePage.steps.switchToPreviewTab();
|
67
|
-
uploadResponsePage.uploadCloudIcon()
|
68
|
-
|
69
|
-
uploadResponsePage.
|
70
|
-
.verifyInnerText('Drag & Drop files here');
|
71
|
-
uploadResponsePage.fileUploadOptionsLabel()
|
72
|
-
.should('have.text', 'or browse files on your device, Google Drive or capture an image');
|
68
|
+
utilities.verifyElementVisibilityState(uploadResponsePage.uploadCloudIcon(), 'visible');
|
69
|
+
utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
|
70
|
+
uploadResponsePage.steps.verifyTextInUploadResponseArea('or browse files on your device, Google Drive or capture an image')
|
73
71
|
});
|
74
72
|
|
75
73
|
it('When the user unchecks the \'Allow students to capture photos\' checkbox, then in the Preview tab the upload response area text should be \"Drag & Drop files here or browse files on your device or Google Drive\"', () => {
|
76
74
|
cy.log('Switching to Edit tab.');
|
77
75
|
uploadResponsePage.steps.switchToEditTab();
|
78
|
-
uploadResponsePage.
|
79
|
-
.click()
|
80
|
-
.should('not.be.checked');
|
76
|
+
uploadResponsePage.steps.uncheckCapturePhotosCheckbox();
|
81
77
|
cy.log('Switching to Preview tab.');
|
82
78
|
uploadResponsePage.steps.switchToPreviewTab();
|
83
|
-
uploadResponsePage.dragAndDropFilesText()
|
84
|
-
|
85
|
-
uploadResponsePage.fileUploadOptionsLabel()
|
86
|
-
.should('have.text', 'or browse files on your device or Google Drive ');
|
79
|
+
utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
|
80
|
+
uploadResponsePage.steps.verifyTextInUploadResponseArea('or browse files on your device or Google Drive ')
|
87
81
|
});
|
88
82
|
|
89
83
|
it('CSS of \'Allow students to capture photos\' section - unchecked state', { tags: 'css' }, () => {
|
90
84
|
cy.log('Pre-step: Switching back to Edit tab.');
|
91
85
|
uploadResponsePage.steps.switchToEditTab();
|
92
|
-
uploadResponsePage.allowStudentsToCapturePhotosLabel()
|
93
|
-
|
94
|
-
|
95
|
-
.
|
96
|
-
|
97
|
-
|
86
|
+
utilities.verifyCSS(uploadResponsePage.allowStudentsToCapturePhotosLabel(), {
|
87
|
+
'color': css.color.labelText,
|
88
|
+
'font-size': css.fontSize.normal,
|
89
|
+
'font-weight': css.fontWeight.regular
|
90
|
+
});
|
91
|
+
utilities.verifyCSS(uploadResponsePage.allowStudentsToCapturePhotosCheckbox().parent().find('svg'), {
|
92
|
+
'fill': css.color.uncheckedCheckbox
|
93
|
+
});
|
98
94
|
uploadResponsePage.steps.switchToPreviewTab();
|
99
95
|
});
|
100
96
|
|
@@ -108,17 +104,13 @@ describe('Create question page - Upload Response: Additional Settings', () => {
|
|
108
104
|
it('When the user checks the \'Allow students to capture photos\' checkbox again, then in the Preview tab the upload response area text should be \"Drag & Drop files here or browse files on your device or Google Drive or capture an image\"', () => {
|
109
105
|
cy.log('Pre-step: Switching back to Edit tab.');
|
110
106
|
uploadResponsePage.steps.switchToEditTab();
|
111
|
-
uploadResponsePage.
|
112
|
-
.click()
|
113
|
-
.should('be.checked');
|
107
|
+
uploadResponsePage.steps.checkCapturePhotosCheckbox();
|
114
108
|
cy.log('Switching to Preview tab.');
|
115
109
|
uploadResponsePage.steps.switchToPreviewTab();
|
116
|
-
uploadResponsePage.dragAndDropFilesText()
|
117
|
-
|
118
|
-
|
119
|
-
uploadResponsePage.fileUploadOptionsLabel()
|
120
|
-
.should('have.text', 'or browse files on your device, Google Drive or capture an image')
|
121
|
-
.and('be.visible');
|
110
|
+
utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
|
111
|
+
utilities.verifyElementVisibilityState(uploadResponsePage.dragAndDropFilesText(), 'visible');
|
112
|
+
uploadResponsePage.steps.verifyTextInUploadResponseArea('or browse files on your device, Google Drive or capture an image');
|
113
|
+
utilities.verifyElementVisibilityState(uploadResponsePage.fileUploadOptionsLabel(), 'visible');
|
122
114
|
});
|
123
115
|
});
|
124
116
|
|
@@ -131,9 +123,9 @@ describe('Create question page - Upload Response: Additional Settings', () => {
|
|
131
123
|
uploadResponsePage.steps.expandAdditonalSettings();
|
132
124
|
});
|
133
125
|
|
134
|
-
const fontsizes = ['
|
135
|
-
const font = ['
|
136
|
-
const questionInstructionsTextFontSizes = { '
|
126
|
+
const fontsizes = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
127
|
+
const font = ['12px', '14px', '16px', '18px', '22px', '26px'];
|
128
|
+
const questionInstructionsTextFontSizes = { 'Tiny': '12px', 'Small': '14px','Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
|
137
129
|
const dragAndDropFilesTextFontSizes = { 'Default': '24px', 'Small': '18px', 'Normal': '21px', 'Large': '25.5px', 'Extra large': '30px', 'Huge': '36px' };
|
138
130
|
const fileUploadOptionsLabelFontSizes = { 'Default': '18px', 'Small': '13.5px', 'Normal': '15.75px', 'Large': '19.125px', 'Extra large': '22.5px', 'Huge': '27px' };
|
139
131
|
const supportedFileFormatLabelFontSizes = { 'Default': '14px', 'Small': '10.5px', 'Normal': '12.25px', 'Large': '14.875px', 'Extra large': '17.5px', 'Huge': '21px' };
|
@@ -143,28 +135,30 @@ describe('Create question page - Upload Response: Additional Settings', () => {
|
|
143
135
|
|
144
136
|
fontsizes.forEach((option, count) => {
|
145
137
|
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size for the entire question in the student player should be changed to ${option} in the \'Preview\' tab`, () => {
|
146
|
-
uploadResponsePage.
|
147
|
-
|
148
|
-
uploadResponsePage.fontSizeListOptions(count)
|
149
|
-
.click();
|
150
|
-
uploadResponsePage.fontSizeDropdown()
|
151
|
-
.verifyInnerText(`${option}`);
|
138
|
+
uploadResponsePage.steps.selectFontSizeOptionFromFontSizeDropdown(count);
|
139
|
+
utilities.verifyInnerText(uploadResponsePage.fontSizeDropdown(), `${option}`);
|
152
140
|
cy.log('Switching to Preview tab.');
|
153
141
|
uploadResponsePage.steps.switchToPreviewTab();
|
154
|
-
uploadResponsePage.questionInstructionsText()
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
uploadResponsePage.
|
161
|
-
|
162
|
-
|
163
|
-
|
142
|
+
utilities.verifyCSS(uploadResponsePage.questionInstructionsText(), {
|
143
|
+
'font-size': questionInstructionsTextFontSizes[option]
|
144
|
+
});
|
145
|
+
utilities.verifyCSS(uploadResponsePage.dragAndDropFilesText(), {
|
146
|
+
'font-size': dragAndDropFilesTextFontSizes[option]
|
147
|
+
});
|
148
|
+
utilities.verifyCSS(uploadResponsePage.fileUploadOptionsLabel(), {
|
149
|
+
'font-size': fileUploadOptionsLabelFontSizes[option]
|
150
|
+
});
|
151
|
+
utilities.verifyCSS(uploadResponsePage.supportedFileFormatLabel(), {
|
152
|
+
'font-size': supportedFileFormatLabelFontSizes[option]
|
153
|
+
});
|
154
|
+
utilities.verifyCSS(uploadResponsePage.uploadedFileCount(), {
|
155
|
+
'font-size': uploadedFileCountFontSizes[option]
|
156
|
+
});
|
164
157
|
cy.log('Uploading file to check font-size of the file name.')
|
165
158
|
uploadResponsePage.steps.fileUploadAndVerify(['sample.zip']);
|
166
|
-
uploadResponsePage.uploadedFileLink()
|
167
|
-
|
159
|
+
utilities.verifyCSS(uploadResponsePage.uploadedFileLink(), {
|
160
|
+
'font-size': font[0]
|
161
|
+
});
|
168
162
|
cy.log('Post step: switching to edit tab to select another font size option')
|
169
163
|
uploadResponsePage.steps.switchToEditTab();
|
170
164
|
});
|