itemengine-cypress-automation 1.0.189-e2e-execution-crash-83cdbd4.0 → 1.0.190-7thMayFixes-fcaf7b8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioPlayerNew/allSupportedFileTypes.js +81 -0
- package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +620 -0
- package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +402 -0
- package/cypress/e2e/ILC/AudioPlayerNew/customizePlayerLayoutSettings.js +596 -0
- package/cypress/e2e/ILC/AudioPlayerNew/previewContents.smoke.js +162 -0
- package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +792 -0
- package/cypress/e2e/ILC/AudioPlayerNew/studentViewSettings.js +253 -0
- package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +313 -0
- package/cypress/e2e/ILC/AudioResponseNew/additionalSettingsBasic.js +1 -22
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +2 -2
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/editAndPreviewTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +1 -0
- package/cypress/e2e/ILC/AudioResponseNew/headerSection.js +4 -20
- package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +2 -11
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +366 -0
- package/cypress/e2e/ILC/ChartsBar/checkAnswerFunctionalityForAllViews.smoke.js +181 -0
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +283 -0
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +625 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettingsBasic.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +0 -3
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +3 -5
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +0 -4
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabScoring.js +0 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +6 -8
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePageHeaderSection.js +4 -24
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +0 -9
- package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +418 -29
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +0 -2
- package/cypress/e2e/ILC/EssayResponse/headerSection.js +3 -18
- package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +0 -1
- package/cypress/e2e/ILC/EssayResponseMath/mathCharacters.js +0 -1
- package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +29 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +0 -5
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +5 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +3 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +1 -3
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +2 -2
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/Graphing/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -6
- package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
- package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +11 -3
- package/cypress/e2e/ILC/GridFill/headerSection.js +4 -5
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingScoringCellShadeCount.js +2 -2
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +143 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +132 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +143 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +144 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +143 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +131 -0
- package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +87 -0
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +446 -0
- package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +1 -1
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +276 -0
- package/cypress/e2e/ILC/ImageHighlight/checkAnswerFunctionalityForAllViews.smoke.js +141 -0
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +150 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +194 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +195 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +274 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingPenaltyScoring.js +48 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +144 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +252 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsBasic.js +102 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +256 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +253 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +308 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +225 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +151 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +196 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +227 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/additionalSettings.js +91 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +230 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/checkAnswerFunctionalityForAllViews.smoke.js +124 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +221 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/editTabScoring.js +203 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +71 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +197 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +201 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +115 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +183 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +216 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +214 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +273 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingPenaltyScoring.js +52 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +128 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +279 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +109 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +278 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +278 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +335 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +250 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +161 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +216 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +252 -0
- package/cypress/e2e/ILC/ListOrderingNew/additionalSettings.js +118 -0
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +243 -0
- package/cypress/e2e/ILC/ListOrderingNew/checkAnswerFunctionalityForAllViews.smoke.js +128 -0
- package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +155 -0
- package/cypress/e2e/ILC/ListOrderingNew/editTabScoring.js +195 -0
- package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +78 -0
- package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +69 -0
- package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
- package/cypress/e2e/ILC/ListOrderingNew/previewContentsForAllViews.smoke.js +176 -0
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +112 -0
- package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +244 -0
- package/cypress/e2e/ILC/Matching/additionalSettings.js +1 -0
- package/cypress/e2e/ILC/Matching/headerSection.js +2 -2
- package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +1 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLine/LayoutSection.js +209 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +23 -21
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +5 -3
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +8 -6
- package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +60 -3
- package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
- package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +2 -9
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/headerSection.js +4 -4
- package/cypress/e2e/ILC/NumberLine/lineSettingsSection.js +33 -0
- package/cypress/e2e/ILC/NumberLine/numberLineSection.js +50 -0
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/specifyCorrectAnswerSection.js +1 -1
- package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +3 -3
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +2 -1
- package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +1 -1
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +697 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +173 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/layoutSection.js +211 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +75 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +204 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +231 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +231 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +231 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/manualAndNonScoredScoring.js +169 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +274 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsBasic.js +433 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +274 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +274 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +249 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsBasic.js +135 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +210 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +248 -0
- package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +115 -0
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +289 -0
- package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +154 -0
- package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +326 -0
- package/cypress/e2e/ILC/NumberLineLabel/editTabScoring.js +234 -0
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +164 -0
- package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +80 -0
- package/cypress/e2e/ILC/NumberLineLabel/layoutSection.js +204 -0
- package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +79 -0
- package/cypress/e2e/ILC/NumberLineLabel/minimumScoringPenaltyPointsAndRoundingDropdown.js +85 -0
- package/cypress/e2e/ILC/NumberLineLabel/numberLineSection.js +51 -0
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +120 -0
- package/cypress/e2e/ILC/NumberLineLabel/specifyCorrectAnswerSection.js +74 -0
- package/cypress/e2e/ILC/NumberLineLabel/studentViewSettings.js +183 -0
- package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +76 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +292 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/checkAnswerFunctionalityForAllViews.smoke.js +155 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +166 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/layoutSection.js +360 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +80 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +111 -0
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +49 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +1 -7
- package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +1 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +5 -5
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +0 -1
- package/cypress/e2e/ILC/TextSelection/additionalSettings.js +125 -0
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -1
- package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/TextSelection/editTabScoringSection.js +5 -4
- package/cypress/e2e/ILC/TextSelection/headerSection.js +73 -0
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +6 -7
- package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +179 -0
- package/cypress/e2e/ILC/TextSelection/specifyCorrectAnswerSection.js +89 -0
- package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +436 -0
- package/cypress/e2e/ILC/TextSelection/styleAndLayoutCustomizationAccordion.js +277 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInPreviewTab.js +222 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +260 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +380 -0
- package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +5 -5
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/additionalSettingsBasic.js +77 -0
- package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControls.js +313 -0
- package/cypress/e2e/ILC/VideoResponseNew/editAndPreviewTabScoringSection.js +99 -0
- package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +171 -0
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +179 -0
- package/cypress/e2e/ILC/VideoResponseNew/headerSection.js +79 -0
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +201 -0
- package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +567 -0
- package/cypress/e2e/ILC/VideoResponseNew/studentViewSettings.js +192 -0
- package/cypress/fixtures/constants.js +1 -1
- package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +20 -20
- package/cypress/fixtures/theme/ilc.json +22 -18
- package/cypress/pages/audioPlayerPage.js +669 -445
- package/cypress/pages/audioResponsePage.js +10 -80
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/chartsBarPage.js +517 -0
- package/cypress/pages/chartsDotPlotPage.js +8 -0
- package/cypress/pages/chartsLinePage.js +42 -0
- package/cypress/pages/components/allowTeachersToDownloadStudentResponseComponent.js +58 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +19 -26
- package/cypress/pages/components/autoScoredStudentViewSettings.js +7 -7
- package/cypress/pages/components/barAndLineChartComponent.js +123 -0
- package/cypress/pages/components/chartsCommonComponent.js +138 -0
- package/cypress/pages/components/commonComponents.js +1 -0
- package/cypress/pages/components/draggableOptionContainer.js +2 -1
- package/cypress/pages/components/equationEditorFlyout.js +3 -2
- package/cypress/pages/components/essayResponseCommonComponents.js +8 -2
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -0
- package/cypress/pages/components/imageCanvasComponent.js +5 -4
- package/cypress/pages/components/index.js +8 -0
- package/cypress/pages/components/layoutSectionComponent.js +1156 -0
- package/cypress/pages/components/limitNumberOfRetakeComponent.js +90 -0
- package/cypress/pages/components/numberLineCommonComponent.js +685 -0
- package/cypress/pages/components/optionsWrapperComponent.js +13 -2
- package/cypress/pages/components/playbackControlsBaseComponent.js +20 -13
- package/cypress/pages/components/questionInputFieldComponent.js +2 -1
- package/cypress/pages/components/questionInstructionsComponent.js +3 -19
- package/cypress/pages/components/resetPopupComponent.js +7 -3
- package/cypress/pages/components/scoringSectionBaseEditTab.js +6 -17
- package/cypress/pages/components/singleMultipleSelectionModeComponent.js +16 -0
- package/cypress/pages/components/styleAndLayoutCustomizationAccordionComponent.js +46 -0
- package/cypress/pages/components/toolSettingsComponent.js +6 -0
- package/cypress/pages/contentBlocksPage.js +19 -3
- package/cypress/pages/createItemPage.js +75 -8
- package/cypress/pages/dialogBoxBase.js +2 -2
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +22 -24
- package/cypress/pages/drawingResponsePage.js +25 -4
- package/cypress/pages/feedbackScalePage.js +3 -0
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +14 -0
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
- package/cypress/pages/graphingPage.js +19 -1
- package/cypress/pages/gridFillPage.js +47 -59
- package/cypress/pages/imageHighlightPage.js +364 -0
- package/cypress/pages/index.js +6 -1
- package/cypress/pages/itemPreviewSettingsPage.js +4 -0
- package/cypress/pages/listOrderingPage.js +561 -555
- package/cypress/pages/matchingPage.js +3 -2
- package/cypress/pages/multipleSelectionPage.js +23 -1
- package/cypress/pages/numberLineLabelPage.js +1093 -0
- package/cypress/pages/numberLinePage.js +696 -78
- package/cypress/pages/protractorPage.js +1 -1
- package/cypress/pages/readingRulerPage.js +1 -1
- package/cypress/pages/rulerPage.js +9 -5
- package/cypress/pages/textEntryMathPage.js +2 -2
- package/cypress/pages/textSelectionPage.js +461 -23
- package/cypress/pages/videoResponsePage.js +396 -83
- package/package.json +1 -1
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +0 -432
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +0 -134
@@ -1,18 +1,18 @@
|
|
1
1
|
import utilities from "../support/helpers/utilities"
|
2
|
-
import { additionalSettingsPanel, commonComponents, createQuestionBasePage,
|
3
|
-
import {
|
2
|
+
import { additionalSettingsPanel, commonComponents, createQuestionBasePage, questionInstructionsComponent, scoringSectionBase, playbackControlsBaseComponent, scoringSectionBaseEditTab, autoScoredScoringPreviewTab, limitNumberOfRetakeComponent, studentViewSettingsLabelComponent, allowTeachersToDownloadStudentResponseComponent, additionalSettingsAccessibilitySectionComponent } from "./components"
|
3
|
+
import { selectQuestionResourceToolPage } from "./selectQuestionResourceToolPage";
|
4
4
|
const css = Cypress.env('css');
|
5
5
|
|
6
6
|
const selectors = {
|
7
7
|
...commonComponents,
|
8
|
-
...scoringSectionBase,
|
9
8
|
...additionalSettingsPanel,
|
10
9
|
...questionInstructionsComponent,
|
11
|
-
...scoringSectionBase,
|
12
|
-
...dialogBoxBase,
|
13
|
-
...previewScoringAndShowCorrectAnswerComponent,
|
14
|
-
...maximumRecorderLengthComponent,
|
15
10
|
...playbackControlsBaseComponent,
|
11
|
+
...scoringSectionBaseEditTab,
|
12
|
+
...limitNumberOfRetakeComponent,
|
13
|
+
...allowTeachersToDownloadStudentResponseComponent,
|
14
|
+
...selectQuestionResourceToolPage,
|
15
|
+
//Preview tab
|
16
16
|
videoRecorderWrapper: () => cy.get('.video-recorder-wrapper'),
|
17
17
|
clickTapAnywhereArea: () => cy.get('.camera-permission'),
|
18
18
|
recordButton: () => cy.get('.rec-button'),
|
@@ -20,35 +20,59 @@ const selectors = {
|
|
20
20
|
recordingStatusText: () => cy.get('.recording-status-text'),
|
21
21
|
startRecordingCountDown: () => cy.get('.count-down-number'),
|
22
22
|
recordingTimer: () => cy.get('[class*="VideoRecorderstyle__RecordTimer"]'),
|
23
|
-
recordingStatusIcon: () => cy.get('.recording-wrapper
|
23
|
+
recordingStatusIcon: () => cy.get('.recording-wrapper'),
|
24
24
|
pauseButton: () => cy.get('button[aria-label="Pause recording"]'),
|
25
25
|
stopButton: () => cy.get('button[aria-label="Stop recording"]'),
|
26
26
|
resumeButton: () => cy.get('button[aria-label="Resume recording"]'),
|
27
|
-
|
27
|
+
retakeRecordingButton: () => cy.get('.recording-again-button'),
|
28
28
|
playerTimer: () => cy.get('[class*="VideoRecorderstyle__PlayerTimerWrapper"]'),
|
29
29
|
playbackSpeedButton: () => cy.get('button[aria-label="Playback speed"]'),
|
30
30
|
fullScreenButton: () => cy.get('button[aria-label="Full Screen"]'),
|
31
31
|
savedResponseText: () => cy.get('[class*="VideoRecorderstyle__ResponseTextWrapper"]'),
|
32
|
-
maxRecorderLengthInputField: () => cy.get('input[aria-label="
|
32
|
+
maxRecorderLengthInputField: () => cy.get('input[aria-label="max recording duration"]'),
|
33
33
|
confirmRetakeButton: () => cy.get('.delete-action-btn-wrapper button').eq(1),
|
34
34
|
cancelRetakeButton: () => cy.get('.delete-action-btn-wrapper button').eq(0),
|
35
35
|
retakePopupContent: () => cy.get('.retake-popup-content'),
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
36
|
+
toggleButtonSelectedIcon: () => cy.get('.ngie-toggle-button-tick-icon'),
|
37
|
+
standardPreviewPlaybackWrapper: () => cy.get('.video-player-wrapper'),
|
38
|
+
downloadVideoButton: () => cy.get('.download-btn'),
|
39
|
+
maxRecordingDurationInputField: () => cy.get('input[aria-label="Maximum recording duration"]'),
|
40
|
+
maxRecordingDurationLabel: () => cy.get('.max-recording-length-input-label'),
|
41
|
+
maxRecordingDurationSecsToggleButton: () => cy.get('.max-recording-length-input [data-ngie-testid="secs-toggle-button"]'),
|
42
|
+
maxRecordingDurationMinsToggleButton: () => cy.get('.max-recording-length-input [data-ngie-testid="mins-toggle-button"]'),
|
43
|
+
playbackSpeedOptionsList: () => cy.get('[class*="PlaybackSpeedOptions"]'),
|
44
|
+
|
45
|
+
//customize playback controls
|
46
|
+
customizePlaybackControlsAccordion: () => cy.get('.customize-accordion .ngie-accordion-summary'),
|
47
|
+
controlsForPlaybackLabel: () => cy.get('[class*="CustomizePlaybackControlsstyles__ControlsPlayBack"]'),
|
48
|
+
controlsForPlaybackButtonLabel: () => cy.get('[class*="CustomizePlaybackControlsstyles__Label"]'),
|
49
|
+
playButtonControlsForPlayback: () => cy.get('[data-ngie-testid="play-toggle-button"]'),
|
50
|
+
pauseButtonControlsForPlayback: () => cy.get('[data-ngie-testid="pause-toggle-button"]'),
|
51
|
+
seekButtonControlsForPlayback: () => cy.get('[data-ngie-testid="seek-toggle-button"]'),
|
52
|
+
recordAgainButtonControlsForPlayback: () => cy.get('[data-ngie-testid="record-again-toggle-button"]'),
|
53
|
+
volumeButtonControlsForPlayback: () => cy.get('[data-ngie-testid="volume-toggle-button"]'),
|
54
|
+
playbackSpeedButtonControlsForPlayback: () => cy.get('[data-ngie-testid="playback-speed-toggle-button"]'),
|
55
|
+
fullScreenButtonControlsForPlayback: () => cy.get('[data-ngie-testid="fullscreen-toggle-button"]'),
|
56
|
+
forwardBackwardButtonControlsForPlayback: () => cy.get('[data-ngie-testid="forward/-backward-toggle-button"]'),
|
57
|
+
|
58
|
+
//video settings
|
59
|
+
videoSettingsLabel: () => cy.get('.student-view-settings-container .response-playback-title'),
|
60
|
+
videoSettingsButtonLabel: () => cy.get('.audio-indicator [class*="CustomizePlaybackControlsstyles__Label"]'),
|
61
|
+
timerButtonVideoSettings: () => cy.get('[data-ngie-testid="timer-toggle-button"]'),
|
62
|
+
progressIndicatorButtonVideoSettings: () => cy.get('[data-ngie-testid="progress-indicator-toggle-button"]'),
|
43
63
|
}
|
44
64
|
|
45
65
|
const steps = {
|
46
66
|
...createQuestionBasePage.steps,
|
47
67
|
...scoringSectionBase.steps,
|
48
68
|
...questionInstructionsComponent.steps,
|
49
|
-
...maximumRecorderLengthComponent.steps,
|
50
69
|
...additionalSettingsPanel.steps,
|
51
70
|
...playbackControlsBaseComponent.steps,
|
71
|
+
...scoringSectionBaseEditTab.steps,
|
72
|
+
...limitNumberOfRetakeComponent.steps,
|
73
|
+
...allowTeachersToDownloadStudentResponseComponent.steps,
|
74
|
+
...selectQuestionResourceToolPage.steps,
|
75
|
+
...commonComponents.steps,
|
52
76
|
/**
|
53
77
|
* @param {string} recordingStatus - The expected recording status, such as 'Allow access to your camera and microphone.',
|
54
78
|
* 'Preparing to record', 'Recording...', 'Recording paused', or 'Saving'.
|
@@ -62,14 +86,14 @@ const steps = {
|
|
62
86
|
|
63
87
|
switch (recordingStatus) {
|
64
88
|
case 'Allow access to your camera and microphone.':
|
65
|
-
expectedIconId = '
|
89
|
+
expectedIconId = '#Icon_awesome-microphone';
|
66
90
|
break;
|
67
91
|
case 'Preparing to record':
|
68
92
|
case 'Recording...':
|
69
93
|
expectedIconId = 'g#Recording\\.\\.\\.';
|
70
94
|
break;
|
71
95
|
case 'Recording paused':
|
72
|
-
expectedIconId = '
|
96
|
+
expectedIconId = '.rec-pause-btn';
|
73
97
|
break;
|
74
98
|
case 'Saving':
|
75
99
|
expectedIconId = 'g#Saving';
|
@@ -101,7 +125,7 @@ const steps = {
|
|
101
125
|
waitForRecordingToStart: () => {
|
102
126
|
utilities.verifyElementVisibilityState(videoResponsePage.recordingTimer(), 'visible');
|
103
127
|
videoResponsePage.recordingTimer()
|
104
|
-
.should('contain', '
|
128
|
+
.should('contain', '0:01 /')
|
105
129
|
},
|
106
130
|
|
107
131
|
pauseRecording: () => {
|
@@ -119,8 +143,8 @@ const steps = {
|
|
119
143
|
.click();
|
120
144
|
},
|
121
145
|
|
122
|
-
|
123
|
-
videoResponsePage.
|
146
|
+
retakeRecording: () => {
|
147
|
+
videoResponsePage.retakeRecordingButton()
|
124
148
|
.click();
|
125
149
|
},
|
126
150
|
|
@@ -147,20 +171,22 @@ const steps = {
|
|
147
171
|
},
|
148
172
|
|
149
173
|
/**
|
150
|
-
*
|
151
|
-
* @
|
174
|
+
* Verifies the displayed recording time against the expected elapsed time and total time.
|
175
|
+
* @param {string} elapsedTime The elapsed time of the recording.
|
176
|
+
* @param {string} totalTime The total time of the recording.
|
152
177
|
*/
|
153
|
-
verifyRecordingTime: (
|
154
|
-
utilities.verifyInnerText(videoResponsePage.recordingTimer(),
|
178
|
+
verifyRecordingTime: (elapsedTime, totalTime) => {
|
179
|
+
utilities.verifyInnerText(videoResponsePage.recordingTimer(), `${elapsedTime} / ${totalTime}`);
|
155
180
|
},
|
156
181
|
|
157
182
|
/**
|
158
|
-
* @param {string}
|
183
|
+
* @param {string} elapsedTime playing time of the recorded video
|
184
|
+
* @param {string} totalTime The total time of the recorded video
|
159
185
|
* @description this function is used to verify the playing time of a recorded video
|
160
186
|
*/
|
161
|
-
verifyVideoPlaybackTimer: (
|
187
|
+
verifyVideoPlaybackTimer: (elapsedTime, totalTime) => {
|
162
188
|
videoResponsePage.playerTimer()
|
163
|
-
.should('have.text',
|
189
|
+
.should('have.text', `${elapsedTime}/${totalTime}`);
|
164
190
|
},
|
165
191
|
|
166
192
|
/**
|
@@ -168,7 +194,7 @@ const steps = {
|
|
168
194
|
*/
|
169
195
|
waitForPlaybackToBegin: () => {
|
170
196
|
videoResponsePage.playerTimer()
|
171
|
-
.should('contain', '
|
197
|
+
.should('contain', '0:01/');
|
172
198
|
},
|
173
199
|
|
174
200
|
/**
|
@@ -255,7 +281,7 @@ const steps = {
|
|
255
281
|
let currentElapsedTimerMinutes = Number(elapsedTime.split(':')[0])
|
256
282
|
let currentElapsedTimerSeconds = Number(elapsedTime.split(':')[1])
|
257
283
|
let currentTotalElapsedTimerSeconds = currentElapsedTimerMinutes * 60 + currentElapsedTimerSeconds
|
258
|
-
currentTotalElapsedTimerSeconds.
|
284
|
+
expect(currentTotalElapsedTimerSeconds).to.eq(time)
|
259
285
|
});
|
260
286
|
},
|
261
287
|
|
@@ -269,8 +295,8 @@ const steps = {
|
|
269
295
|
cy.wait(time);
|
270
296
|
},
|
271
297
|
|
272
|
-
|
273
|
-
videoResponsePage.
|
298
|
+
retakeRecording: () => {
|
299
|
+
videoResponsePage.retakeRecordingButton()
|
274
300
|
.click();
|
275
301
|
},
|
276
302
|
|
@@ -284,79 +310,366 @@ const steps = {
|
|
284
310
|
.click();
|
285
311
|
},
|
286
312
|
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
313
|
+
/**
|
314
|
+
* @description Sets the maximum recording duration in the input field.
|
315
|
+
* @param {string} recordingLength - The maximum recording duration to set in seconds.
|
316
|
+
* @example - setMaximumRecordingDuration(600); // Sets the maximum recording duration to '10:00'
|
317
|
+
*/
|
318
|
+
setMaximumRecordingDuration: (recordingLength) => {
|
319
|
+
videoResponsePage.maxRecordingDurationInputField()
|
320
|
+
.clear()
|
321
|
+
.type(recordingLength)
|
322
|
+
.blur();
|
293
323
|
},
|
294
324
|
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
325
|
+
/**
|
326
|
+
* @description Verifies that the maximum recording length input field has the expected value.
|
327
|
+
* @param {string} value - The expected value to be compared with the input field's value attribute.
|
328
|
+
*/
|
329
|
+
verifyMaximumRecordingDuration: (value) => {
|
330
|
+
videoResponsePage.maxRecordingDurationInputField()
|
331
|
+
.should('have.attr', 'value', value);
|
301
332
|
},
|
302
333
|
|
303
|
-
|
304
|
-
videoResponsePage.
|
305
|
-
.
|
306
|
-
.
|
307
|
-
utilities.verifyElementVisibilityState(videoResponsePage.advancedPlaybackOptionButtonSelectedIcon(), 'visible');
|
308
|
-
});
|
334
|
+
clearMaximumRecordingDurationInputField: () => {
|
335
|
+
videoResponsePage.maxRecordingDurationInputField()
|
336
|
+
.clear()
|
337
|
+
.blur();
|
309
338
|
},
|
310
339
|
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
340
|
+
/**
|
341
|
+
* Selects the duration for max recording duration input field
|
342
|
+
* @param {('Secs' | 'Mins')} duration - The duration for max recording duration input field.
|
343
|
+
* @throws {Error} Will throw an error if an invalid duration is provided.
|
344
|
+
*/
|
345
|
+
toggleMaximumRecordingDurationInputField: (duration) => {
|
346
|
+
switch (duration) {
|
347
|
+
case 'Secs':
|
348
|
+
videoResponsePage.maxRecordingDurationSecsToggleButton()
|
349
|
+
.click()
|
350
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
351
|
+
break;
|
352
|
+
case 'Mins':
|
353
|
+
videoResponsePage.maxRecordingDurationMinsToggleButton()
|
354
|
+
.click()
|
355
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
356
|
+
break;
|
357
|
+
default:
|
358
|
+
throw new Error('Invalid duration');
|
359
|
+
}
|
317
360
|
},
|
318
361
|
|
319
|
-
|
320
|
-
videoResponsePage.
|
321
|
-
.should('have.class', 'ngie-toggle-button-selected')
|
322
|
-
.within(() => {
|
323
|
-
utilities.verifyElementVisibilityState(videoResponsePage.advancedPlaybackOptionButtonSelectedIcon(), 'visible');
|
324
|
-
});
|
362
|
+
verifySecsToggleButtonSelectedState: () => {
|
363
|
+
videoResponsePage.maxRecordingDurationSecsToggleButton()
|
364
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
325
365
|
},
|
326
366
|
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
367
|
+
/**
|
368
|
+
* Selects a control button for playback on the video response page.
|
369
|
+
* @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to select.
|
370
|
+
* @throws {Error} If an invalid button is provided.
|
371
|
+
*/
|
372
|
+
selectControlsForPlaybackToggleButton: (button) => {
|
373
|
+
switch (button) {
|
374
|
+
case 'Play':
|
375
|
+
videoResponsePage.playButtonControlsForPlayback()
|
376
|
+
.click()
|
377
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
378
|
+
break;
|
379
|
+
case 'Pause':
|
380
|
+
videoResponsePage.pauseButtonControlsForPlayback()
|
381
|
+
.click()
|
382
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
383
|
+
break;
|
384
|
+
case 'Seek':
|
385
|
+
videoResponsePage.seekButtonControlsForPlayback()
|
386
|
+
.click()
|
387
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
388
|
+
break;
|
389
|
+
case 'Record again':
|
390
|
+
videoResponsePage.recordAgainButtonControlsForPlayback()
|
391
|
+
.click()
|
392
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
393
|
+
break;
|
394
|
+
case 'Volume':
|
395
|
+
videoResponsePage.volumeButtonControlsForPlayback()
|
396
|
+
.click()
|
397
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
398
|
+
break;
|
399
|
+
case 'Playback speed':
|
400
|
+
videoResponsePage.playbackSpeedButtonControlsForPlayback()
|
401
|
+
.click()
|
402
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
403
|
+
break;
|
404
|
+
case 'Full screen':
|
405
|
+
videoResponsePage.fullScreenButtonControlsForPlayback()
|
406
|
+
.click()
|
407
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
408
|
+
break;
|
409
|
+
case 'Forward/Backward':
|
410
|
+
videoResponsePage.forwardBackwardButtonControlsForPlayback()
|
411
|
+
.click()
|
412
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
413
|
+
break;
|
414
|
+
default:
|
415
|
+
throw new Error('Invalid button');
|
416
|
+
}
|
333
417
|
},
|
334
418
|
|
335
|
-
|
336
|
-
|
337
|
-
|
419
|
+
/**
|
420
|
+
* Verifies the selected state of a control button for playback on the video response page.
|
421
|
+
* @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to verify.
|
422
|
+
* @throws {Error} If an invalid button is provided or if the button is not selected.
|
423
|
+
*/
|
424
|
+
verifyControlsForPlaybackToggleButtonSelectedState: (button) => {
|
425
|
+
switch (button) {
|
426
|
+
case 'Play':
|
427
|
+
videoResponsePage.playButtonControlsForPlayback()
|
428
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
429
|
+
break;
|
430
|
+
case 'Pause':
|
431
|
+
videoResponsePage.pauseButtonControlsForPlayback()
|
432
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
433
|
+
break;
|
434
|
+
case 'Seek':
|
435
|
+
videoResponsePage.seekButtonControlsForPlayback()
|
436
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
437
|
+
break;
|
438
|
+
case 'Record again':
|
439
|
+
videoResponsePage.recordAgainButtonControlsForPlayback()
|
440
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
441
|
+
break;
|
442
|
+
case 'Volume':
|
443
|
+
videoResponsePage.volumeButtonControlsForPlayback()
|
444
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
445
|
+
break;
|
446
|
+
case 'Playback speed':
|
447
|
+
videoResponsePage.playbackSpeedButtonControlsForPlayback()
|
448
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
449
|
+
break;
|
450
|
+
case 'Full screen':
|
451
|
+
videoResponsePage.fullScreenButtonControlsForPlayback()
|
452
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
453
|
+
break;
|
454
|
+
case 'Forward/Backward':
|
455
|
+
videoResponsePage.forwardBackwardButtonControlsForPlayback()
|
456
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
457
|
+
break;
|
458
|
+
default:
|
459
|
+
throw new Error('Invalid button');
|
460
|
+
}
|
338
461
|
},
|
339
462
|
|
340
|
-
|
341
|
-
|
342
|
-
|
463
|
+
/**
|
464
|
+
* Deselects a control button for playback on the video response page.
|
465
|
+
* @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to deselect.
|
466
|
+
* @throws {Error} If an invalid button is provided.
|
467
|
+
*/
|
468
|
+
deselectControlsForPlaybackToggleButton: (button) => {
|
469
|
+
switch (button) {
|
470
|
+
case 'Play':
|
471
|
+
videoResponsePage.playButtonControlsForPlayback()
|
472
|
+
.click()
|
473
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
474
|
+
break;
|
475
|
+
case 'Pause':
|
476
|
+
videoResponsePage.pauseButtonControlsForPlayback()
|
477
|
+
.click()
|
478
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
479
|
+
break;
|
480
|
+
case 'Seek':
|
481
|
+
videoResponsePage.seekButtonControlsForPlayback()
|
482
|
+
.click()
|
483
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
484
|
+
break;
|
485
|
+
case 'Record again':
|
486
|
+
videoResponsePage.recordAgainButtonControlsForPlayback()
|
487
|
+
.click()
|
488
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
489
|
+
break;
|
490
|
+
case 'Volume':
|
491
|
+
videoResponsePage.volumeButtonControlsForPlayback()
|
492
|
+
.click()
|
493
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
494
|
+
break;
|
495
|
+
case 'Playback speed':
|
496
|
+
videoResponsePage.playbackSpeedButtonControlsForPlayback()
|
497
|
+
.click()
|
498
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
499
|
+
break;
|
500
|
+
case 'Full screen':
|
501
|
+
videoResponsePage.fullScreenButtonControlsForPlayback()
|
502
|
+
.click()
|
503
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
504
|
+
break;
|
505
|
+
case 'Forward/Backward':
|
506
|
+
videoResponsePage.forwardBackwardButtonControlsForPlayback()
|
507
|
+
.click()
|
508
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
509
|
+
break;
|
510
|
+
default:
|
511
|
+
throw new Error('Invalid button');
|
512
|
+
}
|
343
513
|
},
|
344
514
|
|
345
|
-
|
346
|
-
|
347
|
-
|
515
|
+
/**
|
516
|
+
* Verifies the deselected state of a control button for playback on the video response page.
|
517
|
+
* @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to verify.
|
518
|
+
* @throws {Error} If an invalid button is provided or if the button is selected.
|
519
|
+
*/
|
520
|
+
verifyControlsForPlaybackToggleButtonDeselectedState: (button) => {
|
521
|
+
switch (button) {
|
522
|
+
case 'Play':
|
523
|
+
videoResponsePage.playButtonControlsForPlayback()
|
524
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
525
|
+
break;
|
526
|
+
case 'Pause':
|
527
|
+
videoResponsePage.pauseButtonControlsForPlayback()
|
528
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
529
|
+
break;
|
530
|
+
case 'Seek':
|
531
|
+
videoResponsePage.seekButtonControlsForPlayback()
|
532
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
533
|
+
break;
|
534
|
+
case 'Record Again':
|
535
|
+
videoResponsePage.recordAgainButtonControlsForPlayback()
|
536
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
537
|
+
break;
|
538
|
+
case 'Volume':
|
539
|
+
videoResponsePage.volumeButtonControlsForPlayback()
|
540
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
541
|
+
break;
|
542
|
+
case 'Playback Speed':
|
543
|
+
videoResponsePage.playbackSpeedButtonControlsForPlayback()
|
544
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
545
|
+
break;
|
546
|
+
case 'Full Screen':
|
547
|
+
videoResponsePage.fullScreenButtonControlsForPlayback()
|
548
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
549
|
+
break;
|
550
|
+
case 'Forward/Backward':
|
551
|
+
videoResponsePage.forwardBackwardButtonControlsForPlayback()
|
552
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
553
|
+
break;
|
554
|
+
default:
|
555
|
+
throw new Error('Invalid button');
|
556
|
+
}
|
557
|
+
},
|
558
|
+
|
559
|
+
verifyCustomizePlaybackControlsAccordionCollapsedState: () => {
|
560
|
+
videoResponsePage.customizePlaybackControlsAccordion()
|
561
|
+
.should('have.attr', 'aria-expanded', 'false');
|
562
|
+
},
|
563
|
+
|
564
|
+
expandCustomizePlaybackControlsAccordion: () => {
|
565
|
+
videoResponsePage.customizePlaybackControlsAccordion()
|
566
|
+
.click()
|
567
|
+
.should('have.attr', 'aria-expanded', 'true');
|
568
|
+
},
|
569
|
+
|
570
|
+
collapseCustomizePlaybackControlsAccordion: () => {
|
571
|
+
videoResponsePage.customizePlaybackControlsAccordion()
|
572
|
+
.click()
|
573
|
+
.should('have.attr', 'aria-expanded', 'false');
|
574
|
+
},
|
575
|
+
|
576
|
+
/**
|
577
|
+
* Verifies the selected state of a video settings toggle button on the video response page.
|
578
|
+
* @param {('Timer' | 'Progress indicator')} button - The video settings toggle button to verify.
|
579
|
+
* @throws {Error} If an invalid button is provided or if the button is not selected.
|
580
|
+
*/
|
581
|
+
verifyVideoSettingsToggleButtonSelectedState: (button) => {
|
582
|
+
switch (button) {
|
583
|
+
case 'Timer':
|
584
|
+
videoResponsePage.timerButtonVideoSettings()
|
585
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
586
|
+
break;
|
587
|
+
case 'Progress indicator':
|
588
|
+
videoResponsePage.progressIndicatorButtonVideoSettings()
|
589
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
590
|
+
break;
|
591
|
+
default:
|
592
|
+
throw new Error('Invalid button');
|
593
|
+
}
|
594
|
+
},
|
595
|
+
|
596
|
+
/**
|
597
|
+
* Verifies the deselected state of a video settings toggle button on the video response page.
|
598
|
+
* @param {('Timer' | 'Progress indicator')} button - The video settings toggle button to verify.
|
599
|
+
* @throws {Error} If an invalid button is provided or if the button is selected.
|
600
|
+
*/
|
601
|
+
verifyVideoSettingsToggleButtonDeselectedState: (button) => {
|
602
|
+
switch (button) {
|
603
|
+
case 'Timer':
|
604
|
+
videoResponsePage.timerButtonVideoSettings()
|
605
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
606
|
+
break;
|
607
|
+
case 'Progress indicator':
|
608
|
+
videoResponsePage.progressIndicatorButtonVideoSettings()
|
609
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
610
|
+
break;
|
611
|
+
default:
|
612
|
+
throw new Error('Invalid button');
|
613
|
+
}
|
614
|
+
},
|
615
|
+
|
616
|
+
/**
|
617
|
+
* Selects a video settings toggle button on the video response page.
|
618
|
+
* @param {('Timer' | 'Progress indicator')} button - The video settings toggle button to select.
|
619
|
+
* @throws {Error} If an invalid button is provided.
|
620
|
+
*/
|
621
|
+
selectVideoSettingsToggleButton: (button) => {
|
622
|
+
switch (button) {
|
623
|
+
case 'Timer':
|
624
|
+
videoResponsePage.timerButtonVideoSettings()
|
625
|
+
.click()
|
626
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
627
|
+
break;
|
628
|
+
case 'Progress indicator':
|
629
|
+
videoResponsePage.progressIndicatorButtonVideoSettings()
|
630
|
+
.click()
|
631
|
+
.should('have.class', 'ngie-toggle-button-selected');
|
632
|
+
break;
|
633
|
+
default:
|
634
|
+
throw new Error('Invalid button');
|
635
|
+
}
|
636
|
+
},
|
637
|
+
|
638
|
+
/**
|
639
|
+
* Deselects a video settings toggle button on the video response page.
|
640
|
+
* @param {('Timer' | 'Progress indicator')} button - The video settings toggle button to deselect.
|
641
|
+
* @throws {Error} If an invalid button is provided.
|
642
|
+
*/
|
643
|
+
deselectVideoSettingsToggleButton: (button) => {
|
644
|
+
switch (button) {
|
645
|
+
case 'Timer':
|
646
|
+
videoResponsePage.timerButtonVideoSettings()
|
647
|
+
.click()
|
648
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
649
|
+
break;
|
650
|
+
case 'Progress indicator':
|
651
|
+
videoResponsePage.progressIndicatorButtonVideoSettings()
|
652
|
+
.click()
|
653
|
+
.should('not.have.class', 'ngie-toggle-button-selected');
|
654
|
+
break;
|
655
|
+
default:
|
656
|
+
throw new Error('Invalid button');
|
657
|
+
}
|
348
658
|
}
|
349
659
|
}
|
350
660
|
|
351
661
|
const tests = {
|
352
662
|
...questionInstructionsComponent.tests,
|
353
|
-
...scoringSectionBase.tests,
|
354
|
-
...previewScoringAndShowCorrectAnswerComponent.tests,
|
355
663
|
...commonComponents.tests,
|
356
|
-
...additionalSettingsPanel.tests,
|
357
664
|
...createQuestionBasePage.tests,
|
358
665
|
...commonComponents.tests,
|
359
|
-
...
|
666
|
+
...scoringSectionBaseEditTab.tests,
|
667
|
+
...autoScoredScoringPreviewTab.tests,
|
668
|
+
...limitNumberOfRetakeComponent.tests,
|
669
|
+
...studentViewSettingsLabelComponent.tests,
|
670
|
+
...additionalSettingsPanel.tests,
|
671
|
+
...allowTeachersToDownloadStudentResponseComponent.tests,
|
672
|
+
...additionalSettingsAccessibilitySectionComponent.tests
|
360
673
|
}
|
361
674
|
|
362
675
|
export const videoResponsePage = {
|