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
package/cypress/e2e/ILC/EssayResponse/essayResponseGradingViewAndCorrectAnswerViewContents.js
DELETED
@@ -1,106 +0,0 @@
|
|
1
|
-
import { correctAnswerViewPage, essayResponsePage, itemPreviewPage, studentViewPage } from "../../../pages";
|
2
|
-
import { gradingViewPage } from "../../../pages";
|
3
|
-
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
|
-
import utilities from "../../../support/helpers/utilities";
|
5
|
-
const css = Cypress.env('css');
|
6
|
-
var itemReferenceID = "";
|
7
|
-
|
8
|
-
describe('Create item page - Essay response: Grading view, Correct answer view contents', () => {
|
9
|
-
before(() => {
|
10
|
-
cy.loginAs('admin');
|
11
|
-
});
|
12
|
-
|
13
|
-
describe('Grading view contents', () => {
|
14
|
-
abortEarlySetup();
|
15
|
-
before(() => {
|
16
|
-
cy.log('Navigating to Essay response question type');
|
17
|
-
essayResponsePage.steps.navigateToCreateQuestion('essay response - rich text');
|
18
|
-
cy.barsPreLoaderWait();
|
19
|
-
essayResponsePage.steps.addQuestionInstructions();
|
20
|
-
essayResponsePage.steps.allotPoints(10);
|
21
|
-
essayResponsePage.steps.clickOnSaveQuestionButton();
|
22
|
-
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
23
|
-
//Global variable issue, not working inside before
|
24
|
-
itemPreviewPage.referenceID()
|
25
|
-
.invoke('text')
|
26
|
-
.then(($refID) => {
|
27
|
-
itemReferenceID = $refID;
|
28
|
-
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
29
|
-
utilities.verifyElementVisibilityState(essayResponsePage.previewTabToolbarOption(), 'visible');
|
30
|
-
essayResponsePage.steps.selectPreviewTabToolbarOption('Bold (Ctrl+B)');
|
31
|
-
essayResponsePage.steps.selectPreviewTabToolbarOption('Italic (Ctrl+I)');
|
32
|
-
essayResponsePage.steps.selectPreviewTabToolbarOption('Underline (Ctrl+U)');
|
33
|
-
essayResponsePage.steps.enterInputInResponseField('This is a test for grading view preview contents');
|
34
|
-
studentViewPage.steps.submitResponse();
|
35
|
-
studentViewPage.steps.clickOnGoToGradingViewButton();
|
36
|
-
});
|
37
|
-
});
|
38
|
-
|
39
|
-
it('Question instructions should be visible', () => {
|
40
|
-
utilities.verifyInnerText(essayResponsePage.questionInstructionsText(), 'Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
|
41
|
-
utilities.verifyElementVisibilityState(essayResponsePage.questionInstructionsText(), 'visible');
|
42
|
-
});
|
43
|
-
|
44
|
-
it('The response submitted by the student should be visible in the response field of the grading view. The formatting toolbar options should not be visible in grading view', () => {
|
45
|
-
essayResponsePage.responseField()
|
46
|
-
.verifyInnerHTML('<p><strong><em><u>This is a test for grading view preview contents</u></em></strong></p>');
|
47
|
-
utilities.verifyElementVisibilityState(essayResponsePage.previewTabToolbarWrapper(), 'hidden');
|
48
|
-
});
|
49
|
-
|
50
|
-
it('The content in the response field should not be editable', () => {
|
51
|
-
essayResponsePage.steps.verifyGradingViewResponseFieldIsNonEditable();
|
52
|
-
});
|
53
|
-
|
54
|
-
it('Empty score input field and total score should be displayed', () => {
|
55
|
-
gradingViewPage.steps.verifyGradingViewScore('', 10);
|
56
|
-
});
|
57
|
-
|
58
|
-
it('CSS of content in the response field', { tags: 'css' }, () => {
|
59
|
-
utilities.verifyCSS(essayResponsePage.responseField().find('p'), {
|
60
|
-
'color': css.color.text,
|
61
|
-
'font-size': css.fontSize.default,
|
62
|
-
'font-weight': css.fontWeight.regular
|
63
|
-
});
|
64
|
-
});
|
65
|
-
|
66
|
-
it('Accessibility of content in the response field', { tags: 'a11y' }, () => {
|
67
|
-
cy.checkAccessibility(essayResponsePage.responseField().parents('.essay-preview-wrapper'));
|
68
|
-
});
|
69
|
-
});
|
70
|
-
|
71
|
-
describe('Correct answer view contents', () => {
|
72
|
-
abortEarlySetup();
|
73
|
-
before(() => {
|
74
|
-
cy.log('Navigating to Essay response question type');
|
75
|
-
essayResponsePage.steps.navigateToCreateQuestion('essay response - rich text');
|
76
|
-
cy.barsPreLoaderWait();
|
77
|
-
essayResponsePage.steps.addQuestionInstructions();
|
78
|
-
essayResponsePage.steps.allotPoints(10);
|
79
|
-
essayResponsePage.steps.clickOnSaveQuestionButton();
|
80
|
-
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
81
|
-
//Global variable issue, not working inside before
|
82
|
-
itemPreviewPage.referenceID()
|
83
|
-
.invoke('text')
|
84
|
-
.then(($refID) => {
|
85
|
-
itemReferenceID = $refID
|
86
|
-
cy.visit(`/item-engine/demo/render-item/correct-answer-view/${utilities.base64Encoding(itemReferenceID)}`);
|
87
|
-
});
|
88
|
-
});
|
89
|
-
|
90
|
-
it('Question instructions should be visible', () => {
|
91
|
-
utilities.verifyTextContent(correctAnswerViewPage.correctAnswerViewQuestionInstructions(), 'Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
|
92
|
-
utilities.verifyElementVisibilityState(correctAnswerViewPage.correctAnswerViewQuestionInstructions(), 'visible');
|
93
|
-
});
|
94
|
-
|
95
|
-
it('\'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
|
96
|
-
utilities.verifyTextContent(correctAnswerViewPage.manualScoredQuestionHelpText(), 'This is a manual scored question.');
|
97
|
-
utilities.verifyElementVisibilityState(correctAnswerViewPage.manualScoredQuestionHelpText(), 'visible');
|
98
|
-
});
|
99
|
-
|
100
|
-
it('The points alloted to the question should be displayed', () => {
|
101
|
-
correctAnswerViewPage.steps.verifyAvailablePoints(10);
|
102
|
-
});
|
103
|
-
|
104
|
-
//Need to add CSS and A11y here once updated designs are available for correct answer
|
105
|
-
});
|
106
|
-
});
|
@@ -1,76 +0,0 @@
|
|
1
|
-
import { fillInTheGapsDragAndDropPage } from "../../../pages";
|
2
|
-
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
-
const css = Cypress.env('css');
|
4
|
-
const responseForGroup2 = ['Response 3', 'Response 4'];
|
5
|
-
|
6
|
-
describe('Create Item Page: Fill in the gaps - drag and drop: Grouped response layout - Edit tab', () => {
|
7
|
-
before(() => {
|
8
|
-
cy.loginAs('admin');
|
9
|
-
});
|
10
|
-
|
11
|
-
describe('\'Grouped\' response options layout - Edit tab section contents', () => {
|
12
|
-
abortEarlySetup();
|
13
|
-
before(() => {
|
14
|
-
cy.log('Navigate to fill in the gaps - drag and drop question type');
|
15
|
-
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
|
16
|
-
cy.barsPreLoaderWait();
|
17
|
-
});
|
18
|
-
|
19
|
-
fillInTheGapsDragAndDropPage.tests.verifyGroupedOptionsContentAndFunctionality();
|
20
|
-
});
|
21
|
-
|
22
|
-
describe('\'Grouped\' response options layout - Set correct answer section contents', () => {
|
23
|
-
abortEarlySetup();
|
24
|
-
before(() => {
|
25
|
-
cy.log('Navigate to fill in the gaps - drag and drop question type');
|
26
|
-
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
|
27
|
-
cy.barsPreLoaderWait();
|
28
|
-
fillInTheGapsDragAndDropPage.steps.selectResponseOptionsLayout('Grouped');
|
29
|
-
});
|
30
|
-
|
31
|
-
fillInTheGapsDragAndDropPage.tests.verifyGroupedResponseDraggableOptionsInSetCorrectAnswerSection();
|
32
|
-
|
33
|
-
it('When the user deletes a group, then the deleted group should get removed from the response options container as well as from the response areas (if any) of the \'Set Correct Answer\' section', () => {
|
34
|
-
cy.log('Pre step: Entering text into the text fields of group 2 response container')
|
35
|
-
fillInTheGapsDragAndDropPage.groupResponseContainer()
|
36
|
-
.eq(1)
|
37
|
-
.within(() => {
|
38
|
-
fillInTheGapsDragAndDropPage.steps.addInputToOptionsForDragAndDropFields(responseForGroup2);
|
39
|
-
});
|
40
|
-
fillInTheGapsDragAndDropPage.steps.addGroupTitle(1, 'Group title B');
|
41
|
-
cy.log('Setting a correct answer option')
|
42
|
-
fillInTheGapsDragAndDropPage.steps.setCorrectAnswerSectionClickAndDropDraggableOptionInResponseArea('Response 2', 0);
|
43
|
-
cy.log('Deleting the 1st group')
|
44
|
-
fillInTheGapsDragAndDropPage.deleteGroupButton()
|
45
|
-
.eq(0)
|
46
|
-
.click();
|
47
|
-
fillInTheGapsDragAndDropPage.setCorrectAnswerSectionGroupedResponseContainer()
|
48
|
-
.should('have.length', 1);
|
49
|
-
fillInTheGapsDragAndDropPage.setCorrectAnswerSectionGroupedResponseContainer()
|
50
|
-
.eq(1)
|
51
|
-
.should('not.exist');
|
52
|
-
fillInTheGapsDragAndDropPage.steps.verifyErroredStateOfResponseAreaInSetCorrectAnswerSection(0);
|
53
|
-
cy.log('verifying the contents of group 2 after deleting group 1')
|
54
|
-
fillInTheGapsDragAndDropPage.draggableOption()
|
55
|
-
.each(($element, count) => {
|
56
|
-
cy.wrap($element)
|
57
|
-
.should('have.text', `Response ${count + 3}`);
|
58
|
-
});
|
59
|
-
fillInTheGapsDragAndDropPage.setCorrectAnswerSectionGroupedResponseTitle()
|
60
|
-
.should('have.text', 'Group title B');
|
61
|
-
});
|
62
|
-
});
|
63
|
-
|
64
|
-
describe('\'Grouped\' response options layout - Preview tab contents', () => {
|
65
|
-
abortEarlySetup();
|
66
|
-
before(() => {
|
67
|
-
cy.log('Navigate to fill in the gaps - drag and drop question type');
|
68
|
-
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
|
69
|
-
cy.barsPreLoaderWait();
|
70
|
-
fillInTheGapsDragAndDropPage.steps.selectResponseOptionsLayout('Grouped');
|
71
|
-
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
72
|
-
});
|
73
|
-
|
74
|
-
fillInTheGapsDragAndDropPage.tests.verifyGroupedResponseDraggableOptionsInPreviewTab();
|
75
|
-
});
|
76
|
-
})
|
@@ -1,134 +0,0 @@
|
|
1
|
-
import { fillInTheGapsOverImageTextPage } from "../../../pages";
|
2
|
-
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
-
import utilities from "../../../support/helpers/utilities";
|
4
|
-
const css = Cypress.env('css');
|
5
|
-
|
6
|
-
describe('Create item page - Fill in the gaps over image - text: Edit aria-label checkbox', () => {
|
7
|
-
before(() => {
|
8
|
-
cy.loginAs('admin');
|
9
|
-
});
|
10
|
-
|
11
|
-
describe('Edit aria-label in edit tab', () => {
|
12
|
-
abortEarlySetup();
|
13
|
-
before(() => {
|
14
|
-
cy.log('Navigate to fill in the gaps over image - text question type');
|
15
|
-
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
|
16
|
-
cy.barsPreLoaderWait();
|
17
|
-
fillInTheGapsOverImageTextPage.steps.addQuestionInstructions();
|
18
|
-
fillInTheGapsOverImageTextPage.steps.uploadFile('highlightImage.jpg');
|
19
|
-
fillInTheGapsOverImageTextPage.steps.clickOnImagePopupOkButton();
|
20
|
-
});
|
21
|
-
|
22
|
-
it('When the user uploads an image in image section, then \'Edit aria-labels for response containers\' checkbox and label should be displayed in the image properties in disabled state', () => {
|
23
|
-
fillInTheGapsOverImageTextPage.steps.verifyDisabledStateOfEditAriaLabelsForResponseContainersCheckbox();
|
24
|
-
});
|
25
|
-
|
26
|
-
it('When the user adds a response container in the image, then \'Edit aria-labels for response containers\' checkbox should be enabled and by default it should be unchecked', () => {
|
27
|
-
fillInTheGapsOverImageTextPage.steps.addResponseContainer();
|
28
|
-
fillInTheGapsOverImageTextPage.steps.verifyDefaultEnabledStateOfEditAriaLabelsForResponseContainersCheckbox();
|
29
|
-
});
|
30
|
-
|
31
|
-
it('CSS of \'Edit aria-labels for response containers\' label', { tags: 'css' }, () => {
|
32
|
-
utilities.verifyCSS(fillInTheGapsOverImageTextPage.editAriaLabelForResponseContainersLabel(), {
|
33
|
-
'color': css.color.labelText,
|
34
|
-
'font-size': css.fontSize.normal,
|
35
|
-
'font-weight': css.fontWeight.regular
|
36
|
-
});
|
37
|
-
});
|
38
|
-
|
39
|
-
it('Accessibility of \'Edit aria-labels for response containers\' checkbox', { tags: 'a11y' }, () => {
|
40
|
-
cy.checkAccessibility(fillInTheGapsOverImageTextPage.editAriaLabelForResponseContainersCheckbox());
|
41
|
-
});
|
42
|
-
|
43
|
-
it('When the user checks the \'Edit aria-labels for response containers\' checkbox, then a label \'ARIA labels\' and an input field with numeration and placeholder text \'Enter label\' should be displayed', () => {
|
44
|
-
fillInTheGapsOverImageTextPage.steps.checkEditAriaLabelCheckbox();
|
45
|
-
utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.ariaLabelsLabel(), 'exist');
|
46
|
-
utilities.verifyInnerText(fillInTheGapsOverImageTextPage.ariaLabelsLabel(), 'ARIA labels');
|
47
|
-
fillInTheGapsOverImageTextPage.steps.verifyEditAriaLabelInputFieldContents(1);
|
48
|
-
});
|
49
|
-
|
50
|
-
//Failing due to https://redmine.zeuslearning.com/issues/547543
|
51
|
-
it('CSS of \'ARIA labels\' label and input fields', { tags: 'css' }, () => {
|
52
|
-
utilities.verifyCSS(fillInTheGapsOverImageTextPage.ariaLabelsLabel(), {
|
53
|
-
'color': css.color.labels,
|
54
|
-
'font-size': css.fontSize.normal,
|
55
|
-
'font-weight': css.fontWeight.semibold
|
56
|
-
});
|
57
|
-
utilities.verifyCSS(fillInTheGapsOverImageTextPage.ariaLabelsInputFieldNumeration(), {
|
58
|
-
'color': css.color.labels,
|
59
|
-
'font-size': css.fontSize.default,
|
60
|
-
'font-weight': css.fontWeight.semibold
|
61
|
-
});
|
62
|
-
utilities.verifyCSS(fillInTheGapsOverImageTextPage.ariaLabelsInputField(), {
|
63
|
-
'color': css.color.text,
|
64
|
-
'font-size': css.fontSize.default,
|
65
|
-
'font-weight': css.fontWeight.regular
|
66
|
-
});
|
67
|
-
});
|
68
|
-
|
69
|
-
it('Accessibility of \'ARIA labels\' input fields', { tags: 'a11y' }, () => {
|
70
|
-
cy.checkAccessibility(fillInTheGapsOverImageTextPage.ariaLabelsInputField());
|
71
|
-
});
|
72
|
-
|
73
|
-
it('When the user adds another response container to the uploaded image, a input field should be added in the \'Edit aria-labels for response container section\' with the numeration \'2\'', () => {
|
74
|
-
fillInTheGapsOverImageTextPage.steps.addResponseContainer();
|
75
|
-
fillInTheGapsOverImageTextPage.steps.verifyEditAriaLabelInputFieldContents(2);
|
76
|
-
});
|
77
|
-
|
78
|
-
it('When the user removes a response container from the uploaded image, the edit aria-label response field corresponding to the removed response container should not be displayed and the remaining edit aria-label input field should be displayed with updated numeration', () => {
|
79
|
-
fillInTheGapsOverImageTextPage.steps.clickOnResponseContainerCloseButton(0);
|
80
|
-
fillInTheGapsOverImageTextPage.steps.verifyEditAriaLabelInputFieldContents(1);
|
81
|
-
});
|
82
|
-
|
83
|
-
//Failing due to - https://redmine.zeuslearning.com/issues/547533
|
84
|
-
it('When the user has not given any input to the edit aria-label input field, the aria-label attribute for response container in image section and aria-label attribute for response field in set correct answer section should be \'Add answer for Response #\'', () => {
|
85
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseContainerAriaLabelAttribute(0, 'Add answer for Response 1');
|
86
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInSetCorrectAnswerSection(0, 'Add answer for Response 1');
|
87
|
-
});
|
88
|
-
|
89
|
-
it('When the user enters text in the edit aria-label input field, the added text should appear as the aria-label attribute of the response container in the uploaded image and response field in the set correct answer section', () => {
|
90
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInEditAriaLabelInputField(0, 'Custom aria-label');
|
91
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseContainerAriaLabelAttribute(0, 'Custom aria-label');
|
92
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInSetCorrectAnswerSection(0, 'Custom aria-label');
|
93
|
-
});
|
94
|
-
|
95
|
-
it('When the user clears the text in the edit aria-label input field, the aria-label attribute of the response container in the uploaded image and aria-label attribute of the response field in the set correct answer section should again appear as \'Add answer for Response #\'', () => {
|
96
|
-
fillInTheGapsOverImageTextPage.steps.clearEditAriaLabelInputField(0);
|
97
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseContainerAriaLabelAttribute(0, 'Add answer for Response 1');
|
98
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInSetCorrectAnswerSection(0, 'Add answer for Response 1');
|
99
|
-
});
|
100
|
-
});
|
101
|
-
|
102
|
-
describe('Edit aria-label in preview tab', () => {
|
103
|
-
abortEarlySetup();
|
104
|
-
before(() => {
|
105
|
-
cy.log('Navigate to fill in the gaps over image - text question type');
|
106
|
-
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
|
107
|
-
cy.barsPreLoaderWait();
|
108
|
-
fillInTheGapsOverImageTextPage.steps.addQuestionInstructions();
|
109
|
-
fillInTheGapsOverImageTextPage.steps.uploadFile('highlightImage.jpg');
|
110
|
-
fillInTheGapsOverImageTextPage.steps.clickOnImagePopupOkButton();
|
111
|
-
fillInTheGapsOverImageTextPage.steps.addResponseContainer();
|
112
|
-
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
113
|
-
});
|
114
|
-
|
115
|
-
it('When the user has not given any input to the edit aria-label input field, the aria-label attribute for response field in preview tab should be \'Add answer for Response #\'', () => {
|
116
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInPreviewTab(0, 'Add answer for Response 1');
|
117
|
-
});
|
118
|
-
|
119
|
-
it('When the user enters text in the edit aria-label input field, the added text should appear as the aria-label attribute of the response field in preview tab', () => {
|
120
|
-
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
121
|
-
fillInTheGapsOverImageTextPage.steps.checkEditAriaLabelCheckbox();
|
122
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInEditAriaLabelInputField(0, 'Custom aria-label');
|
123
|
-
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
124
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInPreviewTab(0, 'Custom aria-label');
|
125
|
-
});
|
126
|
-
|
127
|
-
it('When the user clears the text in the edit aria-label input field, the aria-label attribute of the response field in preview tab should again appear as \'Add answer for Response #\'', () => {
|
128
|
-
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
129
|
-
fillInTheGapsOverImageTextPage.steps.clearEditAriaLabelInputField(0);
|
130
|
-
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
131
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInPreviewTab(0, 'Add answer for Response 1');
|
132
|
-
});
|
133
|
-
});
|
134
|
-
});
|
package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditTabBasicSection.js
DELETED
@@ -1,133 +0,0 @@
|
|
1
|
-
import { fillInTheGapsOverImageTextPage } from "../../../pages";
|
2
|
-
import { uploadImageSectionComponent } from "../../../pages/components";
|
3
|
-
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
|
-
import utilities from "../../../support/helpers/utilities";
|
5
|
-
import constants from "../../../fixtures/constants";
|
6
|
-
const css = Cypress.env('css');
|
7
|
-
|
8
|
-
describe('Create Item page - Fill in the gaps over image - text: Question instructions, image section, upload image popup and source URL popup', () => {
|
9
|
-
before(() => {
|
10
|
-
cy.loginAs('admin');
|
11
|
-
});
|
12
|
-
|
13
|
-
describe('Question Instructions input field - Edit tab', () => {
|
14
|
-
abortEarlySetup();
|
15
|
-
before(() => {
|
16
|
-
cy.log('Navigating to fill in the gaps over image - text question type');
|
17
|
-
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
|
18
|
-
cy.barsPreLoaderWait();
|
19
|
-
});
|
20
|
-
|
21
|
-
fillInTheGapsOverImageTextPage.tests.verifyQuestionInstructionsInputFieldEditTab();
|
22
|
-
});
|
23
|
-
|
24
|
-
describe('Question Instructions input field - Preview tab', () => {
|
25
|
-
abortEarlySetup();
|
26
|
-
before(() => {
|
27
|
-
cy.log('Navigating to fill in the gaps over image - text question type');
|
28
|
-
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
|
29
|
-
cy.barsPreLoaderWait();
|
30
|
-
});
|
31
|
-
|
32
|
-
fillInTheGapsOverImageTextPage.tests.verifyQuestionInstructionsInputFieldPreviewTab();
|
33
|
-
});
|
34
|
-
|
35
|
-
describe('Image section contents', () => {
|
36
|
-
abortEarlySetup();
|
37
|
-
before(() => {
|
38
|
-
cy.log('Navigating to fill in the gaps over image - text question type');
|
39
|
-
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
|
40
|
-
cy.barsPreLoaderWait();
|
41
|
-
});
|
42
|
-
|
43
|
-
it('\'Image\' title should be displayed', () => {
|
44
|
-
utilities.verifyInnerText(fillInTheGapsOverImageTextPage.imageSectionImageLabel(), 'Image');
|
45
|
-
utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImageLabel(), 'visible');
|
46
|
-
});
|
47
|
-
|
48
|
-
uploadImageSectionComponent.tests.uploadImageEditTabContents();
|
49
|
-
});
|
50
|
-
|
51
|
-
describe('Upload image - device popup contents', () => {
|
52
|
-
abortEarlySetup();
|
53
|
-
before(() => {
|
54
|
-
cy.log('Navigating to fill in the gaps over image - text question type');
|
55
|
-
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
|
56
|
-
cy.barsPreLoaderWait();
|
57
|
-
});
|
58
|
-
|
59
|
-
uploadImageSectionComponent.tests.verifyUploadImagePopupImageTitle();
|
60
|
-
|
61
|
-
uploadImageSectionComponent.tests.uploadImagePopupContents(500, 500);
|
62
|
-
|
63
|
-
uploadImageSectionComponent.tests.verifyButtonReplaceInImagePopup();
|
64
|
-
});
|
65
|
-
|
66
|
-
describe('Upload image popup contents functionality', () => {
|
67
|
-
abortEarlySetup();
|
68
|
-
before(() => {
|
69
|
-
cy.log('Navigating to fill in the gaps over image - text question type');
|
70
|
-
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
|
71
|
-
cy.barsPreLoaderWait();
|
72
|
-
uploadImageSectionComponent.steps.uploadFile('highlightImage.jpg');
|
73
|
-
});
|
74
|
-
|
75
|
-
//Failing due to - https://redmine.zeuslearning.com/issues/547305
|
76
|
-
uploadImageSectionComponent.tests.uploadImageHeightWidthAspectRatioAndResetDimensionsFunctionality(500, 500);
|
77
|
-
|
78
|
-
uploadImageSectionComponent.tests.uploadImageReplaceButtonFunctionality();
|
79
|
-
|
80
|
-
it('When user selects the \'Cancel\' button the image should not be uploaded', () => {
|
81
|
-
uploadImageSectionComponent.steps.clickOnImagePopupCancelButton();
|
82
|
-
utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImage(), 'notExist');
|
83
|
-
});
|
84
|
-
|
85
|
-
it('When user uploads an image and selects \'Ok\' button the image should be displayed in the image section', () => {
|
86
|
-
uploadImageSectionComponent.steps.uploadFile('highlightImage.jpg');
|
87
|
-
uploadImageSectionComponent.steps.verifyUploadedImageInImagePopup();
|
88
|
-
uploadImageSectionComponent.steps.clickOnImagePopupOkButton();
|
89
|
-
utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImage(), 'visible');
|
90
|
-
});
|
91
|
-
});
|
92
|
-
|
93
|
-
describe('Upload image - source URL popup contents', () => {
|
94
|
-
abortEarlySetup();
|
95
|
-
before(() => {
|
96
|
-
cy.log('Navigating to fill in the gaps over image - text question type');
|
97
|
-
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
|
98
|
-
cy.barsPreLoaderWait();
|
99
|
-
});
|
100
|
-
|
101
|
-
uploadImageSectionComponent.tests.verifyUploadImageSourceURLTitle();
|
102
|
-
|
103
|
-
uploadImageSectionComponent.tests.verifyUploadImageSourceURLDefaultLabelAndInputField();
|
104
|
-
|
105
|
-
uploadImageSectionComponent.tests.uploadImagePopupContents(650, 684);
|
106
|
-
});
|
107
|
-
|
108
|
-
describe('Upload image \'Source URL\' popup contents functionality', () => {
|
109
|
-
abortEarlySetup();
|
110
|
-
before(() => {
|
111
|
-
cy.log('Navigating to fill in the gaps over image - text question type');
|
112
|
-
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
|
113
|
-
cy.barsPreLoaderWait();
|
114
|
-
uploadImageSectionComponent.steps.clickOnSourceURL();
|
115
|
-
uploadImageSectionComponent.steps.uploadImageUsingSourceURL(constants.flowerImage);
|
116
|
-
});
|
117
|
-
|
118
|
-
uploadImageSectionComponent.tests.uploadImageHeightWidthAspectRatioAndResetDimensionsFunctionality(650, 684);
|
119
|
-
|
120
|
-
it('When user selects the \'Cancel\' button the image should not be uploaded', () => {
|
121
|
-
uploadImageSectionComponent.steps.clickOnImagePopupCancelButton();
|
122
|
-
utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImage(), 'notExist');
|
123
|
-
});
|
124
|
-
|
125
|
-
it('When user uploads an image and selects \'Ok\' button the image should be displayed in the image section', () => {
|
126
|
-
uploadImageSectionComponent.steps.clickOnSourceURL();
|
127
|
-
uploadImageSectionComponent.steps.uploadImageUsingSourceURL(constants.flowerImage);
|
128
|
-
uploadImageSectionComponent.steps.verifyUploadedImageInImagePopup();
|
129
|
-
uploadImageSectionComponent.steps.clickOnImagePopupOkButton();
|
130
|
-
utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImage(), 'visible');
|
131
|
-
});
|
132
|
-
});
|
133
|
-
});
|