itemengine-cypress-automation 1.0.189-e2e-execution-crash-83cdbd4.0 → 1.0.190-repoUpdate3May-f180558.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 +79 -0
- package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +647 -0
- package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +429 -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 +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +2 -11
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +359 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +6 -8
- package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +417 -28
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
- package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +29 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -1
- 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/headerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +1 -1
- 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/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
- package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +11 -3
- 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/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/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 +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
- 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 +58 -2
- package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/headerSection.js +1 -1
- 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 +2 -2
- 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 +696 -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 +229 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +229 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +229 -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 +288 -0
- package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +153 -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/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +2 -2
- 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 +194 -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 +668 -446
- package/cypress/pages/audioResponsePage.js +8 -80
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/chartsBarPage.js +231 -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 +13 -23
- package/cypress/pages/components/autoScoredStudentViewSettings.js +6 -6
- package/cypress/pages/components/barAndLineChartComponent.js +120 -0
- package/cypress/pages/components/chartsCommonComponent.js +105 -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 +2 -1
- package/cypress/pages/components/index.js +7 -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/questionInstructionsComponent.js +3 -19
- package/cypress/pages/components/styleAndLayoutCustomizationAccordionComponent.js +46 -0
- package/cypress/pages/components/toolSettingsComponent.js +6 -0
- package/cypress/pages/contentBlocksPage.js +18 -2
- package/cypress/pages/createItemPage.js +75 -8
- package/cypress/pages/dialogBoxBase.js +2 -2
- package/cypress/pages/drawingResponsePage.js +24 -4
- package/cypress/pages/feedbackScalePage.js +3 -0
- package/cypress/pages/graphingPage.js +19 -1
- package/cypress/pages/gridFillPage.js +47 -59
- package/cypress/pages/index.js +5 -1
- package/cypress/pages/itemPreviewSettingsPage.js +4 -0
- package/cypress/pages/listOrderingPage.js +561 -555
- package/cypress/pages/matchingPage.js +1 -1
- package/cypress/pages/multipleSelectionPage.js +23 -1
- package/cypress/pages/numberLineLabelPage.js +1086 -0
- package/cypress/pages/numberLinePage.js +696 -78
- package/cypress/pages/rulerPage.js +6 -2
- package/cypress/pages/textSelectionPage.js +461 -23
- package/cypress/pages/videoResponsePage.js +393 -81
- package/package.json +1 -1
@@ -5,7 +5,7 @@ import { dialogBoxBase, multipleSelectionPage, rulerPage } from "../../../pages"
|
|
5
5
|
|
6
6
|
const css = Cypress.env('css');
|
7
7
|
|
8
|
-
const tools = ['Ruler', 'Protractor', 'Reading ruler', 'Simple
|
8
|
+
const tools = ['Ruler', 'Protractor', 'Reading ruler', 'Simple Calculator', 'Scientific Calculator'];
|
9
9
|
const lengthOfRuler = ['15 cm', '30 cm', '40 cm'];
|
10
10
|
const rotationOptions = ['None', 'Allow rotation', 'Allow rotation and display angle'];
|
11
11
|
const unitOfMeasurementOptions = ['Centimeter', 'Inch', 'Pixel', 'Both centimeter and inch', 'Custom image'];
|
@@ -62,7 +62,7 @@ describe('Create Item page: Tool settings', () => {
|
|
62
62
|
it(`When \'Tool settings\' accordion is expanded, then \'Add tools\' and \'Select the tools that will be displayed to the students.\' labels should be displayed. Three tools ${tools} should be displayed with their labels, icons, drag handle button and edit icon. By default tools should not be selected`, () => {
|
63
63
|
utilities.verifyInnerText(toolSettingsComponent.addToolsLabel(), 'Add tools');
|
64
64
|
utilities.verifyInnerText(toolSettingsComponent.toolSettingsHelpText(), 'Select the tools that will be displayed to the students.');
|
65
|
-
utilities.verifyElementCount(toolSettingsComponent.toolButton(),
|
65
|
+
utilities.verifyElementCount(toolSettingsComponent.toolButton(), 5);
|
66
66
|
tools.forEach((toolName, toolIndex) => {
|
67
67
|
toolSettingsComponent.steps.verifyToolButton(toolIndex, toolName);
|
68
68
|
});
|
@@ -117,8 +117,8 @@ describe('Create Item page: Tool settings', () => {
|
|
117
117
|
it(`'Length of ruler' label and dropdown should be displayed and by default ${lengthOfRuler[0]} should be selected`, () => {
|
118
118
|
utilities.verifyInnerText(rulerPage.lengthOfRulerLabel(), 'Length of ruler');
|
119
119
|
utilities.verifyElementVisibilityState(rulerPage.lengthOfRulerLabel(), 'visible');
|
120
|
-
rulerPage.steps.
|
121
|
-
utilities.verifyElementVisibilityState(rulerPage.
|
120
|
+
rulerPage.steps.verifyLengthOfRulerOptions(lengthOfRuler[0]);
|
121
|
+
utilities.verifyElementVisibilityState(rulerPage.lengthOfRulerOptions(), 'exist');
|
122
122
|
});
|
123
123
|
|
124
124
|
it(`When user expands the \'Unit of measurement\' dropdown then list with five option ${unitOfMeasurementOptions} should be displayed`, () => {
|
@@ -134,7 +134,7 @@ describe('Create Item page: Tool settings', () => {
|
|
134
134
|
|
135
135
|
it(`When user expands the \'Length of ruler\' dropdown then list with three options ${lengthOfRuler} should be displayed`, () => {
|
136
136
|
rulerPage.steps.expandLengthOfRulerDropdown();
|
137
|
-
rulerPage.steps.
|
137
|
+
rulerPage.steps.verifyLengthOfRulerOptions(lengthOfRuler);
|
138
138
|
});
|
139
139
|
|
140
140
|
it('When user selects an option from \'Length of ruler\' dropdown list, then dropdown list should disappear and selected option should be the active selection for the dropdown', () => {
|
@@ -32,7 +32,7 @@ describe('Tool settings content for all views', () => {
|
|
32
32
|
toolSettingsComponent.steps.expandToolSettingsAccordion();
|
33
33
|
toolSettingsComponent.steps.clickOnToolEditIcon(0);
|
34
34
|
rulerPage.steps.checkAddShowHideButtonCheckbox();
|
35
|
-
|
35
|
+
toolSettingsComponent.steps.clickOnOkButton();
|
36
36
|
createQuestionBasePage.steps.switchToPreviewTab();
|
37
37
|
utilities.verifyElementVisibilityState(commonComponents.previewTabQuestionWrapper(), 'visible');
|
38
38
|
break;
|
@@ -117,10 +117,10 @@ describe('Tool settings content for all views', () => {
|
|
117
117
|
toolSettingsComponent.steps.expandToolSettingsAccordion();
|
118
118
|
toolSettingsComponent.steps.clickOnToolEditIcon(0);
|
119
119
|
rulerPage.steps.checkAddShowHideButtonCheckbox();
|
120
|
-
|
120
|
+
toolSettingsComponent.steps.clickOnOkButton();
|
121
121
|
toolSettingsComponent.steps.clickOnToolEditIcon(1);
|
122
122
|
rulerPage.steps.checkAddShowHideButtonCheckbox();
|
123
|
-
|
123
|
+
toolSettingsComponent.steps.clickOnOkButton();
|
124
124
|
createQuestionBasePage.steps.switchToPreviewTab();
|
125
125
|
break;
|
126
126
|
case 'Item view':
|
@@ -0,0 +1,77 @@
|
|
1
|
+
import { videoResponsePage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
|
6
|
+
const fontSizes = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
|
7
|
+
|
8
|
+
describe('Audio response - Additional settings', () => {
|
9
|
+
before(() => {
|
10
|
+
cy.loginAs('admin');
|
11
|
+
});
|
12
|
+
|
13
|
+
describe('Additional settings accordion', () => {
|
14
|
+
abortEarlySetup();
|
15
|
+
before(() => {
|
16
|
+
videoResponsePage.steps.navigateToCreateQuestion('audio response');
|
17
|
+
});
|
18
|
+
|
19
|
+
videoResponsePage.tests.verifyAdditionalSettingsAccordionProperties();
|
20
|
+
});
|
21
|
+
|
22
|
+
describe('Additional settings: Font size - Contents in edit tab', () => {
|
23
|
+
abortEarlySetup();
|
24
|
+
before(() => {
|
25
|
+
videoResponsePage.steps.navigateToCreateQuestion('audio response');
|
26
|
+
cy.barsPreLoaderWait();
|
27
|
+
videoResponsePage.steps.expandAdditionalSettings();
|
28
|
+
});
|
29
|
+
|
30
|
+
videoResponsePage.tests.verifyFontSizeSectionContents();
|
31
|
+
});
|
32
|
+
|
33
|
+
describe('Additional settings: Font size - functionality in preview tab', () => {
|
34
|
+
abortEarlySetup();
|
35
|
+
before(() => {
|
36
|
+
videoResponsePage.steps.navigateToCreateQuestion('audio response');
|
37
|
+
cy.barsPreLoaderWait();
|
38
|
+
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Audio response');
|
39
|
+
videoResponsePage.steps.expandAdditionalSettings();
|
40
|
+
});
|
41
|
+
|
42
|
+
Object.keys(fontSizes).forEach((option) => {
|
43
|
+
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview tab should change to ${fontSizes[option]} accordingly`, () => {
|
44
|
+
videoResponsePage.steps.selectFontSizeOptionFromFontSizeDropdown(option);
|
45
|
+
utilities.verifyInnerText(videoResponsePage.fontSizeDropdown(), `${option}`);
|
46
|
+
videoResponsePage.steps.switchToPreviewTab();
|
47
|
+
utilities.verifyCSS(videoResponsePage.questionInstructionsText(), {
|
48
|
+
'font-size': fontSizes[option]
|
49
|
+
});
|
50
|
+
videoResponsePage.steps.switchToEditTab();
|
51
|
+
});
|
52
|
+
});
|
53
|
+
});
|
54
|
+
|
55
|
+
describe('Additional settings: Accessibility section', () => {
|
56
|
+
abortEarlySetup();
|
57
|
+
before(() => {
|
58
|
+
videoResponsePage.steps.navigateToCreateQuestion('audio response');
|
59
|
+
cy.barsPreLoaderWait();
|
60
|
+
videoResponsePage.steps.expandAdditionalSettings();
|
61
|
+
});
|
62
|
+
|
63
|
+
videoResponsePage.tests.verifyAdditionalSettingsAccessibilitySection();
|
64
|
+
});
|
65
|
+
|
66
|
+
describe('Additional settings: Details section', () => {
|
67
|
+
abortEarlySetup();
|
68
|
+
before(() => {
|
69
|
+
videoResponsePage.steps.navigateToCreateQuestion('audio response');
|
70
|
+
videoResponsePage.steps.expandAdditionalSettings();
|
71
|
+
});
|
72
|
+
|
73
|
+
videoResponsePage.tests.verifyAllowTeachersToDownloadStudentResponseSection();
|
74
|
+
|
75
|
+
videoResponsePage.tests.verifyDetailsSection();
|
76
|
+
});
|
77
|
+
});
|
@@ -0,0 +1,313 @@
|
|
1
|
+
import { videoResponsePage } from '../../../pages/videoResponsePage';
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from '../../../support/helpers/utilities';
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
|
6
|
+
describe('Create Item page - video response: Customize playback controls', () => {
|
7
|
+
before(() => {
|
8
|
+
cy.loginAs('admin');
|
9
|
+
});
|
10
|
+
|
11
|
+
describe('\'Customize playback controls (for student player)\' section for - Standard recorder style', () => {
|
12
|
+
abortEarlySetup();
|
13
|
+
before(() => {
|
14
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
15
|
+
cy.barsPreLoaderWait();
|
16
|
+
});
|
17
|
+
|
18
|
+
it('\'Customize playback controls (for student player)\' accordion should be displayed and by default it should be in collapsed state', () => {
|
19
|
+
utilities.verifyInnerText(videoResponsePage.customizePlaybackControlsAccordion(), 'Customize playback controls (for student player)');
|
20
|
+
videoResponsePage.steps.verifyCustomizePlaybackControlsAccordionCollapsedState();
|
21
|
+
});
|
22
|
+
|
23
|
+
it('User should be able to expand and collapse \'Customize playback controls (for student player)\' accordion', () => {
|
24
|
+
videoResponsePage.steps.expandCustomizePlaybackControlsAccordion();
|
25
|
+
videoResponsePage.steps.collapseCustomizePlaybackControlsAccordion();
|
26
|
+
});
|
27
|
+
|
28
|
+
it('\'Controls for playback\' label should be displayed', () => {
|
29
|
+
cy.log('Pre-step : Expanding \'Customize playback controls (for student player)\' accordion');
|
30
|
+
videoResponsePage.steps.expandCustomizePlaybackControlsAccordion();
|
31
|
+
utilities.verifyInnerText(videoResponsePage.controlsForPlaybackLabel(), 'Controls for playback');
|
32
|
+
});
|
33
|
+
|
34
|
+
it('\'Controls for playback\' options - "Play", "Pause", "Seek", "Record again", "Volume", "Playback speed", "Full screen" and "Forward/Backward" should be displayed. By default, all options except for "Forward/Backward" should be in selected state', () => {
|
35
|
+
utilities.verifyElementVisibilityState(videoResponsePage.playButtonControlsForPlayback(), 'visible');
|
36
|
+
utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 0), 'Play');
|
37
|
+
utilities.verifyElementVisibilityState(videoResponsePage.pauseButtonControlsForPlayback(), 'visible');
|
38
|
+
utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 1), 'Pause');
|
39
|
+
utilities.verifyElementVisibilityState(videoResponsePage.seekButtonControlsForPlayback(), 'visible');
|
40
|
+
utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 2), 'Seek');
|
41
|
+
utilities.verifyElementVisibilityState(videoResponsePage.recordAgainButtonControlsForPlayback(), 'visible');
|
42
|
+
utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 3), 'Record again');
|
43
|
+
utilities.verifyElementVisibilityState(videoResponsePage.volumeButtonControlsForPlayback(), 'visible');
|
44
|
+
utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 4), 'Volume');
|
45
|
+
utilities.verifyElementVisibilityState(videoResponsePage.playbackSpeedButtonControlsForPlayback(), 'visible');
|
46
|
+
utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 5), 'Playback speed');
|
47
|
+
utilities.verifyElementVisibilityState(videoResponsePage.fullScreenButtonControlsForPlayback(), 'visible');
|
48
|
+
utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 6), 'Full screen');
|
49
|
+
utilities.verifyElementVisibilityState(videoResponsePage.forwardBackwardButtonControlsForPlayback(), 'visible');
|
50
|
+
utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 7), 'Forward/Backward');
|
51
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Play');
|
52
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Pause');
|
53
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Seek');
|
54
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Record again');
|
55
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Volume');
|
56
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Playback speed');
|
57
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Full screen');
|
58
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Forward/Backward');
|
59
|
+
});
|
60
|
+
|
61
|
+
it('CSS of \'Customize playback controls (for student player)\' section', { tags: 'css' }, () => {
|
62
|
+
utilities.verifyCSS(videoResponsePage.customizePlaybackControlsAccordion().find('.customize_recorder_label'), {
|
63
|
+
'color': css.color.accordionLabel,
|
64
|
+
'font-size': css.fontSize.default,
|
65
|
+
'font-weight': css.fontWeight.bold
|
66
|
+
});
|
67
|
+
utilities.verifyCSS(videoResponsePage.controlsForPlaybackLabel(), {
|
68
|
+
'color': css.color.sectionHeading,
|
69
|
+
'font-size': css.fontSize.normal,
|
70
|
+
'font-weight': css.fontWeight.semibold
|
71
|
+
});
|
72
|
+
utilities.verifyCSS(videoResponsePage.playButtonControlsForPlayback(), {
|
73
|
+
'color': css.color.defaultBackground,
|
74
|
+
'background-color': css.color.activeButtons,
|
75
|
+
'border': `1px solid ${css.color.activeButtons}`
|
76
|
+
});
|
77
|
+
utilities.verifyCSS(videoResponsePage.forwardBackwardButtonControlsForPlayback(), {
|
78
|
+
'color': css.color.secondaryBtn,
|
79
|
+
'background-color': css.color.secondaryBtnBg,
|
80
|
+
'border': `1px solid ${css.color.secondaryBtnBorder}`
|
81
|
+
});
|
82
|
+
utilities.verifyCSS(videoResponsePage.tickIconForOptionButtons(), {
|
83
|
+
'background-color': css.color.defaultBackground,
|
84
|
+
});
|
85
|
+
utilities.verifyCSS(videoResponsePage.tickIconForOptionButtons().find('[data-name="Icon feather-check"]'), {
|
86
|
+
'fill': css.color.activeButtons,
|
87
|
+
});
|
88
|
+
utilities.verifyCSS(videoResponsePage.controlsForPlaybackButtonLabel(), {
|
89
|
+
'color': css.color.labels,
|
90
|
+
'font-size': css.fontSize.normal,
|
91
|
+
'font-weight': css.fontWeight.semibold
|
92
|
+
});
|
93
|
+
});
|
94
|
+
|
95
|
+
it('When the user deselects the \'Play\' button, all other controls for playback buttons except "Record again" should get deselected and disabled. Progress indicator and timer buttons should also get deselected from the \'Video settings\' section. The timer button should be in enabled state', () => {
|
96
|
+
videoResponsePage.steps.deselectControlsForPlaybackToggleButton('Play');
|
97
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Play');
|
98
|
+
utilities.verifyElementDisabled(videoResponsePage.pauseButtonControlsForPlayback());
|
99
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Pause');
|
100
|
+
utilities.verifyElementDisabled(videoResponsePage.pauseButtonControlsForPlayback());
|
101
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Seek');
|
102
|
+
utilities.verifyElementDisabled(videoResponsePage.seekButtonControlsForPlayback());
|
103
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Record again');
|
104
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Volume');
|
105
|
+
utilities.verifyElementDisabled(videoResponsePage.volumeButtonControlsForPlayback());
|
106
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Playback speed');
|
107
|
+
utilities.verifyElementDisabled(videoResponsePage.playbackSpeedButtonControlsForPlayback());
|
108
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Full screen');
|
109
|
+
utilities.verifyElementDisabled(videoResponsePage.fullScreenButtonControlsForPlayback());
|
110
|
+
videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Forward/Backward');
|
111
|
+
utilities.verifyElementDisabled(videoResponsePage.forwardBackwardButtonControlsForPlayback());
|
112
|
+
videoResponsePage.steps.verifyVideoSettingsToggleButtonDeselectedState('Timer');
|
113
|
+
utilities.verifyElementNotDisabled(videoResponsePage.timerButtonVideoSettings());
|
114
|
+
videoResponsePage.steps.verifyVideoSettingsToggleButtonDeselectedState('Progress indicator');
|
115
|
+
utilities.verifyElementDisabled(videoResponsePage.progressIndicatorButtonVideoSettings());
|
116
|
+
});
|
117
|
+
|
118
|
+
//Note: Need to update below case after https://redmine.zeuslearning.com/issues/570839 gets resolved
|
119
|
+
it('When the user selects the \'Play\' button, "Pause", "Volume", "Playback speed" and "Full screen" should get enabled. "Progress indicator" and "Timer" buttons should also get enabled from the \'Video settings\' section. "Seek" button should continue to stay in disabled state while "Progress indicator" is in deselected state.', () => {
|
120
|
+
videoResponsePage.steps.selectControlsForPlaybackToggleButton('Play');
|
121
|
+
utilities.verifyElementNotDisabled(videoResponsePage.pauseButtonControlsForPlayback());
|
122
|
+
utilities.verifyElementDisabled(videoResponsePage.seekButtonControlsForPlayback());
|
123
|
+
utilities.verifyElementNotDisabled(videoResponsePage.volumeButtonControlsForPlayback());
|
124
|
+
utilities.verifyElementNotDisabled(videoResponsePage.playbackSpeedButtonControlsForPlayback());
|
125
|
+
utilities.verifyElementNotDisabled(videoResponsePage.fullScreenButtonControlsForPlayback());
|
126
|
+
utilities.verifyElementNotDisabled(videoResponsePage.timerButtonVideoSettings());
|
127
|
+
utilities.verifyElementNotDisabled(videoResponsePage.progressIndicatorButtonVideoSettings());
|
128
|
+
});
|
129
|
+
|
130
|
+
it('When the user selects the "Progress indicator" button, "Seek" button should get enabled', () => {
|
131
|
+
videoResponsePage.steps.selectVideoSettingsToggleButton('Progress indicator');
|
132
|
+
utilities.verifyElementNotDisabled(videoResponsePage.seekButtonControlsForPlayback());
|
133
|
+
});
|
134
|
+
});
|
135
|
+
|
136
|
+
describe('Controls for playback - Play', () => {
|
137
|
+
abortEarlySetup();
|
138
|
+
before(() => {
|
139
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
140
|
+
cy.barsPreLoaderWait();
|
141
|
+
videoResponsePage.steps.expandCustomizePlaybackControlsAccordion();
|
142
|
+
});
|
143
|
+
|
144
|
+
it('In standard mode, when the \'Play\' option is selected the play button should be enabled in the playback player of preview tab', () => {
|
145
|
+
videoResponsePage.steps.switchToPreviewTab();
|
146
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
147
|
+
utilities.verifyElementVisibilityState(videoResponsePage.playbackPlayButton(), 'visible');
|
148
|
+
});
|
149
|
+
|
150
|
+
it('In standard mode, when the play option is deselected the play button should be disabled in the preview tab and player should not able to playback the recording', () => {
|
151
|
+
cy.log('Pre-step : Switching to Edit tab and deselecting Play button');
|
152
|
+
videoResponsePage.steps.switchToEditTab();
|
153
|
+
videoResponsePage.steps.deselectControlsForPlaybackToggleButton('Play');
|
154
|
+
cy.log('Switching to Preview tab');
|
155
|
+
videoResponsePage.steps.switchToPreviewTab();
|
156
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
157
|
+
utilities.verifyElementVisibilityState(videoResponsePage.playbackPlayButton(), 'notExist');
|
158
|
+
});
|
159
|
+
});
|
160
|
+
|
161
|
+
describe('Controls for playback - Pause', () => {
|
162
|
+
abortEarlySetup();
|
163
|
+
before(() => {
|
164
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
165
|
+
cy.barsPreLoaderWait();
|
166
|
+
videoResponsePage.steps.expandCustomizePlaybackControlsAccordion();
|
167
|
+
});
|
168
|
+
|
169
|
+
it('In standard mode, when the \'Pause\' option is selected the pause button should be enabled in the preview tab', () => {
|
170
|
+
videoResponsePage.steps.switchToPreviewTab();
|
171
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
172
|
+
videoResponsePage.steps.startPlayback();
|
173
|
+
utilities.verifyElementNotDisabled(videoResponsePage.playbackPauseButton());
|
174
|
+
});
|
175
|
+
|
176
|
+
it('In standard mode, when the pause option is deselected the pause button should be disabled in the preview tab and player should not able to pause recorded response', () => {
|
177
|
+
videoResponsePage.steps.switchToEditTab();
|
178
|
+
videoResponsePage.steps.deselectControlsForPlaybackToggleButton('Pause');
|
179
|
+
videoResponsePage.steps.switchToPreviewTab();
|
180
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
181
|
+
videoResponsePage.steps.startPlayback();
|
182
|
+
utilities.verifyElementDisabled(videoResponsePage.playbackPauseButton());
|
183
|
+
});
|
184
|
+
});
|
185
|
+
|
186
|
+
describe('Controls for playback - Seek', () => {
|
187
|
+
abortEarlySetup();
|
188
|
+
before(() => {
|
189
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
190
|
+
cy.barsPreLoaderWait();
|
191
|
+
videoResponsePage.steps.expandCustomizePlaybackControlsAccordion();
|
192
|
+
videoResponsePage.steps.switchToPreviewTab();
|
193
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
194
|
+
});
|
195
|
+
|
196
|
+
it('In standard mode, when the \'Seek\' option is selected the seek functionality should be enabled in the preview tab user should be able to seek the video from the progress bar and waveform', () => {
|
197
|
+
let actualVideoSeekedInPercent = 50
|
198
|
+
videoResponsePage.steps.startPlayback();
|
199
|
+
videoResponsePage.steps.waitForPlaybackToBegin();
|
200
|
+
cy.log('Clicking at the middle of the progress bar to seek till 50% of the recording');
|
201
|
+
videoResponsePage.steps.seekProgressBarSliderToCenter();
|
202
|
+
videoResponsePage.steps.verifyProgressBarSliderPosition(actualVideoSeekedInPercent);
|
203
|
+
utilities.verifyElementVisibilityState(videoResponsePage.progressBarSlider(), 'visible');
|
204
|
+
});
|
205
|
+
|
206
|
+
it('In standard mode, when the \'Seek\' option is deselected, the progress bar should not have a slider handle and waveform should not have cursor if user hover on it and user should not be able to seek the video from the progress bar and waveform', () => {
|
207
|
+
let actualVideoSeekedInPercent = 25
|
208
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Seek\' button, switching back to Preview tab and saving a record response');
|
209
|
+
videoResponsePage.steps.switchToEditTab();
|
210
|
+
videoResponsePage.steps.deselectControlsForPlaybackToggleButton('Seek');
|
211
|
+
videoResponsePage.steps.switchToPreviewTab();
|
212
|
+
videoResponsePage.steps.recordAndSaveVideo(4000);
|
213
|
+
videoResponsePage.steps.startPlayback();
|
214
|
+
videoResponsePage.steps.waitForPlaybackToBegin();
|
215
|
+
videoResponsePage.steps.pausePlayback();
|
216
|
+
cy.log('Clicking at the middle of the progress bar to seek till 50% of the recording');
|
217
|
+
videoResponsePage.steps.seekProgressBarSliderToCenter();
|
218
|
+
videoResponsePage.steps.verifyProgressBarSliderPosition(actualVideoSeekedInPercent);
|
219
|
+
utilities.verifyElementVisibilityState(videoResponsePage.progressBarSlider(), 'hidden');
|
220
|
+
});
|
221
|
+
});
|
222
|
+
|
223
|
+
describe('Controls for playback - Record again', () => {
|
224
|
+
abortEarlySetup();
|
225
|
+
before(() => {
|
226
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
227
|
+
cy.barsPreLoaderWait();
|
228
|
+
videoResponsePage.steps.expandCustomizePlaybackControlsAccordion();
|
229
|
+
});
|
230
|
+
|
231
|
+
it('In standard mode, when the \'Record again\' option is selected the record again button should be enabled in the preview tab', () => {
|
232
|
+
videoResponsePage.steps.switchToPreviewTab();
|
233
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
234
|
+
videoResponsePage.steps.startPlayback();
|
235
|
+
utilities.verifyElementNotDisabled(videoResponsePage.retakeRecordingButton());
|
236
|
+
});
|
237
|
+
|
238
|
+
it('In standard mode, when the record again option is deselected the record again button should be disabled in the preview tab and player should not able to retake the recorded response', () => {
|
239
|
+
videoResponsePage.steps.switchToEditTab();
|
240
|
+
videoResponsePage.steps.deselectControlsForPlaybackToggleButton('Record again');
|
241
|
+
videoResponsePage.steps.switchToPreviewTab();
|
242
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
243
|
+
videoResponsePage.steps.startPlayback();
|
244
|
+
utilities.verifyElementVisibilityState(videoResponsePage.retakeRecordingButton(), 'notExist');
|
245
|
+
});
|
246
|
+
});
|
247
|
+
|
248
|
+
describe('Controls for playback - Volume', () => {
|
249
|
+
abortEarlySetup();
|
250
|
+
before(() => {
|
251
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
252
|
+
cy.barsPreLoaderWait();
|
253
|
+
videoResponsePage.steps.expandCustomizePlaybackControlsAccordion();
|
254
|
+
});
|
255
|
+
|
256
|
+
it('In standard mode, when the \'Volume\' option is selected the volume button should be enabled in the preview tab', () => {
|
257
|
+
videoResponsePage.steps.switchToPreviewTab();
|
258
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
259
|
+
videoResponsePage.steps.startPlayback();
|
260
|
+
videoResponsePage.steps.verifyVolumeButtonEnabledState();
|
261
|
+
});
|
262
|
+
|
263
|
+
it('In standard mode, when the volume option is deselected \'volume\' should not be displayed on the playback player', () => {
|
264
|
+
cy.log('Pre-step : User switches to Edit tab, deselects \'volume\' button, switches back to Preview tab and saves a recording');
|
265
|
+
videoResponsePage.steps.switchToEditTab();
|
266
|
+
videoResponsePage.steps.deselectControlsForPlaybackToggleButton('Volume');
|
267
|
+
videoResponsePage.steps.switchToPreviewTab();
|
268
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
269
|
+
videoResponsePage.steps.startPlayback();
|
270
|
+
utilities.verifyElementVisibilityState(videoResponsePage.volumeControlButton(), 'notExist');
|
271
|
+
});
|
272
|
+
});
|
273
|
+
|
274
|
+
describe('Controls for playback - Playback speed', () => {
|
275
|
+
abortEarlySetup();
|
276
|
+
before(() => {
|
277
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
278
|
+
cy.barsPreLoaderWait();
|
279
|
+
videoResponsePage.steps.expandCustomizePlaybackControlsAccordion();
|
280
|
+
});
|
281
|
+
|
282
|
+
it('In standard mode, when the \'Playback speed\' option is selected the \'Playback speed\' button should be enabled in the preview tab', () => {
|
283
|
+
videoResponsePage.steps.switchToPreviewTab();
|
284
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
285
|
+
videoResponsePage.steps.startPlayback();
|
286
|
+
videoResponsePage.steps.verifyPlaybackSpeedButtonEnabledState();
|
287
|
+
});
|
288
|
+
|
289
|
+
it('In standard mode, when the \'Playback speed\' option is deselected \'Playback speed\' button should not be displayed on the playback player', () => {
|
290
|
+
cy.log('Pre-step : User switches to Edit tab, deselects \'Playback speed\' button, switches back to Preview tab and saves a recording');
|
291
|
+
videoResponsePage.steps.switchToEditTab();
|
292
|
+
videoResponsePage.steps.deselectControlsForPlaybackToggleButton('Playback speed');
|
293
|
+
videoResponsePage.steps.switchToPreviewTab();
|
294
|
+
videoResponsePage.steps.recordAndSaveVideo(5000);
|
295
|
+
videoResponsePage.steps.startPlayback();
|
296
|
+
utilities.verifyElementVisibilityState(videoResponsePage.playbackSpeedButton(), 'notExist');
|
297
|
+
});
|
298
|
+
});
|
299
|
+
|
300
|
+
//Note: Complete cases when feature is made available
|
301
|
+
describe.skip('Controls for playback - Forward/Backward', () => {
|
302
|
+
abortEarlySetup();
|
303
|
+
before(() => {
|
304
|
+
});
|
305
|
+
|
306
|
+
it('In standard mode, when the \'Forward/Backward\' option is selected the \'Forward/Backward\' button should be enabled in the preview tab', () => {
|
307
|
+
|
308
|
+
});
|
309
|
+
|
310
|
+
it('In standard mode, when the \'Forward/Backward\' option is deselected \'Forward/Backward\' button should not be displayed on the playback player', () => {
|
311
|
+
});
|
312
|
+
});
|
313
|
+
});
|
@@ -0,0 +1,99 @@
|
|
1
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
2
|
+
import { videoResponsePage } from "../../../pages";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
|
5
|
+
describe('Create question page - Audio response: Scoring', () => {
|
6
|
+
before(() => {
|
7
|
+
cy.loginAs('admin');
|
8
|
+
});
|
9
|
+
|
10
|
+
describe('Scoring section contents', () => {
|
11
|
+
abortEarlySetup();
|
12
|
+
before(() => {
|
13
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
});
|
16
|
+
|
17
|
+
videoResponsePage.tests.verifyScoringTypeLabelAndDropdown('Manually scored');
|
18
|
+
});
|
19
|
+
|
20
|
+
describe('Scoring section: Manually scored scoring type', () => {
|
21
|
+
abortEarlySetup();
|
22
|
+
before(() => {
|
23
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
24
|
+
cy.barsPreLoaderWait();
|
25
|
+
});
|
26
|
+
|
27
|
+
it('When the user selects \'Manually scored\' option from the Scoring type dropdown, then the \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed', () => {
|
28
|
+
videoResponsePage.steps.expandScoringTypeDropdown();
|
29
|
+
videoResponsePage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
|
30
|
+
videoResponsePage.steps.verifyDefaultPointsLabelAndInputField();
|
31
|
+
videoResponsePage.steps.verifyMinimumScoringLabelAndDropdownDefaultState();
|
32
|
+
});
|
33
|
+
|
34
|
+
it('When the user focuses in and out of the empty points input field, error message should not be displayed', () => {
|
35
|
+
videoResponsePage.steps.focusInAndFocusOutOfPointsInputField(0)
|
36
|
+
utilities.verifyElementVisibilityState(videoResponsePage.errorMessage(), 'notExist');
|
37
|
+
});
|
38
|
+
|
39
|
+
it('The user should be able to enter point in points input field', () => {
|
40
|
+
videoResponsePage.steps.allotPoints(10);
|
41
|
+
});
|
42
|
+
});
|
43
|
+
|
44
|
+
describe('Question Preview: Manually Scored', () => {
|
45
|
+
abortEarlySetup();
|
46
|
+
before(() => {
|
47
|
+
cy.log('Adding question instructions and options, select Manually Scored scoring type and add points for the question');
|
48
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
49
|
+
cy.barsPreLoaderWait();
|
50
|
+
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
51
|
+
videoResponsePage.steps.allotPoints(10);
|
52
|
+
videoResponsePage.steps.switchToPreviewTab();
|
53
|
+
});
|
54
|
+
|
55
|
+
it('In Preview tab, Question instructions and video recorder interface should be displayed', () => {
|
56
|
+
utilities.verifyInnerText(videoResponsePage.questionInstructionsText(), 'Record a video')
|
57
|
+
utilities.verifyElementVisibilityState(videoResponsePage.videoRecorderWrapper(), 'visible');
|
58
|
+
});
|
59
|
+
|
60
|
+
videoResponsePage.tests.verifyGradingStudentViewRadioButtonAndScoringTypeInPreviewTab('Manually scored')
|
61
|
+
});
|
62
|
+
|
63
|
+
describe('Scoring section: Non Scored scoring type', () => {
|
64
|
+
abortEarlySetup();
|
65
|
+
before(() => {
|
66
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
67
|
+
cy.barsPreLoaderWait();
|
68
|
+
});
|
69
|
+
|
70
|
+
it('User should be able to select \'Non Scored\' option from the Scoring Type dropdown', () => {
|
71
|
+
cy.log('Pre-step: Opening the scoring type dropdown.')
|
72
|
+
videoResponsePage.steps.expandScoringTypeDropdown();
|
73
|
+
videoResponsePage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
74
|
+
});
|
75
|
+
|
76
|
+
videoResponsePage.tests.verifyScoringSectionContentsForNonScoredScoringType();
|
77
|
+
|
78
|
+
videoResponsePage.tests.verifyPointsLabelAndInputFieldForNonScoredScoringType();
|
79
|
+
});
|
80
|
+
|
81
|
+
describe('Question Preview: Non scored scoring', () => {
|
82
|
+
abortEarlySetup();
|
83
|
+
before(() => {
|
84
|
+
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
85
|
+
cy.barsPreLoaderWait();
|
86
|
+
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
87
|
+
videoResponsePage.steps.expandScoringTypeDropdown();
|
88
|
+
videoResponsePage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
89
|
+
videoResponsePage.steps.switchToPreviewTab();
|
90
|
+
});
|
91
|
+
|
92
|
+
it('In Preview tab, Question instructions and audio recorder interface should be displayed', () => {
|
93
|
+
utilities.verifyInnerText(videoResponsePage.questionInstructionsText(), 'Record a video')
|
94
|
+
utilities.verifyElementVisibilityState(videoResponsePage.videoRecorderWrapper(), 'visible');
|
95
|
+
});
|
96
|
+
|
97
|
+
videoResponsePage.tests.verifyGradingStudentViewRadioButtonAndScoringTypeInPreviewTab('Non scored');
|
98
|
+
});
|
99
|
+
});
|