itemengine-cypress-automation 1.0.70 → 1.0.73
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponse/{audioResponseMinimalPreviewSection.js → audioResponseMinimalPreviewSection.smoke.js} +263 -254
- package/cypress/e2e/ILC/AudioResponse/{audioResponseStandardPreviewSection.js → audioResponseStandardPreviewSection.smoke.js} +100 -97
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothing.smoke.js +121 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/{groupedOptionsPartialScoreForEachCell.js → groupedOptionsPartialScoreForEachCell.smoke.js} +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/{groupedOptionsPartialScoreForEachResponse.js → groupedOptionsPartialScoreForEachResponse.smoke.js} +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothing.smoke.js +164 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/{standardTotalScoreDividedBetweenResponse.js → standardTotalScoreDividedBetweenResponse.smoke.js} +21 -18
- package/cypress/e2e/ILC/EditTabSettingPage/ItemPreviewSettingsTabContent.js +753 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseCreateCustomCategory.smoke.js +943 -0
- package/cypress/e2e/ILC/EssayResponse/{essayResponseCustomizeFormattingOptions1.js → essayResponseCustomizeFormattingOptions1.smoke.js} +113 -110
- package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditor.smoke.js +581 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseGradingViewAndCorrectAnswerViewContents.smoke.js +111 -0
- package/cypress/e2e/ILC/EssayResponse/{essayResponsePreviewContentsForAllViews.js → essayResponsePreviewContentsForAllViews.smoke.js} +6 -3
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabBasic.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedEditTab.smoke.js +81 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/{fillInTheGapsDragAndDropGroupedOptionsAllOrNothingScoring.js → fillInTheGapsDragAndDropGroupedOptionsAllOrNothingScoring.smoke.js} +25 -22
- 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/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 → fillInTheGapsDropdownAllOrNothingScoring.smoke.js} +18 -14
- 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/fillInTheGapsOverImageDropdownAddResponseContainer.js → FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAddResponseContainer.smoke.js} +80 -74
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.smoke.js +361 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +6 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditAriaLabelCheckbox.smoke.js +137 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownImageProperties.smoke.js +171 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +6 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +6 -3
- package/cypress/e2e/ILC/{fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPreviewTab.js → FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPreviewTab.smoke.js} +1 -1
- 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/{fillInTheGapsOverImageTextAllOrNothingScoring.js → fillInTheGapsOverImageTextAllOrNothingScoring.smoke.js} +32 -29
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextCheckAnswerForAllViews.js → fillInTheGapsOverImageTextCheckAnswerForAllViews.smoke.js} +5 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditAriaLabelCheckbox.smoke.js +137 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditTabBasicSection.smoke.js +146 -0
- 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/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextPreviewContentsForAllViews.js → fillInTheGapsOverImageTextPreviewContentsForAllViews.smoke.js} +5 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextPreviewTab.js → fillInTheGapsOverImageTextPreviewTab.smoke.js} +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextShowCorrectAnswerForAllView.js → fillInTheGapsOverImageTextShowCorrectAnswerForAllView.smoke.js} +6 -4
- 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 → fillInTheGapsTextAutoScoredScoring.smoke.js} +14 -9
- 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/{allOrNothingScoring.js → allOrNothingScoring.smoke.js} +36 -34
- package/cypress/e2e/ILC/Highlight/HighlightScoring/highlightBasicScoringForTextSelectionTypes.smoke.js +462 -0
- package/cypress/e2e/ILC/Highlight/highlightColorLibraryFlyout.smoke.js +148 -0
- package/cypress/e2e/ILC/Highlight/highlightQuestionInstructionsAndQuestion.smoke.js +185 -0
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabBasic.smoke.js +138 -0
- package/cypress/e2e/ILC/HighlightImage/{highlightImagePreviewTab.js → highlightImagePreviewTab.smoke.js} +1 -1
- package/cypress/e2e/ILC/HighlightImage/{highlightImageToolsFunctionalityPreviewTab.js → highlightImageToolsFunctionalityPreviewTab.smoke.js} +4 -4
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingScoring.smoke.js +122 -0
- 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/{listMatchingAlternateAnswer.js → listMatchingAlternateAnswer.smoke.js} +47 -43
- package/cypress/e2e/ILC/ListMatching/listMatchingEditTabScoringTypes.js +1 -1
- package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSection.smoke.js +211 -0
- package/cypress/e2e/ILC/ListMatching/listMatchingQuestionInstructionsAndStemsSection.smoke.js +254 -0
- package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSetCorrectAnswerCheckboxesPreviewTab.smoke.js +191 -0
- 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/allOrNothingScoring.js → ListOrderingScoring/allOrNothingScoring.smoke.js} +34 -32
- 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/allOrNothingScoring.js → ListSortingScoring/allOrNothingScoring.smoke.js} +41 -38
- 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/ListSorting/listSortingSetCorrectAnswerCheckboxes.smoke.js +269 -0
- 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 → multipleSelectionGridAutoScoredScoring.smoke.js} +40 -38
- 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.smoke.js +407 -0
- 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 → singleSelectionGridAutoScoredScoring.smoke.js} +36 -33
- 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/{uploadResponsePreview.js → uploadResponsePreview.smoke.js} +64 -59
- package/cypress/e2e/ILC/VideoResponse/{videoResponsePreviewTab.js → videoResponsePreviewTab.smoke.js} +290 -281
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +2 -2
- 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/cypress/pages/components/additionalSettingsPanel.js +0 -27
- package/cypress/pages/components/autoScoredSetCorrectAnswerSection.js +1 -1
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +321 -0
- package/cypress/pages/components/createQuestionBasePage.js +1 -7
- package/cypress/pages/components/essayResponseCommonComponents.js +0 -6
- package/cypress/pages/components/fillInTheGapsCommonComponents.js +0 -13
- package/cypress/pages/components/index.js +2 -1
- package/cypress/pages/components/mcqAdditionalSettingsBase.js +0 -10
- package/cypress/pages/components/scoringSectionBase.js +3 -2
- package/cypress/pages/createItemPage.js +3 -79
- package/cypress/pages/dialogBoxBase.js +8 -23
- package/cypress/pages/index.js +1 -4
- package/cypress/pages/itemPreviewSettingsPage.js +446 -0
- package/cypress/pages/multipleSelectionPage.js +113 -64
- package/cypress/pages/selectQuestionResourceToolPage.js +0 -5
- package/cypress/pages/shortTextResponsePage.js +0 -6
- package/cypress/pages/singleSelectionPage.js +0 -1
- package/package.json +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothing.js +0 -116
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothing.js +0 -160
- package/cypress/e2e/ILC/EssayResponse/essayResponseCreateCustomCategory.js +0 -932
- package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditor.js +0 -572
- package/cypress/e2e/ILC/EssayResponse/essayResponseGradingViewAndCorrectAnswerViewContents.js +0 -106
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedEditTab.js +0 -76
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditAriaLabelCheckbox.js +0 -134
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditTabBasicSection.js +0 -133
- package/cypress/e2e/ILC/Highlight/HighlightScoring/highlightBasicScoringForTextSelectionTypes.js +0 -457
- package/cypress/e2e/ILC/Highlight/highlightColorLibraryFlyout.js +0 -143
- package/cypress/e2e/ILC/Highlight/highlightQuestionInstructionsAndQuestion.js +0 -178
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabBasic.js +0 -125
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsAllOrNothingScoring.js +0 -117
- package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSection.js +0 -207
- package/cypress/e2e/ILC/ListMatching/listMatchingQuestionInstructionsAndStemsSection.js +0 -246
- package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSetCorrectAnswerCheckboxesPreviewTab.js +0 -185
- package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettings.js +0 -820
- package/cypress/e2e/ILC/ListSorting/listSortingAutoScoredScoring.js +0 -936
- package/cypress/e2e/ILC/ListSorting/listSortingSetCorrectAnswerCheckboxes.js +0 -263
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.js +0 -418
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.js +0 -352
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditAriaLabelCheckbox.js +0 -134
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownImageProperties.js +0 -156
- /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}/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/ListSorting/{Scoring → ListSortingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
@@ -21,7 +21,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
21
21
|
singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
|
22
22
|
singleSelectionGridPage.steps.addInputToAllOptionsFields(options);
|
23
23
|
singleSelectionGridPage.steps.selectPartialEqualWeightsCheckbox();
|
24
|
-
|
24
|
+
|
25
25
|
singleSelectionGridPage.steps.allotPoints(20);
|
26
26
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 0, 1]);
|
27
27
|
singleSelectionGridPage.steps.clickOnAddAlternateAnswerButton();
|
@@ -43,7 +43,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
43
43
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
44
44
|
singleSelectionGridPage.incorrectIcon()
|
45
45
|
.should('not.exist');
|
46
|
-
singleSelectionGridPage.
|
46
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
47
47
|
.should('not.exist');
|
48
48
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
49
49
|
|
@@ -57,7 +57,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
57
57
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
58
58
|
singleSelectionGridPage.incorrectIcon()
|
59
59
|
.should('not.exist');
|
60
|
-
singleSelectionGridPage.
|
60
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
61
61
|
.should('not.exist');
|
62
62
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
63
63
|
|
@@ -68,7 +68,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
68
68
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
69
69
|
singleSelectionGridPage.incorrectIcon()
|
70
70
|
.should('not.exist');
|
71
|
-
singleSelectionGridPage.
|
71
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
72
72
|
.should('not.exist');
|
73
73
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
74
74
|
|
@@ -80,7 +80,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
80
80
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
81
81
|
singleSelectionGridPage.incorrectIcon()
|
82
82
|
.should('not.exist');
|
83
|
-
singleSelectionGridPage.
|
83
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
84
84
|
.should('not.exist');
|
85
85
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
86
86
|
|
@@ -91,7 +91,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
91
91
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
92
92
|
singleSelectionGridPage.incorrectIcon()
|
93
93
|
.should('not.exist');
|
94
|
-
singleSelectionGridPage.
|
94
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
95
95
|
.should('not.exist');
|
96
96
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
97
97
|
|
@@ -103,7 +103,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
103
103
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
104
104
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
|
105
105
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
106
|
-
singleSelectionGridPage.
|
106
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
107
107
|
.should('not.exist');
|
108
108
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
109
109
|
|
@@ -115,7 +115,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
115
115
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 1);
|
116
116
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
|
117
117
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
118
|
-
singleSelectionGridPage.
|
118
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
119
119
|
.should('not.exist');
|
120
120
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
121
121
|
|
@@ -127,7 +127,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
127
127
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
128
128
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
|
129
129
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
|
130
|
-
singleSelectionGridPage.
|
130
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
131
131
|
.should('not.exist');
|
132
132
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
133
133
|
|
@@ -139,7 +139,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
139
139
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 2);
|
140
140
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 2);
|
141
141
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
|
142
|
-
singleSelectionGridPage.
|
142
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
143
143
|
.should('not.exist');
|
144
144
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
145
145
|
|
@@ -150,7 +150,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
150
150
|
.verifyInnerText('18/24');
|
151
151
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
152
152
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 0);
|
153
|
-
singleSelectionGridPage.
|
153
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
154
154
|
.should('not.exist');
|
155
155
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
156
156
|
|
@@ -162,7 +162,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
162
162
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 2);
|
163
163
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 0);
|
164
164
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
|
165
|
-
singleSelectionGridPage.
|
165
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
166
166
|
.should('not.exist');
|
167
167
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
168
168
|
|
@@ -173,7 +173,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
173
173
|
singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
174
174
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
175
175
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
|
176
|
-
singleSelectionGridPage.
|
176
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
177
177
|
.should('not.exist');
|
178
178
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
179
179
|
|
@@ -184,7 +184,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
184
184
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
|
185
185
|
singleSelectionGridPage.correctIcon()
|
186
186
|
.should('not.exist');
|
187
|
-
singleSelectionGridPage.
|
187
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
188
188
|
.should('not.exist');
|
189
189
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
190
190
|
|
@@ -205,7 +205,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
205
205
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 0);
|
206
206
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 1);
|
207
207
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 1);
|
208
|
-
singleSelectionGridPage.
|
208
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
209
209
|
.should('not.exist');
|
210
210
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
211
211
|
|
@@ -217,7 +217,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
217
217
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 1);
|
218
218
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 2);
|
219
219
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 1);
|
220
|
-
singleSelectionGridPage.
|
220
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
221
221
|
.should('not.exist');
|
222
222
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
223
223
|
});
|
@@ -21,7 +21,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
21
21
|
singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
|
22
22
|
singleSelectionGridPage.steps.addInputToAllOptionsFields(options);
|
23
23
|
singleSelectionGridPage.steps.selectPartialEqualWeightsCheckbox();
|
24
|
-
|
24
|
+
|
25
25
|
singleSelectionGridPage.steps.allotPoints(20);
|
26
26
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 0, 1]);
|
27
27
|
singleSelectionGridPage.steps.clickOnAddAlternateAnswerButton();
|
@@ -42,7 +42,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
42
42
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
43
43
|
singleSelectionGridPage.incorrectIcon()
|
44
44
|
.should('not.exist');
|
45
|
-
singleSelectionGridPage.
|
45
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
46
46
|
.should('not.exist');
|
47
47
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
48
48
|
|
@@ -56,7 +56,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
56
56
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
57
57
|
singleSelectionGridPage.incorrectIcon()
|
58
58
|
.should('not.exist');
|
59
|
-
singleSelectionGridPage.
|
59
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
60
60
|
.should('not.exist');
|
61
61
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
62
62
|
|
@@ -67,7 +67,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
67
67
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
68
68
|
singleSelectionGridPage.incorrectIcon()
|
69
69
|
.should('not.exist');
|
70
|
-
singleSelectionGridPage.
|
70
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
71
71
|
.should('not.exist');
|
72
72
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
73
73
|
|
@@ -79,7 +79,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
79
79
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
80
80
|
singleSelectionGridPage.incorrectIcon()
|
81
81
|
.should('not.exist');
|
82
|
-
singleSelectionGridPage.
|
82
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
83
83
|
.should('not.exist');
|
84
84
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
85
85
|
|
@@ -90,7 +90,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
90
90
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
91
91
|
singleSelectionGridPage.incorrectIcon()
|
92
92
|
.should('not.exist');
|
93
|
-
singleSelectionGridPage.
|
93
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
94
94
|
.should('not.exist');
|
95
95
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
96
96
|
|
@@ -102,7 +102,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
102
102
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
103
103
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 1);
|
104
104
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
105
|
-
singleSelectionGridPage.
|
105
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
106
106
|
.should('not.exist');
|
107
107
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
108
108
|
|
@@ -114,7 +114,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
114
114
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 1);
|
115
115
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
|
116
116
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
117
|
-
singleSelectionGridPage.
|
117
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
118
118
|
.should('not.exist');
|
119
119
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
120
120
|
|
@@ -126,7 +126,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
126
126
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
127
127
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
|
128
128
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
|
129
|
-
singleSelectionGridPage.
|
129
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
130
130
|
.should('not.exist');
|
131
131
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
132
132
|
|
@@ -138,7 +138,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
138
138
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 2);
|
139
139
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 2);
|
140
140
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
|
141
|
-
singleSelectionGridPage.
|
141
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
142
142
|
.should('not.exist');
|
143
143
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
144
144
|
|
@@ -149,7 +149,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
149
149
|
.verifyInnerText('15/20');
|
150
150
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
151
151
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
152
|
-
singleSelectionGridPage.
|
152
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
153
153
|
.should('not.exist');
|
154
154
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
155
155
|
|
@@ -161,7 +161,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
161
161
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
162
162
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
|
163
163
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
|
164
|
-
singleSelectionGridPage.
|
164
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
165
165
|
.should('not.exist');
|
166
166
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
167
167
|
|
@@ -172,7 +172,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
172
172
|
singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
173
173
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([1, 0, 1, 2])
|
174
174
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1])
|
175
|
-
singleSelectionGridPage.
|
175
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
176
176
|
.should('not.exist');
|
177
177
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
178
178
|
|
@@ -183,7 +183,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
183
183
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([1, 0, 1, 2])
|
184
184
|
singleSelectionGridPage.correctIcon()
|
185
185
|
.should('not.exist');
|
186
|
-
singleSelectionGridPage.
|
186
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
187
187
|
.should('not.exist');
|
188
188
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
189
189
|
});
|
@@ -20,8 +20,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
20
20
|
singleSelectionGridPage.steps.addOption()
|
21
21
|
singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
|
22
22
|
singleSelectionGridPage.steps.addInputToAllOptionsFields(options);
|
23
|
-
singleSelectionGridPage.steps.selectPartialEqualWeightsCheckbox();
|
24
|
-
singleSelectionGridPage.steps.uncheckRoundDownScoreCheckbox()
|
23
|
+
singleSelectionGridPage.steps.selectPartialEqualWeightsCheckbox();
|
25
24
|
singleSelectionGridPage.steps.allotPoints(20);
|
26
25
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 0, 1]);
|
27
26
|
singleSelectionGridPage.steps.clickOnAddAlternateAnswerButton();
|
@@ -42,7 +41,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
42
41
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
43
42
|
singleSelectionGridPage.incorrectIcon()
|
44
43
|
.should('not.exist');
|
45
|
-
singleSelectionGridPage.
|
44
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
46
45
|
.should('not.exist');
|
47
46
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
48
47
|
|
@@ -56,7 +55,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
56
55
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
57
56
|
singleSelectionGridPage.incorrectIcon()
|
58
57
|
.should('not.exist');
|
59
|
-
singleSelectionGridPage.
|
58
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
60
59
|
.should('not.exist');
|
61
60
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
62
61
|
|
@@ -67,7 +66,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
67
66
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
68
67
|
singleSelectionGridPage.incorrectIcon()
|
69
68
|
.should('not.exist');
|
70
|
-
singleSelectionGridPage.
|
69
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
71
70
|
.should('not.exist');
|
72
71
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
73
72
|
|
@@ -79,7 +78,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
79
78
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
80
79
|
singleSelectionGridPage.incorrectIcon()
|
81
80
|
.should('not.exist');
|
82
|
-
singleSelectionGridPage.
|
81
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
83
82
|
.should('not.exist');
|
84
83
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
85
84
|
|
@@ -90,7 +89,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
90
89
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
91
90
|
singleSelectionGridPage.incorrectIcon()
|
92
91
|
.should('not.exist');
|
93
|
-
singleSelectionGridPage.
|
92
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
94
93
|
.should('not.exist');
|
95
94
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
96
95
|
|
@@ -102,7 +101,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
102
101
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
103
102
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 1);
|
104
103
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
105
|
-
singleSelectionGridPage.
|
104
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
106
105
|
.should('not.exist');
|
107
106
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
108
107
|
|
@@ -114,7 +113,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
114
113
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 1);
|
115
114
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
|
116
115
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
117
|
-
singleSelectionGridPage.
|
116
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
118
117
|
.should('not.exist');
|
119
118
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
120
119
|
|
@@ -126,7 +125,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
126
125
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
127
126
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
|
128
127
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
129
|
-
singleSelectionGridPage.
|
128
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
130
129
|
.should('not.exist');
|
131
130
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
132
131
|
|
@@ -138,7 +137,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
138
137
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 2);
|
139
138
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 2);
|
140
139
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
|
141
|
-
singleSelectionGridPage.
|
140
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
142
141
|
.should('not.exist');
|
143
142
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
144
143
|
|
@@ -149,7 +148,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
149
148
|
.verifyInnerText('15/20');
|
150
149
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
151
150
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
152
|
-
singleSelectionGridPage.
|
151
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
153
152
|
.should('not.exist');
|
154
153
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
155
154
|
|
@@ -161,7 +160,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
161
160
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
162
161
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
|
163
162
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
|
164
|
-
singleSelectionGridPage.
|
163
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
165
164
|
.should('not.exist');
|
166
165
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
167
166
|
|
@@ -172,7 +171,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
172
171
|
.verifyInnerText('0/20');
|
173
172
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
174
173
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
|
175
|
-
singleSelectionGridPage.
|
174
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
176
175
|
.should('not.exist');
|
177
176
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
178
177
|
|
@@ -183,7 +182,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
183
182
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
|
184
183
|
singleSelectionGridPage.correctIcon()
|
185
184
|
.should('not.exist');
|
186
|
-
singleSelectionGridPage.
|
185
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
187
186
|
.should('not.exist');
|
188
187
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
189
188
|
|
@@ -206,7 +205,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
206
205
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
|
207
206
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
208
207
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 2);
|
209
|
-
singleSelectionGridPage.
|
208
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
210
209
|
.should('not.exist');
|
211
210
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
212
211
|
|
@@ -218,7 +217,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
218
217
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
|
219
218
|
singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 2);
|
220
219
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
|
221
|
-
singleSelectionGridPage.
|
220
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
222
221
|
.should('not.exist');
|
223
222
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
224
223
|
});
|
@@ -6,12 +6,12 @@ const css = Cypress.env('css');
|
|
6
6
|
const questionStems = ['Pollution caused by treating chemical waste', 'Pollution caused by cement production', 'Pollution caused by methane production', 'Pollution caused by cement and methane production'];
|
7
7
|
const options = ['Fully agree as true', 'Fully agree as false', 'Somewhat agree', 'Somewhat disagree'];
|
8
8
|
|
9
|
-
describe('Create Item page - Single Selection Grid:
|
9
|
+
describe('Create Item page - Single Selection Grid: Specify correct answer section, Alternative correct answer - Edit tab cases', () => {
|
10
10
|
before(() => {
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
describe('
|
14
|
+
describe('Specify correct answer section section', () => {
|
15
15
|
abortEarlySetup();
|
16
16
|
before(() => {
|
17
17
|
singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
|
@@ -19,7 +19,7 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
19
19
|
|
20
20
|
singleSelectionGridPage.tests.verifyAutoScoredSetCorrectAnswerHeaderSectionContents('single selection grid');
|
21
21
|
|
22
|
-
it('In the
|
22
|
+
it('In the Specify correct answer section section table, 4 columns and 2 rows with \'Question stem\' header and \'No question stem added\' should be displayed with disabled radio buttons should be displayed', () => {
|
23
23
|
for (let index = 0; index < 4; index++) {
|
24
24
|
singleSelectionGridPage.steps.verifyTableRowRadioButtonsInSetCorrectAnswerTable(index, 2);
|
25
25
|
singleSelectionGridPage.steps.verifyDisabledTableRowRadioButtonsInSetCorrectAnswerTable(index);
|
@@ -30,7 +30,7 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
30
30
|
.verifyInnerText('Question stem');
|
31
31
|
});
|
32
32
|
|
33
|
-
it('When user adds question stems and options then the radio buttons should be enabled and user should be able to
|
33
|
+
it('When user adds question stems and options then the radio buttons should be enabled and user should be able to specify correct answer by checking the radio button besides the question stems in the table', () => {
|
34
34
|
cy.log('Pre-step: Adding question instructions, question stem and options')
|
35
35
|
singleSelectionGridPage.steps.addQuestionInstructions()
|
36
36
|
singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
|
@@ -50,14 +50,14 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
50
50
|
|
51
51
|
//Note: a11y checked in header section file
|
52
52
|
|
53
|
-
it('When user clicks on Add
|
54
|
-
singleSelectionGridPage.steps.
|
53
|
+
it('When user clicks on Add alternative answer button without selecting options for all question stems then a warning popup should be displayed', () => {
|
54
|
+
singleSelectionGridPage.steps.clickOnAddAlternativeAnswerButton()
|
55
55
|
dialogBoxBase.dialogBox()
|
56
56
|
.should('exist');
|
57
57
|
dialogBoxBase.steps.closeWarningPopup();
|
58
58
|
});
|
59
59
|
|
60
|
-
it('When user closes the warning popup Please
|
60
|
+
it('When user closes the warning popup Please specify correct answer error message should be displayed as user has partially selected correct answer', () => {
|
61
61
|
singleSelectionGridPage.errorMessage()
|
62
62
|
.eq(1)
|
63
63
|
.verifyInnerText('Error: Please set a correct answer.')
|
@@ -73,16 +73,16 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
73
73
|
});
|
74
74
|
});
|
75
75
|
|
76
|
-
describe('
|
76
|
+
describe('Alternative correct answer', () => {
|
77
77
|
abortEarlySetup();
|
78
78
|
before(() => {
|
79
79
|
singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
|
80
80
|
singleSelectionGridPage.steps.addQuestionInstructions()
|
81
81
|
});
|
82
82
|
|
83
|
-
singleSelectionGridPage.tests.
|
83
|
+
singleSelectionGridPage.tests.verifyAutoScoredAlternativeAnswer();
|
84
84
|
|
85
|
-
it('When user has added points and selected correct answer in the Correct tab, then the user should be able to add
|
85
|
+
it('When user has added points and selected correct answer in the Correct tab, then the user should be able to add alternative answer for the question using \'Add Alternative Answer\' button', () => {
|
86
86
|
cy.log('Pre step: Adding 2 options')
|
87
87
|
singleSelectionGridPage.steps.addOption();
|
88
88
|
singleSelectionGridPage.steps.addOption();
|
@@ -90,10 +90,10 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
90
90
|
singleSelectionGridPage.steps.addInputToAllOptionsFields(options);
|
91
91
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([1, 3, 2, 1]);
|
92
92
|
singleSelectionGridPage.steps.allotPoints(10);
|
93
|
-
singleSelectionGridPage.steps.
|
93
|
+
singleSelectionGridPage.steps.addAlternativeTab(1);
|
94
94
|
});
|
95
95
|
|
96
|
-
it('When user adds
|
96
|
+
it('When user adds Alternative answer tab then the question stems and option stems should be prefilled and the radio buttons should be deselected', () => {
|
97
97
|
singleSelectionGridPage.steps.verifyQuestionStemsInSetCorrectAnswerTable(questionStems);
|
98
98
|
singleSelectionGridPage.steps.verifyTableHeaderContentsInSetCorrectAnswerTable(options);
|
99
99
|
for (let index = 0; index < 4; index++) {
|
@@ -101,31 +101,31 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
101
101
|
}
|
102
102
|
});
|
103
103
|
|
104
|
-
it('CSS of
|
105
|
-
singleSelectionGridPage.
|
104
|
+
it('CSS of Alternative correct answer tab', { tags: 'css' }, () => {
|
105
|
+
singleSelectionGridPage.alternativeAnswerTab(1)
|
106
106
|
.verifyCSS(css.color.secondaryBtnActive, css.fontSize.default, css.fontWeight.bold)
|
107
107
|
cy.log('CSS of inactive Correct answer tab')
|
108
108
|
singleSelectionGridPage.correctTab()
|
109
109
|
.verifyCSS(css.color.labels, css.fontSize.default, css.fontWeight.bold)
|
110
110
|
});
|
111
111
|
|
112
|
-
it('Accessibility of
|
113
|
-
cy.checkAccessibility(singleSelectionGridPage.correctTab().parents('[class*="
|
112
|
+
it('Accessibility of Alternative correct answer tab', { tags: 'a11y' }, () => {
|
113
|
+
cy.checkAccessibility(singleSelectionGridPage.correctTab().parents('[class*="AlternativePointsComponentstyles__AnswerTabWrapper"]'));
|
114
114
|
});
|
115
115
|
|
116
|
-
it('User should be able to set
|
116
|
+
it('User should be able to set alternative correct answer by checking the radio buttons besides the question stems in Alternative answer tab', () => {
|
117
117
|
singleSelectionGridPage.steps.allotPoints(5);
|
118
118
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 2, 3]);
|
119
119
|
});
|
120
120
|
|
121
|
-
it('User should be able to add another
|
122
|
-
singleSelectionGridPage.steps.
|
121
|
+
it('User should be able to add another alternative answer for the question using \'Add Alternative Answer\' button and the name for this new tab should be \'Alternative 2\'', () => {
|
122
|
+
singleSelectionGridPage.steps.addAlternativeTab(2);
|
123
123
|
});
|
124
124
|
|
125
|
-
singleSelectionGridPage.tests.
|
125
|
+
singleSelectionGridPage.tests.verifyWarningPopupAndTabNavigationWhenNoPointsAddedInAlternativeTab();
|
126
126
|
|
127
127
|
//Failing due to https://redmine.zeuslearning.com/issues/532359
|
128
|
-
it('When user partially selects correct answer the Please
|
128
|
+
it('When user partially selects correct answer the Please specify correct answer error message should not disappear', () => {
|
129
129
|
singleSelectionGridPage.steps.selectOptionFromSetCorrectAnswerTable(0, 1);
|
130
130
|
singleSelectionGridPage.steps.selectOptionFromSetCorrectAnswerTable(1, 0);
|
131
131
|
singleSelectionGridPage.errorMessage()
|
@@ -142,27 +142,27 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
142
142
|
.should('not.exist');
|
143
143
|
});
|
144
144
|
|
145
|
-
it('When the user clicks on the \'Close\' button alongside
|
146
|
-
cy.log('
|
145
|
+
it('When the user clicks on the \'Close\' button alongside alternative answer tab, alternative answer tab should get removed and the name of the alternative answer tabs should get updated accordingly', () => {
|
146
|
+
cy.log('specify correct answer and points in alternative 2 tab, then switch to Alternative 1 tab and click delete icon button');
|
147
147
|
singleSelectionGridPage.steps.allotPoints(7);
|
148
148
|
singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([1, 0, 1, 3]);
|
149
|
-
singleSelectionGridPage.steps.
|
150
|
-
singleSelectionGridPage.steps.
|
151
|
-
singleSelectionGridPage.
|
149
|
+
singleSelectionGridPage.steps.navigateToAlternativeTab(1);
|
150
|
+
singleSelectionGridPage.steps.deleteAlternativeTab();
|
151
|
+
singleSelectionGridPage.alternativeAnswerTab(2)
|
152
152
|
.should('not.exist');
|
153
|
-
singleSelectionGridPage.
|
154
|
-
.verifyInnerText('
|
153
|
+
singleSelectionGridPage.alternativeAnswerTab(1)
|
154
|
+
.verifyInnerText('Alternative 1');
|
155
155
|
});
|
156
156
|
|
157
157
|
//Failing due to https://redmine.zeuslearning.com/issues/531902
|
158
|
-
it('On deleting option set as correct answer option in
|
158
|
+
it('On deleting option set as correct answer option in Alternative answer tab, \'Error: Please set a correct answer.\' validation error message should be thrown along with an error icon on the \'Alternative 1\' tab', () => {
|
159
159
|
singleSelectionGridPage.steps.deleteOption(0)
|
160
160
|
singleSelectionGridPage.errorMessage()
|
161
161
|
.verifyInnerText('Error: Please set a correct answer.');
|
162
162
|
singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsDisplayed()
|
163
163
|
});
|
164
164
|
|
165
|
-
it('On reselecting correct answer option in
|
165
|
+
it('On reselecting correct answer option in Alternative answer tab, \'Error: Please set a correct answer.\' validation error message should disappear', () => {
|
166
166
|
singleSelectionGridPage.steps.selectOptionFromSetCorrectAnswerTable(1, 2);
|
167
167
|
singleSelectionGridPage.steps.verifyErrorMessageIsNotDisplayed();
|
168
168
|
singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
@@ -174,7 +174,7 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
|
|
174
174
|
singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
|
175
175
|
});
|
176
176
|
|
177
|
-
it('When the user is on \'
|
177
|
+
it('When the user is on \'Alternative 1\' tab then on deleting option set as correct answer option only in the Correct answer tab, tab should be switched from \'Alternative 1\' to \'CORRECT\' tab and \'Error: Please set a correct answer.\' validation error message should be thrown alongwith an error icon besides the \'Correct\' tab', () => {
|
178
178
|
singleSelectionGridPage.steps.deleteOption(1)
|
179
179
|
singleSelectionGridPage.steps.verifyActiveStateOfCorrectTab()
|
180
180
|
singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsDisplayed()
|