itemengine-cypress-automation 1.0.69 → 1.0.72
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/essayResponseScoringSection.js +2 -2
- package/cypress/e2e/ILC/FeedbackScale/feedbackScaleAdditionalSettingsBasic.js +8 -9
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabBasic.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingWithAlternateAnswer.js +6 -18
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedSetCorrectAnswerCheckboxes.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerCheckboxes.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettingsBasic.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoring.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoringWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownManuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeights.js +5 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeightsWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeights.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeightsWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +6 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +6 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +6 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAddResponseContainer.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsBasic.js +12 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsMultilineResponse.js +4 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsStudentResponseAreaAndLayout.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextManualAndNonScored.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsScoring.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswer.js +0 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsScoring.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswer.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsAdvanceSettingsForAllResponseAreas.js +17 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsBasic.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAutoScoredScoring.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextCaseSensitiveAndIgnoreExtraSpacesCheckboxes.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextManuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeights.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeightsWithAlternateAnswer.js +3 -1
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeights.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingScoring.js +2 -0
- package/cypress/e2e/ILC/Highlight/{highlightBasicScoringForTextSelectionTypes.js → HighlightScoring/highlightBasicScoringForTextSelectionTypes.js} +1 -1
- package/cypress/e2e/ILC/Highlight/HighlightScoring/{manualAndNonScored.js → manuallyAndNonScored.js} +1 -1
- package/cypress/e2e/ILC/Highlight/HighlightScoring/{partialDifferentWeightsCorrectEqualToAlternatePoints.js → partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js} +2 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsScoring.js +7 -2
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointEqualToAlternatePoints.js +2 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsScoring.js +6 -1
- package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsBasic.js +2 -3
- package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsMaximumNumberOfAnswers.js +0 -2
- package/cypress/e2e/ILC/Highlight/highlightEditTabScoringSection.js +4 -3
- package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettings.js +4 -4
- package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettingsBasic.js +4 -10
- package/cypress/e2e/ILC/HighlightImage/highlightImageAllOrNothingScoring.js +3 -3
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabScoring.js +9 -5
- package/cypress/e2e/ILC/HighlightImage/highlightImageManuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsScoring.js +14 -15
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsWithAlternateAnswer.js +0 -3
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialEqualWeightsScoring.js +14 -14
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferentWeightsScoring.js +2 -3
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsScorings.js +2 -2
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsScoring.js +2 -3
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsScoring.js +2 -2
- package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/ListMatching/listMatchingEditTabScoringTypes.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +2 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/manuallyAndNonScoredScoring.js +3 -3
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +4 -3
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsScoring.js +14 -13
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +2 -2
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsScoring.js +0 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsAnswerNumerationAndOptionLabel.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsOptionStyleDropdown.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsSetPointsPopup.js +3 -7
- package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabScoringSection.js +6 -6
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/manuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsScoring.js +12 -12
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsScoring.js +13 -13
- package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/ListSorting/listSortingEditTabScoringSection.js +6 -6
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionAdditionalSettingsGridOptions.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +16 -19
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAutoScoredScoring.js +4 -4
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabScoringSection.js +2 -2
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridManuallyAndNonScoredScoring.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeights.js +12 -12
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +25 -26
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +23 -24
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +25 -26
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeights.js +14 -13
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +23 -24
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +21 -22
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +23 -24
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridSetCorrectAnswerSection.js +7 -7
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettingsBasic.js +10 -10
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.js +37 -53
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseConditionalCheckboxes.js +3 -3
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js +4 -4
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseEditTabScoringSection.js +7 -19
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseExactConditionalRadioButton.js +4 -4
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseManuallyScoredNonScoredScoringSection.js +9 -15
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAdditionalSettingsBasic.js +16 -18
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAutoScoredScoring.js +4 -4
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabScoringSection.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridManuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeights.js +11 -10
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +16 -16
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +18 -18
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeights.js +10 -9
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +14 -14
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +16 -17
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridSetCorrectAnswerSection.js +31 -31
- package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +60 -66
- package/cypress/e2e/ILC/UploadResponse/uploadResponseEditTabBasicSections.js +84 -109
- package/cypress/e2e/ILC/UploadResponse/uploadResponseHeaderSection.js +4 -18
- package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +119 -150
- package/cypress/e2e/ILC/UploadResponse/uploadResponseScoringSection.js +2 -2
- package/cypress/e2e/ILC/UploadResponse/uplodResponsePreviewUploadedFileProperties.js +110 -164
- package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettings.js +1 -1
- package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettingsBasic.js +11 -12
- package/cypress/e2e/ILC/VideoResponse/videoResponsePreviewTab.js +6 -5
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.js +4 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +8 -2
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +10 -4
- package/package.json +1 -1
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingScoring.js +0 -0
package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettings.js
CHANGED
@@ -352,7 +352,7 @@ describe('Fill In the gaps over image - text - Additional settings', () => {
|
|
352
352
|
|
353
353
|
it('When the input field of \'Height\' and \'Width\' is kept empty, the default dimension of the response field should be (197x46)px in the \'Set correct answer\' section response field', () => {
|
354
354
|
fillInTheGapsOverImageTextPage.steps.verifyHeightResponseFieldSetCorrectAnswerSection(0, '46px');
|
355
|
-
fillInTheGapsOverImageTextPage.steps.verifyWidthResponseFieldSetCorrectAnswerSection(0, '
|
355
|
+
fillInTheGapsOverImageTextPage.steps.verifyWidthResponseFieldSetCorrectAnswerSection(0, '197px');
|
356
356
|
});
|
357
357
|
|
358
358
|
it('When the user adds \'Height\' for the response field then the height of the response field should get updated accordingly in the \'Set correct answer\' section', () => {
|
@@ -416,7 +416,7 @@ describe('Fill In the gaps over image - text - Additional settings', () => {
|
|
416
416
|
|
417
417
|
it('When the input field of \'Height\' and \'Width\' is kept empty, the default dimension of the response field should be (197x46)px for the preview tab', () => {
|
418
418
|
fillInTheGapsOverImageTextPage.steps.verifyHeightResponseFieldPreviewTab(0, '46px');
|
419
|
-
fillInTheGapsOverImageTextPage.steps.verifyWidthResponseFieldPreviewTab(0, '
|
419
|
+
fillInTheGapsOverImageTextPage.steps.verifyWidthResponseFieldPreviewTab(0, '197px');
|
420
420
|
});
|
421
421
|
|
422
422
|
it('When the user adds \'Height\' for the response field then the height of the response field should get updated accordingly in the preview tab', () => {
|
@@ -2,11 +2,9 @@ import { specialOrMathCharacters } from "../../../fixtures/specialAndMathCharact
|
|
2
2
|
import { fillInTheGapsOverImageTextPage } from "../../../pages";
|
3
3
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
4
|
import utilities from "../../../support/helpers/utilities";
|
5
|
-
const css = Cypress.env('css');
|
6
5
|
const correctTabAnswerArray = ['Flower', 'Leaf'];
|
7
6
|
const incorrectAnswerArray = ['Root', 'Branch'];
|
8
|
-
const
|
9
|
-
const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
|
7
|
+
const fontSizes = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
|
10
8
|
let symbolsString = specialOrMathCharacters['specialCharacters'].characters.map((icon) => icon.symbol);
|
11
9
|
symbolsString = symbolsString.join('');
|
12
10
|
|
@@ -42,15 +40,15 @@ describe('Fill In the gaps over image - text - Additional settings', () => {
|
|
42
40
|
|
43
41
|
fillInTheGapsOverImageTextPage.tests.verifyFontSizeSectionContents();
|
44
42
|
|
45
|
-
|
46
|
-
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the set correct answer section should change to ${option}`, () => {
|
43
|
+
Object.keys(fontSizes).forEach((option, fontsIndex) => {
|
44
|
+
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the set correct answer section should change to ${fontSizes[option]}`, () => {
|
47
45
|
fillInTheGapsOverImageTextPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex);
|
48
46
|
utilities.verifyInnerText(fillInTheGapsOverImageTextPage.fontSizeDropdown(), `${option}`);
|
49
47
|
utilities.verifyCSS(fillInTheGapsOverImageTextPage.responseFieldSetCorrectAnswerSection(), {
|
50
|
-
'font-size':
|
48
|
+
'font-size': fontSizes[option]
|
51
49
|
});
|
52
50
|
utilities.verifyCSS(fillInTheGapsOverImageTextPage.highlightNumeration(), {
|
53
|
-
'font-size':
|
51
|
+
'font-size': fontSizes[option]
|
54
52
|
});
|
55
53
|
});
|
56
54
|
});
|
@@ -73,26 +71,26 @@ describe('Fill In the gaps over image - text - Additional settings', () => {
|
|
73
71
|
fillInTheGapsOverImageTextPage.steps.expandAdditonalSettings();
|
74
72
|
});
|
75
73
|
|
76
|
-
|
77
|
-
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview tab should change to ${option} accordingly`, () => {
|
74
|
+
Object.keys(fontSizes).forEach((option, fontsIndex) => {
|
75
|
+
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview tab should change to ${fontSizes[option]} accordingly`, () => {
|
78
76
|
fillInTheGapsOverImageTextPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex);
|
79
77
|
utilities.verifyInnerText(fillInTheGapsOverImageTextPage.fontSizeDropdown(), `${option}`);
|
80
78
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
81
79
|
utilities.verifyCSS(fillInTheGapsOverImageTextPage.questionInstructionsText(), {
|
82
|
-
'font-size': fontSizes[
|
80
|
+
'font-size': fontSizes[option]
|
83
81
|
});
|
84
82
|
utilities.verifyCSS(fillInTheGapsOverImageTextPage.responseFieldPreviewTab(), {
|
85
|
-
'font-size': fontSizes[
|
83
|
+
'font-size': fontSizes[option]
|
86
84
|
});
|
87
85
|
fillInTheGapsOverImageTextPage.steps.checkShowCorrectAnswerCheckbox();
|
88
86
|
utilities.verifyCSS(fillInTheGapsOverImageTextPage.previewTabCorrectAnswerLabel(), {
|
89
|
-
'font-size': fontSizes[
|
87
|
+
'font-size': fontSizes[option]
|
90
88
|
});
|
91
89
|
utilities.verifyCSS(fillInTheGapsOverImageTextPage.responseNumeration(), {
|
92
|
-
'font-size': fontSizes[
|
90
|
+
'font-size': fontSizes[option]
|
93
91
|
});
|
94
92
|
utilities.verifyCSS(fillInTheGapsOverImageTextPage.previewTabCorrectAnswerResponseWrapper(), {
|
95
|
-
'font-size': fontSizes[
|
93
|
+
'font-size': fontSizes[option]
|
96
94
|
});
|
97
95
|
fillInTheGapsOverImageTextPage.steps.uncheckShowCorrectAnswerCheckbox();
|
98
96
|
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
@@ -112,16 +112,15 @@ describe('Fill In the gaps over image - text - Additional settings', () => {
|
|
112
112
|
|
113
113
|
it('When the \'Multiline response\' functionality is enabled then the user should be able to add Multiline responses in the preview tab', () => {
|
114
114
|
fillInTheGapsOverImageTextPage.steps.enterTextInMultilineResponseAreaPreviewTab(0, 'l{enter}o{enter}r{enter}e{enter}m');
|
115
|
-
fillInTheGapsOverImageTextPage.steps.verifyTextInMultilineResponseAreaPreviewTab(0, 'l\no\nr\ne\nm
|
115
|
+
fillInTheGapsOverImageTextPage.steps.verifyTextInMultilineResponseAreaPreviewTab(0, 'l\no\nr\ne\nm');
|
116
116
|
});
|
117
117
|
|
118
118
|
it('When the \'Multiline response\' functionality is enabled then the user should be able to enter multiline characters including the line breaks up to the set character limit in the preview tab', () => {
|
119
119
|
fillInTheGapsOverImageTextPage.steps.enterTextInMultilineResponseAreaPreviewTab(0, 'l{enter}o{enter}r{enter}e{enter}m{enter}e{enter}s{enter}u{enter}m{enter}l{enter}nam');
|
120
|
-
fillInTheGapsOverImageTextPage.steps.verifyTextInMultilineResponseAreaPreviewTab(0, 'l\no\nr\ne\nm\ne\ns\nu\nm\nl\n
|
120
|
+
fillInTheGapsOverImageTextPage.steps.verifyTextInMultilineResponseAreaPreviewTab(0, 'l\no\nr\ne\nm\ne\ns\nu\nm\nl\n');
|
121
121
|
});
|
122
122
|
});
|
123
123
|
|
124
|
-
//Failing due to https://redmine.zeuslearning.com/issues/547600
|
125
124
|
describe('Additional settings: Scoring for multiline response', () => {
|
126
125
|
abortEarlySetup();
|
127
126
|
before(() => {
|
@@ -137,9 +136,9 @@ describe('Fill In the gaps over image - text - Additional settings', () => {
|
|
137
136
|
|
138
137
|
it('When the user has enabled the Multiline functionality then user should be able to set multiline correct answers and points in the \'Set correct answer\' section', () => {
|
139
138
|
fillInTheGapsOverImageTextPage.steps.enterTextInMultilineResponseAreaSetCorrectAnswerSection(0, 'R{enter}e{enter}s{enter}p{enter}o{enter}n{enter}s{enter}e{enter}1');
|
140
|
-
fillInTheGapsOverImageTextPage.steps.verifyTextInMultilineResponseAreaSetCorrectAnswerSection(0, 'R\ne\ns\np\no\nn\ns\ne\n1
|
139
|
+
fillInTheGapsOverImageTextPage.steps.verifyTextInMultilineResponseAreaSetCorrectAnswerSection(0, 'R\ne\ns\np\no\nn\ns\ne\n1');
|
141
140
|
fillInTheGapsOverImageTextPage.steps.enterTextInMultilineResponseAreaSetCorrectAnswerSection(1, 'Response 2')
|
142
|
-
fillInTheGapsOverImageTextPage.steps.verifyTextInMultilineResponseAreaSetCorrectAnswerSection(1, 'Response 2
|
141
|
+
fillInTheGapsOverImageTextPage.steps.verifyTextInMultilineResponseAreaSetCorrectAnswerSection(1, 'Response 2');
|
143
142
|
fillInTheGapsOverImageTextPage.steps.allotPoints(10);
|
144
143
|
});
|
145
144
|
|
@@ -98,6 +98,7 @@ describe('Fill In the gaps over image - text - Additional settings', () => {
|
|
98
98
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
99
99
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, incorrectAnswerArray[0]);
|
100
100
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(1, incorrectAnswerArray[1]);
|
101
|
+
fillInTheGapsOverImageTextPage.steps.checkShowCorrectAnswerCheckbox();
|
101
102
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewTabResponseFieldAndCorrectAnswerNumeration(uppercase);
|
102
103
|
});
|
103
104
|
|
@@ -107,6 +108,7 @@ describe('Fill In the gaps over image - text - Additional settings', () => {
|
|
107
108
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
108
109
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, incorrectAnswerArray[0]);
|
109
110
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(1, incorrectAnswerArray[1]);
|
111
|
+
fillInTheGapsOverImageTextPage.steps.checkShowCorrectAnswerCheckbox();
|
110
112
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewTabResponseFieldAndCorrectAnswerNumeration(lowercase);
|
111
113
|
});
|
112
114
|
});
|
@@ -160,7 +162,6 @@ describe('Fill In the gaps over image - text - Additional settings', () => {
|
|
160
162
|
});
|
161
163
|
});
|
162
164
|
|
163
|
-
//Failing due to https://redmine.zeuslearning.com/issues/548127
|
164
165
|
describe('Additional settings: Display answer numeration to students - Preview tab', () => {
|
165
166
|
abortEarlySetup();
|
166
167
|
before(() => {
|
package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextManualAndNonScored.js
CHANGED
@@ -32,7 +32,7 @@ describe('Create item page - Fill in the gaps over image - text: Manually and No
|
|
32
32
|
utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.responseFieldPreviewTab(), 'visible');
|
33
33
|
});
|
34
34
|
|
35
|
-
fillInTheGapsOverImageTextPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
|
35
|
+
fillInTheGapsOverImageTextPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
36
36
|
});
|
37
37
|
|
38
38
|
describe('Question Preview: Non scored', () => {
|
@@ -22,7 +22,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
|
|
22
22
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(0, correctTabAnswerArray[0]);
|
23
23
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(1, correctTabAnswerArray[1]);
|
24
24
|
fillInTheGapsOverImageTextPage.steps.selectPartialDifferentWeightsCheckbox();
|
25
|
-
fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
|
26
25
|
fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([13.2, 6.8]);
|
27
26
|
fillInTheGapsOverImageTextPage.steps.expandAdditonalSettings();
|
28
27
|
fillInTheGapsOverImageTextPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
@@ -171,6 +170,8 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
|
|
171
170
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(1, correctTabAnswerArray[1]);
|
172
171
|
fillInTheGapsOverImageTextPage.steps.selectPartialDifferentWeightsCheckbox();
|
173
172
|
fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([10.2, 3.4]);
|
173
|
+
fillInTheGapsOverImageTextPage.steps.expandRoundingDropdown();
|
174
|
+
fillInTheGapsOverImageTextPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
174
175
|
fillInTheGapsOverImageTextPage.steps.expandAdditonalSettings();
|
175
176
|
fillInTheGapsOverImageTextPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
176
177
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
@@ -187,7 +188,8 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
|
|
187
188
|
|
188
189
|
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', () => {
|
189
190
|
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
190
|
-
fillInTheGapsOverImageTextPage.steps.
|
191
|
+
fillInTheGapsOverImageTextPage.steps.expandRoundingDropdown();
|
192
|
+
fillInTheGapsOverImageTextPage.steps.selectOptionFromRoundingDropdownOption('none');
|
191
193
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
192
194
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, correctTabAnswerArray[0]);
|
193
195
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewTabScoreText(10.2, 13.6);
|
@@ -24,7 +24,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
|
|
24
24
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(1, correctTabAnswerArray[1]);
|
25
25
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(2, correctTabAnswerArray[2]);
|
26
26
|
fillInTheGapsOverImageTextPage.steps.selectPartialDifferentWeightsCheckbox();
|
27
|
-
fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
|
28
27
|
fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([8, 4, 4]);
|
29
28
|
fillInTheGapsOverImageTextPage.steps.addAlternateTab(1);
|
30
29
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(0, alternateTabAnswerArray[0]);
|
@@ -480,7 +479,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
|
|
480
479
|
fillInTheGapsOverImageTextPage.steps.clearResponseFieldSetCorrectAnswerSection(2);
|
481
480
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(2, 'Fruit');
|
482
481
|
fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([2.2, 2.2, 6.6]);
|
483
|
-
fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
|
484
482
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
485
483
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, alternateTabAnswerArray[0]);
|
486
484
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(1, alternateTabAnswerArray[1]);
|
@@ -547,7 +545,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
|
|
547
545
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(1, correctTabAnswerArray[1]);
|
548
546
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(2, correctTabAnswerArray[2]);
|
549
547
|
fillInTheGapsOverImageTextPage.steps.selectPartialDifferentWeightsCheckbox();
|
550
|
-
fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
|
551
548
|
fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([9, 3, 3]);
|
552
549
|
fillInTheGapsOverImageTextPage.steps.addAlternateTab(1);
|
553
550
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(0, alternateTabAnswerArray[0]);
|
@@ -186,7 +186,8 @@ describe('Create item page - Fill in the gaps over image - text: Partial equal w
|
|
186
186
|
|
187
187
|
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', () => {
|
188
188
|
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
189
|
-
fillInTheGapsOverImageTextPage.steps.
|
189
|
+
fillInTheGapsOverImageTextPage.steps.expandRoundingDropdown();
|
190
|
+
fillInTheGapsOverImageTextPage.steps.selectOptionFromRoundingDropdownOption('none');
|
190
191
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
191
192
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, correctTabAnswerArray[0]);
|
192
193
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewTabScoreText(6.25, 12.5);
|
@@ -188,7 +188,8 @@ describe('Create item page - Fill in the gaps over image - text: Partial equal w
|
|
188
188
|
fillInTheGapsOverImageTextPage.steps.allotPoints(5);
|
189
189
|
fillInTheGapsOverImageTextPage.steps.switchToCorrectTab();
|
190
190
|
fillInTheGapsOverImageTextPage.steps.allotPoints(23);
|
191
|
-
fillInTheGapsOverImageTextPage.steps.
|
191
|
+
fillInTheGapsOverImageTextPage.steps.expandRoundingDropdown();
|
192
|
+
fillInTheGapsOverImageTextPage.steps.selectOptionFromRoundingDropdownOption('none');
|
192
193
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
193
194
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, alternateTabAnswerArray[0]);
|
194
195
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(1, alternateTabAnswerArray[1]);
|
@@ -426,7 +427,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial equal w
|
|
426
427
|
fillInTheGapsOverImageTextPage.steps.allotPoints(23);
|
427
428
|
fillInTheGapsOverImageTextPage.steps.switchToCorrectTab();
|
428
429
|
fillInTheGapsOverImageTextPage.steps.allotPoints(5);
|
429
|
-
fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
|
430
430
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
431
431
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, correctTabAnswerArray[0]);
|
432
432
|
fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(1, correctTabAnswerArray[1]);
|
@@ -144,24 +144,41 @@ describe('Fill In the Gaps Additional settings: Advanced settings for all respon
|
|
144
144
|
//Note: a11y covered in Additional settings accordion, verifyAdditonalSettingsAccordionProperties
|
145
145
|
|
146
146
|
it(`Clicking on Type of answer dropdown should open a list of 2 options - ${typeOfAnswers}`, () => {
|
147
|
+
fillInTheGapsTextPage.typeOfAnswerInputDropdown()
|
148
|
+
.click();
|
147
149
|
fillInTheGapsTextPage.typeOfAnswerInputDropdownListOptions(0)
|
148
150
|
.should('be.visible');
|
149
151
|
typeOfAnswers.forEach((index, count) => {
|
150
152
|
fillInTheGapsTextPage.typeOfAnswerInputDropdownListOptions(count)
|
151
153
|
.verifyInnerText(index);
|
152
154
|
});
|
155
|
+
cy.log('Post step: Closing type of answer input dropdown')
|
156
|
+
cy.get('body')
|
157
|
+
.click();
|
153
158
|
});
|
154
159
|
|
155
160
|
it('CSS of Type of answer dropdown in Active state', { tags: 'css' }, () => {
|
161
|
+
cy.log('Pre step: Clicking on type of answer input dropdown')
|
162
|
+
fillInTheGapsTextPage.typeOfAnswerInputDropdown()
|
163
|
+
.click();
|
156
164
|
fillInTheGapsTextPage.typeOfAnswerInputDropdownListOptions(0)
|
157
165
|
.verifyCSS(css.color.liText, css.fontSize.default, css.fontWeight.regular)
|
158
166
|
.should('have.css', 'background-color', css.color.liTextSelectedBg);
|
159
167
|
fillInTheGapsTextPage.typeOfAnswerInputDropdownListOptions(1)
|
160
168
|
.should('have.css', 'background-color', css.color.transparent);
|
169
|
+
cy.log('Post step: Closing type of answer input dropdown')
|
170
|
+
cy.get('body')
|
171
|
+
.click();
|
161
172
|
});
|
162
173
|
|
163
174
|
it('Accessibility of Type of answer dropdown in active state', { tags: 'a11y' }, () => {
|
175
|
+
cy.log('Pre step: Clicking on type of answer input dropdown')
|
176
|
+
fillInTheGapsTextPage.typeOfAnswerInputDropdown()
|
177
|
+
.click();
|
164
178
|
cy.checkAccessibility(commonComponents.dropdownList());
|
179
|
+
cy.log('Post step: Closing type of answer input dropdown')
|
180
|
+
cy.get('body')
|
181
|
+
.click();
|
165
182
|
});
|
166
183
|
|
167
184
|
//Type of answer input test cases for set correct answer section response fields
|
@@ -38,8 +38,8 @@ describe('Fill In the Gaps Additional settings', () => {
|
|
38
38
|
|
39
39
|
fillInTheGapsTextPage.tests.verifyFontSizeSectionContents();
|
40
40
|
|
41
|
-
const fontsizes = ['
|
42
|
-
const font = ['
|
41
|
+
const fontsizes = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
42
|
+
const font = ['12px', '14px', '16px', '18px', '22px', '26px'];
|
43
43
|
fontsizes.forEach((option, count) => {
|
44
44
|
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview tab contents should be changed to ${option} in the \'Set Correct Answer\' section as well as in the \'Preview\' tab`, () => {
|
45
45
|
fillInTheGapsTextPage.fontSizeDropdown()
|
@@ -143,7 +143,7 @@ describe('Fill In the Gaps Additional settings', () => {
|
|
143
143
|
.should('not.exist');
|
144
144
|
fillInTheGapsTextPage.incorrectIcon()
|
145
145
|
.should('not.exist');
|
146
|
-
fillInTheGapsTextPage.
|
146
|
+
fillInTheGapsTextPage.correctIncorrectAnswerLabel()
|
147
147
|
.should('not.exist');
|
148
148
|
fillInTheGapsTextPage.previewTabCorrectAnswerContainer()
|
149
149
|
.should('not.exist')
|
package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js
CHANGED
@@ -22,6 +22,8 @@ describe('Create Item page - Fill in the Gaps: Scoring Section', () => {
|
|
22
22
|
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
23
23
|
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
24
24
|
.click();
|
25
|
+
fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
|
26
|
+
fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
25
27
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
26
28
|
});
|
27
29
|
|
@@ -46,6 +48,8 @@ describe('Create Item page - Fill in the Gaps: Scoring Section', () => {
|
|
46
48
|
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
47
49
|
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
48
50
|
.click();
|
51
|
+
fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
|
52
|
+
fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
49
53
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
50
54
|
});
|
51
55
|
|
@@ -29,6 +29,8 @@ describe('Create Item page - Fill in the Gaps: Scoring Section', () => {
|
|
29
29
|
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
30
30
|
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
31
31
|
.click();
|
32
|
+
fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
|
33
|
+
fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
32
34
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
33
35
|
});
|
34
36
|
|
@@ -9,7 +9,7 @@ describe('Fill In the Gaps \'Case Sensitive\' and \'Ignore spaces before and aft
|
|
9
9
|
describe('\'Case sensitive\' checkbox is unchecked and \'Ignore spaces before and after\' checkbox is checked', () => {
|
10
10
|
abortEarlySetup();
|
11
11
|
before(() => {
|
12
|
-
cy.log('Navigating to Fill In the gaps - text question type, removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field and checking the allow
|
12
|
+
cy.log('Navigating to Fill In the gaps - text question type, removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox');
|
13
13
|
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
14
14
|
fillInTheGapsTextPage.steps.deleteAResponseToken('1');
|
15
15
|
fillInTheGapsTextPage.questionInstructionsInputField()
|
@@ -56,7 +56,7 @@ describe('Fill In the Gaps \'Case Sensitive\' and \'Ignore spaces before and aft
|
|
56
56
|
describe('\'Case sensitive\' checkbox is checked and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
57
57
|
abortEarlySetup();
|
58
58
|
before(() => {
|
59
|
-
cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field and checking the allow
|
59
|
+
cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox');
|
60
60
|
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
61
61
|
fillInTheGapsTextPage.steps.deleteAResponseToken('1');
|
62
62
|
fillInTheGapsTextPage.questionInstructionsInputField()
|
@@ -101,7 +101,7 @@ describe('Fill In the Gaps \'Case Sensitive\' and \'Ignore spaces before and aft
|
|
101
101
|
describe('Both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
102
102
|
abortEarlySetup();
|
103
103
|
before(() => {
|
104
|
-
cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field, checking the allow
|
104
|
+
cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox, unchecking the Ignore spaces before and after checkbox and switching to preview tab');
|
105
105
|
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
106
106
|
fillInTheGapsTextPage.steps.deleteAResponseToken('1');
|
107
107
|
fillInTheGapsTextPage.questionInstructionsInputField()
|
@@ -138,7 +138,7 @@ describe('Fill In the Gaps \'Case Sensitive\' and \'Ignore spaces before and aft
|
|
138
138
|
describe('Both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is checked', () => {
|
139
139
|
abortEarlySetup();
|
140
140
|
before(() => {
|
141
|
-
cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field, checking the allow
|
141
|
+
cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox, checking the Case sensitive checkbox and switching to preview tab');
|
142
142
|
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
143
143
|
fillInTheGapsTextPage.questionInstructionsInputField()
|
144
144
|
.type('Question Instructions');
|
@@ -29,7 +29,7 @@ describe('Fill in the gaps - text Manually and Non scored scoring types', () =>
|
|
29
29
|
.and('be.visible');
|
30
30
|
});
|
31
31
|
|
32
|
-
fillInTheGapsTextPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab()
|
32
|
+
fillInTheGapsTextPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
33
33
|
});
|
34
34
|
|
35
35
|
describe('Question Preview: Non Scored', () => {
|
@@ -18,11 +18,11 @@ describe('Fill in the gaps - text: Partial Different scoring', () => {
|
|
18
18
|
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
19
19
|
fillInTheGapsTextPage.steps.addPartialDifferentWeightsPoints([5.4, 4.8]);
|
20
20
|
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
21
|
-
fillInTheGapsTextPage.rounddownScoreCheckbox()
|
22
|
-
.click();
|
23
21
|
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
24
22
|
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
25
23
|
.click();
|
24
|
+
fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
|
25
|
+
fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
26
26
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
27
27
|
});
|
28
28
|
|
@@ -39,6 +39,8 @@ describe('Fill in the gaps - text: Partial Different scoring', () => {
|
|
39
39
|
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
40
40
|
fillInTheGapsTextPage.steps.addPartialDifferentWeightsPoints([1.36, 2.89]);
|
41
41
|
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
42
|
+
fillInTheGapsTextPage.steps.expandRoundingDropdown();
|
43
|
+
fillInTheGapsTextPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
42
44
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
43
45
|
});
|
44
46
|
|
@@ -7,7 +7,7 @@ describe('Fill in the gaps - text: Partial Different scoring', () => {
|
|
7
7
|
before(() => {
|
8
8
|
cy.loginAs('admin');
|
9
9
|
});
|
10
|
-
|
10
|
+
|
11
11
|
describe('Question Preview: AutoScored - Partial different weights with alternate answer with \'Match from all responses - \"false\"', () => {
|
12
12
|
abortEarlySetup();
|
13
13
|
before(() => {
|
@@ -27,6 +27,8 @@ describe('Fill in the gaps - text: Partial Different scoring', () => {
|
|
27
27
|
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
28
28
|
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
29
29
|
.click();
|
30
|
+
fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
|
31
|
+
fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
30
32
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
31
33
|
});
|
32
34
|
|
@@ -20,6 +20,8 @@ describe('Fill in the gaps - Text Scoring Section Partial - equal weights', () =
|
|
20
20
|
.click();
|
21
21
|
fillInTheGapsTextPage.partialEqualWeightsCheckbox()
|
22
22
|
.click();
|
23
|
+
fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
|
24
|
+
fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
23
25
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
24
26
|
});
|
25
27
|
|
@@ -37,6 +39,8 @@ describe('Fill in the gaps - Text Scoring Section Partial - equal weights', () =
|
|
37
39
|
fillInTheGapsTextPage.steps.setCorrectAnswerResponses(['Response 1', 'Response 2']);
|
38
40
|
fillInTheGapsTextPage.pointsInputField()
|
39
41
|
.type('8.5');
|
42
|
+
fillInTheGapsTextPage.steps.expandRoundingDropdown();
|
43
|
+
fillInTheGapsTextPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
40
44
|
fillInTheGapsTextPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
41
45
|
});
|
42
46
|
|
package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js
CHANGED
@@ -25,6 +25,8 @@ describe('Fill in the gaps - Text Scoring Section Partial - equal weights', () =
|
|
25
25
|
fillInTheGapsTextPage.steps.expandAdditonalSettings();
|
26
26
|
fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
|
27
27
|
.click();
|
28
|
+
fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
|
29
|
+
fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
28
30
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
29
31
|
});
|
30
32
|
|
@@ -29,6 +29,8 @@ describe('Create Item page - Highlight: Preview tab Scoring Section - All or not
|
|
29
29
|
highlightPage.steps.allotPoints(20);
|
30
30
|
highlightPage.steps.expandAdditonalSettings();
|
31
31
|
highlightPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
32
|
+
highlightPage.steps.expandMinimumScoringDropdown();
|
33
|
+
highlightPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
32
34
|
highlightPage.steps.switchToPreviewTab();
|
33
35
|
});
|
34
36
|
|
@@ -62,6 +62,8 @@ describe('Create Item page - Highlight: Preview tab Scoring Section - All or not
|
|
62
62
|
highlightPage.steps.allotPoints(20);
|
63
63
|
highlightPage.steps.expandAdditonalSettings();
|
64
64
|
highlightPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
65
|
+
highlightPage.steps.expandMinimumScoringDropdown();
|
66
|
+
highlightPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
65
67
|
highlightPage.steps.switchToPreviewTab();
|
66
68
|
});
|
67
69
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { highlightPage } from "
|
1
|
+
import { highlightPage } from "../../../../pages";
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
3
|
|
4
4
|
const paragraphTextArray = ['All animals have a unique role to play in maintaining the balance of nature.', 'A lot of animal species exist in both, land and water. As a result, each of them has a purpose for their existence.', 'The animals divide into specific groups in biology. Amphibians are those which can live on both, land and water.', 'Mammals are ones which give birth to their offspring in the womb and have mammary glands.']
|
package/cypress/e2e/ILC/Highlight/HighlightScoring/{manualAndNonScored.js → manuallyAndNonScored.js}
RENAMED
@@ -30,7 +30,7 @@ describe('Create Item page - Highlight - Manually and Non-scored', () => {
|
|
30
30
|
highlightPage.steps.verifyOptionInPreviewTab(paragraphTextArray);
|
31
31
|
});
|
32
32
|
|
33
|
-
highlightPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
|
33
|
+
highlightPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
34
34
|
});
|
35
35
|
|
36
36
|
describe('Question Preview: Non scored', () => {
|
@@ -33,6 +33,8 @@ describe('Create item page - Highlight: Preview tab scoring section - Partial di
|
|
33
33
|
highlightPage.steps.uncheckRoundDownScoreCheckbox();
|
34
34
|
highlightPage.steps.expandAdditonalSettings();
|
35
35
|
highlightPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
36
|
+
highlightPage.steps.expandMinimumScoringDropdown();
|
37
|
+
highlightPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
36
38
|
highlightPage.steps.switchToPreviewTab();
|
37
39
|
});
|
38
40
|
|
@@ -27,6 +27,8 @@ describe('Create item page - Highlight: Preview tab scoring section - Partial di
|
|
27
27
|
highlightPage.steps.uncheckRoundDownScoreCheckbox();
|
28
28
|
highlightPage.steps.expandAdditonalSettings();
|
29
29
|
highlightPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
30
|
+
highlightPage.steps.expandMinimumScoringDropdown();
|
31
|
+
highlightPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
30
32
|
highlightPage.steps.switchToPreviewTab();
|
31
33
|
});
|
32
34
|
|
@@ -218,6 +220,8 @@ describe('Create item page - Highlight: Preview tab scoring section - Partial di
|
|
218
220
|
highlightPage.steps.addPartialDifferentWeightsPointsInSetPointsPopup(['6.2', '8.3']);
|
219
221
|
highlightPage.steps.expandAdditonalSettings();
|
220
222
|
highlightPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
223
|
+
highlightPage.steps.expandRoundingDropdown();
|
224
|
+
highlightPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
221
225
|
highlightPage.steps.switchToPreviewTab();
|
222
226
|
});
|
223
227
|
|
@@ -231,8 +235,9 @@ describe('Create item page - Highlight: Preview tab scoring section - Partial di
|
|
231
235
|
});
|
232
236
|
|
233
237
|
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', () => {
|
234
|
-
highlightPage.steps.switchToEditTab()
|
235
|
-
highlightPage.steps.
|
238
|
+
highlightPage.steps.switchToEditTab();
|
239
|
+
highlightPage.steps.expandRoundingDropdown();
|
240
|
+
highlightPage.steps.selectOptionFromRoundingDropdownOption('none');
|
236
241
|
highlightPage.steps.switchToPreviewTab();
|
237
242
|
highlightPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
|
238
243
|
highlightPage.steps.verifyPreviewTabScoreText(6.2, 14.5);
|
@@ -31,6 +31,8 @@ describe('Create item page - Highlight: Preview tab scoring section - Partial eq
|
|
31
31
|
highlightPage.steps.uncheckRoundDownScoreCheckbox();
|
32
32
|
highlightPage.steps.expandAdditonalSettings();
|
33
33
|
highlightPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
34
|
+
highlightPage.steps.expandMinimumScoringDropdown();
|
35
|
+
highlightPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
34
36
|
highlightPage.steps.switchToPreviewTab();
|
35
37
|
});
|
36
38
|
|
@@ -26,6 +26,8 @@ describe('Create item page - Highlight: Preview tab scoring section - Partial eq
|
|
26
26
|
highlightPage.steps.selectPartialEqualWeightsCheckbox();
|
27
27
|
highlightPage.steps.expandAdditonalSettings();
|
28
28
|
highlightPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
29
|
+
highlightPage.steps.expandMinimumScoringDropdown();
|
30
|
+
highlightPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
29
31
|
highlightPage.steps.switchToPreviewTab();
|
30
32
|
});
|
31
33
|
|
@@ -199,6 +201,8 @@ describe('Create item page - Highlight: Preview tab scoring section - Partial eq
|
|
199
201
|
highlightPage.steps.selectPartialEqualWeightsCheckbox();
|
200
202
|
highlightPage.steps.expandAdditonalSettings();
|
201
203
|
highlightPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
204
|
+
highlightPage.steps.expandRoundingDropdown();
|
205
|
+
highlightPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
|
202
206
|
highlightPage.steps.switchToPreviewTab();
|
203
207
|
});
|
204
208
|
|
@@ -213,7 +217,8 @@ describe('Create item page - Highlight: Preview tab scoring section - Partial eq
|
|
213
217
|
|
214
218
|
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', () => {
|
215
219
|
highlightPage.steps.switchToEditTab()
|
216
|
-
highlightPage.steps.
|
220
|
+
highlightPage.steps.expandRoundingDropdown();
|
221
|
+
highlightPage.steps.selectOptionFromRoundingDropdownOption('none');
|
217
222
|
highlightPage.steps.switchToPreviewTab();
|
218
223
|
highlightPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
|
219
224
|
highlightPage.steps.verifyPreviewTabScoreText(7.25, 14.5);
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { highlightPage } from "../../../pages/highlightPage";
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
3
|
import utilities from "../../../support/helpers/utilities";
|
4
|
-
const css = Cypress.env('css');
|
5
4
|
|
6
5
|
const paragraphTextArray = ['Horses cannot breath through their mouth. Cows can sleep standing up.', 'Dogs have excellent hearing.', 'Deers possess nearly 300 degree field of vision.'];
|
7
|
-
const fontSizeDropdownOptions = ['
|
8
|
-
const fontSizes = ['
|
6
|
+
const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
7
|
+
const fontSizes = ['12px', '14px', '16px', '18px', '22px', '26px'];
|
9
8
|
|
10
9
|
describe('Create Item page - Highlight: Additional settings basic', () => {
|
11
10
|
before(() => {
|
@@ -4,8 +4,6 @@ import utilities from "../../../support/helpers/utilities";
|
|
4
4
|
const css = Cypress.env('css');
|
5
5
|
|
6
6
|
const paragraphTextArray = ['Horses cannot breath through their mouth. Cows can sleep standing up.', 'Dogs have excellent hearing.', 'Deers possess nearly 300 degree field of vision.'];
|
7
|
-
const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
|
8
|
-
const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
|
9
7
|
|
10
8
|
describe('Create Item page - Highlight: Additional settings - Maximum number of answers', () => {
|
11
9
|
before(() => {
|