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
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
|
|
30
30
|
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
|
31
31
|
listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
32
32
|
listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4, 9, 10, 6]);
|
33
|
-
listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
|
34
33
|
listOrderingPage.steps.expandAdditonalSettings();
|
35
34
|
listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
36
35
|
listOrderingPage.steps.switchToPreviewTab();
|
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
|
|
135
134
|
|
136
135
|
it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, \'Incorrect\' label and border should be displayed and the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the alternate tab with numeration', () => {
|
137
136
|
listOrderingPage.steps.resetQuestionPreview(options);
|
137
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
|
138
138
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
|
139
139
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
|
140
140
|
listOrderingPage.steps.verifyPreviewTabScoreText(19, 29);
|
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
|
|
30
30
|
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
|
31
31
|
listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
32
32
|
listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 9, 5, 4]);
|
33
|
-
listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
|
34
33
|
listOrderingPage.steps.expandAdditonalSettings();
|
35
34
|
listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
36
35
|
listOrderingPage.steps.switchToPreviewTab();
|
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
|
|
135
134
|
|
136
135
|
it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
|
137
136
|
listOrderingPage.steps.resetQuestionPreview(options);
|
137
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
|
138
138
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
|
139
139
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
|
140
140
|
listOrderingPage.steps.verifyPreviewTabScoreText(14, 24);
|
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
|
|
30
30
|
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
|
31
31
|
listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
32
32
|
listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 3, 2, 9]);
|
33
|
-
listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
|
34
33
|
listOrderingPage.steps.expandAdditonalSettings();
|
35
34
|
listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
36
35
|
listOrderingPage.steps.switchToPreviewTab();
|
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
|
|
135
134
|
|
136
135
|
it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
|
137
136
|
listOrderingPage.steps.resetQuestionPreview(options);
|
137
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
|
138
138
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
|
139
139
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
|
140
140
|
listOrderingPage.steps.verifyPreviewTabScoreText(5, 24);
|
@@ -143,7 +143,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
|
|
143
143
|
listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('flower');
|
144
144
|
listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('sprout');
|
145
145
|
listOrderingPage.steps.verifyIncorrectOptionsCrossmarkIcon('seed');
|
146
|
-
listOrderingPage.steps.verifyCorrectAnswerContainerContents(['
|
146
|
+
listOrderingPage.steps.verifyCorrectAnswerContainerContents(correctAnswerArray, ['1', '2', '3', '4']);
|
147
147
|
listOrderingPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
148
148
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExists();
|
149
149
|
|
@@ -279,7 +279,8 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
|
|
279
279
|
listOrderingPage.steps.switchToEditTab();
|
280
280
|
listOrderingPage.steps.deleteAlternateTab();
|
281
281
|
listOrderingPage.steps.addAlternateTab(1);
|
282
|
-
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('
|
282
|
+
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('plant', 0);
|
283
|
+
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
|
283
284
|
listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(['plant', 'flower', 'sprout', 'seed']);
|
284
285
|
listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.5, 1.5, 2.5, 3.5]);
|
285
286
|
listOrderingPage.steps.navigateToCorrectTab();
|
@@ -24,7 +24,6 @@ describe('Create Item page - List ordering: Preview tab Scoring Section', () =>
|
|
24
24
|
listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
|
25
25
|
listOrderingPage.steps.selectPartialDifferentWeightsCheckbox();
|
26
26
|
listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 2.3, 3.7]);
|
27
|
-
listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
|
28
27
|
listOrderingPage.steps.expandAdditonalSettings();
|
29
28
|
listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
30
29
|
listOrderingPage.steps.switchToPreviewTab();
|
@@ -159,33 +158,35 @@ describe('Create Item page - List ordering: Preview tab Scoring Section', () =>
|
|
159
158
|
listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 3.4, 2.3]);
|
160
159
|
listOrderingPage.steps.expandAdditonalSettings();
|
161
160
|
listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
162
|
-
listOrderingPage.steps.switchToPreviewTab();
|
163
161
|
});
|
164
162
|
|
165
|
-
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user
|
166
|
-
listOrderingPage.steps.
|
163
|
+
it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
|
164
|
+
listOrderingPage.steps.switchToPreviewTab();
|
167
165
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('seed', 0);
|
166
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 1);
|
168
167
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
|
169
|
-
listOrderingPage.steps.verifyPreviewTabScoreText(6, 11.7);
|
168
|
+
listOrderingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
|
170
169
|
listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
171
170
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('sprout', 1);
|
172
171
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
|
173
|
-
listOrderingPage.steps.verifyPreviewTabScoreText(11, 11.7);
|
174
|
-
listOrderingPage.steps.
|
172
|
+
listOrderingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
|
173
|
+
listOrderingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
175
174
|
});
|
176
175
|
|
177
|
-
it('When the \'Round down score\' checkbox is
|
178
|
-
listOrderingPage.steps.switchToEditTab()
|
179
|
-
listOrderingPage.steps.
|
176
|
+
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
|
177
|
+
listOrderingPage.steps.switchToEditTab();
|
178
|
+
listOrderingPage.steps.expandRoundingDropdown();
|
179
|
+
listOrderingPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
180
180
|
listOrderingPage.steps.switchToPreviewTab();
|
181
181
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('seed', 0);
|
182
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 1);
|
182
183
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
|
183
|
-
listOrderingPage.steps.verifyPreviewTabScoreText(6
|
184
|
+
listOrderingPage.steps.verifyPreviewTabScoreText(6, 11.7);
|
184
185
|
listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
185
186
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('sprout', 1);
|
186
187
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
|
187
|
-
listOrderingPage.steps.verifyPreviewTabScoreText(11
|
188
|
-
listOrderingPage.steps.
|
188
|
+
listOrderingPage.steps.verifyPreviewTabScoreText(11, 11.7);
|
189
|
+
listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
189
190
|
});
|
190
191
|
});
|
191
192
|
});
|
@@ -31,7 +31,6 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
31
31
|
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
|
32
32
|
listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
33
33
|
listOrderingPage.steps.allotPoints('24');
|
34
|
-
listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
|
35
34
|
listOrderingPage.steps.expandAdditonalSettings();
|
36
35
|
listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
37
36
|
listOrderingPage.steps.switchToPreviewTab();
|
@@ -136,6 +135,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
136
135
|
|
137
136
|
it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, \'Incorrect\' label and border should be displayed and the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the alternate tab with numeration', () => {
|
138
137
|
listOrderingPage.steps.resetQuestionPreview(options);
|
138
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
|
139
139
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
|
140
140
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
|
141
141
|
listOrderingPage.steps.verifyPreviewTabScoreText(12, 24);
|
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
30
30
|
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
|
31
31
|
listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
32
32
|
listOrderingPage.steps.allotPoints('20');
|
33
|
-
listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
|
34
33
|
listOrderingPage.steps.expandAdditonalSettings();
|
35
34
|
listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
36
35
|
listOrderingPage.steps.switchToPreviewTab();
|
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
135
134
|
|
136
135
|
it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
|
137
136
|
listOrderingPage.steps.resetQuestionPreview(options);
|
137
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
|
138
138
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
|
139
139
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
|
140
140
|
listOrderingPage.steps.verifyPreviewTabScoreText(10, 20);
|
@@ -143,7 +143,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
143
143
|
listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('flower');
|
144
144
|
listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('sprout');
|
145
145
|
listOrderingPage.steps.verifyIncorrectOptionsCrossmarkIcon('seed');
|
146
|
-
listOrderingPage.steps.verifyCorrectAnswerContainerContents(['
|
146
|
+
listOrderingPage.steps.verifyCorrectAnswerContainerContents(correctAnswerArray, ['1', '2', '3', '4']);
|
147
147
|
listOrderingPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
148
148
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExists();
|
149
149
|
|
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
30
30
|
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
|
31
31
|
listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
32
32
|
listOrderingPage.steps.allotPoints('12');
|
33
|
-
listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
|
34
33
|
listOrderingPage.steps.expandAdditonalSettings();
|
35
34
|
listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
36
35
|
listOrderingPage.steps.switchToPreviewTab();
|
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
135
134
|
|
136
135
|
it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
|
137
136
|
listOrderingPage.steps.resetQuestionPreview(options);
|
137
|
+
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
|
138
138
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
|
139
139
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
|
140
140
|
listOrderingPage.steps.verifyPreviewTabScoreText(6, 20);
|
package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsScoring.js
RENAMED
@@ -176,7 +176,6 @@ describe('Create Item page - List ordering: Partial equal weights', () => {
|
|
176
176
|
|
177
177
|
it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
|
178
178
|
listOrderingPage.steps.switchToEditTab()
|
179
|
-
listOrderingPage.steps.uncheckRoundDownScoreCheckbox()
|
180
179
|
listOrderingPage.steps.switchToPreviewTab();
|
181
180
|
listOrderingPage.steps.clickAndReorderOptionInPrevewTab('seed', 0);
|
182
181
|
listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
|
package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsAnswerNumerationAndOptionLabel.js
CHANGED
@@ -7,7 +7,7 @@ const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Low
|
|
7
7
|
const numbers = ['1', '2', '3', '4'];
|
8
8
|
const lowercase = ['a', 'b', 'c', 'd'];
|
9
9
|
const uppercase = ['A', 'B', 'C', 'D'];
|
10
|
-
let options = ['plant', '
|
10
|
+
let options = ['plant', 'flower', 'sprout', 'seed'];
|
11
11
|
let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
12
12
|
|
13
13
|
describe('Create Item page - List ordering: Additional settings - Answer numeration (only while grading) and option label section', () => {
|
@@ -4,8 +4,8 @@ import utilities from "../../../support/helpers/utilities";
|
|
4
4
|
const css = Cypress.env('css');
|
5
5
|
|
6
6
|
const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
|
7
|
-
const fontSizeDropdownOptions = ['
|
8
|
-
const fontSizes = ['
|
7
|
+
const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
8
|
+
const fontSizes = ['12px', '14px', '16px', '18px', '22px', '26px'];
|
9
9
|
let options = ['plant', 'sprout', 'flower', 'seed'];
|
10
10
|
let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
11
11
|
|
@@ -4,7 +4,7 @@ import utilities from "../../../support/helpers/utilities";
|
|
4
4
|
const css = Cypress.env('css');
|
5
5
|
|
6
6
|
const optionStyleDropdownOptions = ['Grid', 'Minimal', 'Inline'];
|
7
|
-
let options = ['plant', '
|
7
|
+
let options = ['plant', 'flower', 'sprout', 'seed'];
|
8
8
|
let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
9
9
|
|
10
10
|
describe('Create Item page - List ordering: Additional settings - Options style dropdown', () => {
|
@@ -5,14 +5,10 @@ import abortEarlySetup from "../../../support/helpers/abortEarly";
|
|
5
5
|
import utilities from "../../../support/helpers/utilities";
|
6
6
|
const css = Cypress.env('css');
|
7
7
|
|
8
|
-
const optionStyleDropdownOptions = ['Grid', 'Minimal', 'Inline'];
|
9
8
|
const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
|
10
|
-
const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
|
11
9
|
const numbers = ['1', '2', '3', '4'];
|
12
10
|
const lowercase = ['a', 'b', 'c', 'd'];
|
13
|
-
|
14
|
-
const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
|
15
|
-
let options = ['plant', 'sprout', 'flower', 'seed'];
|
11
|
+
let options = ['plant', 'flower', 'sprout', 'seed'];
|
16
12
|
let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
17
13
|
|
18
14
|
describe('Create Item page - List ordering: Additional settings', () => {
|
@@ -149,7 +145,6 @@ describe('Create Item page - List ordering: Additional settings', () => {
|
|
149
145
|
setPointsPopupBase.steps.cancelSetPointsPopup();
|
150
146
|
});
|
151
147
|
|
152
|
-
//Failing due to - https://redmine.zeuslearning.com/issues/538676
|
153
148
|
it('When user deletes an option from the \'Option\' section then it should not be displayed in the \'Set points\' popup and the numeration should change accordingly', () => {
|
154
149
|
listOrderingPage.steps.deleteOption(0);
|
155
150
|
listOrderingPage.steps.clickOnSetPointsButton();
|
@@ -162,6 +157,7 @@ describe('Create Item page - List ordering: Additional settings', () => {
|
|
162
157
|
//Failing due to - https://redmine.zeuslearning.com/issues/538680
|
163
158
|
it('When user adds an option in the \'Option\' section then it should be displayed in the \'Set points\' popup with an empty points field', () => {
|
164
159
|
listOrderingPage.steps.addOption();
|
160
|
+
listOrderingPage.steps.editOptionInputField(3, options[0]);
|
165
161
|
listOrderingPage.steps.clickOnSetPointsButton();
|
166
162
|
utilities.verifyElementCount(listOrderingPage.setPointsPopupOptions(), 4);
|
167
163
|
listOrderingPage.steps.verifySetPointsPopupOptionNumeration(numbers);
|
@@ -217,8 +213,8 @@ describe('Create Item page - List ordering: Additional settings', () => {
|
|
217
213
|
setPointsPopupBase.steps.saveSetPointsPopup();
|
218
214
|
});
|
219
215
|
|
220
|
-
//Failing due to - https://redmine.zeuslearning.com/issues/539283
|
221
216
|
it(`When user changes the Answer numeration option to ${answerNumerationDropdownOptions[2]} then the set points popup options should be displayed with lowercase numeration`, () => {
|
217
|
+
listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('sprout', 3);
|
222
218
|
listOrderingPage.steps.navigateToCorrectTab()
|
223
219
|
listOrderingPage.steps.selectAnswerNumerationDropdownOption(`${answerNumerationDropdownOptions[2]}`);
|
224
220
|
listOrderingPage.steps.clickOnSetPointsButton()
|
@@ -103,15 +103,15 @@ describe('Create Item page - List ordering: Edit tab scoring types and set corre
|
|
103
103
|
'font-weight': css.fontWeight.semibold
|
104
104
|
});
|
105
105
|
utilities.verifyCSS(listOrderingPage.rounddownScoreCheckboxLabel(), {
|
106
|
-
'color': css.color.
|
106
|
+
'color': css.color.labels,
|
107
107
|
'font-size': css.fontSize.normal,
|
108
|
-
'font-weight': css.fontWeight.
|
108
|
+
'font-weight': css.fontWeight.semibold
|
109
109
|
});
|
110
110
|
});
|
111
111
|
|
112
112
|
it('Accessibility of \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input field and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
|
113
113
|
cy.checkAccessibility(listOrderingPage.penaltyPointsInputField().parents('.points-container'));
|
114
|
-
cy.checkAccessibility(listOrderingPage.
|
114
|
+
cy.checkAccessibility(listOrderingPage.roundingDropdown());
|
115
115
|
});
|
116
116
|
|
117
117
|
it('When the user switches to \'All or nothing\' scoring, the \'Points per response\' label and the points displayed for individual responses should not be displayed and the points displayed in \'Points\' input field should remain unchanged', () => {
|
@@ -199,16 +199,16 @@ describe('Create Item page - List ordering: Edit tab scoring types and set corre
|
|
199
199
|
'font-weight': css.fontWeight.semibold
|
200
200
|
});
|
201
201
|
utilities.verifyCSS(listOrderingPage.rounddownScoreCheckboxLabel(), {
|
202
|
-
'color': css.color.
|
202
|
+
'color': css.color.labels,
|
203
203
|
'font-size': css.fontSize.normal,
|
204
|
-
'font-weight': css.fontWeight.
|
204
|
+
'font-weight': css.fontWeight.semibold
|
205
205
|
});
|
206
206
|
});
|
207
207
|
|
208
208
|
it('Accessibility of \'Points per response\', \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input fields and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
|
209
209
|
cy.checkAccessibility(listOrderingPage.partialDifferentWeightsPointsInputField());
|
210
210
|
cy.checkAccessibility(listOrderingPage.penaltyPointsInputField().parents('.points-container'));
|
211
|
-
cy.checkAccessibility(listOrderingPage.
|
211
|
+
cy.checkAccessibility(listOrderingPage.roundingDropdown().parents('.round-down-score-wrapper'));
|
212
212
|
});
|
213
213
|
|
214
214
|
it('When the user switches to \'All or nothing\' scoring, the points added for individual responses in Partial - different weights scoring should get summed up in the All or nothing scoring Points input field', () => {
|
@@ -256,6 +256,6 @@ describe('Create item page - List sorting: All or nothing scoring with alternate
|
|
256
256
|
listSortingPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
|
257
257
|
});
|
258
258
|
|
259
|
-
listSortingPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer(
|
259
|
+
listSortingPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer(20);
|
260
260
|
});
|
261
261
|
});
|
package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/manuallyAndNonScoredScoring.js
RENAMED
@@ -40,7 +40,7 @@ describe('Create item page - List sorting: Preview tab \'Scoring\' section', ()
|
|
40
40
|
utilities.verifyInnerText(listSortingPage.previewTabTargetOptionWrapper(), '');
|
41
41
|
});
|
42
42
|
|
43
|
-
listSortingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
|
43
|
+
listSortingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
44
44
|
});
|
45
45
|
|
46
46
|
describe('Question Preview: Non Scored', () => {
|
@@ -34,7 +34,6 @@ describe('Create item page - List sorting: Partial different weights scoring wit
|
|
34
34
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
|
35
35
|
listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
36
36
|
listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4, 9, 10, 6]);
|
37
|
-
listSortingPage.steps.uncheckRoundDownScoreCheckbox();
|
38
37
|
listSortingPage.steps.expandAdditonalSettings();
|
39
38
|
listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
40
39
|
listSortingPage.steps.switchToPreviewTab();
|
@@ -34,7 +34,6 @@ describe('Create item page - List sorting: Partial different weights scoring wit
|
|
34
34
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
|
35
35
|
listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
36
36
|
listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 9, 5, 4]);
|
37
|
-
listSortingPage.steps.uncheckRoundDownScoreCheckbox();
|
38
37
|
listSortingPage.steps.expandAdditonalSettings();
|
39
38
|
listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
40
39
|
listSortingPage.steps.switchToPreviewTab();
|
@@ -34,7 +34,6 @@ describe('Create item page - List sorting: Partial different weights scoring wit
|
|
34
34
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
|
35
35
|
listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
36
36
|
listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 3, 2, 9]);
|
37
|
-
listSortingPage.steps.uncheckRoundDownScoreCheckbox();
|
38
37
|
listSortingPage.steps.expandAdditonalSettings();
|
39
38
|
listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
40
39
|
listSortingPage.steps.switchToPreviewTab();
|
package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsScoring.js
RENAMED
@@ -26,7 +26,6 @@ describe('Create item page - List sorting: Partial different weights scoring', (
|
|
26
26
|
listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
|
27
27
|
listSortingPage.steps.selectPartialDifferentWeightsCheckbox();
|
28
28
|
listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 2.3, 3.7]);
|
29
|
-
listSortingPage.steps.uncheckRoundDownScoreCheckbox();
|
30
29
|
listSortingPage.steps.expandAdditonalSettings();
|
31
30
|
listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
32
31
|
listSortingPage.steps.switchToPreviewTab();
|
@@ -167,14 +166,13 @@ describe('Create item page - List sorting: Partial different weights scoring', (
|
|
167
166
|
listSortingPage.steps.switchToPreviewTab();
|
168
167
|
});
|
169
168
|
|
170
|
-
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user
|
171
|
-
listSortingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
|
169
|
+
it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
|
172
170
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
|
173
171
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
|
174
172
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
|
175
173
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
|
176
174
|
listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
|
177
|
-
listSortingPage.steps.verifyPreviewTabScoreText(6, 11.7);
|
175
|
+
listSortingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
|
178
176
|
listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
179
177
|
listSortingPage.steps.resetQuestionPreview();
|
180
178
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
|
@@ -182,20 +180,22 @@ describe('Create item page - List sorting: Partial different weights scoring', (
|
|
182
180
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
|
183
181
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
|
184
182
|
listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
|
185
|
-
listSortingPage.steps.verifyPreviewTabScoreText(11, 11.7);
|
186
|
-
listSortingPage.steps.
|
183
|
+
listSortingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
|
184
|
+
listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
187
185
|
});
|
188
186
|
|
189
|
-
it('When the \'Round down score\' checkbox is
|
190
|
-
listSortingPage.steps.switchToEditTab()
|
191
|
-
listSortingPage.steps.
|
187
|
+
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
|
188
|
+
listSortingPage.steps.switchToEditTab();
|
189
|
+
listSortingPage.steps.expandRoundingDropdown();
|
190
|
+
listSortingPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
192
191
|
listSortingPage.steps.switchToPreviewTab();
|
192
|
+
listSortingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
|
193
193
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
|
194
194
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
|
195
195
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
|
196
196
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
|
197
197
|
listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
|
198
|
-
listSortingPage.steps.verifyPreviewTabScoreText(6
|
198
|
+
listSortingPage.steps.verifyPreviewTabScoreText(6, 11.7);
|
199
199
|
listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
200
200
|
listSortingPage.steps.resetQuestionPreview();
|
201
201
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
|
@@ -203,8 +203,8 @@ describe('Create item page - List sorting: Partial different weights scoring', (
|
|
203
203
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
|
204
204
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
|
205
205
|
listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
|
206
|
-
listSortingPage.steps.verifyPreviewTabScoreText(11
|
207
|
-
listSortingPage.steps.
|
206
|
+
listSortingPage.steps.verifyPreviewTabScoreText(11, 11.7);
|
207
|
+
listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
208
208
|
});
|
209
209
|
});
|
210
210
|
});
|
@@ -35,7 +35,6 @@ describe('Create item page - List sorting: Partial equal weights scoring with al
|
|
35
35
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
|
36
36
|
listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
37
37
|
listSortingPage.steps.allotPoints('24');
|
38
|
-
listSortingPage.steps.uncheckRoundDownScoreCheckbox();
|
39
38
|
listSortingPage.steps.expandAdditonalSettings();
|
40
39
|
listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
41
40
|
listSortingPage.steps.switchToPreviewTab();
|
@@ -33,7 +33,6 @@ describe('Create item page - List sorting: Partial equal weights scoring with al
|
|
33
33
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('sprout', 2);
|
34
34
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
|
35
35
|
listSortingPage.steps.allotPoints('20');
|
36
|
-
listSortingPage.steps.uncheckRoundDownScoreCheckbox();
|
37
36
|
listSortingPage.steps.expandAdditonalSettings();
|
38
37
|
listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
39
38
|
listSortingPage.steps.switchToPreviewTab();
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { listSortingPage } from "../../../../pages/listSortingPage";
|
2
2
|
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
-
import utilities from "../../../../support/helpers/utilities";
|
4
3
|
|
5
4
|
let options = ['plant', 'sprout', 'flower', 'seed'];
|
6
5
|
let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
@@ -34,7 +33,6 @@ describe('Create item page - List sorting: Partial equal weights scoring with al
|
|
34
33
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
|
35
34
|
listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
|
36
35
|
listSortingPage.steps.allotPoints('12');
|
37
|
-
listSortingPage.steps.uncheckRoundDownScoreCheckbox();
|
38
36
|
listSortingPage.steps.expandAdditonalSettings();
|
39
37
|
listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
40
38
|
listSortingPage.steps.switchToPreviewTab();
|
package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsScoring.js
RENAMED
@@ -164,44 +164,44 @@ describe('Create item page - List sorting: Partial equal weights scoring', () =>
|
|
164
164
|
listSortingPage.steps.switchToPreviewTab();
|
165
165
|
});
|
166
166
|
|
167
|
-
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user
|
168
|
-
listSortingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
|
167
|
+
it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
|
169
168
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
|
170
169
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
|
171
170
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
|
172
171
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
|
173
172
|
listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
|
174
|
-
listSortingPage.steps.verifyPreviewTabScoreText(7, 14.5);
|
175
|
-
listSortingPage.steps.resetQuestionPreview();
|
173
|
+
listSortingPage.steps.verifyPreviewTabScoreText(7.26, 14.5);
|
176
174
|
listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
175
|
+
listSortingPage.steps.resetQuestionPreview();
|
177
176
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
|
178
177
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
|
179
178
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
|
180
179
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
|
181
180
|
listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
|
182
|
-
listSortingPage.steps.verifyPreviewTabScoreText(14, 14.5);
|
183
|
-
listSortingPage.steps.
|
181
|
+
listSortingPage.steps.verifyPreviewTabScoreText(14.5, 14.5);
|
182
|
+
listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
184
183
|
});
|
185
184
|
|
186
|
-
it('When the \'Round down score\' checkbox is
|
187
|
-
listSortingPage.steps.switchToEditTab()
|
188
|
-
listSortingPage.steps.
|
185
|
+
it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
|
186
|
+
listSortingPage.steps.switchToEditTab();
|
187
|
+
listSortingPage.steps.expandRoundingDropdown();
|
188
|
+
listSortingPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
189
189
|
listSortingPage.steps.switchToPreviewTab();
|
190
190
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
|
191
191
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
|
192
192
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
|
193
193
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
|
194
194
|
listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
|
195
|
-
listSortingPage.steps.verifyPreviewTabScoreText(7
|
196
|
-
listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
195
|
+
listSortingPage.steps.verifyPreviewTabScoreText(7, 14.5);
|
197
196
|
listSortingPage.steps.resetQuestionPreview();
|
197
|
+
listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
198
198
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
|
199
199
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
|
200
200
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
|
201
201
|
listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
|
202
202
|
listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
|
203
|
-
listSortingPage.steps.verifyPreviewTabScoreText(14
|
204
|
-
listSortingPage.steps.
|
203
|
+
listSortingPage.steps.verifyPreviewTabScoreText(14, 14.5);
|
204
|
+
listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
205
205
|
});
|
206
206
|
});
|
207
207
|
});
|
@@ -4,8 +4,8 @@ import utilities from "../../../support/helpers/utilities";
|
|
4
4
|
const css = Cypress.env('css');
|
5
5
|
|
6
6
|
const optionStyleDropdownOptions = ['None', 'Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
|
7
|
-
const fontSizeDropdownOptions = ['
|
8
|
-
const fontSizes = ['
|
7
|
+
const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
8
|
+
const fontSizes = ['12px', '14px', '16px', '18px', '22px', '26px'];
|
9
9
|
let options = ['plant', 'sprout', 'flower', 'seed'];
|
10
10
|
let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
11
11
|
|
@@ -104,15 +104,15 @@ describe('Create Item page - List sorting: Edit tab scoring types and set correc
|
|
104
104
|
'font-weight': css.fontWeight.semibold
|
105
105
|
});
|
106
106
|
utilities.verifyCSS(listSortingPage.rounddownScoreCheckboxLabel(), {
|
107
|
-
'color': css.color.
|
107
|
+
'color': css.color.labels,
|
108
108
|
'font-size': css.fontSize.normal,
|
109
|
-
'font-weight': css.fontWeight.
|
109
|
+
'font-weight': css.fontWeight.semibold
|
110
110
|
});
|
111
111
|
});
|
112
112
|
|
113
113
|
it('Accessibility of \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input field and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
|
114
114
|
cy.checkAccessibility(listSortingPage.penaltyPointsInputField().parents('.points-container'));
|
115
|
-
cy.checkAccessibility(listSortingPage.
|
115
|
+
cy.checkAccessibility(listSortingPage.roundingDropdown().parents('.round-down-score-wrapper'));
|
116
116
|
});
|
117
117
|
|
118
118
|
it('When the user switches to \'All or nothing\' scoring, the \'Points per response\' label and the points displayed for individual responses should not be displayed and the points displayed in \'Points\' input field should remain unchanged', () => {
|
@@ -201,16 +201,16 @@ describe('Create Item page - List sorting: Edit tab scoring types and set correc
|
|
201
201
|
'font-weight': css.fontWeight.semibold
|
202
202
|
});
|
203
203
|
utilities.verifyCSS(listSortingPage.rounddownScoreCheckboxLabel(), {
|
204
|
-
'color': css.color.
|
204
|
+
'color': css.color.labels,
|
205
205
|
'font-size': css.fontSize.normal,
|
206
|
-
'font-weight': css.fontWeight.
|
206
|
+
'font-weight': css.fontWeight.semibold
|
207
207
|
});
|
208
208
|
});
|
209
209
|
|
210
210
|
it('Accessibility of \'Points per response\', \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input fields and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
|
211
211
|
cy.checkAccessibility(listSortingPage.pointsInputField());
|
212
212
|
cy.checkAccessibility(listSortingPage.penaltyPointsInputField().parents('.points-container'));
|
213
|
-
cy.checkAccessibility(listSortingPage.
|
213
|
+
cy.checkAccessibility(listSortingPage.roundingDropdown().parents('.round-down-score-wrapper'));
|
214
214
|
});
|
215
215
|
|
216
216
|
it('When the user switches to \'All or nothing\' scoring, the points added for individual responses in Partial - different weights scoring should get summed up in the All or nothing scoring Points input field', () => {
|
package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionAdditionalSettingsGridOptions.js
CHANGED
@@ -7,7 +7,7 @@ const options = ['Is mammal', 'Lays eggs', 'Can fly'];
|
|
7
7
|
|
8
8
|
const gridStyleDropdownOptions = ['With border', 'Row dividers', 'No border', 'Inline', 'Inline - row dividers'];
|
9
9
|
const questionStemNumerationOptions = ['None', 'Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
|
10
|
-
const fontSizeDropdownOptions = ['
|
10
|
+
const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
11
11
|
const numbers = ['1', '2', '3', '4'];
|
12
12
|
const lowercase = ['a', 'b', 'c', 'd'];
|
13
13
|
const uppercase = ['A', 'B', 'C', 'D'];
|