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
@@ -1,13 +1,14 @@
|
|
1
1
|
import { audioResponsePage } from "../../../pages/audioResponsePage";
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
3
|
const css = Cypress.env('css');
|
4
|
+
const grepTags = Cypress.env('grepTags');
|
4
5
|
|
5
6
|
describe('Preview tab of Audio Response', () => {
|
6
7
|
before(() => {
|
7
8
|
cy.loginAs('admin');
|
8
9
|
});
|
9
10
|
|
10
|
-
describe('Preview of standard audio recorder style', () => {
|
11
|
+
describe('Preview of standard audio recorder style', { tags: 'smoke' }, () => {
|
11
12
|
abortEarlySetup();
|
12
13
|
before(() => {
|
13
14
|
cy.log('Navigating to Audio Response question type');
|
@@ -316,7 +317,7 @@ describe('Preview tab of Audio Response', () => {
|
|
316
317
|
});
|
317
318
|
});
|
318
319
|
|
319
|
-
describe('Standard audio recorder style- Playback player', () => {
|
320
|
+
describe('Standard audio recorder style- Playback player', { tags: 'smoke' }, () => {
|
320
321
|
abortEarlySetup();
|
321
322
|
before(() => {
|
322
323
|
cy.log('Navigating to Audio Response question type');
|
@@ -764,99 +765,101 @@ describe('Preview tab of Audio Response', () => {
|
|
764
765
|
});
|
765
766
|
});
|
766
767
|
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
.
|
778
|
-
|
779
|
-
|
780
|
-
.
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
.
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
.
|
790
|
-
|
791
|
-
.
|
792
|
-
|
793
|
-
.
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
.
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
.
|
805
|
-
|
806
|
-
|
807
|
-
.
|
808
|
-
|
809
|
-
.
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
.
|
814
|
-
|
815
|
-
.
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
.
|
825
|
-
|
826
|
-
.
|
827
|
-
|
828
|
-
.
|
829
|
-
|
830
|
-
.
|
831
|
-
|
832
|
-
.
|
833
|
-
|
834
|
-
|
835
|
-
.
|
836
|
-
|
837
|
-
.
|
838
|
-
|
839
|
-
.
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
.
|
846
|
-
|
847
|
-
.
|
848
|
-
|
849
|
-
.
|
850
|
-
|
851
|
-
.
|
852
|
-
|
853
|
-
.
|
854
|
-
|
855
|
-
.
|
856
|
-
|
857
|
-
.
|
858
|
-
|
859
|
-
.
|
860
|
-
|
861
|
-
|
768
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
769
|
+
describe('Preview tab of Standard recorder style- Retake my audio response', () => {
|
770
|
+
abortEarlySetup();
|
771
|
+
before(() => {
|
772
|
+
cy.log('Navigating to Audio Response question type');
|
773
|
+
audioResponsePage.steps.navigateToCreateQuestion('audio response');
|
774
|
+
cy.log('Setting Maximum recording length to 5 seconds');
|
775
|
+
audioResponsePage.steps.setMaximumRecorderLength(5);
|
776
|
+
cy.log('Switching to Preview tab');
|
777
|
+
audioResponsePage.steps.switchToPreviewTab();
|
778
|
+
audioResponsePage.standardPreviewStartRecordingButton()
|
779
|
+
.click();
|
780
|
+
cy.log('Starting a recording and letting it record until Maximum recording length is reached');
|
781
|
+
audioResponsePage.standardPreviewPlayerHelpText()
|
782
|
+
.verifyInnerText('Your response has been recorded');
|
783
|
+
});
|
784
|
+
|
785
|
+
it('When the user clicks on \'Retake\' icon button, \'Retake\' popup should be displayed along with \'Are you sure you want to overwrite the existing audio recording?\' message', () => {
|
786
|
+
audioResponsePage.standardPreviewRetakeButton()
|
787
|
+
.should('be.visible')
|
788
|
+
.and('be.enabled')
|
789
|
+
.click();
|
790
|
+
audioResponsePage.dialogBoxTitle()
|
791
|
+
.verifyInnerText('Retake');
|
792
|
+
audioResponsePage.retakePopupContent()
|
793
|
+
.verifyInnerText('Are you sure you want to overwrite the existing audio recording?');
|
794
|
+
audioResponsePage.confirmRetakeButton()
|
795
|
+
.should('be.visible')
|
796
|
+
.and('be.enabled')
|
797
|
+
.verifyInnerText('Confirm');
|
798
|
+
audioResponsePage.cancelRetakeButton()
|
799
|
+
.should('be.visible')
|
800
|
+
.and('be.enabled')
|
801
|
+
.verifyInnerText('Cancel');
|
802
|
+
});
|
803
|
+
|
804
|
+
it('CSS of \'Retake\' popup', { tags: 'css' }, () => {
|
805
|
+
audioResponsePage.dialogBox()
|
806
|
+
.should('have.css', 'border', `1px solid ${css.color.defaultDropdownBorder}`)
|
807
|
+
.and('have.css', 'background-color', css.color.defaultBackground);
|
808
|
+
audioResponsePage.dialogBoxTitle()
|
809
|
+
.verifyCSS(css.color.questionHeading, css.fontSize.heading, css.fontWeight.semibold);
|
810
|
+
audioResponsePage.dialogBoxContent()
|
811
|
+
.find('.retake-popup-content')
|
812
|
+
.should('have.css', 'border-top', `1px solid ${css.color.secondaryBtnBorder}`)
|
813
|
+
.verifyCSS(css.color.labels, css.fontSize.default, css.fontWeight.regular);
|
814
|
+
audioResponsePage.confirmRetakeButton()
|
815
|
+
.should('have.css', 'background-color', css.color.deleteBtn);
|
816
|
+
audioResponsePage.cancelRetakeButton()
|
817
|
+
.should('have.css', 'background-color', css.color.transparent);
|
818
|
+
});
|
819
|
+
|
820
|
+
it('Accessibility of \'Retake\' popup', { tags: 'a11y' }, () => {
|
821
|
+
cy.checkAccessibility(audioResponsePage.dialogBox());
|
822
|
+
});
|
823
|
+
|
824
|
+
it('When the user clicks on \'Cancel\' button, \'Retake\' popup should close and previous state of playback player should persist', () => {
|
825
|
+
audioResponsePage.cancelRetakeButton()
|
826
|
+
.click();
|
827
|
+
audioResponsePage.dialogBox()
|
828
|
+
.should('not.exist');
|
829
|
+
audioResponsePage.standardPreviewRetakeButton()
|
830
|
+
.should('be.visible');
|
831
|
+
audioResponsePage.previewPlayPlaybackButton()
|
832
|
+
.should('be.visible');
|
833
|
+
audioResponsePage.standardPreviewPlayerHelpText()
|
834
|
+
.should('be.visible')
|
835
|
+
.verifyInnerText('Your response has been recorded');
|
836
|
+
audioResponsePage.previewMicIcon()
|
837
|
+
.should('be.visible');
|
838
|
+
audioResponsePage.standardPreviewRecordingCompletedProgressBar()
|
839
|
+
.should('be.visible');
|
840
|
+
audioResponsePage.standardPreviewRecordTime()
|
841
|
+
.should('be.visible')
|
842
|
+
.verifyInnerText('00:05');
|
843
|
+
});
|
844
|
+
|
845
|
+
it('When the user clicks on Confirm button of the retake popup, the previous recording should get deleted and a new recording should begin', () => {
|
846
|
+
audioResponsePage.standardPreviewRetakeButton()
|
847
|
+
.click();
|
848
|
+
audioResponsePage.confirmRetakeButton()
|
849
|
+
.click();
|
850
|
+
audioResponsePage.dialogBox()
|
851
|
+
.should('not.exist');
|
852
|
+
audioResponsePage.standardPreviewRecorderHelpText()
|
853
|
+
.verifyInnerText('Recording...');
|
854
|
+
audioResponsePage.previewMaxRecordTime()
|
855
|
+
.should('be.visible');
|
856
|
+
audioResponsePage.standardPreviewPlayerHelpText()
|
857
|
+
.should('not.exist');
|
858
|
+
audioResponsePage.standardPreviewHelpTextOutsideContainer()
|
859
|
+
.should('not.exist');
|
860
|
+
audioResponsePage.standardPreviewPlayerHelpText()
|
861
|
+
.verifyInnerText('Your response has been recorded');
|
862
|
+
});
|
863
|
+
});
|
864
|
+
}
|
862
865
|
});
|
@@ -0,0 +1,121 @@
|
|
1
|
+
import { dragAndDropIntoCategoriesAllOrNothingScoring } from "../../../../pages/dragAndDropIntoCategoriesAllOrNothingScoring";
|
2
|
+
import { dragAndDropIntoCategoriesPage } from "../../../../pages/dragAndDropIntoCategoriesPage";
|
3
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
4
|
+
const grepTags = Cypress.env('grepTags');
|
5
|
+
|
6
|
+
describe('Create Item page - drag and drop into categories: Preview tab scoring functionality - grouped options layout', () => {
|
7
|
+
before(() => {
|
8
|
+
cy.loginAs('admin');
|
9
|
+
});
|
10
|
+
|
11
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
12
|
+
describe('Show correct answer - grouped options layout', () => {
|
13
|
+
abortEarlySetup();
|
14
|
+
before(() => {
|
15
|
+
cy.log('Navigating to drag and drop into categories question type');
|
16
|
+
dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
|
17
|
+
cy.barsPreLoaderWait();
|
18
|
+
dragAndDropIntoCategoriesPage.steps.setQuestionForGroupedResponseOptions();
|
19
|
+
});
|
20
|
+
|
21
|
+
dragAndDropIntoCategoriesPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet()
|
22
|
+
|
23
|
+
dragAndDropIntoCategoriesAllOrNothingScoring.tests.verifyShowCorrectAnswerBasicFunctionality();
|
24
|
+
});
|
25
|
+
}
|
26
|
+
|
27
|
+
describe('Question preview: AutoScored: All or nothing - grouped options layout', { tags: 'smoke' }, () => {
|
28
|
+
abortEarlySetup();
|
29
|
+
before(() => {
|
30
|
+
cy.log('Navigating to drag and drop into categories question type');
|
31
|
+
dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
|
32
|
+
cy.barsPreLoaderWait();
|
33
|
+
dragAndDropIntoCategoriesPage.steps.setQuestionForGroupedResponseOptions();
|
34
|
+
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
35
|
+
dragAndDropIntoCategoriesPage.steps.allotPoints(10);
|
36
|
+
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
37
|
+
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
38
|
+
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
39
|
+
});
|
40
|
+
|
41
|
+
dragAndDropIntoCategoriesAllOrNothingScoring.tests.verifyAutoScoredAllOrNothingScoring()
|
42
|
+
|
43
|
+
dragAndDropIntoCategoriesPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer(10);
|
44
|
+
});
|
45
|
+
|
46
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
47
|
+
describe('Question Preview: AutoScored - All or Nothing - grouped options layout with identical draggable response options in preview tab', () => {
|
48
|
+
let groupedOptions = [['Bat', 'Eagle', 'Whale', 'Platypus'], ['Bat', 'Parrot', 'Ostrich', 'Flying squirrel']];
|
49
|
+
abortEarlySetup();
|
50
|
+
before(() => {
|
51
|
+
cy.log('Navigate to drag and drop into categories question type, fill the necessary details and points and switch to preview tab');
|
52
|
+
dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
|
53
|
+
cy.barsPreLoaderWait();
|
54
|
+
dragAndDropIntoCategoriesPage.steps.selectResponseOptionsLayout('Grouped');
|
55
|
+
dragAndDropIntoCategoriesPage.steps.addGroupTitle(0, 'Group A');
|
56
|
+
dragAndDropIntoCategoriesPage.steps.addOption();
|
57
|
+
dragAndDropIntoCategoriesPage.steps.addOption();
|
58
|
+
dragAndDropIntoCategoriesPage.steps.addInputToOptionsForDragAndDropFields(groupedOptions[0]);
|
59
|
+
dragAndDropIntoCategoriesPage.steps.addGroupWithTitleAndOptionsInResponseOptionsSection(1, 'Group B', groupedOptions[1]);
|
60
|
+
dragAndDropIntoCategoriesPage.steps.allotPoints(20);
|
61
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Bat', 0);
|
62
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Eagle', 1);
|
63
|
+
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
64
|
+
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
65
|
+
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
66
|
+
});
|
67
|
+
|
68
|
+
it('Case: When user has identical options to give as input', () => {
|
69
|
+
cy.log('Both the identical options should be visible in the draggable response options section and when user clicks on \'Show correct answer\' checkbox only one of the identical options should be displayed in the correct answer section');
|
70
|
+
dragAndDropIntoCategoriesPage.steps.verifyGroupedResponseContainerContentsInPreviewTab(0, groupedOptions[0]);
|
71
|
+
dragAndDropIntoCategoriesPage.steps.verifyGroupedResponseContainerContentsInPreviewTab(1, groupedOptions[1]);
|
72
|
+
dragAndDropIntoCategoriesPage.steps.checkShowCorrectAnswerCheckbox();
|
73
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle']], [1, 2]);
|
74
|
+
|
75
|
+
cy.log('Post-step: Unchecking show correct answer checkbox');
|
76
|
+
dragAndDropIntoCategoriesPage.steps.uncheckShowCorrectAnswerCheckbox();
|
77
|
+
|
78
|
+
cy.log('When the user gives the correct answer inputs and user selects the show correct answer checkbox, green check-mark icon should be displayed besides both the responses, user should be awarded full points and no correct answer section should be displayed');
|
79
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Bat', 0);
|
80
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Eagle', 1);
|
81
|
+
cy.log('User should be awarded full points')
|
82
|
+
dragAndDropIntoCategoriesPage.previewScoreText()
|
83
|
+
.verifyInnerText('20/20');
|
84
|
+
dragAndDropIntoCategoriesPage.steps.checkShowCorrectAnswerCheckbox();
|
85
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(0);
|
86
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(1);
|
87
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotVisible();
|
88
|
+
|
89
|
+
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
90
|
+
|
91
|
+
cy.log('When user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides correct answer responses and no correct answer section should be displayed');
|
92
|
+
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
93
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(0);
|
94
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(1);
|
95
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotVisible();
|
96
|
+
|
97
|
+
cy.log('When the user attempts the question with the identical option then on selecting \'Show correct answer\' checkbox, green check-mark icon should be displayed besides the original option set as correct responses, red cross-mark icon should be displayed against the identical option and user should be awarded 0 points');
|
98
|
+
dragAndDropIntoCategoriesPage.steps.resetQuestionPreview();
|
99
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Bat', 0);
|
100
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Bat', 0);
|
101
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInGroupedResponseContainerOfPreviewTab('Bat')
|
102
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Eagle', 1);
|
103
|
+
cy.log('User should be awarded 0 points')
|
104
|
+
dragAndDropIntoCategoriesPage.previewScoreText()
|
105
|
+
.verifyInnerText('0/20');
|
106
|
+
dragAndDropIntoCategoriesPage.steps.checkShowCorrectAnswerCheckbox();
|
107
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionCrossmarkIcon(0);
|
108
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(1);
|
109
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat']], [1]);
|
110
|
+
|
111
|
+
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
112
|
+
|
113
|
+
cy.log('When user clicks on \'Check answer\' button, green check-mark icon should be displayed besides the original options set as correct responses, red cross-mark icon should be displayed against the identical option ')
|
114
|
+
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
115
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionCrossmarkIcon(0);
|
116
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(1);
|
117
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotVisible();
|
118
|
+
});
|
119
|
+
});
|
120
|
+
}
|
121
|
+
});
|
@@ -7,7 +7,7 @@ describe('Create Item page - drag and drop into categories: Preview tab scoring
|
|
7
7
|
cy.loginAs('admin');
|
8
8
|
});
|
9
9
|
|
10
|
-
describe('Question preview: AutoScored: Partial - score for each cell - grouped options layout', () => {
|
10
|
+
describe('Question preview: AutoScored: Partial - score for each cell - grouped options layout', { tags: 'smoke' }, () => {
|
11
11
|
abortEarlySetup();
|
12
12
|
before(() => {
|
13
13
|
cy.log('Navigating to drag and drop into categories question type');
|
@@ -8,7 +8,7 @@ describe('Create Item page - Drag and drop into categories: Preview tab scoring
|
|
8
8
|
cy.loginAs('admin');
|
9
9
|
});
|
10
10
|
|
11
|
-
describe('Question preview: AutoScored: Partial - score for each correct response - grouped options layout', () => {
|
11
|
+
describe('Question preview: AutoScored: Partial - score for each correct response - grouped options layout', { tags: 'smoke' }, () => {
|
12
12
|
abortEarlySetup();
|
13
13
|
before(() => {
|
14
14
|
cy.log('Navigating to drag and drop into categories question type');
|
@@ -0,0 +1,164 @@
|
|
1
|
+
import { dragAndDropIntoCategoriesAllOrNothingScoring } from "../../../../pages/dragAndDropIntoCategoriesAllOrNothingScoring";
|
2
|
+
import { dragAndDropIntoCategoriesPage } from "../../../../pages/dragAndDropIntoCategoriesPage";
|
3
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
const identicalOptionArray = ['Bat', 'Eagle', 'Bat'];
|
6
|
+
const grepTags = Cypress.env('grepTags');
|
7
|
+
describe('Create Item page - drag and drop into categories: Preview tab Scoring Section', () => {
|
8
|
+
before(() => {
|
9
|
+
cy.loginAs('admin');
|
10
|
+
});
|
11
|
+
|
12
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
13
|
+
describe('Show correct answer', () => {
|
14
|
+
abortEarlySetup();
|
15
|
+
before(() => {
|
16
|
+
cy.log('Navigating to drag and drop into categories question type');
|
17
|
+
dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
|
18
|
+
cy.barsPreLoaderWait();
|
19
|
+
dragAndDropIntoCategoriesPage.steps.setQuestion();
|
20
|
+
});
|
21
|
+
|
22
|
+
dragAndDropIntoCategoriesPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet()
|
23
|
+
|
24
|
+
it('When the user has set correct answer options and alloted points \'Show correct answer\' checkbox should be displayed and it should be unchecked by default and points for the question should be displayed beside it', () => {
|
25
|
+
dragAndDropIntoCategoriesPage.steps.switchToEditTab();
|
26
|
+
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
27
|
+
dragAndDropIntoCategoriesPage.steps.allotPoints(10);
|
28
|
+
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
29
|
+
dragAndDropIntoCategoriesPage.steps.verifyDefaultShowCorrectAnswerCheckboxAndLabel();
|
30
|
+
dragAndDropIntoCategoriesPage.previewScoreText()
|
31
|
+
.verifyInnerText('0/10');
|
32
|
+
});
|
33
|
+
|
34
|
+
it('When the user attempts question in preview tab and switches to edit tab, then on re-switching to the preview tab users response should not persist', () => {
|
35
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Bat', 0);
|
36
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Eagle', 1);
|
37
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Platypus', 2);
|
38
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Ostrich', 3);
|
39
|
+
dragAndDropIntoCategoriesPage.steps.resetQuestionPreview();
|
40
|
+
for (let index = 0; index < 4; index++) {
|
41
|
+
dragAndDropIntoCategoriesPage.steps.verifyEmptyStateOfCategoryCellInPreviewTab(index);
|
42
|
+
}
|
43
|
+
});
|
44
|
+
});
|
45
|
+
}
|
46
|
+
|
47
|
+
describe('Question preview: AutoScored: All or nothing', { tags: 'smoke' }, () => {
|
48
|
+
abortEarlySetup();
|
49
|
+
before(() => {
|
50
|
+
cy.log('Navigating to drag and drop into categories question type');
|
51
|
+
dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
|
52
|
+
cy.barsPreLoaderWait();
|
53
|
+
dragAndDropIntoCategoriesPage.steps.setQuestion();
|
54
|
+
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
55
|
+
dragAndDropIntoCategoriesPage.steps.allotPoints(10);
|
56
|
+
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
57
|
+
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
58
|
+
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
59
|
+
});
|
60
|
+
|
61
|
+
it('CSS of \'Score\' and \'Show correct answer\'', { tags: 'css' }, () => {
|
62
|
+
dragAndDropIntoCategoriesPage.previewScoreText()
|
63
|
+
.verifyCSS(css.color.text, css.fontSize.default, css.fontWeight.regular);
|
64
|
+
dragAndDropIntoCategoriesPage.showCorrectAnswerCheckboxLabel()
|
65
|
+
.verifyCSS(css.color.labelText, css.fontSize.normal, css.fontWeight.regular);
|
66
|
+
});
|
67
|
+
|
68
|
+
dragAndDropIntoCategoriesPage.tests.verifyQuestionPreviewOnSelectingShowCorrectAnswerWithoutAttempting(10);
|
69
|
+
|
70
|
+
it('CSS of category cell numeration and correct answer section', () => {
|
71
|
+
dragAndDropIntoCategoriesPage.correctAnswerLabel()
|
72
|
+
.verifyCSS(css.color.text, css.fontSize.normal, css.fontWeight.regular);
|
73
|
+
dragAndDropIntoCategoriesPage.correctAnswerCategoryCell()
|
74
|
+
.should('have.css', 'border', `1px solid ${css.color.correctAnswerContainerBorder}`)
|
75
|
+
.eq(0)
|
76
|
+
.within(() => {
|
77
|
+
dragAndDropIntoCategoriesPage.categoryCellNumeration()
|
78
|
+
.verifyCSS(css.color.liText, css.fontSize.default, css.fontWeight.regular)
|
79
|
+
.should('have.css', 'border', `1px solid ${css.color.titleContainerBorder}`)
|
80
|
+
.and('have.css', 'background-color', `${css.color.titleContainerBg}`);
|
81
|
+
dragAndDropIntoCategoriesPage.correctAnswerOption()
|
82
|
+
.verifyCSS(css.color.text, css.fontSize.default, css.fontWeight.regular)
|
83
|
+
.should('have.css', 'border', `1px solid ${css.color.titleContainerBorder}`);
|
84
|
+
});
|
85
|
+
});
|
86
|
+
|
87
|
+
dragAndDropIntoCategoriesPage.tests.verifyQuestionPreviewOnClickingCheckAnswerWithoutAttempting();
|
88
|
+
|
89
|
+
dragAndDropIntoCategoriesAllOrNothingScoring.tests.verifyAutoScoredAllOrNothingScoring()
|
90
|
+
|
91
|
+
dragAndDropIntoCategoriesPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer(10);
|
92
|
+
});
|
93
|
+
|
94
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
95
|
+
describe('Question Preview: AutoScored - All or Nothing standard options layout with identical draggable response options in preview tab', () => {
|
96
|
+
abortEarlySetup();
|
97
|
+
before(() => {
|
98
|
+
cy.log('Navigate to drag and drop into categories question type, fill the necessary details and points and switch to preview tab');
|
99
|
+
dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
|
100
|
+
cy.barsPreLoaderWait();
|
101
|
+
dragAndDropIntoCategoriesPage.addOptionButton()
|
102
|
+
.click();
|
103
|
+
dragAndDropIntoCategoriesPage.steps.addInputToOptionsForDragAndDropFields(identicalOptionArray);
|
104
|
+
dragAndDropIntoCategoriesPage.steps.allotPoints(20);
|
105
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Bat', 0);
|
106
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Eagle', 1);
|
107
|
+
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
108
|
+
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
109
|
+
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
110
|
+
});
|
111
|
+
|
112
|
+
it('Case: When user has identical options to give as input', () => {
|
113
|
+
cy.log('Both the identical options should be visible in the draggable response options section and when user clicks on \'Show correct answer\' checkbox only one of the identical options should be displayed in the correct answer section');
|
114
|
+
dragAndDropIntoCategoriesPage.steps.verifyDraggableResponsesPreviewTab('drag and drop into categories', identicalOptionArray);
|
115
|
+
dragAndDropIntoCategoriesPage.steps.checkShowCorrectAnswerCheckbox();
|
116
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle']], [1, 2]);
|
117
|
+
|
118
|
+
cy.log('Post-step: Unchecking show correct answer checkbox');
|
119
|
+
dragAndDropIntoCategoriesPage.steps.uncheckShowCorrectAnswerCheckbox();
|
120
|
+
|
121
|
+
cy.log('When the user gives the correct answer inputs and user selects the show correct answer checkbox, green check-mark icon should be displayed besides both the responses, user should be awarded full points and no correct answer section should be displayed');
|
122
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Bat', 0);
|
123
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Eagle', 1);
|
124
|
+
cy.log('User should be awarded full points')
|
125
|
+
dragAndDropIntoCategoriesPage.previewScoreText()
|
126
|
+
.verifyInnerText('20/20');
|
127
|
+
dragAndDropIntoCategoriesPage.steps.checkShowCorrectAnswerCheckbox();
|
128
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(0);
|
129
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(1);
|
130
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotVisible();
|
131
|
+
|
132
|
+
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
133
|
+
|
134
|
+
cy.log('When user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides correct answer responses and no correct answer section should be displayed');
|
135
|
+
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
136
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(0);
|
137
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(1);
|
138
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotVisible();
|
139
|
+
|
140
|
+
cy.log('When the user attempts the question with the identical option then on selecting \'Show correct answer\' checkbox, green check-mark icon should be displayed besides the original option set as correct responses, red cross-mark icon should be displayed against the identical option and user should be awarded 0 points');
|
141
|
+
dragAndDropIntoCategoriesPage.steps.resetQuestionPreview();
|
142
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Bat', 0);
|
143
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Bat', 0);
|
144
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInResponseContainerOfPreviewTab('Bat');
|
145
|
+
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Eagle', 1);
|
146
|
+
cy.log('User should be awarded 0 points')
|
147
|
+
dragAndDropIntoCategoriesPage.previewScoreText()
|
148
|
+
.verifyInnerText('0/20');
|
149
|
+
dragAndDropIntoCategoriesPage.steps.checkShowCorrectAnswerCheckbox();
|
150
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionCrossmarkIcon(0);
|
151
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(1);
|
152
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat']], [1]);
|
153
|
+
|
154
|
+
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
155
|
+
|
156
|
+
cy.log('When user clicks on \'Check answer\' button, green check-mark icon should be displayed besides the original options set as correct responses, red cross-mark icon should be displayed against the identical option ')
|
157
|
+
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
158
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionCrossmarkIcon(0);
|
159
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionCheckmarkIcon(1);
|
160
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotVisible();
|
161
|
+
});
|
162
|
+
});
|
163
|
+
}
|
164
|
+
});
|
@@ -2,13 +2,14 @@ import { dragAndDropIntoCategoriesCorrectResponseScoring } from "../../../../pag
|
|
2
2
|
import { dragAndDropIntoCategoriesPage } from "../../../../pages/dragAndDropIntoCategoriesPage";
|
3
3
|
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
4
4
|
const cellNumerationArray = ['1', '2', '3', '4'];
|
5
|
+
const grepTags = Cypress.env('grepTags');
|
5
6
|
|
6
7
|
describe('Create Item page - drag and drop into categories: Preview tab Scoring Section', () => {
|
7
8
|
before(() => {
|
8
9
|
cy.loginAs('admin');
|
9
10
|
});
|
10
11
|
|
11
|
-
describe('Question preview: AutoScored: Total score divided between each correct response', () => {
|
12
|
+
describe('Question preview: AutoScored: Total score divided between each correct response', { tags: 'smoke' }, () => {
|
12
13
|
abortEarlySetup();
|
13
14
|
before(() => {
|
14
15
|
cy.log('Navigating to drag and drop into categories question type');
|
@@ -37,22 +38,24 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
37
38
|
dragAndDropIntoCategoriesPage.tests.verifyMinimumScoreIfAttemptedAndPenaltyPointsFunctionalityForIncorrectAnswer([1, 3.67, 6], 6, 10);
|
38
39
|
});
|
39
40
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
41
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
42
|
+
describe('Question preview: AutoScored - Total score divided between each correct response: Round down score - standard options layout', () => {
|
43
|
+
abortEarlySetup();
|
44
|
+
before(() => {
|
45
|
+
cy.log('Navigating to drag and drop into categories question type');
|
46
|
+
dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
|
47
|
+
cy.barsPreLoaderWait();
|
48
|
+
dragAndDropIntoCategoriesPage.steps.setQuestion();
|
49
|
+
dragAndDropIntoCategoriesPage.steps.allotPoints(10.5);
|
50
|
+
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
51
|
+
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
52
|
+
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
53
|
+
dragAndDropIntoCategoriesPage.steps.expandRoundingDropdown();
|
54
|
+
dragAndDropIntoCategoriesPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.50');
|
55
|
+
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
56
|
+
});
|
57
|
+
|
58
|
+
dragAndDropIntoCategoriesPage.tests.verifyRoundDownScoreFunctionality([1, 10, 1.75], 10.5)
|
54
59
|
});
|
55
|
-
|
56
|
-
dragAndDropIntoCategoriesPage.tests.verifyRoundDownScoreFunctionality([1, 10, 1.75], 10.5)
|
57
|
-
});
|
60
|
+
}
|
58
61
|
});
|