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
@@ -0,0 +1,364 @@
|
|
1
|
+
import utilities from "../support/helpers/utilities";
|
2
|
+
import { autoScoredScoringPreviewTab, autoScoredStudentViewSettings, backgroundImageUploadComponent, createQuestionBasePage, imageCanvasComponent, questionInstructionsComponent, scoringSectionBaseEditTab, singleMultipleSelectionModeComponent } from "./components"
|
3
|
+
const css = Cypress.env('css');
|
4
|
+
let imageWidth = 768;
|
5
|
+
let imageHeight = 432;
|
6
|
+
|
7
|
+
const selectors = {
|
8
|
+
...questionInstructionsComponent,
|
9
|
+
|
10
|
+
//Specify possible options
|
11
|
+
specifyPossibleOptionsImageWrapper: () => cy.get('.drawing-tool__wrapper .drawing-tool__canvas'),
|
12
|
+
specifyPossibleOptionsImageCanvas: () => cy.get('.drawing-tool__wrapper .upper-canvas'),
|
13
|
+
freeformTool: () => cy.get('.drawing-tool__button-polygon'),
|
14
|
+
//Specify correct answer section
|
15
|
+
specifyCorrectAnswerSectionImage: () => cy.get('.highlight-svg-responseive image'),
|
16
|
+
specifyCorrectAnswerSectionHighlight: () => cy.get('[class*="HighlightImageControlstyles__ShapeWrapper"] a'),
|
17
|
+
//preview tab
|
18
|
+
imagePreviewTab: () => cy.get('[class*="question-preview-wrapper"] .highlight-svg-responseive image'),
|
19
|
+
highlightPreviewTab: () => cy.get('[class*="question-preview-wrapper"] [class*="HighlightImageControlstyles__ShapeWrapper"] a'),
|
20
|
+
highlightPolygonPreviewTab: () => cy.get('[class*="question-preview-wrapper"] [class*="HighlightImageControlstyles__PolygonWrapper"]'),
|
21
|
+
checkMarkIcon: () => cy.get('.correct-option-icon [data-name*="Rectangle"]'),
|
22
|
+
crossMarkIcon: () => cy.get('.incorrect-option-icon [data-name*="Rectangle"]'),
|
23
|
+
correctAnswersLabel: () => cy.get('[class*="__AnswerLabel"]'),
|
24
|
+
highlightNumerationPreviewTab: () => cy.get('[class*="__TextWrapper"]'),
|
25
|
+
correctAnswerContainerAnswerWrapper: () => cy.get('[class*="__AnswersWrapper"]'),
|
26
|
+
correctAnswerNumeration: () => cy.get('[class*="CellIndexWrapper"]'),
|
27
|
+
correctIncorrectAnswerTextWrapper: () => cy.get('[class*="_CorrectIncorrectWrapper"]'),
|
28
|
+
incorrectIcon: () => cy.get('[data-icon="Incorrect"]'),
|
29
|
+
correctIcon: () => cy.get('[data-icon="CorrectAnswer"]')
|
30
|
+
}
|
31
|
+
|
32
|
+
const steps = {
|
33
|
+
...createQuestionBasePage.steps,
|
34
|
+
...questionInstructionsComponent.steps,
|
35
|
+
...backgroundImageUploadComponent.steps,
|
36
|
+
...singleMultipleSelectionModeComponent.steps,
|
37
|
+
...scoringSectionBaseEditTab.steps,
|
38
|
+
...imageCanvasComponent.steps,
|
39
|
+
...autoScoredScoringPreviewTab.steps,
|
40
|
+
...autoScoredStudentViewSettings.steps,
|
41
|
+
//Specify possible options
|
42
|
+
clickOnFreeformTool: () => {
|
43
|
+
imageHighlightPage.freeformTool()
|
44
|
+
.click()
|
45
|
+
.blur();
|
46
|
+
},
|
47
|
+
|
48
|
+
verifyImageUploadedInSpecifyPossibleOptionsSection: () => {
|
49
|
+
imageHighlightPage.specifyPossibleOptionsImageWrapper()
|
50
|
+
.should('be.visible')
|
51
|
+
.and('have.css', 'background-image');
|
52
|
+
imageHighlightPage.specifyPossibleOptionsImageWrapper()
|
53
|
+
.should('have.css', 'background-size')
|
54
|
+
.and('eq', 'auto');
|
55
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
56
|
+
.should('be.visible')
|
57
|
+
.should('have.css', 'cursor');
|
58
|
+
},
|
59
|
+
|
60
|
+
/**
|
61
|
+
* @param {number[]} arrayOfPoints co-ordinates of the region to be highlighted
|
62
|
+
* @description this function draws the region to be highlighted
|
63
|
+
*/
|
64
|
+
highlightRegionInImage: (arrayOfPoints) => {
|
65
|
+
imageHighlightPage.steps.clickOnFreeformTool();
|
66
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
67
|
+
.then(($element) => {
|
68
|
+
const clientWidth = $element[0].clientWidth;
|
69
|
+
arrayOfPoints.forEach((coordinates) => {
|
70
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
71
|
+
.click(coordinates[0] * clientWidth / 100, coordinates[1] * clientWidth / 100);
|
72
|
+
});
|
73
|
+
imageHighlightPage.specifyPossibleOptionsImageCanvas()
|
74
|
+
.click(arrayOfPoints[0][0] * clientWidth / 100, arrayOfPoints[0][1] * clientWidth / 100);
|
75
|
+
});
|
76
|
+
cy.wait(200);
|
77
|
+
},
|
78
|
+
|
79
|
+
//Specify correct answer section
|
80
|
+
verifyImageUploadedSpecifyCorrectAnswer: () => {
|
81
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.specifyCorrectAnswerSectionImage(), 'visible')
|
82
|
+
},
|
83
|
+
|
84
|
+
/**
|
85
|
+
* @param {number} index of region to be highlighted in set correct answer section
|
86
|
+
* @description this function verifies if the region is highlighted
|
87
|
+
*/
|
88
|
+
verifySelectedHighlightRegionInSetCorrectAnswerSection: (index) => {
|
89
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlight()
|
90
|
+
.eq(index)
|
91
|
+
.should('have.attr', 'aria-checked', 'true');
|
92
|
+
},
|
93
|
+
|
94
|
+
/**
|
95
|
+
* @param {number} index of highlight region
|
96
|
+
* @description this function verifies if a highlight region is not selected
|
97
|
+
*/
|
98
|
+
verifyRegionIsNotHighlightedInSetCorrectAnswerSection: (index) => {
|
99
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlight()
|
100
|
+
.eq(index)
|
101
|
+
.should('have.attr', 'aria-checked', 'false');
|
102
|
+
},
|
103
|
+
|
104
|
+
/**
|
105
|
+
* @param {number} index of highlight region
|
106
|
+
* @description this functions highlights a region in set correct answer section
|
107
|
+
*/
|
108
|
+
highlightARegionInSpecifyCorrectAnswerSection: (index) => {
|
109
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlight()
|
110
|
+
.eq(index)
|
111
|
+
.click();
|
112
|
+
steps.verifySelectedHighlightRegionInSetCorrectAnswerSection(index);
|
113
|
+
},
|
114
|
+
|
115
|
+
/**
|
116
|
+
* @param {number} index of highlight region
|
117
|
+
* @description this functions highlights a region in set correct answer section
|
118
|
+
*/
|
119
|
+
removeHighlightOfARegionInSetCorrectAnswerSection: (index) => {
|
120
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlight()
|
121
|
+
.eq(index)
|
122
|
+
.click();
|
123
|
+
steps.verifyRegionIsNotHighlightedInSetCorrectAnswerSection(index);
|
124
|
+
},
|
125
|
+
|
126
|
+
//Preview tab
|
127
|
+
verifyImageUploadedPreviewTab: () => {
|
128
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.imagePreviewTab(), 'visible')
|
129
|
+
},
|
130
|
+
|
131
|
+
/**
|
132
|
+
* This function verifies the alt text of the image
|
133
|
+
* @param {string} altText for the image in preview tab
|
134
|
+
*/
|
135
|
+
verifyImageUploadedAltTextPreviewTab: (altText) => {
|
136
|
+
imageHighlightPage.imagePreviewTab()
|
137
|
+
.should('have.attr', 'alt', altText)
|
138
|
+
},
|
139
|
+
|
140
|
+
/**
|
141
|
+
* This function verifies the image width and height
|
142
|
+
* @param {number} width of the image
|
143
|
+
* @param {number} height of the image
|
144
|
+
*/
|
145
|
+
verifyImageUploadedWidthAndHeightPreviewTab: (width, height) => {
|
146
|
+
imageHighlightPage.imagePreviewTab()
|
147
|
+
.should('have.attr', 'width', width)
|
148
|
+
.should('have.attr', 'height', height)
|
149
|
+
},
|
150
|
+
|
151
|
+
/**
|
152
|
+
* @description verify count of highlight in preview tab
|
153
|
+
* @param {number} count count of the highlight
|
154
|
+
*/
|
155
|
+
verifyHighlightRegionCountInPreviewTab: (count) => {
|
156
|
+
imageHighlightPage.highlightPreviewTab()
|
157
|
+
.should('have.length', count);
|
158
|
+
},
|
159
|
+
|
160
|
+
/**
|
161
|
+
* @description verify hidden state of highlight in preview tab
|
162
|
+
* @param {number} count count of the highlight
|
163
|
+
*/
|
164
|
+
verifyHiddenHighlightRegion: (index) => {
|
165
|
+
utilities.getNthElement(imageHighlightPage.highlightPolygonPreviewTab(), index)
|
166
|
+
.should('have.attr', 'stroke-opacity', 'transparent');
|
167
|
+
},
|
168
|
+
|
169
|
+
/**
|
170
|
+
* @description verify hover state of highlight in preview tab
|
171
|
+
* @param {number} count count of the highlight
|
172
|
+
*/
|
173
|
+
verifyHoverStateOfHighlightRegion: (index) => {
|
174
|
+
utilities.getNthElement(imageHighlightPage.highlightPolygonPreviewTab(), index)
|
175
|
+
.should('have.attr', 'stroke-opacity', '100')
|
176
|
+
.and('have.attr', 'fill-opacity', '40');
|
177
|
+
},
|
178
|
+
|
179
|
+
/**
|
180
|
+
* @param {number} index of highlighted region
|
181
|
+
* @param {number[]} hotspotCoordsInPercentage co-ordinates of the highlighted image in preview tab
|
182
|
+
* @description this function verifies the co-ordinates of region highlighted in preview tab
|
183
|
+
*/
|
184
|
+
verifyHighlightRegionsInPreviewTab: (index, hotspotCoordsInPercentage) => {
|
185
|
+
let flattenedArr = hotspotCoordsInPercentage.flat();
|
186
|
+
imageHighlightPage.highlightPolygonPreviewTab()
|
187
|
+
.eq(index)
|
188
|
+
.then(($element) => {
|
189
|
+
const pointsValue = $element.attr('points');
|
190
|
+
const pointsArray = pointsValue.split(',');
|
191
|
+
let wholeNumbersArray = pointsArray.map((point) => {
|
192
|
+
return Math.floor(Number(point))
|
193
|
+
});
|
194
|
+
wholeNumbersArray.forEach((actualValue, index) => {
|
195
|
+
const targetValue = flattenedArr[index] * imageWidth / 100;
|
196
|
+
cy.wrap(actualValue).should('be.closeTo', targetValue, 2);
|
197
|
+
});
|
198
|
+
});
|
199
|
+
},
|
200
|
+
|
201
|
+
/**
|
202
|
+
* @param {number} index of region to be highlighted in set correct answer section
|
203
|
+
* @description this function verifies if the region is highlighted
|
204
|
+
*/
|
205
|
+
verifySelectedHighlightRegionInPreviewTab: (index) => {
|
206
|
+
imageHighlightPage.highlightPreviewTab()
|
207
|
+
.eq(index)
|
208
|
+
.should('have.attr', 'aria-checked', 'true');
|
209
|
+
},
|
210
|
+
|
211
|
+
/**
|
212
|
+
* @param {number} index of highlight region
|
213
|
+
* @description this function verifies if aa highlight region is not selected
|
214
|
+
*/
|
215
|
+
verifyRegionIsNotHighlightedPreviewTab: (index) => {
|
216
|
+
imageHighlightPage.highlightPreviewTab()
|
217
|
+
.eq(index)
|
218
|
+
.should('have.attr', 'aria-checked', 'false');
|
219
|
+
},
|
220
|
+
|
221
|
+
/**
|
222
|
+
* @param {number} index of highlight region
|
223
|
+
* @description this functions highlights a region in preview tab
|
224
|
+
*/
|
225
|
+
clickOnARegionInPreviewTab: (index) => {
|
226
|
+
imageHighlightPage.highlightPolygonPreviewTab()
|
227
|
+
.eq(index)
|
228
|
+
.click();
|
229
|
+
},
|
230
|
+
|
231
|
+
/**
|
232
|
+
* @param {number} index of highlight region
|
233
|
+
* @description this functions highlights a region in preview tab
|
234
|
+
*/
|
235
|
+
highlightARegionInPreviewTab: (index) => {
|
236
|
+
imageHighlightPage.highlightPolygonPreviewTab()
|
237
|
+
.eq(index)
|
238
|
+
.click();
|
239
|
+
steps.verifySelectedHighlightRegionInPreviewTab(index);
|
240
|
+
},
|
241
|
+
|
242
|
+
/**
|
243
|
+
* @param {number} index of highlight region
|
244
|
+
* @description this functions highlights a region in set correct answer section
|
245
|
+
*/
|
246
|
+
removeHighlightOfARegionInPreviewTab: (index) => {
|
247
|
+
imageHighlightPage.highlightPolygonPreviewTab()
|
248
|
+
.eq(index)
|
249
|
+
.click();
|
250
|
+
steps.verifyRegionIsNotHighlightedPreviewTab(index)
|
251
|
+
},
|
252
|
+
|
253
|
+
/**
|
254
|
+
* @param {*} index of highlight region
|
255
|
+
* @description this function verifies the highlight region is in default state
|
256
|
+
*/
|
257
|
+
verifyDefaultHighlightRegion: (index) => {
|
258
|
+
utilities.verifyCSS(imageHighlightPage.highlightPolygonPreviewTab().eq(index), {
|
259
|
+
'stroke': css.color.activeButtons
|
260
|
+
});
|
261
|
+
},
|
262
|
+
|
263
|
+
/**
|
264
|
+
* @param {*} index of highlight region
|
265
|
+
* @description this function verifies the highlight region is correct
|
266
|
+
*/
|
267
|
+
verifyCorrectHighlightRegion: (index) => {
|
268
|
+
utilities.verifyCSS(imageHighlightPage.highlightPolygonPreviewTab().eq(index), {
|
269
|
+
'fill': css.color.correctAnswerHighlightRegion,
|
270
|
+
'stroke': css.color.correctAnswer
|
271
|
+
});
|
272
|
+
imageHighlightPage.highlightPreviewTab()
|
273
|
+
.eq(index)
|
274
|
+
.within(() => {
|
275
|
+
utilities.verifyCSS(imageHighlightPage.checkMarkIcon(), {
|
276
|
+
'fill': css.color.correctAnswer
|
277
|
+
});
|
278
|
+
});
|
279
|
+
},
|
280
|
+
|
281
|
+
/**
|
282
|
+
* @param {*} index of highlight region
|
283
|
+
* @description this function verifies the highlight region is incorrect
|
284
|
+
*/
|
285
|
+
verifyIncorrectHighlightRegion: (index) => {
|
286
|
+
utilities.verifyCSS(imageHighlightPage.highlightPolygonPreviewTab().eq(index), {
|
287
|
+
'fill': css.color.incorrectAnswerHighlightRegion,
|
288
|
+
'stroke': css.color.incorrectAnswer
|
289
|
+
});
|
290
|
+
imageHighlightPage.highlightPreviewTab()
|
291
|
+
.eq(index)
|
292
|
+
.within(() => {
|
293
|
+
utilities.verifyCSS(imageHighlightPage.crossMarkIcon(), {
|
294
|
+
'fill': css.color.incorrectAnswer
|
295
|
+
});
|
296
|
+
});
|
297
|
+
},
|
298
|
+
|
299
|
+
verifyHighlightRegionNumerationPreviewTab: () => {
|
300
|
+
imageHighlightPage.highlightNumerationPreviewTab()
|
301
|
+
.each(($el, index) => {
|
302
|
+
cy.wrap($el)
|
303
|
+
.should('have.text', `${index + 1}`);
|
304
|
+
});
|
305
|
+
},
|
306
|
+
|
307
|
+
/**
|
308
|
+
* @param {string[]} numerationArray array of numeration numbers, lowercase, uppercase
|
309
|
+
* @description this function verifies the numeration of Correct Answer Container
|
310
|
+
*/
|
311
|
+
verifyCorrectAnswerContainerNumeration: (numerationArray) => {
|
312
|
+
numerationArray.forEach((optionNumeration, index) => {
|
313
|
+
imageHighlightPage.correctAnswerNumeration()
|
314
|
+
.eq(index)
|
315
|
+
.should('have.text', optionNumeration);
|
316
|
+
});
|
317
|
+
},
|
318
|
+
|
319
|
+
/**
|
320
|
+
* @param {string[]} optionsTextArray array of options in the correct answer container
|
321
|
+
* @param {string[]} numerationArray array of numeration numbers, lowercase, uppercase
|
322
|
+
* @description this function verifies the contents of Correct Answer Container
|
323
|
+
*/
|
324
|
+
verifyCorrectAnswerContainerContents: (optionsTextArray, numerationArray) => {
|
325
|
+
optionsTextArray.forEach((optionsText, index) => {
|
326
|
+
imageHighlightPage.correctAnswerContainerAnswerWrapper()
|
327
|
+
.eq(index)
|
328
|
+
.should('have.text', optionsText);
|
329
|
+
});
|
330
|
+
steps.verifyCorrectAnswerContainerNumeration(numerationArray);
|
331
|
+
},
|
332
|
+
|
333
|
+
verifyCorrectAnswerSectionNotExists: () => {
|
334
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.correctAnswerContainerAnswerWrapper(), 'notExist');
|
335
|
+
},
|
336
|
+
|
337
|
+
/**
|
338
|
+
* @param {("correct" | "incorrect")} answerStatus - The status of the answer.
|
339
|
+
* @description Verifies the visibility and content of the correct/incorrect answer label block.
|
340
|
+
* If the answer is correct, it also verifies the visibility of the correct icon;
|
341
|
+
* otherwise, it verifies the visibility of the incorrect icon.
|
342
|
+
*/
|
343
|
+
verifyCorrectIncorrectAnswerLabel: (answerStatus) => {
|
344
|
+
utilities.verifyInnerText(imageHighlightPage.correctIncorrectAnswerTextWrapper(), `Your answer is\n${answerStatus}`)
|
345
|
+
imageHighlightPage.correctIncorrectAnswerTextWrapper()
|
346
|
+
.within(() => {
|
347
|
+
if (answerStatus === 'correct') {
|
348
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.correctIcon(), 'visible');
|
349
|
+
} else {
|
350
|
+
utilities.verifyElementVisibilityState(imageHighlightPage.incorrectIcon(), 'visible');
|
351
|
+
}
|
352
|
+
});
|
353
|
+
},
|
354
|
+
}
|
355
|
+
|
356
|
+
const tests = {
|
357
|
+
...autoScoredScoringPreviewTab.tests,
|
358
|
+
}
|
359
|
+
|
360
|
+
export const imageHighlightPage = {
|
361
|
+
...selectors,
|
362
|
+
steps,
|
363
|
+
tests
|
364
|
+
}
|
package/cypress/pages/index.js
CHANGED
@@ -47,4 +47,9 @@ export * from './geoGebraToolsPage';
|
|
47
47
|
export * from './matchingPage';
|
48
48
|
export * from './brainingCampManipulativePage';
|
49
49
|
export * from './numberLinePage';
|
50
|
-
export * from './textSelectionPage';
|
50
|
+
export * from './textSelectionPage';
|
51
|
+
export * from './chartsBarPage';
|
52
|
+
export * from './chartsLinePage';
|
53
|
+
export * from './numberLineLabelPage';
|
54
|
+
export * from './chartsDotPlotPage';
|
55
|
+
export * from './imageHighlightPage';
|
@@ -7,6 +7,8 @@ import { scoringSectionBase } from "./components";
|
|
7
7
|
import { questionInstructionsComponent } from "./components";
|
8
8
|
import { contentBlocksPage } from "./contentBlocksPage";
|
9
9
|
import { createQuestionBasePage } from "./components";
|
10
|
+
import { graphingPage } from "./graphingPage";
|
11
|
+
import { drawingResponsePage } from "./drawingResponsePage";
|
10
12
|
|
11
13
|
const selectors = {
|
12
14
|
...createItemPage,
|
@@ -105,6 +107,8 @@ const steps = {
|
|
105
107
|
...scoringSectionBase.steps,
|
106
108
|
...questionInstructionsComponent.steps,
|
107
109
|
...selectQuestionResourceToolPage.steps,
|
110
|
+
...graphingPage.steps,
|
111
|
+
...drawingResponsePage.steps,
|
108
112
|
|
109
113
|
verifyEnableSideBySidePanelsCheckboxUnchecked: () => {
|
110
114
|
itemPreviewSettingsPage.enableSideBySidePanelsCheckbox()
|