itemengine-cypress-automation 1.0.189-e2e-execution-crash-83cdbd4.0 → 1.0.190-7thMayFixes-fcaf7b8.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 +81 -0
- package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +620 -0
- package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +402 -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 +2 -2
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/editAndPreviewTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +1 -0
- package/cypress/e2e/ILC/AudioResponseNew/headerSection.js +4 -20
- package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +2 -11
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +366 -0
- package/cypress/e2e/ILC/ChartsBar/checkAnswerFunctionalityForAllViews.smoke.js +181 -0
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +283 -0
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +625 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettingsBasic.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +0 -3
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +3 -5
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +0 -4
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabScoring.js +0 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +6 -8
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePageHeaderSection.js +4 -24
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +0 -9
- package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +418 -29
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +0 -2
- package/cypress/e2e/ILC/EssayResponse/headerSection.js +3 -18
- package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +0 -1
- package/cypress/e2e/ILC/EssayResponseMath/mathCharacters.js +0 -1
- package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +29 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +0 -5
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +5 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +0 -4
- 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/editTabScoringSection.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/studentViewSettings.js +1 -3
- 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/allOrNothingForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/Graphing/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -6
- package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
- package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +11 -3
- package/cypress/e2e/ILC/GridFill/headerSection.js +4 -5
- 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/ImageHighlight/allOrNothingForAllViews.smoke.js +276 -0
- package/cypress/e2e/ILC/ImageHighlight/checkAnswerFunctionalityForAllViews.smoke.js +141 -0
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +150 -0
- 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/additionalSettings.js +1 -0
- package/cypress/e2e/ILC/Matching/headerSection.js +2 -2
- 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 +23 -21
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +5 -3
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +8 -6
- 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 +60 -3
- package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +3 -2
- package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +2 -9
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/headerSection.js +4 -4
- 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 +3 -3
- 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 +697 -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 +231 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +231 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +231 -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 +289 -0
- package/cypress/e2e/ILC/NumberLineLabel/checkAnswerFunctionalityForAllViews.smoke.js +154 -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/editTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +1 -7
- package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +1 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +5 -5
- 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 +192 -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 +669 -445
- package/cypress/pages/audioResponsePage.js +10 -80
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/chartsBarPage.js +517 -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 +19 -26
- package/cypress/pages/components/autoScoredStudentViewSettings.js +7 -7
- package/cypress/pages/components/barAndLineChartComponent.js +123 -0
- package/cypress/pages/components/chartsCommonComponent.js +138 -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 +5 -4
- package/cypress/pages/components/index.js +8 -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/questionInputFieldComponent.js +2 -1
- package/cypress/pages/components/questionInstructionsComponent.js +3 -19
- package/cypress/pages/components/resetPopupComponent.js +7 -3
- package/cypress/pages/components/scoringSectionBaseEditTab.js +6 -17
- package/cypress/pages/components/singleMultipleSelectionModeComponent.js +16 -0
- package/cypress/pages/components/styleAndLayoutCustomizationAccordionComponent.js +46 -0
- package/cypress/pages/components/toolSettingsComponent.js +6 -0
- package/cypress/pages/contentBlocksPage.js +19 -3
- package/cypress/pages/createItemPage.js +75 -8
- package/cypress/pages/dialogBoxBase.js +2 -2
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +22 -24
- package/cypress/pages/drawingResponsePage.js +25 -4
- package/cypress/pages/feedbackScalePage.js +3 -0
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +14 -0
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
- package/cypress/pages/graphingPage.js +19 -1
- package/cypress/pages/gridFillPage.js +47 -59
- package/cypress/pages/imageHighlightPage.js +364 -0
- package/cypress/pages/index.js +6 -1
- package/cypress/pages/itemPreviewSettingsPage.js +4 -0
- package/cypress/pages/listOrderingPage.js +561 -555
- package/cypress/pages/matchingPage.js +3 -2
- package/cypress/pages/multipleSelectionPage.js +23 -1
- package/cypress/pages/numberLineLabelPage.js +1093 -0
- package/cypress/pages/numberLinePage.js +696 -78
- package/cypress/pages/protractorPage.js +1 -1
- package/cypress/pages/readingRulerPage.js +1 -1
- package/cypress/pages/rulerPage.js +9 -5
- package/cypress/pages/textEntryMathPage.js +2 -2
- package/cypress/pages/textSelectionPage.js +461 -23
- package/cypress/pages/videoResponsePage.js +396 -83
- package/package.json +1 -1
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +0 -432
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +0 -134
@@ -16,15 +16,19 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
16
16
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
17
17
|
});
|
18
18
|
|
19
|
-
it('When user checks \'Enable side by side panels\' checkbox and clicks on \'Apply changes\', then two panels should be displayed in \'Edit tab\'', () => {
|
19
|
+
it('When user checks \'Enable side by side panels\' checkbox and clicks on \'Apply changes\', then two panels should be displayed in \'Edit tab\' and when user switches to preview tab \'Preview not available\' should be displayed', () => {
|
20
20
|
itemPreviewSettingsPage.steps.checkEnableSideBySidePanelsCheckbox();
|
21
21
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
22
22
|
itemPreviewSettingsPage.steps.verifyPanelCount(2);
|
23
23
|
itemPreviewSettingsPage.steps.verifyAddQuestionAndAddResourceButton(0);
|
24
24
|
itemPreviewSettingsPage.steps.verifyAddQuestionAndAddResourceButton(1);
|
25
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
26
|
+
utilities.verifyInnerText(itemPreviewSettingsPage.noPreviewText(), 'Preview not available');
|
27
|
+
utilities.verifyElementCount(itemPreviewSettingsPage.noPreviewText(), 2);
|
25
28
|
});
|
26
29
|
|
27
30
|
it('User should be able to add questions or resource and tools in both the panels', () => {
|
31
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
28
32
|
itemPreviewSettingsPage.steps.clickOnAddQuestion(0);
|
29
33
|
itemPreviewSettingsPage.steps.selectQuestionType('short text response');
|
30
34
|
itemPreviewSettingsPage.steps.createBasicShortTextResponseQuestion('shortTextResponseHeading', 2, 'Answer');
|
@@ -33,31 +37,54 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
33
37
|
itemPreviewSettingsPage.steps.createBasicContentBlockResourceAndTool('Heading', 'Content heading');
|
34
38
|
});
|
35
39
|
|
36
|
-
it('When user has added question in the left panel, then it should be displayed in the left panel ', () => {
|
40
|
+
it('When user has added question in the left panel, then it should be displayed in the left panel within half of the container width in edit tab and preview tab', () => {
|
41
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
37
42
|
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'shortTextResponseHeading', panel: 0 });
|
43
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
44
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
45
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'shortTextResponseHeading', panel: 0 })
|
46
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
38
47
|
});
|
39
48
|
|
40
|
-
it('When user has added resource and tool in the right panel, then it should be displayed in the right panel', () => {
|
49
|
+
it('When user has added resource and tool in the right panel, then it should be displayed in the right panel within half of the container width in edit tab and preview tab', () => {
|
50
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
41
51
|
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 0, questionTitle: 'Content blocks', questionInstructions: 'Content heading', panel: 1 });
|
52
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
53
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
54
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Content heading', panel: 1 });
|
55
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
42
56
|
});
|
43
57
|
|
44
|
-
it('When user unchecks \'Enable side by side panels\' checkbox, then only one panel should be displayed and and added questions or resource and tools should be displayed inline', () => {
|
58
|
+
it('When user unchecks \'Enable side by side panels\' checkbox, then only one panel should be displayed and and added questions or resource and tools should be displayed inline in edit tab and preview tab', () => {
|
59
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
45
60
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
46
61
|
itemPreviewSettingsPage.steps.uncheckEnableSideBySidePanelsCheckbox();
|
47
62
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
48
63
|
itemPreviewSettingsPage.steps.verifyQuestionsCount(2);
|
49
64
|
itemPreviewSettingsPage.steps.verifyPanelCount(1);
|
50
65
|
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'shortTextResponseHeading', panel: 0 });
|
51
|
-
itemPreviewSettingsPage.steps.
|
66
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 1, questionTitle: 'Content blocks', questionInstructions: 'Content heading', panel: 0 });
|
67
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
68
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
69
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'shortTextResponseHeading', panel: 0 })
|
70
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Content heading', panel: 0 });
|
71
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
52
72
|
});
|
53
73
|
|
54
|
-
it('When user checks \'Enable side by side panels\' checkbox again, then \'Edit tab\' should be displayed with two panels, the left panel should be prefilled with added questions and resource tools and right panel should have \'Add question\' and \'Add resource and tool\' buttons', () => {
|
74
|
+
it('When user checks \'Enable side by side panels\' checkbox again, then \'Edit tab\' should be displayed with two panels, the left panel should be prefilled with added questions and resource tools and right panel should have \'Add question\' and \'Add resource and tool\' buttons in edit tab and \'No preview\' should be displayed in the right panel', () => {
|
75
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
55
76
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
56
77
|
itemPreviewSettingsPage.steps.checkEnableSideBySidePanelsCheckbox();
|
57
78
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
58
79
|
itemPreviewSettingsPage.steps.verifyPanelCount(2);
|
59
80
|
itemPreviewSettingsPage.steps.verifyQuestionsExistInLeftPanel();
|
60
81
|
itemPreviewSettingsPage.steps.verifyQuestionsDoNotExistInRightPanel();
|
82
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
83
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
84
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'shortTextResponseHeading', panel: 0 })
|
85
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Content heading', panel: 0 });
|
86
|
+
utilities.verifyInnerText(itemPreviewSettingsPage.noPreviewText(), 'Preview not available');
|
87
|
+
utilities.verifyElementCount(itemPreviewSettingsPage.noPreviewText(), 1);
|
61
88
|
});
|
62
89
|
|
63
90
|
it('Accessibility of panels', { tags: 'a11y' }, () => {
|
@@ -108,6 +135,7 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
108
135
|
itemPreviewSettingsPage.steps.selectSeparatorStyle('dotted');
|
109
136
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
110
137
|
itemPreviewSettingsPage.steps.verifyPanelCount(2);
|
138
|
+
cy.wait(2000);
|
111
139
|
itemPreviewSettingsPage.steps.verifyHorizontalSeparatorVisible('dotted');
|
112
140
|
});
|
113
141
|
|
@@ -177,7 +205,7 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
177
205
|
itemPreviewSettingsPage.steps.selectQuestionType('short text response');
|
178
206
|
itemPreviewSettingsPage.steps.createBasicShortTextResponseQuestion('RightPanelQuestion', 2, 'Answer');
|
179
207
|
itemPreviewSettingsPage.steps.clickOnAddResource(1);
|
180
|
-
itemPreviewSettingsPage.steps.selectResourceType('
|
208
|
+
itemPreviewSettingsPage.steps.selectResourceType('content blocks');
|
181
209
|
itemPreviewSettingsPage.steps.createBasicContentBlockResourceAndTool('RightPanelResource', 'Content heading');
|
182
210
|
});
|
183
211
|
|
@@ -244,25 +272,38 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
244
272
|
itemPreviewSettingsPage.steps.selectQuestionType('short text response');
|
245
273
|
itemPreviewSettingsPage.steps.createBasicShortTextResponseQuestion('ShortText', '2', 'Answer');
|
246
274
|
itemPreviewSettingsPage.steps.navigateToSection2();
|
247
|
-
itemPreviewSettingsPage.steps.
|
275
|
+
itemPreviewSettingsPage.steps.clickOnAddResource();
|
248
276
|
itemPreviewSettingsPage.steps.selectResourceType('content blocks');
|
249
277
|
itemPreviewSettingsPage.steps.createBasicContentBlockResourceAndTool('Global', 'Warming');
|
250
278
|
});
|
251
279
|
|
252
|
-
it('When user has added question in section 1 then, it should be displayed in the section 1 ', () => {
|
280
|
+
it('When user has added question in section 1 then, it should be displayed in the section 1 and the width should be equal to item width in edit tab and preview tab', () => {
|
253
281
|
itemPreviewSettingsPage.steps.navigateToSection1();
|
254
282
|
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'ShortText', panel: 0 });
|
283
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
284
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
285
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
286
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'ShortText', panel: 0 });
|
287
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
255
288
|
});
|
256
289
|
|
257
|
-
it('When user has added resource and tool in section 2 then, it should be displayed in the section 2', () => {
|
290
|
+
it('When user has added resource and tool in section 2 then, it should be displayed in the section 2 and the width should be equal to item width in edit tab and preview tab', () => {
|
291
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
258
292
|
itemPreviewSettingsPage.steps.navigateToSection2();
|
259
|
-
itemPreviewSettingsPage.steps.
|
293
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 0, questionTitle: 'Content blocks', questionInstructions: 'Warming', panel: 0 });
|
294
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
295
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
296
|
+
itemPreviewSettingsPage.steps.navigateToSection2();
|
297
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Warming', panel: 0 });
|
298
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
260
299
|
});
|
261
300
|
|
262
301
|
it('When the user has checked \'Enable sections\' then on switching to \'Edit tab\', section navigation orientation should be \'Horizontal\', section navigation style should be \'Underlined\' and section navigation alignment should be \'Left aligned\' by default', () => {
|
302
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
263
303
|
itemPreviewSettingsPage.steps.verifyHorizontalNavigationOrientation();
|
264
304
|
itemPreviewSettingsPage.steps.verifyUnderlinedNavigationStyle(4);
|
265
305
|
itemPreviewSettingsPage.steps.verifyLeftAlignedNavigationAlignment();
|
306
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
266
307
|
});
|
267
308
|
|
268
309
|
it('When user selects \'Separated using dividers\' navigation style and \'Horizontal\' navigation orientation is active selection, then vertical line should be displayed between the section titles', () => {
|
@@ -270,6 +311,7 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
270
311
|
itemPreviewSettingsPage.steps.selectSeparatedUsingDividersNavigationStyle();
|
271
312
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
272
313
|
itemPreviewSettingsPage.steps.verifySeparatedUsingDividersNavigationStyle('horizontal');
|
314
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
273
315
|
});
|
274
316
|
|
275
317
|
it('When user selects \'Numbered\' navigation style, then numbers should be displayed with section titles', () => {
|
@@ -277,6 +319,7 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
277
319
|
itemPreviewSettingsPage.steps.selectNumberedNavigationStyle();
|
278
320
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
279
321
|
itemPreviewSettingsPage.steps.verifyNumberedSectionNavigationStyle();
|
322
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
280
323
|
});
|
281
324
|
|
282
325
|
it('When user selects \'Center aligned\' navigation alignment, then section titles should be center aligned', () => {
|
@@ -284,6 +327,7 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
284
327
|
itemPreviewSettingsPage.steps.selectCenterAlignedNavigationAlignment();
|
285
328
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
286
329
|
itemPreviewSettingsPage.steps.verifyCenterAlignedNavigationAlignment();
|
330
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
287
331
|
});
|
288
332
|
|
289
333
|
it('When user selects \'Right aligned\' navigation alignment, then section titles should be right aligned', () => {
|
@@ -291,16 +335,24 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
291
335
|
itemPreviewSettingsPage.steps.selectRightAlignedNavigationAlignment();
|
292
336
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
293
337
|
itemPreviewSettingsPage.steps.verifyRightAlignedNavigationAlignment();
|
338
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
294
339
|
});
|
295
340
|
|
296
|
-
it('When user selects \'Vertical\' navigation orientation, then vertically oriented sections should be displayed', () => {
|
341
|
+
it('When user selects \'Vertical\' navigation orientation, then vertically oriented sections should be displayed and the width should be equal to item width in edit tab and preview tab', () => {
|
297
342
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
298
343
|
itemPreviewSettingsPage.steps.selectVerticalNavigationOrientation();
|
299
344
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
300
345
|
itemPreviewSettingsPage.steps.verifyVerticalNavigationOrientation();
|
346
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthAndSectionWidthEqualToItemWidth();
|
347
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
348
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
349
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'ShortText', panel: 0 });
|
350
|
+
itemPreviewSettingsPage.steps.navigateToSection2();
|
351
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Warming', panel: 0 });
|
301
352
|
});
|
302
353
|
|
303
354
|
it('When \'Numbered\' navigation style is the active selection, then numbers should be displayed with the section titles', () => {
|
355
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
304
356
|
itemPreviewSettingsPage.steps.verifyNumberedSectionNavigationStyle();
|
305
357
|
});
|
306
358
|
|
@@ -318,15 +370,21 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
318
370
|
itemPreviewSettingsPage.steps.verifySeparatedUsingDividersNavigationStyle('vertical');
|
319
371
|
});
|
320
372
|
|
321
|
-
it('When user checks \'Enable side by side panels\' checkbox and \'Left panel\' is active selection for \'Enable sections in\', then \'Edit tab\' should have two panels and \'Left panel\' should have two sections', () => {
|
373
|
+
it('When user checks \'Enable side by side panels\' checkbox and \'Left panel\' is active selection for \'Enable sections in\', then \'Edit tab\' should have two panels and \'Left panel\' should have two sections and on switching to preview tab the added question and resource should be displayed in respective panels', () => {
|
322
374
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
323
375
|
itemPreviewSettingsPage.steps.checkEnableSideBySidePanelsCheckbox();
|
324
376
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
325
377
|
itemPreviewSettingsPage.steps.verifyPanelCount(2);
|
326
378
|
itemPreviewSettingsPage.steps.verifyTwoSectionsExist(0);
|
379
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
380
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
381
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'ShortText', panel: 0 });
|
382
|
+
itemPreviewSettingsPage.steps.navigateToSection2();
|
383
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Warming', panel: 0 });
|
327
384
|
});
|
328
385
|
|
329
386
|
it('When user checks \'Right panel\' checkbox in \'Enable sections in\', then right panel should have two sections in it', () => {
|
387
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
330
388
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
331
389
|
itemPreviewSettingsPage.steps.checkRightPanelCheckbox();
|
332
390
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
@@ -341,50 +399,79 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
341
399
|
itemPreviewSettingsPage.steps.createBasicContentBlockResourceAndTool('Heading', 'Body');
|
342
400
|
itemPreviewSettingsPage.steps.navigateToSection2(1);
|
343
401
|
itemPreviewSettingsPage.steps.verifyAddQuestionAndAddResourceButton(1);
|
344
|
-
itemPreviewSettingsPage.steps.
|
402
|
+
itemPreviewSettingsPage.steps.clickOnAddQuestion(1);
|
345
403
|
itemPreviewSettingsPage.steps.selectQuestionType('short text response');
|
346
404
|
itemPreviewSettingsPage.steps.createBasicShortTextResponseQuestion('ShortTextResponse', '2', 'Result');
|
347
405
|
});
|
348
406
|
|
349
|
-
it('When user has added question in section 1 then, it should be displayed in the section 1 ', () => {
|
350
|
-
itemPreviewSettingsPage.steps.navigateToSection1();
|
407
|
+
it('When user has added question in section 1 then, it should be displayed in the section 1 and the width should be half of item width in edit tab and preview tab', () => {
|
408
|
+
itemPreviewSettingsPage.steps.navigateToSection1(1);
|
351
409
|
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 0, questionTitle: 'Content blocks', questionInstructions: 'Body', panel: 1 });
|
410
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
411
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
412
|
+
itemPreviewSettingsPage.steps.navigateToSection1(1);
|
413
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Body', panel: 1 });
|
414
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
352
415
|
});
|
353
416
|
|
354
|
-
it('When user has added resource and tool in section 2 then, it should be displayed in the section 2', () => {
|
355
|
-
itemPreviewSettingsPage.steps.
|
356
|
-
itemPreviewSettingsPage.steps.
|
417
|
+
it('When user has added resource and tool in section 2 then, it should be displayed in the section 2 and the width should be half of item width in edit tab and preview tab', () => {
|
418
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
419
|
+
itemPreviewSettingsPage.steps.navigateToSection2(1);
|
420
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'ShortTextResponse', panel: 1 });
|
421
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
422
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
423
|
+
itemPreviewSettingsPage.steps.navigateToSection2(1);
|
424
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'ShortTextResponse', panel: 1 });
|
425
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
357
426
|
});
|
358
427
|
|
359
|
-
it('When user unchecks \'Left panel\' checkbox, then section titles should disappear and questions in \'Left panel\' should be displayed inline', () => {
|
428
|
+
it('When user unchecks \'Left panel\' checkbox, then section titles should disappear and questions in \'Left panel\' should be displayed inline and the width should be half of item width in edit tab and preview tab', () => {
|
429
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
360
430
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
361
431
|
itemPreviewSettingsPage.steps.uncheckLeftPanelCheckbox();
|
362
432
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
363
433
|
itemPreviewSettingsPage.steps.verifySectionsLabelsNotExist(0);
|
364
434
|
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'ShortText', panel: 0 });
|
365
|
-
itemPreviewSettingsPage.steps.
|
435
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 1, questionTitle: 'Content blocks', questionInstructions: 'Warming', panel: 0 });
|
436
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
437
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
438
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'ShortText', panel: 0 });
|
439
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Warming', panel: 0 });
|
440
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
366
441
|
});
|
367
442
|
|
368
|
-
it('When user checks \'Left panel\' checkbox, then \'Section 1\' should be prefilled with questions and both sections should have \'Add question\' & \'Add resource and tool\' buttons', () => {
|
443
|
+
it('When user checks \'Left panel\' checkbox, then \'Section 1\' should be prefilled with questions and both sections should have \'Add question\' & \'Add resource and tool\' buttons and on switching to preview tab the added question and resource and tool should be displayed', () => {
|
444
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
369
445
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
370
446
|
itemPreviewSettingsPage.steps.checkLeftPanelCheckbox();
|
371
447
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
372
448
|
itemPreviewSettingsPage.steps.verifyTwoSectionsExist(0);
|
373
|
-
itemPreviewSettingsPage.steps.navigateToSection1(
|
449
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
374
450
|
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'ShortText', panel: 0 });
|
375
|
-
itemPreviewSettingsPage.steps.
|
451
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 1, questionTitle: 'Content blocks', questionInstructions: 'Warming', panel: 0 });
|
452
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
453
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
454
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'ShortText', panel: 0 });
|
455
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Warming', panel: 0 });
|
376
456
|
});
|
377
457
|
|
378
|
-
it('When user unchecks \'Right panel\' checkbox, then in \'Right panel\' section titles should disappear and questions should be displayed inline', () => {
|
458
|
+
it('When user unchecks \'Right panel\' checkbox, then in \'Right panel\' section titles should disappear and questions should be displayed inline and the width should be half of item width in edit tab and preview tab', () => {
|
459
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
379
460
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
380
461
|
itemPreviewSettingsPage.steps.uncheckRightPanelCheckbox();
|
381
462
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
382
463
|
itemPreviewSettingsPage.steps.verifySectionsLabelsNotExist(1);
|
383
464
|
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 0, questionTitle: 'Content blocks', questionInstructions: 'Body', panel: 1 });
|
384
465
|
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Short text response', questionInstructions: 'ShortTextResponse', panel: 1 });
|
466
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
467
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
468
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'ShortTextResponse', panel: 1 });
|
469
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Body', panel: 1 });
|
470
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
385
471
|
});
|
386
472
|
|
387
|
-
it('When user checks \'Right panel\' checkbox, then in \'Right panel\' \'Section 1\' should be prefilled with questions and both sections should have \'Add question\' & \'Add resource and tool\' buttons', () => {
|
473
|
+
it('When user checks \'Right panel\' checkbox, then in \'Right panel\' \'Section 1\' should be prefilled with questions and both sections should have \'Add question\' & \'Add resource and tool\' buttons in edit tab and preview tab', () => {
|
474
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
388
475
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
389
476
|
itemPreviewSettingsPage.steps.checkRightPanelCheckbox();
|
390
477
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
@@ -392,19 +479,321 @@ describe('Item preview: Settings tab - functionality', () => {
|
|
392
479
|
itemPreviewSettingsPage.steps.navigateToSection1(1);
|
393
480
|
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 0, questionTitle: 'Content blocks', questionInstructions: 'Body', panel: 1 });
|
394
481
|
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Short text response', questionInstructions: 'ShortTextResponse', panel: 1 });
|
482
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
483
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
484
|
+
itemPreviewSettingsPage.steps.navigateToSection1(1);
|
485
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'ShortTextResponse', panel: 1 });
|
486
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionInstructions: 'Body', panel: 1 });
|
487
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
395
488
|
});
|
396
489
|
|
397
|
-
|
398
|
-
|
490
|
+
it('When user unchecks \'Enable sections\' checkbox, then section titles should disappear and \'Left panel\' and \'Right panel\' should have prefilled questions and the width should be half of item width in edit tab and preview tab', () => {
|
491
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
399
492
|
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
400
493
|
itemPreviewSettingsPage.steps.uncheckEnableSectionsCheckbox();
|
401
494
|
itemPreviewSettingsPage.steps.clickApplyChanges();
|
402
495
|
itemPreviewSettingsPage.steps.verifySectionsLabelsNotExist(0);
|
403
496
|
itemPreviewSettingsPage.steps.verifySectionsLabelsNotExist(1);
|
404
497
|
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Short text response', questionInstructions: 'ShortText', panel: 0 });
|
405
|
-
itemPreviewSettingsPage.steps.
|
498
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 1, questionTitle: 'Content blocks', questionInstructions: 'Warming', panel: 0 });
|
499
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
406
500
|
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreview({ questionIndex: 0, questionTitle: 'Content blocks', questionInstructions: 'Body', panel: 1 });
|
407
501
|
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Short text response', questionInstructions: 'ShortTextResponse', panel: 1 });
|
502
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
503
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
504
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'ShortText', panel: 0 });
|
505
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionIndex: 1, questionInstructions: 'Warming', panel: 0 });
|
506
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
507
|
+
itemPreviewSettingsPage.steps.verifyContentBlockContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Body', panel: 1 });
|
508
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 1, questionInstructions: 'ShortTextResponse', panel: 1 });
|
509
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
510
|
+
});
|
511
|
+
});
|
512
|
+
|
513
|
+
describe('Functionality for \'Enable side by side panels\' section for canvas questions', () => {
|
514
|
+
abortEarlySetup();
|
515
|
+
before(() => {
|
516
|
+
cy.log('Navigating to Item preview settings tab');
|
517
|
+
itemPreviewSettingsPage.steps.navigateToCreateItemPage();
|
518
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
519
|
+
});
|
520
|
+
|
521
|
+
it('When user checks \'Enable side by side panels\' checkbox and clicks on \'Apply changes\', then two panels should be displayed in \'Edit tab\' and on switching to preview tab \'Preview not available\; should be displayed', () => {
|
522
|
+
itemPreviewSettingsPage.steps.checkEnableSideBySidePanelsCheckbox();
|
523
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
524
|
+
itemPreviewSettingsPage.steps.verifyPanelCount(2);
|
525
|
+
itemPreviewSettingsPage.steps.verifyAddQuestionAndAddResourceButton(0);
|
526
|
+
itemPreviewSettingsPage.steps.verifyAddQuestionAndAddResourceButton(1);
|
527
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
528
|
+
utilities.verifyInnerText(itemPreviewSettingsPage.noPreviewText(), 'Preview not available');
|
529
|
+
utilities.verifyElementCount(itemPreviewSettingsPage.noPreviewText(), 2);
|
530
|
+
});
|
531
|
+
|
532
|
+
it('User should be able to add canvas question to both the panels', () => {
|
533
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
534
|
+
itemPreviewSettingsPage.steps.clickOnAddQuestion(0);
|
535
|
+
itemPreviewSettingsPage.steps.selectQuestionType('Graphing');
|
536
|
+
itemPreviewSettingsPage.steps.createBasicGraphingResponseQuestion('Graphing question', 2);
|
537
|
+
itemPreviewSettingsPage.steps.clickOnAddQuestion(1);
|
538
|
+
itemPreviewSettingsPage.steps.selectQuestionType('Drawing Response');
|
539
|
+
itemPreviewSettingsPage.steps.createBasicDrawingResponseQuestion('Drawing question', 2);
|
540
|
+
});
|
541
|
+
|
542
|
+
it('When user has added canvas question in the left panel, then it should be displayed in the left panel within half of the container width in edit tab and preview tab', () => {
|
543
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 0 });
|
544
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
545
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
546
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Graphing question', panel: 0 })
|
547
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
548
|
+
});
|
549
|
+
|
550
|
+
it('When user has added canvas question in the right panel, then it should be displayed in the right panel within half of the container width in edit tab and preview tab', () => {
|
551
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
552
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 1 });
|
553
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
554
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
555
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Drawing question', panel: 1 });
|
556
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
557
|
+
});
|
558
|
+
|
559
|
+
it('When user unchecks \'Enable side by side panels\' checkbox, then only one panel should be displayed and and added questions should be displayed inline in edit tab and preview tab', () => {
|
560
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
561
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
562
|
+
itemPreviewSettingsPage.steps.uncheckEnableSideBySidePanelsCheckbox();
|
563
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
564
|
+
itemPreviewSettingsPage.steps.verifyQuestionsCount(2);
|
565
|
+
itemPreviewSettingsPage.steps.verifyPanelCount(1);
|
566
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 0 });
|
567
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 0 });
|
568
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
569
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
570
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Graphing question', panel: 0 });
|
571
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 1, questionInstructions: 'Drawing question', panel: 0 });
|
572
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
573
|
+
});
|
574
|
+
|
575
|
+
it('When user checks \'Enable side by side panels\' checkbox again, then \'Edit tab\' should be displayed with two panels, the left panel should be prefilled with added questions right panel should have \'Add question\' and \'Add resource and tool\' buttons and \'No preview\' should be displayed in the right panel', () => {
|
576
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
577
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
578
|
+
itemPreviewSettingsPage.steps.checkEnableSideBySidePanelsCheckbox();
|
579
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
580
|
+
itemPreviewSettingsPage.steps.verifyPanelCount(2);
|
581
|
+
itemPreviewSettingsPage.steps.verifyQuestionsExistInLeftPanel();
|
582
|
+
itemPreviewSettingsPage.steps.verifyQuestionsDoNotExistInRightPanel();
|
583
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
584
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
585
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Graphing question', panel: 0 });
|
586
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 1, questionInstructions: 'Drawing question', panel: 0 });
|
587
|
+
utilities.verifyInnerText(itemPreviewSettingsPage.noPreviewText(), 'Preview not available');
|
588
|
+
utilities.verifyElementCount(itemPreviewSettingsPage.noPreviewText(), 1);
|
589
|
+
});
|
590
|
+
});
|
591
|
+
|
592
|
+
//Failing due to https://redmine.zeuslearning.com/issues/571430
|
593
|
+
describe('Functionality of \'Sections\' section for canvas questions', () => {
|
594
|
+
abortEarlySetup();
|
595
|
+
before(() => {
|
596
|
+
cy.log('Navigating to Item preview settings tab');
|
597
|
+
itemPreviewSettingsPage.steps.navigateToCreateItemPage();
|
598
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
599
|
+
});
|
600
|
+
|
601
|
+
it('When user checks \'Enable sections\' checkbox, then two sections should be displayed in \'Edit tab\' and both sections should have \'Add question\' and \'Add resource and tool\' buttons', () => {
|
602
|
+
itemPreviewSettingsPage.steps.checkEnableSectionsCheckbox();
|
603
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
604
|
+
itemPreviewSettingsPage.steps.verifyTwoSectionsExist();
|
605
|
+
itemPreviewSettingsPage.steps.verifyAddQuestionAndAddResourceButton();
|
606
|
+
itemPreviewSettingsPage.steps.navigateToSection2();
|
607
|
+
itemPreviewSettingsPage.steps.verifyAddQuestionAndAddResourceButton();
|
608
|
+
});
|
609
|
+
|
610
|
+
it('User should be able to add canvas questions in both sections', () => {
|
611
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
612
|
+
itemPreviewSettingsPage.steps.clickOnAddQuestion();
|
613
|
+
itemPreviewSettingsPage.steps.selectQuestionType('Graphing');
|
614
|
+
itemPreviewSettingsPage.steps.createBasicGraphingResponseQuestion('Graphing question', 2);
|
615
|
+
itemPreviewSettingsPage.steps.navigateToSection2();
|
616
|
+
itemPreviewSettingsPage.steps.clickOnAddQuestion();
|
617
|
+
itemPreviewSettingsPage.steps.selectQuestionType('Drawing Response');
|
618
|
+
itemPreviewSettingsPage.steps.createBasicDrawingResponseQuestion('Drawing question', 2);
|
619
|
+
});
|
620
|
+
|
621
|
+
it('When user has added question in section 1 then, it should be displayed in the section 1 and the width should be equal to item width in edit tab and preview tab', () => {
|
622
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
623
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 0 });
|
624
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
625
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
626
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
627
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Graphing question', panel: 0 });
|
628
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
629
|
+
});
|
630
|
+
|
631
|
+
it('When user has added question in section 2 then, it should be displayed in the section 2 and the width should be equal to item width in edit tab and preview tab', () => {
|
632
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
633
|
+
itemPreviewSettingsPage.steps.navigateToSection2();
|
634
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 0 });
|
635
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
636
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
637
|
+
itemPreviewSettingsPage.steps.navigateToSection2();
|
638
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Drawing question', panel: 0 });
|
639
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthEqualToItemWidth();
|
640
|
+
});
|
641
|
+
|
642
|
+
it('When user selects \'Vertical\' navigation orientation, then vertically oriented sections should be displayed in edit tab and preview tab', () => {
|
643
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
644
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
645
|
+
itemPreviewSettingsPage.steps.selectVerticalNavigationOrientation();
|
646
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
647
|
+
itemPreviewSettingsPage.steps.verifyVerticalNavigationOrientation();
|
648
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthAndSectionWidthEqualToItemWidth();
|
649
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
650
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
651
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Graphing question', panel: 0 });
|
652
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthAndSectionWidthEqualToItemWidth();
|
653
|
+
itemPreviewSettingsPage.steps.navigateToSection2();
|
654
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Drawing question', panel: 0 });
|
655
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthAndSectionWidthEqualToItemWidth();
|
656
|
+
});
|
657
|
+
|
658
|
+
it('When user checks \'Enable side by side panels\' checkbox and \'Left panel\' is active selection for \'Enable sections in\', then \'Edit tab\' should have two panels and \'Left panel\' should have two sections and the width should be half of item width and on switching to preview tab the added questions should be displayed', () => {
|
659
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
660
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
661
|
+
itemPreviewSettingsPage.steps.checkEnableSideBySidePanelsCheckbox();
|
662
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
663
|
+
itemPreviewSettingsPage.steps.verifyPanelCount(2);
|
664
|
+
itemPreviewSettingsPage.steps.verifyTwoSectionsExist(0);
|
665
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
666
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
667
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
668
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Graphing question', panel: 0 });
|
669
|
+
itemPreviewSettingsPage.steps.navigateToSection2();
|
670
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Drawing question', panel: 0 });
|
671
|
+
});
|
672
|
+
|
673
|
+
it('When user checks \'Right panel\' checkbox in \'Enable sections in\', then right panel should have two sections in it', () => {
|
674
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
675
|
+
itemPreviewSettingsPage.steps.checkRightPanelCheckbox();
|
676
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
677
|
+
itemPreviewSettingsPage.steps.verifyPanelCount(2);
|
678
|
+
itemPreviewSettingsPage.steps.verifyTwoSectionsExist(1);
|
679
|
+
});
|
680
|
+
|
681
|
+
it('User should be able to add questions in both sections of \'Right panel\'', () => {
|
682
|
+
itemPreviewSettingsPage.steps.verifyAddQuestionAndAddResourceButton(1);
|
683
|
+
itemPreviewSettingsPage.steps.clickOnAddQuestion(1);
|
684
|
+
itemPreviewSettingsPage.steps.selectQuestionType('Drawing Response');
|
685
|
+
itemPreviewSettingsPage.steps.createBasicDrawingResponseQuestion('Drawing question', 2);
|
686
|
+
itemPreviewSettingsPage.steps.navigateToSection2(1);
|
687
|
+
itemPreviewSettingsPage.steps.verifyAddQuestionAndAddResourceButton(1);
|
688
|
+
itemPreviewSettingsPage.steps.clickOnAddQuestion(1);
|
689
|
+
itemPreviewSettingsPage.steps.selectQuestionType('Graphing');
|
690
|
+
itemPreviewSettingsPage.steps.createBasicGraphingResponseQuestion('Graphing question', 2);
|
691
|
+
});
|
692
|
+
|
693
|
+
it('When user has added question in section 1 then, it should be displayed in the section 1 and the width should be half of item width in edit tab and preview tab', () => {
|
694
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
695
|
+
itemPreviewSettingsPage.steps.navigateToSection1(1);
|
696
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 1 });
|
697
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
698
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
699
|
+
itemPreviewSettingsPage.steps.navigateToSection1(1);
|
700
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 1 });
|
701
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
702
|
+
});
|
703
|
+
|
704
|
+
it('When user has added question in section 2 then, it should be displayed in the section 2 and the width should be half of item width in edit tab and preview tab', () => {
|
705
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
706
|
+
itemPreviewSettingsPage.steps.navigateToSection2(1);
|
707
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 1 });
|
708
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
709
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
710
|
+
itemPreviewSettingsPage.steps.navigateToSection2(1);
|
711
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Graphing question', panel: 1 });
|
712
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
713
|
+
});
|
714
|
+
|
715
|
+
it('When user unchecks \'Left panel\' checkbox, then section titles should disappear and questions in \'Left panel\' should be displayed inline and the width should be half of item width in edit tab and preview tab', () => {
|
716
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
717
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
718
|
+
itemPreviewSettingsPage.steps.uncheckLeftPanelCheckbox();
|
719
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
720
|
+
itemPreviewSettingsPage.steps.verifySectionsLabelsNotExist(0);
|
721
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 0 });
|
722
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 0 });
|
723
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
724
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
725
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Graphing question', panel: 0 });
|
726
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 0 });
|
727
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
728
|
+
});
|
729
|
+
|
730
|
+
it('When user checks \'Left panel\' checkbox, then \'Section 1\' should be prefilled with questions and both sections should have \'Add question\' & \'Add resource and tool\' buttons in edit tab and preview tab', () => {
|
731
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
732
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
733
|
+
itemPreviewSettingsPage.steps.checkLeftPanelCheckbox();
|
734
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
735
|
+
itemPreviewSettingsPage.steps.verifyTwoSectionsExist(0);
|
736
|
+
itemPreviewSettingsPage.steps.navigateToSection1(0);
|
737
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 0 });
|
738
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 0 });
|
739
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
740
|
+
itemPreviewSettingsPage.steps.navigateToSection1();
|
741
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 0 });
|
742
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 1, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 0 });
|
743
|
+
});
|
744
|
+
|
745
|
+
it('When user unchecks \'Right panel\' checkbox, then in \'Right panel\' section titles should disappear and questions should be displayed inline and the width should be half of item width in edit tab and preview tab', () => {
|
746
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
747
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
748
|
+
itemPreviewSettingsPage.steps.uncheckRightPanelCheckbox();
|
749
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
750
|
+
itemPreviewSettingsPage.steps.verifySectionsLabelsNotExist(1);
|
751
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 1 });
|
752
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 1 });
|
753
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
754
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
755
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Drawing question', panel: 1 });
|
756
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 1, questionInstructions: 'Graphing question', panel: 1 });
|
757
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
758
|
+
});
|
759
|
+
|
760
|
+
it('When user checks \'Right panel\' checkbox, then in \'Right panel\' \'Section 1\' should be prefilled with questions and both sections should have \'Add question\' & \'Add resource and tool\' buttons and the width should be half of item width in edit tab and preview tab', () => {
|
761
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
762
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
763
|
+
itemPreviewSettingsPage.steps.checkRightPanelCheckbox();
|
764
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
765
|
+
itemPreviewSettingsPage.steps.verifyTwoSectionsExist(1);
|
766
|
+
itemPreviewSettingsPage.steps.navigateToSection1(1);
|
767
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 1 });
|
768
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 1 });
|
769
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
770
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
771
|
+
itemPreviewSettingsPage.steps.navigateToSection1(1);
|
772
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Drawing question', panel: 1 });
|
773
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 1, questionInstructions: 'Graphing question', panel: 1 });
|
774
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
775
|
+
});
|
776
|
+
|
777
|
+
it('When user unchecks \'Enable sections\' checkbox, then section titles should disappear and \'Left panel\' and \'Right panel\' should have prefilled questions and the width should be half of item width in edit tab and preview tab', () => {
|
778
|
+
itemPreviewSettingsPage.steps.switchToEditTab();
|
779
|
+
itemPreviewSettingsPage.steps.clickOnSettingsButton();
|
780
|
+
itemPreviewSettingsPage.steps.uncheckEnableSectionsCheckbox();
|
781
|
+
itemPreviewSettingsPage.steps.clickApplyChanges();
|
782
|
+
itemPreviewSettingsPage.steps.verifySectionsLabelsNotExist(0);
|
783
|
+
itemPreviewSettingsPage.steps.verifySectionsLabelsNotExist(1);
|
784
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 0 });
|
785
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 0 });
|
786
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
787
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 0, questionTitle: 'Drawing response', questionInstructions: 'Drawing question', panel: 1 });
|
788
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreview({ questionIndex: 1, questionTitle: 'Graphing', questionInstructions: 'Graphing question', panel: 1 });
|
789
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
790
|
+
itemPreviewSettingsPage.steps.switchToPreviewTab();
|
791
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Graphing question', panel: 0 });
|
792
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 1, questionInstructions: 'Drawing question', panel: 0 });
|
793
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(0);
|
794
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 0, questionInstructions: 'Drawing question', panel: 1 });
|
795
|
+
itemPreviewSettingsPage.steps.verifyBasicQuestionContentsPreviewPreviewTab({ questionIndex: 1, questionInstructions: 'Graphing question', panel: 1 });
|
796
|
+
itemPreviewSettingsPage.steps.verifyPanelWidthIsHalfOfItemWidth(1);
|
408
797
|
});
|
409
798
|
});
|
410
799
|
});
|