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 tab of Minimal recorder style with recording overlay', () => {
|
11
|
+
describe('Preview tab of Minimal recorder style with recording overlay', { tags: 'smoke' }, () => {
|
11
12
|
abortEarlySetup();
|
12
13
|
before(() => {
|
13
14
|
cy.log('Navigating to Audio Response question type');
|
@@ -306,95 +307,97 @@ describe('Preview tab of Audio Response', () => {
|
|
306
307
|
});
|
307
308
|
});
|
308
309
|
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
.
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
.
|
327
|
-
|
328
|
-
|
329
|
-
.
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
.
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
.
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
.
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
.
|
352
|
-
|
353
|
-
.
|
354
|
-
|
355
|
-
.
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
.
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
.
|
368
|
-
|
369
|
-
.
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
.
|
377
|
-
|
378
|
-
|
379
|
-
.
|
380
|
-
|
381
|
-
.
|
382
|
-
|
383
|
-
|
384
|
-
.
|
385
|
-
|
386
|
-
.
|
387
|
-
|
388
|
-
|
389
|
-
.
|
390
|
-
|
391
|
-
.
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
310
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
311
|
+
describe('Preview tab of Minimal recorder style without recording overlay', () => {
|
312
|
+
abortEarlySetup();
|
313
|
+
before(() => {
|
314
|
+
cy.log('Navigating to Audio Response question type');
|
315
|
+
audioResponsePage.steps.navigateToCreateQuestion('audio response');
|
316
|
+
cy.log('Setting Maximum recording length to 10 seconds');
|
317
|
+
audioResponsePage.steps.setMaximumRecorderLength(10);
|
318
|
+
cy.log('Switching to Minimal recorder style deselect recording overlay option, and switching to Preview tab');
|
319
|
+
audioResponsePage.steps.switchToMinimalRecorderStyle();
|
320
|
+
audioResponsePage.steps.expandCustomizeRecorderAndPlaybackControlsAccordion();
|
321
|
+
audioResponsePage.recordingOverlayOptionButton()
|
322
|
+
.click();
|
323
|
+
audioResponsePage.steps.switchToPreviewTab();
|
324
|
+
});
|
325
|
+
|
326
|
+
it('When the user clicks on the \'Record\' icon, the recording should start and \'Record\' button should get replaced with Stop button. \'Playback\' button should be disabled. Recording overlay should not be displayed', () => {
|
327
|
+
audioResponsePage.minimalPreviewRecordButton()
|
328
|
+
.click();
|
329
|
+
cy.log('Starting a recording and letting it record until Maximum recording length is reached');
|
330
|
+
audioResponsePage.minimalPreviewStopRecordingButton()
|
331
|
+
.verifyInnerText('Stop')
|
332
|
+
.should('be.visible')
|
333
|
+
.and('be.enabled')
|
334
|
+
.find('svg')
|
335
|
+
.should('be.visible');
|
336
|
+
audioResponsePage.minimalPreviewPlaybackButton()
|
337
|
+
.should('be.disabled')
|
338
|
+
.and('be.visible')
|
339
|
+
.verifyInnerText('Playback')
|
340
|
+
.find('svg')
|
341
|
+
.should('be.visible');
|
342
|
+
audioResponsePage.minimalPreviewRecordingOverlay()
|
343
|
+
.should('not.exist');
|
344
|
+
});
|
345
|
+
|
346
|
+
it('When recording is inprogress, user should not be able to pause the recording as the recording overlay is not displayed', () => {
|
347
|
+
audioResponsePage.minimalPreviewPauseRecordingButton()
|
348
|
+
.should('not.exist');
|
349
|
+
});
|
350
|
+
|
351
|
+
it('When recording is inprogress and the user clicks on \'Stop\' button, recording should stop and \'Your response has been recorded\' help text message should be displayed in preview. Stop button should get replaced with Retake button and Playback button should be enabled. Overlay should not be displayed in player', () => {
|
352
|
+
audioResponsePage.minimalPreviewStopRecordingButton()
|
353
|
+
.click();
|
354
|
+
audioResponsePage.minimalPreviewRecorderHelpText()
|
355
|
+
.should('have.text', 'Your response has been recorded');
|
356
|
+
audioResponsePage.minimalPreviewRetakeButton()
|
357
|
+
.should('be.enabled')
|
358
|
+
.and('be.visible')
|
359
|
+
.verifyInnerText('Retake')
|
360
|
+
.find('svg')
|
361
|
+
.should('be.visible');
|
362
|
+
audioResponsePage.minimalPreviewPlaybackButton()
|
363
|
+
.should('be.enabled')
|
364
|
+
.and('be.visible')
|
365
|
+
.verifyInnerText('Playback')
|
366
|
+
.find('svg')
|
367
|
+
.should('be.visible');
|
368
|
+
audioResponsePage.minimalPreviewRecordingOverlay()
|
369
|
+
.should('not.exist');
|
370
|
+
audioResponsePage.minimalPreviewPlaybackOverlay()
|
371
|
+
.should('not.exist');
|
372
|
+
});
|
373
|
+
|
374
|
+
it('When recording is inprogress, recording should stop at recording length and \'Stop\' button should get replaced with Retake button. Playback button should be displayed in enabled state. \Your response has been recorded\' help message should be displayed in preview. Overlay should not be displayed in player', () => {
|
375
|
+
cy.log('Pre-step : Switching to edit tab and back to preview tab to reset the recording, and then starting a new record response');
|
376
|
+
audioResponsePage.steps.resetQuestionPreview();
|
377
|
+
audioResponsePage.minimalPreviewRecordButton()
|
378
|
+
.click();
|
379
|
+
cy.log('Starting a recording and letting it record until Maximum recording length is reached');
|
380
|
+
audioResponsePage.minimalPreviewRecorderHelpText()
|
381
|
+
.should('have.text', 'Your response has been recorded');
|
382
|
+
audioResponsePage.minimalPreviewRetakeButton()
|
383
|
+
.should('be.visible')
|
384
|
+
.and('be.enabled');
|
385
|
+
audioResponsePage.minimalPreviewStopRecordingButton()
|
386
|
+
.should('not.exist');
|
387
|
+
audioResponsePage.minimalPreviewPlaybackButton()
|
388
|
+
.should('be.visible')
|
389
|
+
.and('be.enabled');
|
390
|
+
audioResponsePage.minimalPreviewPlaybackOverlay()
|
391
|
+
.should('not.exist');
|
392
|
+
audioResponsePage.minimalPreviewRecordingOverlay()
|
393
|
+
.should('not.exist');
|
394
|
+
cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
|
395
|
+
audioResponsePage.steps.switchToEditTab();
|
396
|
+
});
|
397
|
+
});
|
398
|
+
}
|
399
|
+
|
400
|
+
describe('Minimal recorder style- Playback player with playback overlay', { tags: 'smoke' }, () => {
|
398
401
|
abortEarlySetup();
|
399
402
|
before(() => {
|
400
403
|
cy.log('Navigating to Audio Response question type');
|
@@ -774,168 +777,174 @@ describe('Preview tab of Audio Response', () => {
|
|
774
777
|
});
|
775
778
|
});
|
776
779
|
|
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
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
.
|
867
|
-
|
868
|
-
.
|
869
|
-
|
870
|
-
.
|
871
|
-
|
872
|
-
.
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
.
|
880
|
-
|
881
|
-
.
|
882
|
-
|
883
|
-
.
|
884
|
-
|
885
|
-
.
|
886
|
-
|
887
|
-
.
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
.
|
911
|
-
|
912
|
-
.
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
.
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
.
|
928
|
-
|
929
|
-
.
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
.
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
780
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
781
|
+
describe('Minimal recorder style- Playback player without playback overlay', () => {
|
782
|
+
abortEarlySetup();
|
783
|
+
before(() => {
|
784
|
+
cy.log('Navigating to Audio Response question type');
|
785
|
+
audioResponsePage.steps.navigateToCreateQuestion('audio response');
|
786
|
+
cy.log('Setting Maximum recording length to 10 seconds and selecting minimal recorder style');
|
787
|
+
audioResponsePage.steps.setMaximumRecorderLength(10);
|
788
|
+
audioResponsePage.steps.switchToMinimalRecorderStyle();
|
789
|
+
audioResponsePage.steps.expandCustomizeRecorderAndPlaybackControlsAccordion();
|
790
|
+
audioResponsePage.playbackOverlayOptionButton()
|
791
|
+
.click();
|
792
|
+
cy.log('Switch to Preview tab');
|
793
|
+
audioResponsePage.steps.switchToPreviewTab();
|
794
|
+
audioResponsePage.minimalPreviewRecordButton()
|
795
|
+
.click();
|
796
|
+
cy.log('Starting a recording and letting it record until Maximum recording length is reached');
|
797
|
+
audioResponsePage.minimalPreviewRecorderHelpText()
|
798
|
+
.should('have.text', 'Your response has been recorded');
|
799
|
+
});
|
800
|
+
|
801
|
+
|
802
|
+
it('When the user clicks on \'Playback\' button, playback of saved recording should start and Playback button should get replaced with stop button. Playback overlay should not be displayed', () => {
|
803
|
+
audioResponsePage.minimalPreviewPlaybackButton()
|
804
|
+
.click()
|
805
|
+
.should('not.exist');
|
806
|
+
audioResponsePage.minimalPreviewStopPlaybackButton()
|
807
|
+
.should('be.visible')
|
808
|
+
.and('be.enabled')
|
809
|
+
.verifyInnerText('Stop')
|
810
|
+
.find('svg')
|
811
|
+
.should('be.visible');
|
812
|
+
audioResponsePage.minimalPreviewPlaybackOverlay()
|
813
|
+
.should('not.exist');
|
814
|
+
});
|
815
|
+
|
816
|
+
it('When user clicks on \'Stop\' button, playback should stop and Stop button should get replaced with Playback button.', () => {
|
817
|
+
audioResponsePage.minimalPreviewStopPlaybackButton()
|
818
|
+
.click()
|
819
|
+
.should('not.exist');
|
820
|
+
audioResponsePage.minimalPreviewPlaybackButton()
|
821
|
+
.should('be.visible')
|
822
|
+
.and('be.enabled');
|
823
|
+
audioResponsePage.minimalPreviewPlaybackOverlay()
|
824
|
+
.should('not.exist');
|
825
|
+
cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
|
826
|
+
audioResponsePage.steps.switchToEditTab();
|
827
|
+
});
|
828
|
+
});
|
829
|
+
}
|
830
|
+
|
831
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
832
|
+
describe('Preview tab of Minimal recorder style- Retake my audio response with recording overlay', () => {
|
833
|
+
abortEarlySetup();
|
834
|
+
before(() => {
|
835
|
+
cy.log('Navigating to Audio Response question type');
|
836
|
+
audioResponsePage.steps.navigateToCreateQuestion('audio response');
|
837
|
+
cy.log('Setting Maximum recording length to 10 seconds and selecting minimal recorder style');
|
838
|
+
audioResponsePage.steps.setMaximumRecorderLength(10);
|
839
|
+
audioResponsePage.steps.switchToMinimalRecorderStyle();
|
840
|
+
cy.log('Switch to Preview tab');
|
841
|
+
audioResponsePage.steps.switchToPreviewTab();
|
842
|
+
audioResponsePage.minimalPreviewRecordButton()
|
843
|
+
.click();
|
844
|
+
cy.log('Starting a recording and letting it record until Maximum recording length is reached');
|
845
|
+
audioResponsePage.minimalPreviewRecorderHelpText()
|
846
|
+
.should('have.text', 'Your response has been recorded');
|
847
|
+
});
|
848
|
+
|
849
|
+
it('When the user clicks on \'Retake\' button, \'Retake\' popup should be displayed along with \'Are you sure you want to overwrite the existing audio recording?\' message', () => {
|
850
|
+
audioResponsePage.minimalPreviewRetakeButton()
|
851
|
+
.click();
|
852
|
+
audioResponsePage.dialogBox()
|
853
|
+
.should('be.visible');
|
854
|
+
audioResponsePage.dialogBoxTitle()
|
855
|
+
.verifyInnerText('Retake');
|
856
|
+
audioResponsePage.retakePopupContent()
|
857
|
+
.verifyInnerText('Are you sure you want to overwrite the existing audio recording?');
|
858
|
+
audioResponsePage.confirmRetakeButton()
|
859
|
+
.should('be.visible')
|
860
|
+
.and('be.enabled')
|
861
|
+
.verifyInnerText('Confirm');
|
862
|
+
audioResponsePage.cancelRetakeButton()
|
863
|
+
.should('be.visible')
|
864
|
+
.and('be.enabled')
|
865
|
+
.verifyInnerText('Cancel');
|
866
|
+
});
|
867
|
+
|
868
|
+
it('When the user clicks on Cancel button, popup should close and previous state persist', () => {
|
869
|
+
audioResponsePage.cancelRetakeButton()
|
870
|
+
.click();
|
871
|
+
audioResponsePage.dialogBox()
|
872
|
+
.should('not.exist');
|
873
|
+
audioResponsePage.minimalPreviewRetakeButton()
|
874
|
+
.should('be.visible');
|
875
|
+
audioResponsePage.minimalPreviewPlaybackButton()
|
876
|
+
.should('be.visible');
|
877
|
+
audioResponsePage.minimalPreviewRecorderHelpText()
|
878
|
+
.should('have.text', 'Your response has been recorded');
|
879
|
+
});
|
880
|
+
|
881
|
+
it('When the user clicks on Confirm button of the retake popup, the previous recording should get deleted and a new recording should begin. When recording is inprogress, recording overlay should be displayed', () => {
|
882
|
+
audioResponsePage.minimalPreviewRetakeButton()
|
883
|
+
.click();
|
884
|
+
audioResponsePage.confirmRetakeButton()
|
885
|
+
.click();
|
886
|
+
audioResponsePage.dialogBox()
|
887
|
+
.should('not.exist');
|
888
|
+
audioResponsePage.minimalPreviewRecordingOverlay()
|
889
|
+
.should('be.visible');
|
890
|
+
audioResponsePage.minimalPreviewRecorderFlyoutHelpText()
|
891
|
+
.verifyInnerText('Recording...');
|
892
|
+
audioResponsePage.minimalPreviewStopRecordingButton()
|
893
|
+
.should('be.visible')
|
894
|
+
.and('be.enabled');
|
895
|
+
audioResponsePage.minimalPreviewPlaybackButton()
|
896
|
+
.should('be.visible')
|
897
|
+
.and('be.disabled');
|
898
|
+
cy.log('Letting it record until Maximum recording length of 10 seconds is reached');
|
899
|
+
audioResponsePage.minimalPreviewRecorderHelpText()
|
900
|
+
.should('have.text', 'Your response has been recorded');
|
901
|
+
cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
|
902
|
+
audioResponsePage.steps.switchToEditTab();
|
903
|
+
});
|
904
|
+
});
|
905
|
+
}
|
906
|
+
|
907
|
+
if (!grepTags || !grepTags.includes('smoke')) {
|
908
|
+
describe('Preview tab of Minimal recorder style- Retake my audio response without recording overlay', () => {
|
909
|
+
abortEarlySetup();
|
910
|
+
before(() => {
|
911
|
+
cy.log('Navigating to Audio Response question type');
|
912
|
+
audioResponsePage.steps.navigateToCreateQuestion('audio response');
|
913
|
+
cy.log('Setting Maximum recording length to 10 seconds and selecting minimal recorder style');
|
914
|
+
audioResponsePage.steps.setMaximumRecorderLength(10);
|
915
|
+
audioResponsePage.steps.switchToMinimalRecorderStyle();
|
916
|
+
cy.log('Expand \'Customize recorder and playback controls (for student player)\' accordion and deselect recording overlay, then switching to preview tab');
|
917
|
+
audioResponsePage.customizeRecorderAndPlaybackControlsAccordionLabel()
|
918
|
+
.click();
|
919
|
+
audioResponsePage.recordingOverlayOptionButton()
|
920
|
+
.click();
|
921
|
+
audioResponsePage.steps.switchToPreviewTab();
|
922
|
+
audioResponsePage.minimalPreviewRecordButton()
|
923
|
+
.click();
|
924
|
+
cy.log('Starting a recording and letting it record until Maximum recording length of 10 seconds is reached');
|
925
|
+
audioResponsePage.minimalPreviewRecorderHelpText()
|
926
|
+
.should('have.text', 'Your response has been recorded');
|
927
|
+
});
|
928
|
+
|
929
|
+
it('When the user clicks on Confirm button of the retake popup, the previous recording should get deleted and a new recording should begin. When recording is inprogress, recording overlay should not be displayed', () => {
|
930
|
+
audioResponsePage.minimalPreviewRetakeButton()
|
931
|
+
.click();
|
932
|
+
audioResponsePage.confirmRetakeButton()
|
933
|
+
.click();
|
934
|
+
audioResponsePage.dialogBox()
|
935
|
+
.should('not.exist');
|
936
|
+
audioResponsePage.minimalPreviewStopRecordingButton()
|
937
|
+
.should('be.visible')
|
938
|
+
.and('be.enabled');
|
939
|
+
audioResponsePage.minimalPreviewPlaybackButton()
|
940
|
+
.should('be.visible')
|
941
|
+
.and('be.disabled');
|
942
|
+
audioResponsePage.minimalPreviewRecordingOverlay()
|
943
|
+
.should('not.exist');
|
944
|
+
cy.log('Letting it record until Maximum recording length of 10 seconds is reached');
|
945
|
+
audioResponsePage.minimalPreviewRecorderHelpText()
|
946
|
+
.should('have.text', 'Your response has been recorded');
|
947
|
+
});
|
948
|
+
});
|
949
|
+
}
|
941
950
|
});
|