itemengine-cypress-automation 1.0.189-e2e-execution-crash-fbb0d92.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
@@ -0,0 +1,143 @@
|
|
1
|
+
import { gridFillPage } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create item page - Grid fill : All or nothing with alternative answers', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Cell shade count - Auto scored - All or nothing with alternative answer - When \'Correct answer\' points are equal to \'Alternative answer\' points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
gridFillPage.steps.navigateToCreateQuestion('grid fill');
|
13
|
+
cy.barsPreLoaderWait();
|
14
|
+
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
15
|
+
gridFillPage.steps.addInputToCellShadeCountInputField(5);
|
16
|
+
gridFillPage.steps.allotPoints(27);
|
17
|
+
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
18
|
+
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
19
|
+
gridFillPage.steps.addInputToCellShadeCountInputField(3);
|
20
|
+
gridFillPage.steps.allotPoints(27);
|
21
|
+
gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
22
|
+
});
|
23
|
+
|
24
|
+
it('When the user selects \'Grading\' view without attempting the question, then in correct answer section correct icons should be displayed in exact number of cells specified in correct accordion', () => {
|
25
|
+
gridFillPage.steps.switchToPreviewTab();
|
26
|
+
gridFillPage.steps.switchToGradingView();
|
27
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
|
28
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
|
29
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
|
30
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
|
31
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
|
32
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
33
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
34
|
+
});
|
35
|
+
|
36
|
+
it('When user attempt questions by selecting the exact number of cells specified in correct accordion, then user should be awarded full points and switching to grading view, correct icons should be displayed in selected responses and correct answer section should not be displayed', () => {
|
37
|
+
gridFillPage.steps.selectCellPreviewTab(1, 1);
|
38
|
+
gridFillPage.steps.selectCellPreviewTab(0, 0);
|
39
|
+
gridFillPage.steps.selectCellPreviewTab(2, 2);
|
40
|
+
gridFillPage.steps.selectCellPreviewTab(1, 3);
|
41
|
+
gridFillPage.steps.selectCellPreviewTab(1, 2);
|
42
|
+
gridFillPage.steps.verifyPreviewScore(27, 27);
|
43
|
+
gridFillPage.steps.switchToGradingView();
|
44
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
45
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
46
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
47
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
48
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 2);
|
49
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
50
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
51
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
52
|
+
cy.log('When user attempt questions by selecting the exact number of cells specified in correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in selected responses and a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
|
53
|
+
gridFillPage.steps.checkAnswer();
|
54
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
55
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
56
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
57
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
58
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 2);
|
59
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
60
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
61
|
+
});
|
62
|
+
|
63
|
+
it('When the user attempts questions by selecting the exact number of cells specified in alternate accordion, then user should be awarded full points in the preview tab and switching to grading view, correct icons should be displayed in selected responses and correct answer section should not be displayed', () => {
|
64
|
+
gridFillPage.steps.resetQuestionPreview();
|
65
|
+
gridFillPage.steps.selectCellPreviewTab(1, 1);
|
66
|
+
gridFillPage.steps.selectCellPreviewTab(1, 3);
|
67
|
+
gridFillPage.steps.selectCellPreviewTab(0, 1);
|
68
|
+
gridFillPage.steps.verifyPreviewScore(27, 27);
|
69
|
+
gridFillPage.steps.switchToGradingView();
|
70
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
71
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
72
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
73
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
74
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
75
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
76
|
+
cy.log('When user attempt questions by selecting the more number of cells specified in alternate accordion and clicks on \'Check answer\' button, then correct should be displayed in selected responses and a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
|
77
|
+
gridFillPage.steps.checkAnswer();
|
78
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
79
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
80
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
81
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
82
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
83
|
+
});
|
84
|
+
|
85
|
+
it('When user attempt questions by selecting the less number of cells than count specified in correct accordion, then user should be awarded 0 points and switching to grading view, correct icons should be displayed in selected responses and in correct answer section correct icons should be displayed in exact number of cells specified in correct accordion', () => {
|
86
|
+
gridFillPage.steps.resetQuestionPreview();
|
87
|
+
gridFillPage.steps.selectCellPreviewTab(0, 0);
|
88
|
+
gridFillPage.steps.selectCellPreviewTab(0, 2);
|
89
|
+
gridFillPage.steps.verifyPreviewScore(0, 27);
|
90
|
+
gridFillPage.steps.switchToGradingView();
|
91
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
92
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
|
93
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
|
94
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
|
95
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
|
96
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
|
97
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
|
98
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
99
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
100
|
+
cy.log('When user attempt questions by selecting the less number of cells than count specified in alternate accordion and clicks on \'Check answer\' button, then correct should be displayed in selected responses and a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed');
|
101
|
+
gridFillPage.steps.checkAnswer();
|
102
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
103
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
|
104
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
105
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
106
|
+
});
|
107
|
+
|
108
|
+
it('When user attempt questions by selecting the more number of cells than count specified in alternate accordion, then user should be awarded full points and switching to grading view, correct icons should be displayed in most recent selected responses and incorrect icon should be displayed in oldest response and in correct answer section correct icons should be displayed in exact number of cells specified in correct accordion', () => {
|
109
|
+
gridFillPage.steps.resetQuestionPreview();
|
110
|
+
gridFillPage.steps.selectCellPreviewTab(1, 1);
|
111
|
+
gridFillPage.steps.selectCellPreviewTab(0, 0);
|
112
|
+
gridFillPage.steps.selectCellPreviewTab(2, 2);
|
113
|
+
gridFillPage.steps.selectCellPreviewTab(1, 3);
|
114
|
+
gridFillPage.steps.selectCellPreviewTab(1, 4);
|
115
|
+
gridFillPage.steps.selectCellPreviewTab(2, 3);
|
116
|
+
gridFillPage.steps.verifyPreviewScore(0, 27);
|
117
|
+
gridFillPage.steps.switchToGradingView();
|
118
|
+
gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(1, 1);
|
119
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
120
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
121
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
122
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 4);
|
123
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 3);
|
124
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
|
125
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
|
126
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
|
127
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
|
128
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
|
129
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
130
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
131
|
+
cy.log('When user attempt questions by selecting the exact number of cells specified in correct accordion and clicks on \'Check answer\' button, then correct icons should be displayed in most recent selected responses and incorrect icon should be displayed in oldest response and a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed');
|
132
|
+
gridFillPage.steps.checkAnswer();
|
133
|
+
gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(1, 1);
|
134
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
135
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
136
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
137
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 4);
|
138
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 3);
|
139
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
140
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
141
|
+
});
|
142
|
+
});
|
143
|
+
});
|
@@ -0,0 +1,131 @@
|
|
1
|
+
import { gridFillPage } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create item page - Grid fill : Auto scored - All or nothing with alternative answer', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Cell shade count - Auto scored - All or nothing with alternative answer - When \'Alternative answer\' points are more than \'Correct answer\' points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
gridFillPage.steps.navigateToCreateQuestion('grid fill');
|
13
|
+
cy.barsPreLoaderWait();
|
14
|
+
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
15
|
+
gridFillPage.steps.addInputToCellShadeCountInputField(5);
|
16
|
+
gridFillPage.steps.allotPoints(10);
|
17
|
+
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
18
|
+
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
19
|
+
gridFillPage.steps.addInputToCellShadeCountInputField(3);
|
20
|
+
gridFillPage.steps.allotPoints(27);
|
21
|
+
gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
22
|
+
});
|
23
|
+
|
24
|
+
it('When the user selects \'Grading\' view without attempting the question, then in correct answer section correct icons should be displayed in exact number of cells specified in alternate accordion', () => {
|
25
|
+
gridFillPage.steps.switchToPreviewTab();
|
26
|
+
gridFillPage.steps.switchToGradingView();
|
27
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
|
28
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
|
29
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
|
30
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
31
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
32
|
+
});
|
33
|
+
|
34
|
+
it('When user attempt questions by selecting the exact number of cells specified in correct accordion, then user should be awarded points according to correct accordion(less than total points) and switching to grading view, correct icons should be displayed in selected responses and correct answer section should not be displayed', () => {
|
35
|
+
gridFillPage.steps.selectCellPreviewTab(1, 1);
|
36
|
+
gridFillPage.steps.selectCellPreviewTab(0, 0);
|
37
|
+
gridFillPage.steps.selectCellPreviewTab(2, 2);
|
38
|
+
gridFillPage.steps.selectCellPreviewTab(1, 3);
|
39
|
+
gridFillPage.steps.selectCellPreviewTab(1, 2);
|
40
|
+
gridFillPage.steps.verifyPreviewScore(10, 27);
|
41
|
+
gridFillPage.steps.switchToGradingView();
|
42
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
43
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
44
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
45
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
46
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 2);
|
47
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
48
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
49
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
50
|
+
cy.log('When user attempt questions by selecting the exact number of cells specified in correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in selected responses and a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
|
51
|
+
gridFillPage.steps.checkAnswer();
|
52
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
53
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
54
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
55
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
56
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 2);
|
57
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
58
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
59
|
+
});
|
60
|
+
|
61
|
+
it('When the user attempts questions by selecting the exact number of cells specified in alternate accordion, then user should be awarded full points in the preview tab and switching to grading view, correct icons should be displayed in selected responses and correct answer section should not be displayed', () => {
|
62
|
+
gridFillPage.steps.resetQuestionPreview();
|
63
|
+
gridFillPage.steps.selectCellPreviewTab(1, 1);
|
64
|
+
gridFillPage.steps.selectCellPreviewTab(1, 3);
|
65
|
+
gridFillPage.steps.selectCellPreviewTab(0, 1);
|
66
|
+
gridFillPage.steps.verifyPreviewScore(27, 27);
|
67
|
+
gridFillPage.steps.switchToGradingView();
|
68
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
69
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
70
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
71
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
72
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
73
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
74
|
+
cy.log('When user attempt questions by selecting the more number of cells specified in alternate accordion and clicks on \'Check answer\' button, then correct should be displayed in selected responses and a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed');
|
75
|
+
gridFillPage.steps.checkAnswer();
|
76
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
77
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
78
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
79
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
80
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
81
|
+
});
|
82
|
+
|
83
|
+
it('When user attempt questions by selecting the less number of cells than count specified in alternate accordion, then user should be awarded 0 points and switching to grading view, correct icons should be displayed in selected responses and correct answer section should be displayed with correct responses and in correct answer section correct icons should be displayed in exact number of cells specified in alternate accordion', () => {
|
84
|
+
gridFillPage.steps.resetQuestionPreview();
|
85
|
+
gridFillPage.steps.selectCellPreviewTab(0, 0);
|
86
|
+
gridFillPage.steps.selectCellPreviewTab(0, 2);
|
87
|
+
gridFillPage.steps.verifyPreviewScore(0, 27);
|
88
|
+
gridFillPage.steps.switchToGradingView();
|
89
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
90
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
|
91
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
|
92
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
|
93
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
|
94
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
95
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
96
|
+
cy.log('When user attempt questions by selecting the less number of cells than count specified in alternate accordion and clicks on \'Check answer\' button, then correct should be displayed in selected responses and a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed');
|
97
|
+
gridFillPage.steps.checkAnswer();
|
98
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
99
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
|
100
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
101
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
102
|
+
});
|
103
|
+
|
104
|
+
it('When user attempt questions by selecting the more number of cells than count specified in alternate accordion, then user should be awarded 0 points and switching to grading view, correct icons should be displayed in most recent selected responses and incorrect icon should be displayed in oldest response and in correct answer section correct icons should be displayed in exact number of cells specified in alternate accordion', () => {
|
105
|
+
gridFillPage.steps.resetQuestionPreview();
|
106
|
+
gridFillPage.steps.selectCellPreviewTab(1, 1);
|
107
|
+
gridFillPage.steps.selectCellPreviewTab(0, 0);
|
108
|
+
gridFillPage.steps.selectCellPreviewTab(2, 2);
|
109
|
+
gridFillPage.steps.selectCellPreviewTab(1, 3);
|
110
|
+
gridFillPage.steps.verifyPreviewScore(0, 27);
|
111
|
+
gridFillPage.steps.switchToGradingView();
|
112
|
+
gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(1, 1);
|
113
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
114
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
115
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
116
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
|
117
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
|
118
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
|
119
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
120
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
121
|
+
cy.log('When user attempt questions by selecting the more number of cells specified in alternate accordion and clicks on \'Check answer\' button, then correct icons should be displayed in most recent selected responses and incorrect icon should be displayed in oldest response and a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed');
|
122
|
+
gridFillPage.steps.checkAnswer();
|
123
|
+
gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(1, 1);
|
124
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
125
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
126
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
|
127
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
128
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
129
|
+
});
|
130
|
+
});
|
131
|
+
});
|
@@ -0,0 +1,87 @@
|
|
1
|
+
import { gridFillPage } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create item page - Grid fill: Match exact with cell shade count scoring', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Grid fill: Match exact with cell shade count scoring', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
gridFillPage.steps.navigateToCreateQuestion('grid fill');
|
13
|
+
cy.barsPreLoaderWait();
|
14
|
+
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
15
|
+
gridFillPage.steps.addInputToCellShadeCountInputField(2);
|
16
|
+
gridFillPage.steps.allotPoints(15);
|
17
|
+
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
18
|
+
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
|
19
|
+
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
|
20
|
+
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
|
21
|
+
gridFillPage.steps.allotPoints(9);
|
22
|
+
gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
23
|
+
gridFillPage.steps.switchToPreviewTab();
|
24
|
+
});
|
25
|
+
|
26
|
+
it('When the user selects \'Grading\' view without attempting the question, then in correct answer section correct icons should be displayed in exact number of cells specified in correct accordion', () => {
|
27
|
+
gridFillPage.steps.switchToPreviewTab();
|
28
|
+
gridFillPage.steps.switchToGradingView();
|
29
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
|
30
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
|
31
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
32
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
33
|
+
});
|
34
|
+
|
35
|
+
it('When the user attempt questions by selecting exact number of cells specified in correct accordion, then user should be awarded points according to correct accordion in preview tab and switching to grading view, correct icons should be displayed in selected responses and correct answer section should not be displayed a status message with text \'Your answer is incorrect\' should be displayed', () => {
|
36
|
+
gridFillPage.steps.switchToPreviewTab();
|
37
|
+
gridFillPage.steps.selectCellPreviewTab(1, 1);
|
38
|
+
gridFillPage.steps.selectCellPreviewTab(2, 2);
|
39
|
+
gridFillPage.steps.switchToGradingView();
|
40
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
41
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
42
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
43
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
44
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
45
|
+
cy.log('When the user attempt questions by selecting exact number of cells specified in correct accordion and clicks on \'Check answer\' button, then correct should be displayed in selected responses and a status message with text \'Your answer is correct\' should be displayed');
|
46
|
+
gridFillPage.steps.checkAnswer();
|
47
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
|
48
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
|
49
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
50
|
+
});
|
51
|
+
|
52
|
+
it('When the user attempts questions by selecting the common response between correct accordion and alternate accordion, then user should be awarded 0 points in preview tab and switching to grading view, correct icons should be displayed in selected responses and correct answer section should be displayed with correct icons in cells specified in correct accordion and a status message with text \'Your answer is correct\' should be displayed', () => {
|
53
|
+
gridFillPage.steps.resetQuestionPreview();
|
54
|
+
gridFillPage.steps.selectCellPreviewTab(0, 1);
|
55
|
+
gridFillPage.steps.switchToGradingView();
|
56
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
57
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
|
58
|
+
gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
|
59
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
60
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
61
|
+
cy.log('When the user attempts questions by selecting exact number of cells specified in alternate accordion randomly and clicks on \'Check answer\' button, then correct icons should be displayed in selected responses and a status message with text \'Your answer is incorrect\' should be displayed');
|
62
|
+
gridFillPage.steps.checkAnswer();
|
63
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
64
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
65
|
+
});
|
66
|
+
|
67
|
+
it('When the user attempts questions by selecting exact cells specified in alternate accordion, then user should be awarded points according to alternate accordion in preview tab and switching to grading view, correct icons should be displayed in selected responses and correct answer section should not be displayed and a status message with text \'Your answer is correct\' should be displayed', () => {
|
68
|
+
gridFillPage.steps.resetQuestionPreview();
|
69
|
+
gridFillPage.steps.selectCellPreviewTab(0, 1);
|
70
|
+
gridFillPage.steps.selectCellPreviewTab(0, 3);
|
71
|
+
gridFillPage.steps.selectCellPreviewTab(0, 4);
|
72
|
+
gridFillPage.steps.switchToGradingView();
|
73
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
74
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
|
75
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 4);
|
76
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
77
|
+
gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
|
78
|
+
gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
79
|
+
cy.log('When the user attempts questions by selecting exact cells specified in alternate accordion and clicks on \'Check answer\' button, then correct icons should be displayed in selected responses and a status message with text \'Your answer is correct\' should be displayed');
|
80
|
+
gridFillPage.steps.checkAnswer();
|
81
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
82
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
|
83
|
+
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 4);
|
84
|
+
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
85
|
+
});
|
86
|
+
});
|
87
|
+
});
|