itemengine-cypress-automation 1.0.189-e2e-execution-crash-83cdbd4.0 → 1.0.189
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
@@ -33,10 +33,7 @@ describe('Create item page - Audio response: Student view settings', () => {
|
|
33
33
|
utilities.verifyInnerText(audioResponsePage.audioIndicatorsVolumeMeterButtonLabel(), 'Volume meter');
|
34
34
|
});
|
35
35
|
|
36
|
-
|
37
|
-
utilities.verifyInnerText(audioResponsePage.limitNumberOfRetakeCheckboxLabel(), 'Limit number of retake');
|
38
|
-
audioResponsePage.steps.limitNumberOfRetakeCheckboxUncheckedState();
|
39
|
-
});
|
36
|
+
audioResponsePage.tests.verifyLimitNumberOfRetakeCheckboxDefaultState();
|
40
37
|
|
41
38
|
it('CSS of \'Audio indicators\' section', { tags: 'css' }, () => {
|
42
39
|
utilities.verifyCSS(audioResponsePage.audioIndicatorsLabel(), {
|
@@ -79,13 +76,7 @@ describe('Create item page - Audio response: Student view settings', () => {
|
|
79
76
|
});
|
80
77
|
});
|
81
78
|
|
82
|
-
|
83
|
-
audioResponsePage.steps.checkLimitNumberOfRetakeCheckbox();
|
84
|
-
utilities.verifyInnerText(audioResponsePage.showStudentsTheRetakeLimitsOnTooltipCheckboxLabel(), 'Show students the retake limits on tooltip');
|
85
|
-
audioResponsePage.steps.verifyShowStudentsTheRetakeLimitsOnTooltipCheckboxUncheckedState();
|
86
|
-
utilities.verifyInnerText(audioResponsePage.retakeLimitLabel(), 'Retake limit');
|
87
|
-
audioResponsePage.steps.verifyRetakeLimitInputFieldValue('');
|
88
|
-
});
|
79
|
+
audioResponsePage.tests.verifyLimitNumberOfRetakeCheckboxCheckedState();
|
89
80
|
});
|
90
81
|
|
91
82
|
describe('Audio indicators : Timer', () => {
|
@@ -0,0 +1,359 @@
|
|
1
|
+
import { chartsBarPage, itemPreviewPage } 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 previewContentViews = ['Question preview', 'Item view', 'Item preview', 'Student view'];
|
7
|
+
const views = utilities.getViews(previewContentViews);
|
8
|
+
var itemReferenceID = "";
|
9
|
+
const barBackgroundColor = ['rgb(46, 169, 89)', 'rgb(6, 117, 244)', 'rgb(219, 124, 0)', 'rgb(156, 105, 39)', 'rgb(219, 60, 0)'];
|
10
|
+
|
11
|
+
describe('Create item page: Charts - Bar - Preview contents in all views', () => {
|
12
|
+
before(() => {
|
13
|
+
cy.loginAs('admin');
|
14
|
+
});
|
15
|
+
|
16
|
+
views.forEach((view) => {
|
17
|
+
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
18
|
+
abortEarlySetup();
|
19
|
+
before(() => {
|
20
|
+
switch (view) {
|
21
|
+
case 'Question preview':
|
22
|
+
chartsBarPage.steps.navigateToCreateQuestion('charts');
|
23
|
+
cy.barsPreLoaderWait();
|
24
|
+
chartsBarPage.steps.addTextInQuestionInstructionsInputField('Set the bar on the chart for the profits of the years');
|
25
|
+
chartsBarPage.steps.selectAddBarOrPointToolbarOption();
|
26
|
+
chartsBarPage.steps.addBarOrPointInChartInSelectChartTypeSection();
|
27
|
+
chartsBarPage.steps.setGraphTitle('Graph of profits');
|
28
|
+
chartsBarPage.steps.setYAxisLabel('Profit');
|
29
|
+
chartsBarPage.steps.setXAxisLabel('Year');
|
30
|
+
chartsBarPage.steps.setMaxYValue(20);
|
31
|
+
chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 0, value: 1, range: 20 });
|
32
|
+
chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 1, value: 2, range: 20 });
|
33
|
+
chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 2, value: 3, range: 20 });
|
34
|
+
chartsBarPage.steps.setBarValueInSelectChartTypeSection({ barIndex: 3, value: 4, range: 20 });
|
35
|
+
chartsBarPage.steps.lockBar(1);
|
36
|
+
chartsBarPage.steps.allotPoints(10);
|
37
|
+
chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 0, value: 2, range: 20 });
|
38
|
+
chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 2, value: 5, range: 20 });
|
39
|
+
chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 3, value: 1, range: 20 });
|
40
|
+
chartsBarPage.steps.addBarOrPointInChartInSpecifyCorrectAnswerSection();
|
41
|
+
chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 4, value: 8, range: 20 });
|
42
|
+
chartsBarPage.steps.switchToPreviewTab();
|
43
|
+
break;
|
44
|
+
case 'Item view':
|
45
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
46
|
+
break;
|
47
|
+
case 'Item preview':
|
48
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
49
|
+
chartsBarPage.steps.switchToPreviewTab();
|
50
|
+
break;
|
51
|
+
case 'Student view':
|
52
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
53
|
+
break;
|
54
|
+
default:
|
55
|
+
throw new Error('Invalid view');
|
56
|
+
}
|
57
|
+
});
|
58
|
+
|
59
|
+
after(() => {
|
60
|
+
if (view === 'Question preview') {
|
61
|
+
chartsBarPage.steps.clickOnSaveQuestionButton();
|
62
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
63
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
64
|
+
}
|
65
|
+
});
|
66
|
+
|
67
|
+
it('Question instructions should be visible', () => {
|
68
|
+
utilities.verifyInnerText(chartsBarPage.questionInstructionsText(), 'Set the bar on the chart for the profits of the years');
|
69
|
+
utilities.verifyElementVisibilityState(chartsBarPage.questionInstructionsText(), 'visible');
|
70
|
+
});
|
71
|
+
|
72
|
+
it('The toolbar options - Add bar, Undo, Redo and Reset should be displayed in the preview tab and only Add bar button should be enabled', () => {
|
73
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolsAddBarOrPointButton(), 'visible');
|
74
|
+
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
75
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolsUndoButton(), 'visible');
|
76
|
+
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsUndoButton());
|
77
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolsRedoButton(), 'visible');
|
78
|
+
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsRedoButton());
|
79
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolsResetButton(), 'visible');
|
80
|
+
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
|
81
|
+
});
|
82
|
+
|
83
|
+
it('When user hovers on the enabled add bar button, then tooltip \'Add bar\' should be displayed', () => {
|
84
|
+
chartsBarPage.previewTabToolsAddBarOrPointButton()
|
85
|
+
.verifyTooltip('Add bar');
|
86
|
+
});
|
87
|
+
|
88
|
+
it('CSS of the tooltip text', { tags: 'css' }, () => {
|
89
|
+
utilities.triggerMouseover(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
90
|
+
utilities.verifyCSS(chartsBarPage.tooltipText(), {
|
91
|
+
'color': css.color.whiteText,
|
92
|
+
'font-size': css.fontSize.normal,
|
93
|
+
'font-weight': css.fontWeight.regular,
|
94
|
+
'background-color': css.color.tooltipBg
|
95
|
+
});
|
96
|
+
utilities.triggerMouseout(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
97
|
+
});
|
98
|
+
|
99
|
+
it('Accessibility of the tooltip text', { tags: 'a11y' }, () => {
|
100
|
+
utilities.triggerMouseover(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
101
|
+
utilities.verifyElementVisibilityState(chartsBarPage.tooltipText(), 'visible');
|
102
|
+
cy.checkAccessibility(chartsBarPage.tooltipText());
|
103
|
+
utilities.triggerMouseout(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
104
|
+
utilities.verifyElementVisibilityState(chartsBarPage.tooltipText(), 'notExist');
|
105
|
+
});
|
106
|
+
|
107
|
+
it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
|
108
|
+
utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
|
109
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
|
110
|
+
utilities.verifyInnerText(chartsBarPage.previewTabYAxisLabelButton(), 'Profit');
|
111
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabYAxisLabelButton(), 'visible');
|
112
|
+
utilities.verifyInnerText(chartsBarPage.previewTabXAxisLabelButton(), 'Year');
|
113
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabXAxisLabelButton(), 'visible');
|
114
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 0), 'Bar 1');
|
115
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 1), 'Bar 2');
|
116
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 2), 'Bar 3');
|
117
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 3), 'Bar 4');
|
118
|
+
});
|
119
|
+
|
120
|
+
it('The graph max value should be as set in the Max Y input field and it should affect the chart division', () => {
|
121
|
+
utilities.verifyTextContent(utilities.getNthElement(chartsBarPage.previewTabYAxisCoordinate(), 0), 20);
|
122
|
+
utilities.verifyElementCount(chartsBarPage.previewTabChartRowHeaderContainer(), 11); //Chart has 10 rows but checking 11 as table also contains bar labels
|
123
|
+
});
|
124
|
+
|
125
|
+
it('User should be able to edit the Y axis and X axis labels in preview tab', () => {
|
126
|
+
chartsBarPage.steps.editYAxisLabelInPreviewTab('Edited Y axis label');
|
127
|
+
utilities.verifyInnerText(chartsBarPage.previewTabYAxisLabelButton(), 'Edited Y axis label');
|
128
|
+
chartsBarPage.steps.editXAxisLabelInPreviewTab('Edited X axis label');
|
129
|
+
utilities.verifyInnerText(chartsBarPage.previewTabXAxisLabelButton(), 'Edited X axis label');
|
130
|
+
});
|
131
|
+
|
132
|
+
it('The charts and graphs should be visible as set by the user in select chart type section', () => {
|
133
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 1, range: 20 });
|
134
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
|
135
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 3, range: 20 });
|
136
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 4, range: 20 });
|
137
|
+
});
|
138
|
+
|
139
|
+
it('The locked bar should be displayed in the locked state in preview tab and it should not have a drag handle', () => {
|
140
|
+
chartsBarPage.steps.verifyBarIsLockedInPreviewTab(1);
|
141
|
+
});
|
142
|
+
|
143
|
+
it('User should be able to increase the bar height in preview tab', () => {
|
144
|
+
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 20, range: 20 });
|
145
|
+
});
|
146
|
+
|
147
|
+
it('When user has perform an action on the bar chart, then the undo and reset button should be displayed in enabled state', () => {
|
148
|
+
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
|
149
|
+
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
|
150
|
+
});
|
151
|
+
|
152
|
+
it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
|
153
|
+
chartsBarPage.previewTabToolsUndoButton()
|
154
|
+
.verifyTooltip('Undo');
|
155
|
+
chartsBarPage.previewTabToolsResetButton()
|
156
|
+
.verifyTooltip('Reset');
|
157
|
+
});
|
158
|
+
|
159
|
+
it('CSS of the tooltip text', { tags: 'css' }, () => {
|
160
|
+
utilities.triggerMouseover(chartsBarPage.previewTabToolsUndoButton());
|
161
|
+
utilities.verifyCSS(chartsBarPage.tooltipText(), {
|
162
|
+
'color': css.color.whiteText,
|
163
|
+
'font-size': css.fontSize.normal,
|
164
|
+
'font-weight': css.fontWeight.regular,
|
165
|
+
'background-color': css.color.tooltipBg
|
166
|
+
});
|
167
|
+
utilities.triggerMouseout(chartsBarPage.previewTabToolsUndoButton());
|
168
|
+
utilities.triggerMouseover(chartsBarPage.previewTabToolsResetButton());
|
169
|
+
utilities.verifyCSS(chartsBarPage.tooltipText(), {
|
170
|
+
'color': css.color.whiteText,
|
171
|
+
'font-size': css.fontSize.normal,
|
172
|
+
'font-weight': css.fontWeight.regular,
|
173
|
+
'background-color': css.color.tooltipBg
|
174
|
+
});
|
175
|
+
utilities.triggerMouseout(chartsBarPage.previewTabToolsResetButton());
|
176
|
+
});
|
177
|
+
|
178
|
+
it('Accessibility of the tooltip text', { tags: 'a11y' }, () => {
|
179
|
+
utilities.triggerMouseover(chartsBarPage.previewTabToolsUndoButton());
|
180
|
+
utilities.verifyElementVisibilityState(chartsBarPage.tooltipText(), 'visible');
|
181
|
+
cy.checkAccessibility(chartsBarPage.tooltipText());
|
182
|
+
utilities.triggerMouseout(chartsBarPage.previewTabToolsUndoButton());
|
183
|
+
utilities.verifyElementVisibilityState(chartsBarPage.tooltipText(), 'notExist');
|
184
|
+
utilities.triggerMouseover(chartsBarPage.previewTabToolsResetButton());
|
185
|
+
utilities.verifyElementVisibilityState(chartsBarPage.tooltipText(), 'visible');
|
186
|
+
cy.checkAccessibility(chartsBarPage.tooltipText());
|
187
|
+
utilities.triggerMouseout(chartsBarPage.previewTabToolsResetButton());
|
188
|
+
utilities.verifyElementVisibilityState(chartsBarPage.tooltipText(), 'notExist');
|
189
|
+
});
|
190
|
+
|
191
|
+
it('User should be able to decrease the height of the bar in preview tab', () => {
|
192
|
+
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 2, value: 0, range: 20 });
|
193
|
+
});
|
194
|
+
|
195
|
+
it('User should be able to add a bar in chart and the added bar should be displayed at 0 height with the label \'Bar 5\'', () => {
|
196
|
+
chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
|
197
|
+
utilities.verifyElementCount(chartsBarPage.previewTabBar(), 5);
|
198
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 4, barValue: 0, range: 20 });
|
199
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 4), 'Bar 5');
|
200
|
+
});
|
201
|
+
|
202
|
+
it('CSS of newly added bar in preview tab', { tags: 'css' }, () => {
|
203
|
+
utilities.verifyCSS(chartsBarPage.previewTabBar().eq(4), {
|
204
|
+
'background-color': barBackgroundColor[4]
|
205
|
+
});
|
206
|
+
});
|
207
|
+
|
208
|
+
it('Accessibility of newly added bar in preview tab', { tags: 'a11y' }, () => {
|
209
|
+
cy.checkAccessibility(chartsBarPage.previewTabGraphTitle().parents('[class*="ChartsPreviewstyles__PreviewWrapper"]'));
|
210
|
+
});
|
211
|
+
|
212
|
+
it('When add bar limit is set to 1 and user has added a bar, then the add bar toolbar button should be disabled', () => {
|
213
|
+
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
214
|
+
});
|
215
|
+
|
216
|
+
it('User should be able to increase and decrease the height of the newly added bar', () => {
|
217
|
+
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 8, range: 20 });
|
218
|
+
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 3, range: 20 });
|
219
|
+
});
|
220
|
+
|
221
|
+
it('User should be able to edit the label a bar', () => {
|
222
|
+
chartsBarPage.steps.editBarLabelInPreviewTab(0, '2000');
|
223
|
+
chartsBarPage.steps.editBarLabelInPreviewTab(1, '2001');
|
224
|
+
});
|
225
|
+
|
226
|
+
it('When user clicks on the undo button, then the last performed action should be reverted', () => {
|
227
|
+
chartsBarPage.steps.clickOnUndoButtonPreviewTab();
|
228
|
+
chartsBarPage.steps.editBarLabelInPreviewTab(1, 'Bar 2');
|
229
|
+
});
|
230
|
+
|
231
|
+
it('When user has clicked on undo button, then the redo button should be enabled', () => {
|
232
|
+
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsRedoButton());
|
233
|
+
});
|
234
|
+
|
235
|
+
it('When user hovers on the enabled redo button, then tooltip \'Redo\' should be displayed', () => {
|
236
|
+
chartsBarPage.previewTabToolsRedoButton()
|
237
|
+
.verifyTooltip('Redo');
|
238
|
+
});
|
239
|
+
|
240
|
+
it('CSS of the tooltip text', { tags: 'css' }, () => {
|
241
|
+
utilities.triggerMouseover(chartsBarPage.previewTabToolsRedoButton());
|
242
|
+
utilities.verifyCSS(chartsBarPage.tooltipText(), {
|
243
|
+
'color': css.color.whiteText,
|
244
|
+
'font-size': css.fontSize.normal,
|
245
|
+
'font-weight': css.fontWeight.regular,
|
246
|
+
'background-color': css.color.tooltipBg
|
247
|
+
});
|
248
|
+
utilities.triggerMouseout(chartsBarPage.previewTabToolsRedoButton());
|
249
|
+
});
|
250
|
+
|
251
|
+
it('Accessibility of the tooltip text', { tags: 'a11y' }, () => {
|
252
|
+
utilities.triggerMouseover(chartsBarPage.previewTabToolsRedoButton());
|
253
|
+
utilities.verifyElementVisibilityState(chartsBarPage.tooltipText(), 'visible');
|
254
|
+
cy.checkAccessibility(chartsBarPage.tooltipText());
|
255
|
+
utilities.triggerMouseout(chartsBarPage.previewTabToolsRedoButton());
|
256
|
+
utilities.verifyElementVisibilityState(chartsBarPage.tooltipText(), 'notExist');
|
257
|
+
});
|
258
|
+
|
259
|
+
it('When the user clicks on redo button, then the last last reverted action should be performed and the button should be disabled again', () => {
|
260
|
+
chartsBarPage.steps.clickOnRedoButtonPreviewTab();
|
261
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 1), '2001');
|
262
|
+
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsRedoButton());
|
263
|
+
});
|
264
|
+
|
265
|
+
it('When user deletes a bar, then that bar should be deleted and the add bar button should be enabled again', () => {
|
266
|
+
chartsBarPage.steps.deleteBarInPreviewTab(4);
|
267
|
+
utilities.verifyElementCount(chartsBarPage.previewTabBar(), 4);
|
268
|
+
utilities.verifyElementVisibilityState(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 4), 'notExist');
|
269
|
+
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
270
|
+
});
|
271
|
+
|
272
|
+
it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state', () => {
|
273
|
+
chartsBarPage.steps.clickOnResetButtonPreviewTab();
|
274
|
+
chartsBarPage.steps.confirmReset();
|
275
|
+
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
276
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolsUndoButton(), 'visible');
|
277
|
+
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsUndoButton());
|
278
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolsRedoButton(), 'visible');
|
279
|
+
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsRedoButton());
|
280
|
+
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolsResetButton(), 'visible');
|
281
|
+
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
|
282
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 0), 'Bar 1');
|
283
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 1), 'Bar 2');
|
284
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 2), 'Bar 3');
|
285
|
+
utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 3), 'Bar 4');
|
286
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 1, range: 20 });
|
287
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
|
288
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 3, range: 20 });
|
289
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 4, range: 20 });
|
290
|
+
chartsBarPage.steps.verifyBarIsLockedInPreviewTab(1);
|
291
|
+
});
|
292
|
+
|
293
|
+
it('CSS of preview tab contents', { tags: 'css' }, () => {
|
294
|
+
utilities.verifyCSS(chartsBarPage.previewTabToolsAddBarOrPointButton(), {
|
295
|
+
'background-color': css.color.activeButtons
|
296
|
+
});
|
297
|
+
utilities.verifyCSS(chartsBarPage.previewTabToolsUndoButton().find('svg'), {
|
298
|
+
'fill': css.color.secondaryBtnDisabled
|
299
|
+
});
|
300
|
+
utilities.verifyCSS(chartsBarPage.previewTabToolsRedoButton().find('svg'), {
|
301
|
+
'fill': css.color.secondaryBtnDisabled
|
302
|
+
});
|
303
|
+
utilities.verifyCSS(chartsBarPage.previewTabToolsUndoButton().find('svg'), {
|
304
|
+
'fill': css.color.secondaryBtnDisabled
|
305
|
+
});
|
306
|
+
utilities.verifyCSS(chartsBarPage.previewTabGraphTitle(), {
|
307
|
+
'color': css.color.text,
|
308
|
+
'font-size': css.fontSize.default,
|
309
|
+
'font-weight': css.fontWeight.bold
|
310
|
+
});
|
311
|
+
utilities.verifyCSS(chartsBarPage.previewTabYAxisLabelButton(), {
|
312
|
+
'color': css.color.activeButtons,
|
313
|
+
'font-size': css.fontSize.default,
|
314
|
+
'font-weight': css.fontWeight.bold
|
315
|
+
});
|
316
|
+
utilities.verifyCSS(chartsBarPage.previewTabXAxisLabelButton(), {
|
317
|
+
'color': css.color.activeButtons,
|
318
|
+
'font-size': css.fontSize.default,
|
319
|
+
'font-weight': css.fontWeight.bold
|
320
|
+
});
|
321
|
+
utilities.verifyCSS(chartsBarPage.previewTabBarLabel(), {
|
322
|
+
'color': css.color.text,
|
323
|
+
'font-size': css.fontSize.default,
|
324
|
+
'font-weight': css.fontWeight.semibold
|
325
|
+
});
|
326
|
+
utilities.verifyCSS(chartsBarPage.previewTabYAxisCoordinate(), {
|
327
|
+
'color': css.color.text,
|
328
|
+
'font-size': css.fontSize.normal,
|
329
|
+
'font-weight': css.fontWeight.semibold
|
330
|
+
});
|
331
|
+
utilities.verifyCSS(chartsBarPage.previewTabBarDragHandle().find('svg'), {
|
332
|
+
'background-color': css.color.defaultBackground
|
333
|
+
});
|
334
|
+
utilities.verifyCSS(chartsBarPage.previewTabBarDragHandle().find('path').eq(1), {
|
335
|
+
'fill': css.color.secondaryBtn
|
336
|
+
});
|
337
|
+
utilities.verifyCSS(chartsBarPage.previewTabBar().eq(0), {
|
338
|
+
'background-color': barBackgroundColor[0]
|
339
|
+
});
|
340
|
+
utilities.verifyCSS(chartsBarPage.previewTabBar().eq(1), {
|
341
|
+
'background-color': barBackgroundColor[1]
|
342
|
+
});
|
343
|
+
utilities.verifyCSS(chartsBarPage.previewTabBar().eq(2), {
|
344
|
+
'background-color': barBackgroundColor[2]
|
345
|
+
});
|
346
|
+
utilities.verifyCSS(chartsBarPage.previewTabBar().eq(3), {
|
347
|
+
'background-color': barBackgroundColor[3]
|
348
|
+
});
|
349
|
+
utilities.verifyCSS(chartsBarPage.barLockIcon(), {
|
350
|
+
'background-color': css.color.defaultBackground,
|
351
|
+
});
|
352
|
+
});
|
353
|
+
|
354
|
+
it('Accessibility of preview tab contents', { tags: 'a11y' }, () => {
|
355
|
+
cy.checkAccessibility(chartsBarPage.previewTabGraphTitle().parents('[class*="ChartsPreviewstyles__PreviewWrapper"]'));
|
356
|
+
});
|
357
|
+
});
|
358
|
+
});
|
359
|
+
});
|
@@ -327,7 +327,7 @@ describe('Create Item Page: Drag and drop into categories: Click and drop cases
|
|
327
327
|
|
328
328
|
it('When the user selects a filled option and clicks in the options container, the selected option should get back in the options container', () => {
|
329
329
|
dragAndDropIntoCategoriesPage.steps.clickAndDropOptionFromDropzoneToOptionContainerPreviewTab('Eagle', 0);
|
330
|
-
dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionsInOptionsContainerPreviewTab(['
|
330
|
+
dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionsInOptionsContainerPreviewTab(['Parrot', 'Whale', 'Eagle']);
|
331
331
|
});
|
332
332
|
});
|
333
333
|
|
@@ -36,10 +36,9 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
|
|
36
36
|
.then(($refID) => {
|
37
37
|
itemReferenceID = $refID;
|
38
38
|
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
39
|
-
drawingResponsePage.
|
39
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.studentAndGradingViewDrawingToolbarOption(), 'visible');
|
40
|
+
drawingResponsePage.steps.selectStudentViewToolbarOption('Curved line');
|
40
41
|
drawingResponsePage.steps.clickOnStudentViewUpperCanvas();
|
41
|
-
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption('Special characters');
|
42
|
-
drawingResponsePage.steps.selectCustomSpecialCharacter();
|
43
42
|
studentViewPage.steps.submitResponse();
|
44
43
|
studentViewPage.steps.clickOnGoToGradingViewButton();
|
45
44
|
});
|
@@ -51,11 +50,10 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
|
|
51
50
|
utilities.verifyElementVisibilityState(drawingResponsePage.questionInstructionsText(), 'visible');
|
52
51
|
});
|
53
52
|
|
54
|
-
it('A preview of the canvas along with the
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
utilities.verifyElementDisabledClass(drawingResponsePage.drawingToolWrapper())
|
53
|
+
it('A preview of the canvas along with the play button should be displayed and user should be able to click on the play button', () => {
|
54
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.gradingViewPlayFeatureButton(), 'visible');
|
55
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabLowerCanvas(), 'visible');
|
56
|
+
drawingResponsePage.steps.clickOnPlayButtonInGradingView();
|
59
57
|
});
|
60
58
|
|
61
59
|
it('Empty score input field and total score should be displayed', () => {
|