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
@@ -0,0 +1,596 @@
|
|
1
|
+
import { audioPlayerPage } from '../../../pages/audioPlayerPage';
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from '../../../support/helpers/utilities';
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
|
6
|
+
const standardPlayerLayoutSettings = ['Pause', 'Seek', 'Playback speed', 'Add pin', 'Forward/ backward'];
|
7
|
+
const barPlayerLayoutSettings = ['Pause', 'Seek', 'Playback speed', 'Add pin', 'Forward/ backward'];
|
8
|
+
const compactPlayerLayoutSettings = ['Pause', 'Seek', 'Playback speed', 'Forward/ backward', 'Volume', 'Timer', 'Progress indicator'];
|
9
|
+
|
10
|
+
describe('Create Item page - Audio player: Customize player layout settings', () => {
|
11
|
+
before(() => {
|
12
|
+
cy.loginAs('admin');
|
13
|
+
});
|
14
|
+
|
15
|
+
describe('\'Customize player layout settings\' accordion', () => {
|
16
|
+
abortEarlySetup();
|
17
|
+
before(() => {
|
18
|
+
audioPlayerPage.steps.navigateToCreateResource('audio player');
|
19
|
+
});
|
20
|
+
|
21
|
+
it('\'Customize player layout settings\' accordion should be displayed and by default it should be in collapsed state', () => {
|
22
|
+
utilities.verifyInnerText(audioPlayerPage.customizePlayerLayoutSettingsAccordion(), 'Customize player layout settings');
|
23
|
+
audioPlayerPage.steps.verifyCustomizePlayerLayoutSettingsAccordionCollapsedState();
|
24
|
+
});
|
25
|
+
|
26
|
+
it('User should be able to expand and collapse \'Customize player layout settings\' accordion', () => {
|
27
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
28
|
+
audioPlayerPage.steps.collapseCustomizePlayerLayoutSettingsAccordion();
|
29
|
+
});
|
30
|
+
|
31
|
+
it('Controls for bar audio player style - "Pause", "Seek", "Playback speed", "Add pin" and "Forward/ backward" should be displayed. By default, all options should be in selected state', () => {
|
32
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
33
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutPauseButton(), 'visible');
|
34
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutSeekButton(), 'visible');
|
35
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutPlaybackSpeedButton(), 'visible');
|
36
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutAddPinButton(), 'visible');
|
37
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutForwardBackwardButton(), 'visible');
|
38
|
+
barPlayerLayoutSettings.forEach((buttonLabel, index) => {
|
39
|
+
utilities.verifyElementVisibilityState(utilities.getNthElement(audioPlayerPage.customizePlayerLayoutToggleButtonLabel(), index), 'visible');
|
40
|
+
utilities.verifyInnerText(utilities.getNthElement(audioPlayerPage.customizePlayerLayoutToggleButtonLabel(), index), buttonLabel);
|
41
|
+
audioPlayerPage.steps.verifyPlayerLayoutSettingButtonIsSelected(buttonLabel);
|
42
|
+
});
|
43
|
+
utilities.verifyElementCount(audioPlayerPage.customizePlayerLayoutSettingsToggleButtons(), barPlayerLayoutSettings.length);
|
44
|
+
});
|
45
|
+
|
46
|
+
it('Uncheck all button should be displayed', () => {
|
47
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.uncheckAllButton(), 'visible');
|
48
|
+
utilities.verifyInnerText(audioPlayerPage.uncheckAllButton(), 'Uncheck all');
|
49
|
+
});
|
50
|
+
|
51
|
+
it('User should be able to deselect a player layout setting toggle button by clicking on it', () => {
|
52
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Seek');
|
53
|
+
});
|
54
|
+
|
55
|
+
it('CSS of \'Customize player layout settings\' section', { tags: 'css' }, () => {
|
56
|
+
utilities.verifyCSS(audioPlayerPage.customizePlayerLayoutSettingsAccordion().find('.accordion_label'), {
|
57
|
+
'color': css.color.accordionLabel,
|
58
|
+
'font-size': css.fontSize.default,
|
59
|
+
'font-weight': css.fontWeight.bold
|
60
|
+
});
|
61
|
+
utilities.verifyCSS(audioPlayerPage.customizePlayerLayoutPauseButton(), {
|
62
|
+
'color': css.color.whiteText,
|
63
|
+
'background-color': css.color.activeButtons,
|
64
|
+
'border': `1px solid ${css.color.activeButtons}`
|
65
|
+
});
|
66
|
+
utilities.verifyCSS(audioPlayerPage.customizePlayerLayoutSeekButton(), {
|
67
|
+
'color': css.color.secondaryBtn,
|
68
|
+
'background-color': css.color.defaultBackground,
|
69
|
+
'border': `1px solid ${css.color.secondaryBtnBorder}`
|
70
|
+
});
|
71
|
+
utilities.verifyCSS(audioPlayerPage.tickIconForOptionButtons(), {
|
72
|
+
'background-color': css.color.transparent,
|
73
|
+
});
|
74
|
+
utilities.verifyCSS(audioPlayerPage.tickIconForOptionButtons().find('[data-name="Icon feather-check"]'), {
|
75
|
+
'fill': css.color.activeButtons,
|
76
|
+
});
|
77
|
+
utilities.verifyCSS(audioPlayerPage.customizePlayerLayoutToggleButtonLabel(), {
|
78
|
+
'color': css.color.UnselectedToggleButton,
|
79
|
+
'font-size': css.fontSize.normal,
|
80
|
+
'font-weight': css.fontWeight.bold
|
81
|
+
});
|
82
|
+
utilities.verifyCSS(audioPlayerPage.uncheckAllButton(), {
|
83
|
+
'color': css.color.activeButtons,
|
84
|
+
'font-size': css.fontSize.default,
|
85
|
+
'font-weight': css.fontWeight.semibold
|
86
|
+
});
|
87
|
+
utilities.verifyCSS(audioPlayerPage.uncheckAllButton().find('rect').eq(0), {
|
88
|
+
'color': css.color.activeButtons
|
89
|
+
});
|
90
|
+
});
|
91
|
+
|
92
|
+
it('Accessibility of \'Customize player layout settings\' section', { tags: 'a11y' }, () => {
|
93
|
+
cy.checkAccessibility(audioPlayerPage.customizePlayerLayoutSettingsAccordion().parents('.audio-player-resource'));
|
94
|
+
});
|
95
|
+
|
96
|
+
it('When user clicks on uncheck all button then all the player layout setting toggle buttons should be unchecked', () => {
|
97
|
+
audioPlayerPage.steps.clickOnUncheckAllButton();
|
98
|
+
barPlayerLayoutSettings.forEach((buttonLabel) => {
|
99
|
+
audioPlayerPage.steps.verifyPlayerLayoutSettingButtonIsNotSelected(buttonLabel);
|
100
|
+
});
|
101
|
+
});
|
102
|
+
|
103
|
+
it('When user collapses and expands the accordion, then the previously made changes should persist', () => {
|
104
|
+
audioPlayerPage.steps.collapseCustomizePlayerLayoutSettingsAccordion();
|
105
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
106
|
+
barPlayerLayoutSettings.forEach((buttonLabel) => {
|
107
|
+
audioPlayerPage.steps.verifyPlayerLayoutSettingButtonIsNotSelected(buttonLabel);
|
108
|
+
});
|
109
|
+
});
|
110
|
+
|
111
|
+
it('User should be able to select a deselected player layout setting toggle buttons by clicking on it', () => {
|
112
|
+
barPlayerLayoutSettings.forEach((buttonLabel) => {
|
113
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton(buttonLabel);
|
114
|
+
});
|
115
|
+
});
|
116
|
+
|
117
|
+
it('When user selects standard audio player style, then controls - "Pause", "Seek", "Playback speed", "Add pin" and "Forward/ backward" should be displayed.', () => {
|
118
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Standard');
|
119
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutPauseButton(), 'visible');
|
120
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutSeekButton(), 'visible');
|
121
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutPlaybackSpeedButton(), 'visible');
|
122
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutAddPinButton(), 'visible');
|
123
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutForwardBackwardButton(), 'visible');
|
124
|
+
standardPlayerLayoutSettings.forEach((buttonLabel, index) => {
|
125
|
+
utilities.verifyElementVisibilityState(utilities.getNthElement(audioPlayerPage.customizePlayerLayoutToggleButtonLabel(), index), 'visible');
|
126
|
+
utilities.verifyInnerText(utilities.getNthElement(audioPlayerPage.customizePlayerLayoutToggleButtonLabel(), index), buttonLabel);
|
127
|
+
audioPlayerPage.steps.verifyPlayerLayoutSettingButtonIsSelected(buttonLabel);
|
128
|
+
});
|
129
|
+
utilities.verifyElementCount(audioPlayerPage.customizePlayerLayoutSettingsToggleButtons(), standardPlayerLayoutSettings.length);
|
130
|
+
});
|
131
|
+
|
132
|
+
it('When user selects compact audio player style, then controls - "Pause", "Seek", "Playback speed", "Forward/ backward", "Volume", "Timer" and "Progress indicator" should be displayed.', () => {
|
133
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Compact');
|
134
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutPauseButton(), 'visible');
|
135
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutSeekButton(), 'visible');
|
136
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutPlaybackSpeedButton(), 'visible');
|
137
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutForwardBackwardButton(), 'visible');
|
138
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutVolumeButton(), 'visible');
|
139
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutTimerButton(), 'visible');
|
140
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.customizePlayerLayoutProgressIndicatorButton(), 'visible');
|
141
|
+
compactPlayerLayoutSettings.forEach((buttonLabel, index) => {
|
142
|
+
utilities.verifyElementVisibilityState(utilities.getNthElement(audioPlayerPage.customizePlayerLayoutToggleButtonLabel(), index), 'visible');
|
143
|
+
utilities.verifyInnerText(utilities.getNthElement(audioPlayerPage.customizePlayerLayoutToggleButtonLabel(), index), buttonLabel);
|
144
|
+
audioPlayerPage.steps.verifyPlayerLayoutSettingButtonIsSelected(buttonLabel);
|
145
|
+
});
|
146
|
+
utilities.verifyElementCount(audioPlayerPage.customizePlayerLayoutSettingsToggleButtons(), compactPlayerLayoutSettings.length);
|
147
|
+
});
|
148
|
+
|
149
|
+
it('When user deselects progress indicator toggle button, then seek toggle button should be deselected and disabled', () => {
|
150
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Progress indicator');
|
151
|
+
audioPlayerPage.steps.verifyPlayerLayoutSettingButtonIsNotSelected('Seek');
|
152
|
+
utilities.verifyElementDisabled(audioPlayerPage.customizePlayerLayoutSeekButton());
|
153
|
+
});
|
154
|
+
});
|
155
|
+
|
156
|
+
describe('Controls for playback - Pause', () => {
|
157
|
+
abortEarlySetup();
|
158
|
+
before(() => {
|
159
|
+
audioPlayerPage.steps.navigateToCreateResource('audio player');
|
160
|
+
audioPlayerPage.steps.uploadFile('uploads/sample10sec.mp3');
|
161
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
162
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Standard');
|
163
|
+
});
|
164
|
+
|
165
|
+
it('In standard mode, when the \'Pause\' option is selected the pause button should be enabled in the preview tab', () => {
|
166
|
+
cy.log('Pre-step: Switching to Preview tab');
|
167
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
168
|
+
audioPlayerPage.steps.startPlayback();
|
169
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
170
|
+
audioPlayerPage.steps.addWaitToPlayAudio(3000);
|
171
|
+
utilities.verifyElementNotDisabled(audioPlayerPage.playbackPauseButton());
|
172
|
+
audioPlayerPage.steps.pausePlayback();
|
173
|
+
audioPlayerPage.steps.verifyAudioPlaybackTimer('00:04', '00:10');
|
174
|
+
});
|
175
|
+
|
176
|
+
it('In standard mode, when the pause option is deselected the pause button should be disabled in the preview tab', () => {
|
177
|
+
cy.log('Pre-step: Switching to Edit tab');
|
178
|
+
audioPlayerPage.steps.switchToEditTab();
|
179
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Pause');
|
180
|
+
cy.log('Switching to Preview tab');
|
181
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
182
|
+
audioPlayerPage.steps.startPlayback();
|
183
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
184
|
+
audioPlayerPage.steps.addWaitToPlayAudio(3000);
|
185
|
+
utilities.verifyElementDisabled(audioPlayerPage.playbackPauseButton());
|
186
|
+
});
|
187
|
+
|
188
|
+
it('In bar mode, when the \'Pause\' option is selected the pause button should be enabled in the preview tab', () => {
|
189
|
+
audioPlayerPage.steps.switchToEditTab();
|
190
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Bar');
|
191
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton('Pause');
|
192
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
193
|
+
audioPlayerPage.steps.startPlayback();
|
194
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
195
|
+
audioPlayerPage.steps.addWaitToPlayAudio(3000);
|
196
|
+
utilities.verifyElementNotDisabled(audioPlayerPage.playbackPauseButton());
|
197
|
+
audioPlayerPage.steps.pausePlayback();
|
198
|
+
audioPlayerPage.steps.verifyAudioPlaybackTimer('00:04', '00:10');
|
199
|
+
});
|
200
|
+
|
201
|
+
it('In bar mode, when the pause option is deselected the pause button should be disabled in the preview tab', () => {
|
202
|
+
cy.log('Pre-step: Switching to Edit tab');
|
203
|
+
audioPlayerPage.steps.switchToEditTab();
|
204
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Pause');
|
205
|
+
cy.log('Switching to Preview tab');
|
206
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
207
|
+
audioPlayerPage.steps.startPlayback();
|
208
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
209
|
+
audioPlayerPage.steps.addWaitToPlayAudio(3000);
|
210
|
+
utilities.verifyElementDisabled(audioPlayerPage.playbackPauseButton());
|
211
|
+
});
|
212
|
+
|
213
|
+
it('In compact mode, when the pause option is selected the pause button should be enabled in the preview tab', () => {
|
214
|
+
cy.log('Pre-step: Switching to Edit tab and selecting compact audio player style option');
|
215
|
+
audioPlayerPage.steps.switchToEditTab();
|
216
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Compact');
|
217
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton('Pause');
|
218
|
+
cy.log('Switching to Preview tab');
|
219
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
220
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
221
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
222
|
+
audioPlayerPage.steps.addWaitToPlayAudio(3000);
|
223
|
+
utilities.verifyElementNotDisabled(audioPlayerPage.playbackPauseButton());
|
224
|
+
audioPlayerPage.steps.pausePlayback();
|
225
|
+
audioPlayerPage.steps.verifyAudioPlaybackTimer('00:04', '00:10');
|
226
|
+
});
|
227
|
+
|
228
|
+
it('In compact mode, when the pause option is deselected the pause button should be disabled in the preview tab', () => {
|
229
|
+
cy.log('Pre-step: Switching to Edit tab');
|
230
|
+
audioPlayerPage.steps.switchToEditTab();
|
231
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Pause');
|
232
|
+
cy.log('Switching to Preview tab');
|
233
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
234
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
235
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
236
|
+
audioPlayerPage.steps.addWaitToPlayAudio(3000);
|
237
|
+
utilities.verifyElementDisabled(audioPlayerPage.playbackPauseButton());
|
238
|
+
});
|
239
|
+
});
|
240
|
+
|
241
|
+
describe('Controls for playback - Seek', () => {
|
242
|
+
abortEarlySetup();
|
243
|
+
before(() => {
|
244
|
+
audioPlayerPage.steps.navigateToCreateResource('audio player');
|
245
|
+
audioPlayerPage.steps.uploadFile('uploads/sample10sec.mp3');
|
246
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
247
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Standard');
|
248
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
249
|
+
audioPlayerPage.steps.startPlayback();
|
250
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
251
|
+
audioPlayerPage.steps.addWaitToPlayAudio(2000);
|
252
|
+
audioPlayerPage.steps.pausePlayback();
|
253
|
+
});
|
254
|
+
|
255
|
+
it('In standard mode, when the \'Seek\' option is selected the seek functionality should be enabled in the preview tab, progress bar slider should be displayed and user should be able to seek the audio from the progress bar', () => {
|
256
|
+
let actualAudioSeekedInPercent = 50
|
257
|
+
cy.log('Clicking at the middle of the progress bar to seek till 50% of the audio');
|
258
|
+
audioPlayerPage.steps.seekProgressBarSliderToCenter();
|
259
|
+
audioPlayerPage.steps.addWaitToPlayAudio(1000);
|
260
|
+
audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
261
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.progressBarSlider(), 'visible');
|
262
|
+
});
|
263
|
+
|
264
|
+
it('In standard mode, when the \'Seek\' option is deselected, the progress bar should not have a slider and user should not be able to seek the audio from the progress bar', () => {
|
265
|
+
let actualAudioSeekedInPercent = 25
|
266
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Seek\' button, switching back to Preview tab');
|
267
|
+
audioPlayerPage.steps.switchToEditTab();
|
268
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Seek');
|
269
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
270
|
+
audioPlayerPage.steps.startPlayback();
|
271
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
272
|
+
audioPlayerPage.steps.addWaitToPlayAudio(2000);
|
273
|
+
audioPlayerPage.steps.pausePlayback();
|
274
|
+
cy.log('Clicking at the middle of the progress bar to seek till 50% of the audio');
|
275
|
+
audioPlayerPage.steps.seekProgressBarSliderToCenter();
|
276
|
+
audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
277
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.progressBarSlider(), 'hidden');
|
278
|
+
});
|
279
|
+
|
280
|
+
it('In bar mode, when the \'Seek\' option is selected the seek functionality should be enabled in the preview tab, progress bar slider should be displayed and user should be able to seek the audio from the progress bar', () => {
|
281
|
+
let actualAudioSeekedInPercent = 50
|
282
|
+
audioPlayerPage.steps.switchToEditTab();
|
283
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Bar');
|
284
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton('Seek');
|
285
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
286
|
+
audioPlayerPage.steps.startPlayback();
|
287
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
288
|
+
audioPlayerPage.steps.addWaitToPlayAudio(2000);
|
289
|
+
audioPlayerPage.steps.pausePlayback();
|
290
|
+
cy.log('Clicking at the middle of the progress bar to seek till 50% of the audio');
|
291
|
+
audioPlayerPage.steps.seekProgressBarSliderToCenter();
|
292
|
+
audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
293
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.progressBarSlider(), 'visible');
|
294
|
+
});
|
295
|
+
|
296
|
+
it('In bar mode, when the \'Seek\' option is deselected, the progress bar should not have a slider and user should not be able to seek the audio from the progress bar', () => {
|
297
|
+
let actualAudioSeekedInPercent = 25
|
298
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Seek\' button, switching back to Preview tab');
|
299
|
+
audioPlayerPage.steps.switchToEditTab();
|
300
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Seek');
|
301
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
302
|
+
audioPlayerPage.steps.startPlayback();
|
303
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
304
|
+
audioPlayerPage.steps.addWaitToPlayAudio(2000);
|
305
|
+
audioPlayerPage.steps.pausePlayback();
|
306
|
+
cy.log('Clicking at the middle of the progress bar to seek till 50% of the audio');
|
307
|
+
audioPlayerPage.steps.seekProgressBarSliderToCenter();
|
308
|
+
audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
309
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.progressBarSlider(), 'hidden');
|
310
|
+
});
|
311
|
+
|
312
|
+
it('In compact mode, when \'Seek\' option is selected user should be able to seek the audio from the progress bar', () => {
|
313
|
+
let actualAudioSeekedInPercent = 50
|
314
|
+
cy.log('Pre-step: Switching to Edit tab and selecting compact audio player style option and switching back to preview tab');
|
315
|
+
audioPlayerPage.steps.switchToEditTab();
|
316
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Compact');
|
317
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton('Seek');
|
318
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
319
|
+
cy.log('Clicking on start playback and letting it play until a certain time');
|
320
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
321
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
322
|
+
audioPlayerPage.steps.addWaitToPlayAudio(2000);
|
323
|
+
audioPlayerPage.steps.pausePlayback();
|
324
|
+
cy.log('Clicking at the middle of the progress bar to seek till 50% of the audio');
|
325
|
+
audioPlayerPage.steps.seekProgressBarSliderToCenter();
|
326
|
+
audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
327
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.progressBarSlider(), 'visible');
|
328
|
+
});
|
329
|
+
|
330
|
+
it('In compact mode, when \'Seek\' option is deselected, the progress bar should not have a slider and user should not able to seek on the progress bar', () => {
|
331
|
+
let actualAudioSeekedInPercent = 25
|
332
|
+
cy.log('Pre-step : Switching to Edit tab, deselecting \'Seek\' and switching back to Preview tab');
|
333
|
+
audioPlayerPage.steps.switchToEditTab();
|
334
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Seek');
|
335
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
336
|
+
cy.log('Clicking on start playback and letting it play until a certain time');
|
337
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
338
|
+
audioPlayerPage.steps.waitForPlaybackToBegin();
|
339
|
+
audioPlayerPage.steps.addWaitToPlayAudio(2000);
|
340
|
+
audioPlayerPage.steps.pausePlayback();
|
341
|
+
cy.log('Clicking at the middle of the progress bar to seek till 50% of the audio');
|
342
|
+
audioPlayerPage.steps.seekProgressBarSliderToCenter();
|
343
|
+
audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
344
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.progressBarSlider(), 'hidden');
|
345
|
+
});
|
346
|
+
});
|
347
|
+
|
348
|
+
describe('Controls for playback - Playback speed', () => {
|
349
|
+
const playbackSpeedOptions = ['0.5', '1', '1.25', '1.5', '1.75', '2'];
|
350
|
+
abortEarlySetup();
|
351
|
+
before(() => {
|
352
|
+
audioPlayerPage.steps.navigateToCreateResource('audio player');
|
353
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Standard');
|
354
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
355
|
+
});
|
356
|
+
|
357
|
+
it('In standard mode, when the \'Playback speed\' option is selected, then in preview tab the playback speed button should be displayed and upon hovering the playback speed options should be displayed', () => {
|
358
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'visible');
|
359
|
+
utilities.triggerMouseover(audioPlayerPage.addPinButton());
|
360
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.playbackSpeedOption(), 'visible');
|
361
|
+
utilities.verifyElementCount(audioPlayerPage.playbackSpeedOption(), playbackSpeedOptions.length);
|
362
|
+
audioPlayerPage.steps.verifyPlaybackSpeedListOptions(playbackSpeedOptions);
|
363
|
+
utilities.hoverAwayFromElement();
|
364
|
+
});
|
365
|
+
|
366
|
+
it('In standard mode, when the \'Playback speed\' option is not selected, then in preview tab the playback speed button should be should not be displayed', () => {
|
367
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Playback speed\' button, switching back to Preview tab');
|
368
|
+
audioPlayerPage.steps.switchToEditTab();
|
369
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
370
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Playback speed');
|
371
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
372
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'notExist');
|
373
|
+
});
|
374
|
+
|
375
|
+
it('In bar mode, when the \'Playback speed\' option is selected, then in preview tab the playback speed button should be displayed and upon hovering the playback speed options should be displayed', () => {
|
376
|
+
audioPlayerPage.steps.switchToEditTab();
|
377
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Bar');
|
378
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton('Playback speed');
|
379
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
380
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'visible');
|
381
|
+
utilities.triggerMouseover(audioPlayerPage.addPinButton());
|
382
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.playbackSpeedOption(), 'visible');
|
383
|
+
utilities.verifyElementCount(audioPlayerPage.playbackSpeedOption(), playbackSpeedOptions.length);
|
384
|
+
audioPlayerPage.steps.verifyPlaybackSpeedListOptions(playbackSpeedOptions);
|
385
|
+
utilities.hoverAwayFromElement();
|
386
|
+
});
|
387
|
+
|
388
|
+
it('In bar mode, when the \'Playback speed\' option is not selected, then in preview tab the playback speed button should be should not be displayed', () => {
|
389
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Playback speed\' button, switching back to Preview tab');
|
390
|
+
audioPlayerPage.steps.switchToEditTab();
|
391
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Playback speed');
|
392
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
393
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'notExist');
|
394
|
+
});
|
395
|
+
|
396
|
+
it('In compact mode, when the \'Playback speed\' option is selected, then in preview tab the playback speed button should be displayed and upon hovering the playback speed options should be displayed', () => {
|
397
|
+
audioPlayerPage.steps.switchToEditTab();
|
398
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Compact');
|
399
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton('Playback speed');
|
400
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
401
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
402
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'visible');
|
403
|
+
utilities.triggerMouseover(audioPlayerPage.addPinButton());
|
404
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.playbackSpeedOption(), 'visible');
|
405
|
+
utilities.verifyElementCount(audioPlayerPage.playbackSpeedOption(), playbackSpeedOptions.length);
|
406
|
+
audioPlayerPage.steps.verifyPlaybackSpeedListOptions(playbackSpeedOptions);
|
407
|
+
utilities.hoverAwayFromElement();
|
408
|
+
});
|
409
|
+
|
410
|
+
it('In bar mode, when the \'Playback speed\' option is not selected, then in preview tab the playback speed button should be should not be displayed', () => {
|
411
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Playback speed\' button, switching back to Preview tab');
|
412
|
+
audioPlayerPage.steps.switchToEditTab();
|
413
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Playback speed');
|
414
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
415
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
416
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'notExist');
|
417
|
+
});
|
418
|
+
});
|
419
|
+
|
420
|
+
describe('Controls for playback - Add pin', () => {
|
421
|
+
abortEarlySetup();
|
422
|
+
before(() => {
|
423
|
+
audioPlayerPage.steps.navigateToCreateResource('audio player');
|
424
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Standard');
|
425
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
426
|
+
});
|
427
|
+
|
428
|
+
it('In standard mode, when the \'Add pin\' option is selected, then in preview tab the add pin button should be displayed and upon hovering tooltip \'Add pin\' should be displayed', () => {
|
429
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'visible');
|
430
|
+
audioPlayerPage.addPinButton()
|
431
|
+
.verifyTooltip('Add pin');
|
432
|
+
});
|
433
|
+
|
434
|
+
it('In standard mode, when the \'Add pin\' option is not selected, then in preview tab the add pin button should be should not be displayed', () => {
|
435
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Add pin\' button, switching back to Preview tab');
|
436
|
+
audioPlayerPage.steps.switchToEditTab();
|
437
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
438
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Add pin');
|
439
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
440
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'notExist');
|
441
|
+
});
|
442
|
+
|
443
|
+
it('In bar mode, when the \'Add pin\' option is selected, then in preview tab the add pin button should be displayed and upon hovering tooltip \'Add pin\' should be displayed', () => {
|
444
|
+
audioPlayerPage.steps.switchToEditTab();
|
445
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Bar');
|
446
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton('Add pin');
|
447
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
448
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'visible');
|
449
|
+
audioPlayerPage.addPinButton()
|
450
|
+
.verifyTooltip('Add pin');
|
451
|
+
});
|
452
|
+
|
453
|
+
it('In bar mode, when the \'Add pin\' option is not selected, then in preview tab the add pin button should be should not be displayed', () => {
|
454
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Add pin\' button, switching back to Preview tab');
|
455
|
+
audioPlayerPage.steps.switchToEditTab();
|
456
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Add pin');
|
457
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
458
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'notExist');
|
459
|
+
});
|
460
|
+
});
|
461
|
+
|
462
|
+
describe('Controls for playback - Forward and Backward buttons', () => {
|
463
|
+
abortEarlySetup();
|
464
|
+
before(() => {
|
465
|
+
audioPlayerPage.steps.navigateToCreateResource('audio player');
|
466
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Standard');
|
467
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
468
|
+
});
|
469
|
+
|
470
|
+
it('In standard mode, when the \'Forward/ backward\' option is selected, then in preview tab the forward and backward button should be displayed and upon hovering tooltip \'Forward/ backward\' should be displayed', () => {
|
471
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'visible');
|
472
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'visible');
|
473
|
+
});
|
474
|
+
|
475
|
+
it('In standard mode, when the \'Forward/ backward\' option is not selected, then in preview tab the forward and backward button should be should not be displayed', () => {
|
476
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Forward/ backward\' button, switching back to Preview tab');
|
477
|
+
audioPlayerPage.steps.switchToEditTab();
|
478
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
479
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Forward/ backward');
|
480
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
481
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'notExist');
|
482
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'notExist');
|
483
|
+
});
|
484
|
+
|
485
|
+
it('In bar mode, when the \'Forward/ backward\' option is selected, then in preview tab the forward and backward button should be displayed and upon hovering tooltip \'Forward/ backward\' should be displayed', () => {
|
486
|
+
audioPlayerPage.steps.switchToEditTab();
|
487
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Bar');
|
488
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton('Forward/ backward');
|
489
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
490
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'visible');
|
491
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'visible');
|
492
|
+
});
|
493
|
+
|
494
|
+
it('In bar mode, when the \'Forward/ backward\' option is not selected, then in preview tab the forward and backward button should be should not be displayed', () => {
|
495
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Forward/ backward\' button, switching back to Preview tab');
|
496
|
+
audioPlayerPage.steps.switchToEditTab();
|
497
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Forward/ backward');
|
498
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
499
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'notExist');
|
500
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'notExist');
|
501
|
+
});
|
502
|
+
|
503
|
+
it('In compact mode, when the \'Forward/ backward\' option is selected, then in preview tab the forward and backward button should be displayed and upon hovering tooltip \'Forward/ backward\' should be displayed', () => {
|
504
|
+
audioPlayerPage.steps.switchToEditTab();
|
505
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Compact');
|
506
|
+
audioPlayerPage.steps.selectPlayerLayoutSettingButton('Forward/ backward');
|
507
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
508
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
509
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'visible');
|
510
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'visible');
|
511
|
+
});
|
512
|
+
|
513
|
+
it('In compact mode, when the \'Forward/ backward\' option is not selected, then in preview tab the forward and backward button should be should not be displayed', () => {
|
514
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Forward/ backward\' button, switching back to Preview tab');
|
515
|
+
audioPlayerPage.steps.switchToEditTab();
|
516
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Forward/ backward');
|
517
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
518
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
519
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'notExist');
|
520
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'notExist');
|
521
|
+
});
|
522
|
+
});
|
523
|
+
|
524
|
+
describe('Controls for playback - Volume', () => {
|
525
|
+
abortEarlySetup();
|
526
|
+
before(() => {
|
527
|
+
audioPlayerPage.steps.navigateToCreateResource('audio player');
|
528
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Compact');
|
529
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
530
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
531
|
+
});
|
532
|
+
|
533
|
+
it('In compact mode, when the \'Volume\' option is selected, then in preview tab the volume button should be displayed', () => {
|
534
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
535
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.volumeControlButton(), 'visible');
|
536
|
+
});
|
537
|
+
|
538
|
+
it('In compact mode, when the \'Volume\' option is not selected, then in preview tab the volume button should not be displayed', () => {
|
539
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Volume\' button, switching back to Preview tab');
|
540
|
+
audioPlayerPage.steps.switchToEditTab();
|
541
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Volume');
|
542
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
543
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
544
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.volumeControlButton(), 'notExist');
|
545
|
+
});
|
546
|
+
});
|
547
|
+
|
548
|
+
describe('Controls for playback - Timer', () => {
|
549
|
+
abortEarlySetup();
|
550
|
+
before(() => {
|
551
|
+
audioPlayerPage.steps.navigateToCreateResource('audio player');
|
552
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Compact');
|
553
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
554
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
555
|
+
});
|
556
|
+
|
557
|
+
it('In compact mode, when the \'Timer\' option is selected, then in preview tab the elapsed and total time should be displayed', () => {
|
558
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
559
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.playbackElapsedTime(), 'visible');
|
560
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.playbackTotalTime(), 'visible');
|
561
|
+
});
|
562
|
+
|
563
|
+
it('In compact mode, when the \'Volume\' option is not selected, then in preview tab the elapsed and total time should not be displayed', () => {
|
564
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Volume\' button, switching back to Preview tab');
|
565
|
+
audioPlayerPage.steps.switchToEditTab();
|
566
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Timer');
|
567
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
568
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
569
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.playbackTime(), 'notExist');
|
570
|
+
});
|
571
|
+
});
|
572
|
+
|
573
|
+
describe('Controls for playback - Progress indicator', () => {
|
574
|
+
abortEarlySetup();
|
575
|
+
before(() => {
|
576
|
+
audioPlayerPage.steps.navigateToCreateResource('audio player');
|
577
|
+
audioPlayerPage.steps.selectAudioPlayerStyleToggleButton('Compact');
|
578
|
+
audioPlayerPage.steps.expandCustomizePlayerLayoutSettingsAccordion();
|
579
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
580
|
+
});
|
581
|
+
|
582
|
+
it('In compact mode, when the \'Timer\' option is selected, then in preview tab the progress bar should be displayed', () => {
|
583
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
584
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.progressBar(), 'visible');
|
585
|
+
});
|
586
|
+
|
587
|
+
it('In compact mode, when the \'Volume\' option is not selected, then in preview tab the progress bar should not be displayed', () => {
|
588
|
+
cy.log('Pre-step: Switching to Edit tab, deselecting \'Volume\' button, switching back to Preview tab');
|
589
|
+
audioPlayerPage.steps.switchToEditTab();
|
590
|
+
audioPlayerPage.steps.deselectPlayerLayoutSettingButton('Progress indicator');
|
591
|
+
audioPlayerPage.steps.switchToPreviewTab();
|
592
|
+
audioPlayerPage.steps.clickOnPlayButton();
|
593
|
+
utilities.verifyElementVisibilityState(audioPlayerPage.progressBar(), 'notExist');
|
594
|
+
});
|
595
|
+
});
|
596
|
+
});
|