itemengine-cypress-automation 1.0.189-e2e-execution-crash-83cdbd4.0 → 1.0.190-repoUpdate3May-f180558.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioPlayerNew/allSupportedFileTypes.js +79 -0
- package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +647 -0
- package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +429 -0
- package/cypress/e2e/ILC/AudioPlayerNew/customizePlayerLayoutSettings.js +596 -0
- package/cypress/e2e/ILC/AudioPlayerNew/previewContents.smoke.js +162 -0
- package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +792 -0
- package/cypress/e2e/ILC/AudioPlayerNew/studentViewSettings.js +253 -0
- package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +313 -0
- package/cypress/e2e/ILC/AudioResponseNew/additionalSettingsBasic.js +1 -22
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +2 -11
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +359 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +6 -8
- package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +417 -28
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
- package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +29 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +3 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +2 -2
- package/cypress/e2e/ILC/Graphing/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
- package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +11 -3
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingScoringCellShadeCount.js +2 -2
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +143 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +132 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +143 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +144 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +143 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +131 -0
- package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +87 -0
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +446 -0
- package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +194 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +195 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +274 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingPenaltyScoring.js +48 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +144 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +252 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsBasic.js +102 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +256 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +253 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +308 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +225 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +151 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +196 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +227 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/additionalSettings.js +91 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +230 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/checkAnswerFunctionalityForAllViews.smoke.js +124 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +221 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/editTabScoring.js +203 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +71 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +197 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +201 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +115 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +183 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +216 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +214 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +273 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingPenaltyScoring.js +52 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +128 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +279 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +109 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +278 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +278 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +335 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +250 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +161 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +216 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +252 -0
- package/cypress/e2e/ILC/ListOrderingNew/additionalSettings.js +118 -0
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +243 -0
- package/cypress/e2e/ILC/ListOrderingNew/checkAnswerFunctionalityForAllViews.smoke.js +128 -0
- package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +155 -0
- package/cypress/e2e/ILC/ListOrderingNew/editTabScoring.js +195 -0
- package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +78 -0
- package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +69 -0
- package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
- package/cypress/e2e/ILC/ListOrderingNew/previewContentsForAllViews.smoke.js +176 -0
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +112 -0
- package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +244 -0
- package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +1 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLine/LayoutSection.js +209 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +58 -2
- package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/headerSection.js +1 -1
- package/cypress/e2e/ILC/NumberLine/lineSettingsSection.js +33 -0
- package/cypress/e2e/ILC/NumberLine/numberLineSection.js +50 -0
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/specifyCorrectAnswerSection.js +1 -1
- package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +2 -2
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +2 -1
- package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +1 -1
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +696 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +173 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/layoutSection.js +211 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/numberLineSection.js +75 -0
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +204 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +229 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +229 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +229 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/manualAndNonScoredScoring.js +169 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +274 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsBasic.js +433 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +274 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +274 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +249 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsBasic.js +135 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +210 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +248 -0
- package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +115 -0
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +288 -0
- package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +153 -0
- package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +326 -0
- package/cypress/e2e/ILC/NumberLineLabel/editTabScoring.js +234 -0
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +164 -0
- package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +80 -0
- package/cypress/e2e/ILC/NumberLineLabel/layoutSection.js +204 -0
- package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +79 -0
- package/cypress/e2e/ILC/NumberLineLabel/minimumScoringPenaltyPointsAndRoundingDropdown.js +85 -0
- package/cypress/e2e/ILC/NumberLineLabel/numberLineSection.js +51 -0
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +120 -0
- package/cypress/e2e/ILC/NumberLineLabel/specifyCorrectAnswerSection.js +74 -0
- package/cypress/e2e/ILC/NumberLineLabel/studentViewSettings.js +183 -0
- package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +76 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +292 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/checkAnswerFunctionalityForAllViews.smoke.js +155 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +166 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/layoutSection.js +360 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +80 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +111 -0
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +49 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +2 -2
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +0 -1
- package/cypress/e2e/ILC/TextSelection/additionalSettings.js +125 -0
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -1
- package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/TextSelection/editTabScoringSection.js +5 -4
- package/cypress/e2e/ILC/TextSelection/headerSection.js +73 -0
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +6 -7
- package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +179 -0
- package/cypress/e2e/ILC/TextSelection/specifyCorrectAnswerSection.js +89 -0
- package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +436 -0
- package/cypress/e2e/ILC/TextSelection/styleAndLayoutCustomizationAccordion.js +277 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInPreviewTab.js +222 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyCorrectAnswerSection.js +260 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +380 -0
- package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +5 -5
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/additionalSettingsBasic.js +77 -0
- package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControls.js +313 -0
- package/cypress/e2e/ILC/VideoResponseNew/editAndPreviewTabScoringSection.js +99 -0
- package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +171 -0
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +179 -0
- package/cypress/e2e/ILC/VideoResponseNew/headerSection.js +79 -0
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +201 -0
- package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +567 -0
- package/cypress/e2e/ILC/VideoResponseNew/studentViewSettings.js +194 -0
- package/cypress/fixtures/constants.js +1 -1
- package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +20 -20
- package/cypress/fixtures/theme/ilc.json +22 -18
- package/cypress/pages/audioPlayerPage.js +668 -446
- package/cypress/pages/audioResponsePage.js +8 -80
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/chartsBarPage.js +231 -0
- package/cypress/pages/chartsDotPlotPage.js +8 -0
- package/cypress/pages/chartsLinePage.js +42 -0
- package/cypress/pages/components/allowTeachersToDownloadStudentResponseComponent.js +58 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +13 -23
- package/cypress/pages/components/autoScoredStudentViewSettings.js +6 -6
- package/cypress/pages/components/barAndLineChartComponent.js +120 -0
- package/cypress/pages/components/chartsCommonComponent.js +105 -0
- package/cypress/pages/components/commonComponents.js +1 -0
- package/cypress/pages/components/draggableOptionContainer.js +2 -1
- package/cypress/pages/components/equationEditorFlyout.js +3 -2
- package/cypress/pages/components/essayResponseCommonComponents.js +8 -2
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -0
- package/cypress/pages/components/imageCanvasComponent.js +2 -1
- package/cypress/pages/components/index.js +7 -0
- package/cypress/pages/components/layoutSectionComponent.js +1156 -0
- package/cypress/pages/components/limitNumberOfRetakeComponent.js +90 -0
- package/cypress/pages/components/numberLineCommonComponent.js +685 -0
- package/cypress/pages/components/optionsWrapperComponent.js +13 -2
- package/cypress/pages/components/playbackControlsBaseComponent.js +20 -13
- package/cypress/pages/components/questionInstructionsComponent.js +3 -19
- package/cypress/pages/components/styleAndLayoutCustomizationAccordionComponent.js +46 -0
- package/cypress/pages/components/toolSettingsComponent.js +6 -0
- package/cypress/pages/contentBlocksPage.js +18 -2
- package/cypress/pages/createItemPage.js +75 -8
- package/cypress/pages/dialogBoxBase.js +2 -2
- package/cypress/pages/drawingResponsePage.js +24 -4
- package/cypress/pages/feedbackScalePage.js +3 -0
- package/cypress/pages/graphingPage.js +19 -1
- package/cypress/pages/gridFillPage.js +47 -59
- package/cypress/pages/index.js +5 -1
- package/cypress/pages/itemPreviewSettingsPage.js +4 -0
- package/cypress/pages/listOrderingPage.js +561 -555
- package/cypress/pages/matchingPage.js +1 -1
- package/cypress/pages/multipleSelectionPage.js +23 -1
- package/cypress/pages/numberLineLabelPage.js +1086 -0
- package/cypress/pages/numberLinePage.js +696 -78
- package/cypress/pages/rulerPage.js +6 -2
- package/cypress/pages/textSelectionPage.js +461 -23
- package/cypress/pages/videoResponsePage.js +393 -81
- package/package.json +1 -1
@@ -26,7 +26,7 @@ describe('Create question page - Essay Response: Edit category', () => {
|
|
26
26
|
|
27
27
|
it('Title of the flyout should be \'Edit category\'', () => {
|
28
28
|
utilities.verifyElementVisibilityState(editCategoryFlyout.dialogBoxTitle(), 'exist');
|
29
|
-
utilities.verifyInnerText(editCategoryFlyout.dialogBoxTitle(), 'Edit
|
29
|
+
utilities.verifyInnerText(editCategoryFlyout.dialogBoxTitle(), 'Edit category');
|
30
30
|
});
|
31
31
|
|
32
32
|
it('\'Select the symbols to display to the students.\' help text should be displayed below the title', () => {
|
@@ -1,5 +1,7 @@
|
|
1
|
+
import { dialogBoxBase } from "../../../pages";
|
1
2
|
import { feedbackScalePage } from "../../../pages/feedbackScalePage";
|
2
3
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
|
+
import utilities from "../../../support/helpers/utilities";
|
3
5
|
|
4
6
|
describe('Create question page - Feedback scale: Header section and Saving question', () => {
|
5
7
|
before(() => {
|
@@ -30,7 +32,33 @@ describe('Create question page - Feedback scale: Header section and Saving quest
|
|
30
32
|
feedbackScalePage.steps.navigateToCreateQuestion('feedback scale')
|
31
33
|
});
|
32
34
|
|
33
|
-
|
35
|
+
it('When user has made no edits and clicks on Cancel button, the user should be directed back to the \'Select a Question\' page', () => {
|
36
|
+
feedbackScalePage.steps.clickOnCancelButton();
|
37
|
+
utilities.verifyElementVisibilityState(feedbackScalePage.selectAQuestionHeaderText(), 'visible');
|
38
|
+
utilities.verifyElementVisibilityState(feedbackScalePage.questionTypeOptionTitle(), 'visible');
|
39
|
+
});
|
40
|
+
|
41
|
+
it('When user has made some edits/changes and clicks on Cancel button, a popup should be displayed', () => {
|
42
|
+
feedbackScalePage.steps.selectQuestionType('feedback scale');
|
43
|
+
feedbackScalePage.steps.addTextInQuestionInstructionsInputField('Feedback scale');
|
44
|
+
feedbackScalePage.steps.clickOnCancelButton();
|
45
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
46
|
+
});
|
47
|
+
|
48
|
+
dialogBoxBase.tests.verifyContentsOfLeavePagePopupWithCSSAnda11y();
|
49
|
+
|
50
|
+
it(`Clicking on \'No, I'd like to go back\' button should close the popup and user should remain on the edit interface of the question`, () => {
|
51
|
+
dialogBoxBase.steps.clickOnRejectButtonInDialogBox();
|
52
|
+
feedbackScalePage.steps.verifyEditTabSelectedState();
|
53
|
+
utilities.verifyTextContent(feedbackScalePage.questionInstructionsInputField(), 'Feedback scale');
|
54
|
+
});
|
55
|
+
|
56
|
+
it(`Clicking on \'Yes, I want to leave this page\' button should discard all changes and direct the user to the \'Select a question\' page.`, () => {
|
57
|
+
feedbackScalePage.steps.clickOnCancelButton();
|
58
|
+
dialogBoxBase.steps.clickOnAcceptButtonInDialogBox();
|
59
|
+
utilities.verifyElementVisibilityState(feedbackScalePage.selectAQuestionHeaderText(), 'visible');
|
60
|
+
utilities.verifyElementVisibilityState(feedbackScalePage.questionTypeOptionTitle(), 'visible');
|
61
|
+
});
|
34
62
|
});
|
35
63
|
|
36
64
|
describe('Saving a question', () => {
|
@@ -30,11 +30,11 @@ describe('Preview tab contents for all views', () => {
|
|
30
30
|
fillInTheGapsDragAndDropPage.steps.focusInOptionsInputField(0);
|
31
31
|
fillInTheGapsDragAndDropPage.steps.selectImageOptionFromCKEditorToolbar();
|
32
32
|
fillInTheGapsDragAndDropPage.steps.addImageToInputField();
|
33
|
-
fillInTheGapsDragAndDropPage.steps.
|
33
|
+
fillInTheGapsDragAndDropPage.steps.addTextInputToOptionsInputFieldWithImage(0);
|
34
34
|
cy.log('Add bold text to input field')
|
35
35
|
fillInTheGapsDragAndDropPage.steps.focusInOptionsInputField(1);
|
36
36
|
fillInTheGapsDragAndDropPage.steps.selectBoldOptionFromCKEditorToolbar();
|
37
|
-
fillInTheGapsDragAndDropPage.steps.
|
37
|
+
fillInTheGapsDragAndDropPage.steps.addBoldTextInputToOptionsInputField(1);
|
38
38
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Solve the following': 1, 'Petals': 2, 'This is a bold option': 0 });
|
39
39
|
fillInTheGapsDragAndDropPage.steps.allotPoints(10);
|
40
40
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
@@ -327,7 +327,7 @@ describe('Create Item page - Fill in the gaps with drag and drop: Student view s
|
|
327
327
|
it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
|
328
328
|
fillInTheGapsDragAndDropPage.steps.switchToEditTab();
|
329
329
|
fillInTheGapsDragAndDropPage.steps.expandMaxCheckAnswerAttemptsDropdown();
|
330
|
-
fillInTheGapsDragAndDropPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('
|
330
|
+
fillInTheGapsDragAndDropPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
|
331
331
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
332
332
|
fillInTheGapsDragAndDropPage.steps.verifyCheckAnswerButtonEnabled();
|
333
333
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0 });
|
@@ -171,7 +171,7 @@ describe('Create Item page - Fill in the gaps with dropdown: Student view settin
|
|
171
171
|
it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
|
172
172
|
fillInTheGapsDropdownPage.steps.switchToEditTab();
|
173
173
|
fillInTheGapsDropdownPage.steps.expandMaxCheckAnswerAttemptsDropdown();
|
174
|
-
fillInTheGapsDropdownPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('
|
174
|
+
fillInTheGapsDropdownPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
|
175
175
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
176
176
|
fillInTheGapsDropdownPage.steps.verifyCheckAnswerButtonEnabled();
|
177
177
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsForDropdown[0] }]);
|
@@ -189,6 +189,7 @@ describe('Create item page - fill in the gaps over image - drag and drop: Scorin
|
|
189
189
|
});
|
190
190
|
});
|
191
191
|
|
192
|
+
//Failing die to https://redmine.zeuslearning.com/issues/567278
|
192
193
|
describe('Auto scored: Partial - different weights scoring - Specify correct answer section', () => {
|
193
194
|
abortEarlySetup();
|
194
195
|
before(() => {
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js
CHANGED
@@ -28,16 +28,16 @@ describe('Preview tab contents for all views', () => {
|
|
28
28
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(80);
|
29
29
|
fillInTheGapsOverImageDragAndDropPage.steps.insertTextArea(20, 'This is a text area');
|
30
30
|
cy.log('Add image to option input field')
|
31
|
+
fillInTheGapsOverImageDragAndDropPage.steps.editOptionInputField(0, 'Petals');
|
31
32
|
fillInTheGapsOverImageDragAndDropPage.steps.focusInOptionsInputField(0);
|
32
33
|
fillInTheGapsOverImageDragAndDropPage.steps.selectImageOptionFromCKEditorToolbar();
|
33
34
|
fillInTheGapsOverImageDragAndDropPage.steps.addImageToInputField();
|
34
|
-
fillInTheGapsOverImageDragAndDropPage.steps.enterTextInOptionInputField(0, 'Petals');
|
35
35
|
cy.log('Add bold text to input field')
|
36
36
|
fillInTheGapsOverImageDragAndDropPage.steps.focusInOptionsInputField(1);
|
37
37
|
fillInTheGapsOverImageDragAndDropPage.steps.selectBoldOptionFromCKEditorToolbar();
|
38
38
|
fillInTheGapsOverImageDragAndDropPage.steps.enterTextInOptionInputField(1, 'This is a bold option');
|
39
39
|
cy.log('Add equation to option input field')
|
40
|
-
fillInTheGapsOverImageDragAndDropPage.steps.
|
40
|
+
fillInTheGapsOverImageDragAndDropPage.steps.editOptionInputField(2, 'Solve the following');
|
41
41
|
fillInTheGapsOverImageDragAndDropPage.steps.focusInOptionsInputField(2);
|
42
42
|
fillInTheGapsOverImageDragAndDropPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
43
43
|
fillInTheGapsOverImageDragAndDropPage.steps.addGenericEquationUsingEquationEditorToCKEditorInputField();
|
@@ -360,7 +360,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
|
|
360
360
|
it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
|
361
361
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToEditTab();
|
362
362
|
fillInTheGapsOverImageDragAndDropPage.steps.expandMaxCheckAnswerAttemptsDropdown();
|
363
|
-
fillInTheGapsOverImageDragAndDropPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('
|
363
|
+
fillInTheGapsOverImageDragAndDropPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
|
364
364
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
365
365
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCheckAnswerButtonEnabled();
|
366
366
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0 });
|
@@ -196,7 +196,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Student vie
|
|
196
196
|
it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
|
197
197
|
fillInTheGapsOverImageDropdownPage.steps.switchToEditTab();
|
198
198
|
fillInTheGapsOverImageDropdownPage.steps.expandMaxCheckAnswerAttemptsDropdown();
|
199
|
-
fillInTheGapsOverImageDropdownPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('
|
199
|
+
fillInTheGapsOverImageDropdownPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
|
200
200
|
fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
|
201
201
|
fillInTheGapsOverImageDropdownPage.steps.verifyCheckAnswerButtonEnabled();
|
202
202
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsForDropdown[0] }]);
|
@@ -203,17 +203,17 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
|
|
203
203
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Branch' }]);
|
204
204
|
fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(12.6, 15);
|
205
205
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
206
|
-
fillInTheGapsOverImageTextPage.steps.
|
206
|
+
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
207
207
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
208
|
-
fillInTheGapsOverImageTextPage.steps.
|
208
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
209
209
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
210
210
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
211
211
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
212
212
|
cy.log('When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers and clicks on \'Check answer\' button, then correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed')
|
213
213
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
214
|
-
fillInTheGapsOverImageTextPage.steps.
|
214
|
+
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
|
215
215
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
216
|
-
fillInTheGapsOverImageTextPage.steps.
|
216
|
+
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
|
217
217
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
218
218
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
219
219
|
});
|
@@ -187,7 +187,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
187
187
|
fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
|
188
188
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
189
189
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
190
|
-
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', '
|
190
|
+
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Branch']);
|
191
191
|
fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
192
192
|
cy.log('When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion and clicks on the \'Check answer\' button, correct icons should be displayed beside correct accordion responses, incorrect icons should be displayed beside alternative accordion responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
|
193
193
|
fillInTheGapsOverImageTextPage.steps.checkAnswer();
|
@@ -121,7 +121,7 @@ describe('Create Item page - drag and drop into categories: Student view setting
|
|
121
121
|
it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
|
122
122
|
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
123
123
|
fillInTheGapsOverImageTextPage.steps.expandMaxCheckAnswerAttemptsDropdown();
|
124
|
-
fillInTheGapsOverImageTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('
|
124
|
+
fillInTheGapsOverImageTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
|
125
125
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
126
126
|
fillInTheGapsOverImageTextPage.steps.verifyCheckAnswerButtonEnabled();
|
127
127
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
|
@@ -196,20 +196,20 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
196
196
|
fillInTheGapsTextPage.steps.expandCorrectAnswerAccordion();
|
197
197
|
fillInTheGapsTextPage.steps.allotPartialDifferentWeightsPoints({ 0: 1.2, 1: 2.2, 2: 1.6 });
|
198
198
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
199
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '
|
199
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Branch' }]);
|
200
200
|
fillInTheGapsTextPage.steps.verifyPreviewScore(10.4, 23);
|
201
201
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
202
|
-
fillInTheGapsTextPage.steps.
|
202
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
203
203
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
204
|
-
fillInTheGapsTextPage.steps.
|
204
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
205
205
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
206
206
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
207
207
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
208
208
|
cy.log('When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers and clicks on the \'Check answer\' button, correct icon icons should be displayed beside the correct responses from the correct accordion, incorrect icons should be displayed beside the incorrectly answered responses, correct/incorrect answer status message and correct answer section should not be displayed')
|
209
209
|
fillInTheGapsTextPage.steps.checkAnswer();
|
210
|
-
fillInTheGapsTextPage.steps.
|
210
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
211
211
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
212
|
-
fillInTheGapsTextPage.steps.
|
212
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
213
213
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
214
214
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
215
215
|
});
|
@@ -199,17 +199,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
|
|
199
199
|
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Branch' }]);
|
200
200
|
fillInTheGapsTextPage.steps.verifyPreviewScore(12.6, 15);
|
201
201
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
202
|
-
fillInTheGapsTextPage.steps.
|
202
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
203
203
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
204
|
-
fillInTheGapsTextPage.steps.
|
204
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
205
205
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
206
206
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
207
207
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
208
208
|
cy.log('When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers and clicks on \'Check answer\' button, then correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the correct accordion along with response area numeration should be displayed')
|
209
209
|
fillInTheGapsTextPage.steps.checkAnswer();
|
210
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
211
210
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
212
|
-
fillInTheGapsTextPage.steps.
|
211
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
213
212
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
214
213
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
215
214
|
});
|
@@ -183,7 +183,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
|
|
183
183
|
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
184
184
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
185
185
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
186
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', '
|
186
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Branch']);
|
187
187
|
fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
188
188
|
cy.log('When the user has attempted the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers and clicks on the \'Check answer\' button, correct icons should be displayed for the alternative accordion response, incorrect icon should be displayed for the correct accordion responses, correct/incorrect answer status message and correct answer section should not be displayed')
|
189
189
|
fillInTheGapsTextPage.steps.checkAnswer();
|
@@ -57,6 +57,7 @@ describe('Create item page - Fill in the gaps with text: Header section and savi
|
|
57
57
|
it('Validation error messages should disappear when required input fields are filled', () => {
|
58
58
|
fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Question instruction');
|
59
59
|
fillInTheGapsTextPage.steps.allotPoints(10);
|
60
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }]);
|
60
61
|
fillInTheGapsTextPage.steps.verifyErrorMessageIsNotDisplayed();
|
61
62
|
fillInTheGapsTextPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
|
62
63
|
});
|
@@ -114,7 +114,7 @@ describe('Create Item page - Fill in the gaps with text: Student view settings',
|
|
114
114
|
it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
|
115
115
|
fillInTheGapsTextPage.steps.switchToEditTab();
|
116
116
|
fillInTheGapsTextPage.steps.expandMaxCheckAnswerAttemptsDropdown();
|
117
|
-
fillInTheGapsTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('
|
117
|
+
fillInTheGapsTextPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
|
118
118
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
119
119
|
fillInTheGapsTextPage.steps.verifyCheckAnswerButtonEnabled();
|
120
120
|
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
|
@@ -161,7 +161,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
161
161
|
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
162
162
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
163
163
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
164
|
-
graphingPage.steps.
|
164
|
+
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
165
165
|
|
166
166
|
//Correct answer section
|
167
167
|
utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 2);
|
@@ -183,7 +183,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
183
183
|
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
184
184
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
185
185
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
186
|
-
graphingPage.steps.
|
186
|
+
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
187
187
|
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
188
188
|
graphingPage.steps.verifyCorrectAnswerSectionNotExist();
|
189
189
|
});
|
package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js
CHANGED
@@ -203,7 +203,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
203
203
|
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
204
204
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
205
205
|
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
|
206
|
-
graphingPage.steps.
|
206
|
+
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
207
207
|
|
208
208
|
//Correct answer section
|
209
209
|
utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 2);
|
@@ -226,7 +226,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
226
226
|
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
227
227
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
228
228
|
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
|
229
|
-
graphingPage.steps.
|
229
|
+
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
230
230
|
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
231
231
|
graphingPage.steps.verifyCorrectAnswerSectionNotExist();
|
232
232
|
});
|
@@ -229,7 +229,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
229
229
|
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
230
230
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
231
231
|
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
|
232
|
-
graphingPage.steps.
|
232
|
+
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
233
233
|
|
234
234
|
//Correct answer section
|
235
235
|
utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 2);
|
@@ -252,7 +252,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
252
252
|
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
253
253
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
254
254
|
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
|
255
|
-
graphingPage.steps.
|
255
|
+
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
256
256
|
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
257
257
|
graphingPage.steps.verifyCorrectAnswerSectionNotExist();
|
258
258
|
});
|
@@ -227,9 +227,9 @@ describe('Graphing: Add background shapes section', () => {
|
|
227
227
|
graphingPage.steps.switchToEditTab();
|
228
228
|
graphingPage.steps.clickOnGraphTitle();
|
229
229
|
graphingPage.steps.enterTextInTitlePopupAddLabelInputField('Edit graph title');
|
230
|
-
graphingPage.steps.
|
230
|
+
graphingPage.steps.clickOnTitlePopupSaveButton();
|
231
231
|
graphingPage.steps.switchToPreviewTab();
|
232
|
-
utilities.verifyInnerText(graphingPage.graphTitlePreviewTab(), '
|
232
|
+
utilities.verifyInnerText(graphingPage.graphTitlePreviewTab(), 'Edit graph title');
|
233
233
|
});
|
234
234
|
|
235
235
|
//X axis
|
@@ -103,7 +103,7 @@ describe('Create Item page - Graphing: Student view settings', () => {
|
|
103
103
|
it('When the user selects \'No limit\' option from the dropdown then user should be able to check answer multiple times', () => {
|
104
104
|
graphingPage.steps.switchToEditTab();
|
105
105
|
graphingPage.steps.expandMaxCheckAnswerAttemptsDropdown();
|
106
|
-
graphingPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('
|
106
|
+
graphingPage.steps.selectMaxCheckAnswerAttemptsDropdownListOption('0');
|
107
107
|
graphingPage.steps.switchToPreviewTab();
|
108
108
|
graphingPage.steps.verifyCheckAnswerButtonEnabled();
|
109
109
|
graphingPage.steps.selectGraphToolOptionPreviewTab('Vector');
|
@@ -62,8 +62,6 @@ describe('Create item page - grid fill - Check answer functionality', () => {
|
|
62
62
|
break;
|
63
63
|
case 'Student view':
|
64
64
|
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
65
|
-
cy.log('Adding wait so that student view loads properly');
|
66
|
-
cy.wait(5000);
|
67
65
|
break;
|
68
66
|
}
|
69
67
|
});
|
@@ -110,6 +108,9 @@ describe('Create item page - grid fill - Check answer functionality', () => {
|
|
110
108
|
});
|
111
109
|
|
112
110
|
it('When user attempts the question correctly and clicks on \'Check answer\' button, then correct icon tick should be displayed in the correct answer cell, correct answer border should be displayed around correct answer cell and a status message with text \'Your answer is correct\' should be displayed', () => {
|
111
|
+
if (view === 'Grading view') {
|
112
|
+
studentViewPage.steps.clearResponses();
|
113
|
+
};
|
113
114
|
gridFillPage.steps.selectCellPreviewTab(0, 0);
|
114
115
|
gridFillPage.steps.selectCellPreviewTab(0, 1);
|
115
116
|
checkAnswer(view);
|
@@ -84,7 +84,7 @@ describe('Create Item page - Grid fill : Grid layout', () => {
|
|
84
84
|
gridFillPage.steps.verifyRowInputStepperIncreaseButtonIsDisabled();
|
85
85
|
gridFillPage.steps.verifyColumnInputStepperIncreaseButtonIsDisabled();
|
86
86
|
gridFillPage.steps.expandOpenTheGridSelectorDropdown();
|
87
|
-
gridFillPage.steps.verifySelectedRowsAndColumns(9,17);
|
87
|
+
gridFillPage.steps.verifySelectedRowsAndColumns(9, 17);
|
88
88
|
gridFillPage.steps.collapseOpenTheGridSelectorDropdown();
|
89
89
|
});
|
90
90
|
|
@@ -142,16 +142,20 @@ describe('Create Item page - Grid fill : Grid layout', () => {
|
|
142
142
|
gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
|
143
143
|
});
|
144
144
|
|
145
|
-
it('When \'Make responsive for mobile\' checkbox is checked and user enters value less than 44 in cell height input field then value should reset to 44', () => {
|
145
|
+
it('When \'Make responsive for mobile\' checkbox is checked and user enters value less than 44 in cell height input field then value should reset to 44 and an help text should be displayed', () => {
|
146
146
|
gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
|
147
147
|
gridFillPage.steps.updateValueInCellHeightInputField(20);
|
148
148
|
gridFillPage.steps.verifyCellHeightInputField(44);
|
149
|
+
utilities.verifyElementVisibilityState(gridFillPage.makeResponsiveHelpText(), 'visible');
|
150
|
+
utilities.verifyInnerText(gridFillPage.makeResponsiveHelpText(), 'The cell dimension was automatically adjusted to be at least 44 pixels.');
|
149
151
|
});
|
150
152
|
|
151
|
-
it('When \'Make responsive for mobile\' checkbox is checked and user enters value less than 44 in cell width input field then value should reset to 44', () => {
|
153
|
+
it('When \'Make responsive for mobile\' checkbox is checked and user enters value less than 44 in cell width input field then value should reset to 44 and an help text should be displayed', () => {
|
152
154
|
gridFillPage.steps.verifyMakeResponsiveCheckboxChecked();
|
153
155
|
gridFillPage.steps.updateValueInCellWidthInputField(20);
|
154
156
|
gridFillPage.steps.verifyCellWidthInputField(44);
|
157
|
+
utilities.verifyElementVisibilityState(gridFillPage.makeResponsiveHelpText(), 'visible');
|
158
|
+
utilities.verifyInnerText(gridFillPage.makeResponsiveHelpText(), 'The cell dimension was automatically adjusted to be at least 44 pixels.');
|
155
159
|
});
|
156
160
|
|
157
161
|
it('When \'Make responsive for mobile\' checkbox is checked and user enters value more than 200 in cell height input field then value should reset to 200', () => {
|
@@ -171,6 +175,10 @@ describe('Create Item page - Grid fill : Grid layout', () => {
|
|
171
175
|
gridFillPage.steps.verifyMakeResponsiveCheckboxUnchecked();
|
172
176
|
});
|
173
177
|
|
178
|
+
it('When \'Make responsive for mobile\' checkbox is unchecked then a the help text should not be displayed', () => {
|
179
|
+
utilities.verifyElementVisibilityState(gridFillPage.makeResponsiveHelpText(), 'notExist');
|
180
|
+
});
|
181
|
+
|
174
182
|
it('When user unchecks \'Make responsive for mobile\' checkbox then values in cell height and cell width should remain unchanged', () => {
|
175
183
|
gridFillPage.steps.verifyMakeResponsiveCheckboxUnchecked();
|
176
184
|
gridFillPage.steps.verifyCellHeightInputField(200);
|
@@ -60,7 +60,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
|
|
60
60
|
}
|
61
61
|
if (view === 'Student view') {
|
62
62
|
studentViewPage.steps.submitResponse();
|
63
|
-
utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), '
|
63
|
+
utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'exist');
|
64
64
|
}
|
65
65
|
});
|
66
66
|
|
@@ -73,7 +73,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
|
|
73
73
|
utilities.verifyElementVisibilityState(gridFillPage.gridWrapperPreviewTab(), 'visible');
|
74
74
|
gridFillPage.steps.verifyRowsCountPreviewTab(4);
|
75
75
|
gridFillPage.steps.verifyColumnsCountPreviewTab(6);
|
76
|
-
|
76
|
+
gridFillPage.steps.getCellCountInGridPreviewTab(24);
|
77
77
|
});
|
78
78
|
|
79
79
|
it('Cell with \'Hide\' customization should be displayed', () => {
|
@@ -163,7 +163,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
|
|
163
163
|
utilities.verifyCSS(utilities.getNthElement(gridFillPage.cellInPreviewTab(), 7), {
|
164
164
|
'border-color': css.color.figDefaultComponentBorder
|
165
165
|
});
|
166
|
-
gridFillPage.steps.verifyDefaultResponseBackgroundColorPreviewTab(1,2);
|
166
|
+
gridFillPage.steps.verifyDefaultResponseBackgroundColorPreviewTab(1, 2);
|
167
167
|
break;
|
168
168
|
case 'Grading view':
|
169
169
|
case 'Correct answer view':
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { gridFillPage } from "../../../../pages";
|
2
2
|
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
|
4
|
-
describe('Create item page - Grid fill :
|
4
|
+
describe('Create item page - Grid fill : All or nothing with alternative answers', () => {
|
5
5
|
before(() => {
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
@@ -92,7 +92,7 @@ describe('Create item page - Grid fill : Partial equal weights', () => {
|
|
92
92
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
93
93
|
});
|
94
94
|
|
95
|
-
it('When user attempt questions by selecting the exact number of cells specified in specify correct answer section and one extra response, then user should be awarded 0 points and when user unselects the extra response then user should be awarded full points', () => {
|
95
|
+
it('When user attempt questions by selecting the exact number of cells specified in specify correct answer section and one extra response, then user should be awarded 0 points and when user unselects the extra response then user should be awarded full points ', () => {
|
96
96
|
gridFillPage.steps.resetQuestionPreview();
|
97
97
|
gridFillPage.steps.selectCellPreviewTab(1, 1);
|
98
98
|
gridFillPage.steps.selectCellPreviewTab(1, 3);
|