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
@@ -59,7 +59,7 @@ const selectors = {
|
|
59
59
|
}
|
60
60
|
},
|
61
61
|
previewTabToolbarOptionTooltip: () => cy.get('.edit-question-preview-wrapper [role="tooltip"][class*="Tooltipstyles__TooltipContent"]'),
|
62
|
-
previewTabLowerCanvas: () => cy.get('.
|
62
|
+
previewTabLowerCanvas: () => cy.get('.question-preview-wrapper .lower-canvas'),
|
63
63
|
previewTabUpperCanvas: () => cy.get('.edit-question-preview-wrapper .upper-canvas'),
|
64
64
|
previewTabSecondaryToolbarOptionLabel: () => cy.get('.edit-question-preview-wrapper .drawing-tool__secondary-toolbar__tool-name'),
|
65
65
|
previewTabSecondaryToolbarOption: (ariaLabel = null) => {
|
@@ -194,11 +194,12 @@ const selectors = {
|
|
194
194
|
specialCharactersPopupCategoryTitle: () => cy.get('[class*="characters__container"] [class="drawing-tool-options__options__accordion__header"]'),
|
195
195
|
specialCharactersPopupCategoryAccordionIcon: () => cy.get('[class*="characters__container"] [aria-label="AccordionIcon"]'),
|
196
196
|
|
197
|
+
//TODO - update selectors https://redmine.zeuslearning.com/issues/571423
|
197
198
|
//Edit tab color picker popup
|
198
199
|
editTabColorPickerPopupOpacityPalette: () => cy.get('.react-colorful__last-control .react-colorful__interactive'),
|
199
200
|
editTabColorPickerPopupOpacityPicker: () => cy.get('.react-colorful__last-control .react-colorful__pointer'),
|
200
201
|
editTabColorPickerPopupCancelButton: () => cy.get('.compact-popup-action-button-wrapper button').eq(0),
|
201
|
-
editTabColorPickerPopupOkButton: () => cy.get('.compact-popup-action-button-wrapper button').eq(
|
202
|
+
editTabColorPickerPopupOkButton: () => cy.get('.compact-popup-action-button-wrapper button').eq(1),
|
202
203
|
|
203
204
|
//TODO: Student view: Need to remove once https://redmine.zeuslearning.com/issues/556302 is fixed
|
204
205
|
studentAndGradingViewDrawingToolbarOption: (drawingOption = null) => {
|
@@ -208,7 +209,8 @@ const selectors = {
|
|
208
209
|
return cy.get('.drawing-tool__button')
|
209
210
|
}
|
210
211
|
},
|
211
|
-
studentViewUpperCanvas: () => cy.get('.upper-canvas').eq(0)
|
212
|
+
studentViewUpperCanvas: () => cy.get('.upper-canvas').eq(0),
|
213
|
+
gradingViewPlayFeatureButton: () => cy.get('[class*="DrawingResponsePreviewstyles__PlayBtnWrapper"] button')
|
212
214
|
}
|
213
215
|
|
214
216
|
const steps = {
|
@@ -635,7 +637,7 @@ const steps = {
|
|
635
637
|
verifySecondaryPopupLineType: (lineType, index) => {
|
636
638
|
drawingResponsePage.previewTabSecondaryOptionPopupOptions()
|
637
639
|
.eq(index)
|
638
|
-
.should('have.attr', 'aria-label', `Line
|
640
|
+
.should('have.attr', 'aria-label', `Line type ${lineType}`);
|
639
641
|
},
|
640
642
|
|
641
643
|
/**
|
@@ -1225,6 +1227,25 @@ const steps = {
|
|
1225
1227
|
});
|
1226
1228
|
});
|
1227
1229
|
},
|
1230
|
+
|
1231
|
+
/**
|
1232
|
+
* This function sets basic question and saves it
|
1233
|
+
* @param {string} inputQuestion input for the question instruction
|
1234
|
+
* @param {number} points for the question
|
1235
|
+
*/
|
1236
|
+
createBasicDrawingResponseQuestion: (inputQuestion, points) => {
|
1237
|
+
drawingResponsePage.questionInstructionsInputField()
|
1238
|
+
.type(inputQuestion);
|
1239
|
+
drawingResponsePage.pointsInputField()
|
1240
|
+
.type(points);
|
1241
|
+
drawingResponsePage.saveQuestionButton()
|
1242
|
+
.click();
|
1243
|
+
},
|
1244
|
+
|
1245
|
+
clickOnPlayButtonInGradingView: () => {
|
1246
|
+
drawingResponsePage.gradingViewPlayFeatureButton()
|
1247
|
+
.click();
|
1248
|
+
}
|
1228
1249
|
}
|
1229
1250
|
|
1230
1251
|
const tests = {
|
@@ -1,11 +1,13 @@
|
|
1
1
|
import { additionalSettingsPanel, commonComponents, createQuestionBasePage, questionInstructionsComponent, autoScoredScoringPreviewTab, studentViewSettingsLabelComponent } from "./components"
|
2
2
|
import utilities from "../support/helpers/utilities";
|
3
|
+
import { selectQuestionResourceToolPage } from "./selectQuestionResourceToolPage";
|
3
4
|
const css = Cypress.env('css');
|
4
5
|
|
5
6
|
const selectors = {
|
6
7
|
...questionInstructionsComponent,
|
7
8
|
...commonComponents,
|
8
9
|
...additionalSettingsPanel,
|
10
|
+
...selectQuestionResourceToolPage,
|
9
11
|
specifyFeedbackScaleOptionsLabel: () => cy.get('[class*="FeedbackScalestyles__SpecifyFeedbackLabel"]'),
|
10
12
|
feedbackScaleStyleDropdownLabel: () => cy.get('#feedback-scale-style-dropdown-label'),
|
11
13
|
feedbackScaleStyleDropdown: () => cy.get('#feedback-scale-style-select'),
|
@@ -103,6 +105,7 @@ const steps = {
|
|
103
105
|
...additionalSettingsPanel.steps,
|
104
106
|
...questionInstructionsComponent.steps,
|
105
107
|
...autoScoredScoringPreviewTab.steps,
|
108
|
+
...selectQuestionResourceToolPage.steps,
|
106
109
|
/**
|
107
110
|
* Adds legend text to a specific option in the Legend Text accordion.
|
108
111
|
* @param {number} optionIndex - The index of the option in the Legend Text accordion.
|
@@ -546,6 +546,20 @@ const steps = {
|
|
546
546
|
fillInTheGapsOverImageDragAndDropPage.dropzonePreviewTab()
|
547
547
|
.should('be.visible');
|
548
548
|
},
|
549
|
+
|
550
|
+
/**
|
551
|
+
* @param {number} index of option input field
|
552
|
+
* @param {string} textContent to enter text in the options input field
|
553
|
+
*/
|
554
|
+
enterTextInOptionInputField: (index, textContent) => {
|
555
|
+
optionsWrapperComponent.optionsSectionWrapper()
|
556
|
+
.within(() => {
|
557
|
+
optionsWrapperComponent.optionsInputField()
|
558
|
+
.eq(index)
|
559
|
+
.type(textContent)
|
560
|
+
.blur();
|
561
|
+
});
|
562
|
+
},
|
549
563
|
}
|
550
564
|
|
551
565
|
const tests = {
|
@@ -157,7 +157,7 @@ const steps = {
|
|
157
157
|
* @description this function verifies width of canvas
|
158
158
|
*/
|
159
159
|
verifyCanvasWidthInPreviewTab: (width) => {
|
160
|
-
fillInTheGapsOverImageDropdownPage.
|
160
|
+
fillInTheGapsOverImageDropdownPage.canvasImageInPreviewTab()
|
161
161
|
.should('have.attr', 'width', width);
|
162
162
|
},
|
163
163
|
|
@@ -1554,7 +1554,7 @@ const steps = {
|
|
1554
1554
|
*/
|
1555
1555
|
selectGraphToolOptionPreviewTab: (toolOption) => {
|
1556
1556
|
graphingPage.graphToolOptionPreviewTab(toolOption)
|
1557
|
-
.
|
1557
|
+
.dblclick();
|
1558
1558
|
},
|
1559
1559
|
|
1560
1560
|
/**
|
@@ -1664,6 +1664,24 @@ const steps = {
|
|
1664
1664
|
|
1665
1665
|
verifyCorrectAnswerSectionNotExist: () => {
|
1666
1666
|
utilities.verifyElementVisibilityState(utilities.getNthElement(graphingPage.graphCorrectAnswerSection(), 1), 'notExist');
|
1667
|
+
},
|
1668
|
+
|
1669
|
+
/**
|
1670
|
+
* This function sets basic question and saves it
|
1671
|
+
* @param {string} inputQuestion input for the question instruction
|
1672
|
+
* @param {number} points for the question
|
1673
|
+
*/
|
1674
|
+
createBasicGraphingResponseQuestion: (inputQuestion, points) => {
|
1675
|
+
graphingPage.questionInstructionsInputField()
|
1676
|
+
.type(inputQuestion);
|
1677
|
+
graphingPage.pointsInputField()
|
1678
|
+
.type(points);
|
1679
|
+
graphingPage.steps.selectGraphToolOptionEditTab('Line');
|
1680
|
+
graphingPage.steps.plotPointsOnGraphEditTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
1681
|
+
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Line');
|
1682
|
+
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: -4, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 4, yRange: 20 }]);
|
1683
|
+
graphingPage.saveQuestionButton()
|
1684
|
+
.click();
|
1667
1685
|
}
|
1668
1686
|
}
|
1669
1687
|
|
@@ -31,6 +31,7 @@ const selectors = {
|
|
31
31
|
makeResponsiveCheckbox: () => cy.get('.mobile-responsive-wrapper input'),
|
32
32
|
makeResponsiveCheckboxIcon: () => cy.get('.mobile-responsive-wrapper .MuiSwitch-thumb'),
|
33
33
|
whatIsThisLabel: () => cy.get('.what-is-wrapper [class*="StyledLink"]'),
|
34
|
+
makeResponsiveHelpText: () => cy.get('[class*="WhatIsThisDescriptionWrapper"]'),
|
34
35
|
columnsInputField: () => cy.get('[class*="GridFillstyles__RowsColWrapper"] .input-stepper-textfield').eq(0),
|
35
36
|
columnsLabel: () => cy.get('[class*="GridFillstyles__RowsColWrapper"] [class*="GridFillstyles__CanvasInputLabelWrapper"]').eq(0),
|
36
37
|
columnsIncreaseButton: () => cy.get('[class*="GridFillstyles__RowsColWrapper"] [aria-label="Increase count"]').eq(0),
|
@@ -41,8 +42,8 @@ const selectors = {
|
|
41
42
|
rowsDecreaseButton: () => cy.get('[class*="GridFillstyles__RowsColWrapper"] [aria-label="Decrease count"]').eq(1),
|
42
43
|
|
43
44
|
cellInEditTab: () => cy.get('[class*="GridFillResponsestyles__CellContainer"]'),
|
44
|
-
matchExactPositionLabel: () => cy.get('[data-ngie-testid="exact-
|
45
|
-
matchExactPositionCheckbox: () => cy.get('[data-ngie-testid="exact-
|
45
|
+
matchExactPositionLabel: () => cy.get('[data-ngie-testid="match-exact-position-of-cells-checkbox"] [class*="label"]'),
|
46
|
+
matchExactPositionCheckbox: () => cy.get('[data-ngie-testid="match-exact-position-of-cells-checkbox"] input'),
|
46
47
|
cellInSpecifyCorrectAnswerSection: () => cy.get('[class*="GridFillstyles__SetCorrectAnswerWrapper"] [class*="GridFillResponsestyles__CellContainer"]'),
|
47
48
|
rowsWrapperSpecifyCorrectAnswerSection: () => cy.get('[class*="GridFillstyles__SetCorrectAnswerWrapper"] [class*="GridFillResponsestyles__RowContainer"]'),
|
48
49
|
correctAnswerAccordion: () => cy.get('.correct-answer-accordion'),
|
@@ -57,7 +58,7 @@ const selectors = {
|
|
57
58
|
gridSpecifyCorrectAnswerSection: () => cy.get('[class*="AnswerAccordionstyles__AnswerPanel"] [class*="GridFillResponsestyles__GridWrapper"]'),
|
58
59
|
gridRow: () => cy.get('[class*="GridFillResponsestyles__RowContainer"]'),
|
59
60
|
cellShadeCountLabel: () => cy.get('[class*="GridFillResponsestyles__CellFillCountLabel"]'),
|
60
|
-
cellShadeCountInputField: () => cy.get('.
|
61
|
+
cellShadeCountInputField: () => cy.get('.grid-fill-response-wrapper [aria-label="labeling"]'),
|
61
62
|
paginationButtonWrapperSpecifyCorrectAnswerSection: () => cy.get('.correct-answer-accordion [class*="PaginationControlWrapper"]'),
|
62
63
|
paginationTextSpecifyCorrectAnswerSection: () => cy.get('.correct-answer-accordion [class*="PaginationControlWrapper"] [class*="PaginationDetails"]'),
|
63
64
|
previousPaginationButtonSpecifyCorrectAnswerSection: () => cy.get('.correct-answer-accordion [class*="PaginationControlWrapper"] [class*="PaginationControl"]').eq(0),
|
@@ -103,7 +104,7 @@ const selectors = {
|
|
103
104
|
shadeCellButton: () => cy.get('.single-select-toggle-group button').eq(0),
|
104
105
|
hideCellButton: () => cy.get('.single-select-toggle-group button').eq(1),
|
105
106
|
shadedCellIcon: () => cy.get('[class*="GridFillResponsestyles__CellHideFillIconWrapper"] g[id*="Group"]'),
|
106
|
-
hiddenCellIcon: () => cy.get('[class*="GridFillResponsestyles__CellHideFillIconWrapper"]
|
107
|
+
hiddenCellIcon: () => cy.get('[class*="GridFillResponsestyles__CellHideFillIconWrapper"]'),
|
107
108
|
gridCustomizeLayoutSection: () => cy.get('.customize-layout-wrapper-cls [class*="GridFillResponsestyles__GridWrapper"]'),
|
108
109
|
cellInCustomizeLayout: () => cy.get('[id*="Response-cell"]'),
|
109
110
|
rowsWrapperCustomizeLayout: () => cy.get('.customize-layout-wrapper-cls [class*="GridFillResponsestyles__RowContainer"]'),
|
@@ -479,10 +480,10 @@ const steps = {
|
|
479
480
|
.click()
|
480
481
|
.invoke('attr', 'aria-label')
|
481
482
|
.should('include', 'Hide cell');
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
483
|
+
utilities.getNthElement(gridFillPage.cellInCustomizeLayout(), columnIndex)
|
484
|
+
.within(() => {
|
485
|
+
utilities.verifyElementVisibilityState(gridFillPage.hiddenCellIcon(), 'exist');
|
486
|
+
});
|
486
487
|
});
|
487
488
|
},
|
488
489
|
|
@@ -744,14 +745,7 @@ const steps = {
|
|
744
745
|
utilities.getNthElement(gridFillPage.rowsWrapperPreviewTab(), rowIndex)
|
745
746
|
.within(() => {
|
746
747
|
utilities.getNthElement(gridFillPage.cellInPreviewTab(), columnIndex)
|
747
|
-
.
|
748
|
-
cy.window().then((win) => {
|
749
|
-
const element = $element[0];
|
750
|
-
const pseudoStyle = win.getComputedStyle(element, '::after');
|
751
|
-
const pseudoBackgroundColor = pseudoStyle.getPropertyValue('background-color');
|
752
|
-
expect(pseudoBackgroundColor).to.equal(css.color.gridCellCorrectAnswerBg);
|
753
|
-
});
|
754
|
-
});
|
748
|
+
.should('have.css', 'background-color', css.color.gridCellCorrectAnswerBg);
|
755
749
|
});
|
756
750
|
});
|
757
751
|
},
|
@@ -763,14 +757,7 @@ const steps = {
|
|
763
757
|
utilities.getNthElement(gridFillPage.rowsWrapperPreviewTab(), rowIndex)
|
764
758
|
.within(() => {
|
765
759
|
utilities.getNthElement(gridFillPage.cellInPreviewTab(), columnIndex)
|
766
|
-
.
|
767
|
-
cy.window().then((win) => {
|
768
|
-
const element = $element[0];
|
769
|
-
const pseudoStyle = win.getComputedStyle(element, '::after');
|
770
|
-
const pseudoBackgroundColor = pseudoStyle.getPropertyValue('background-color');
|
771
|
-
expect(pseudoBackgroundColor).to.equal(css.color.gridCellDefaultStateBg);
|
772
|
-
});
|
773
|
-
});
|
760
|
+
.should('have.css', 'background-color', css.color.gridCellDefaultStateBg);
|
774
761
|
});
|
775
762
|
});
|
776
763
|
},
|
@@ -782,14 +769,7 @@ const steps = {
|
|
782
769
|
utilities.getNthElement(gridFillPage.rowsWrapperPreviewTab(), rowIndex)
|
783
770
|
.within(() => {
|
784
771
|
utilities.getNthElement(gridFillPage.cellInPreviewTab(), columnIndex)
|
785
|
-
.
|
786
|
-
cy.window().then((win) => {
|
787
|
-
const element = $element[0];
|
788
|
-
const pseudoStyle = win.getComputedStyle(element, '::after');
|
789
|
-
const pseudoBackgroundColor = pseudoStyle.getPropertyValue('background-color');
|
790
|
-
expect(pseudoBackgroundColor).to.equal(css.color.gridCellSelectedStateBg);
|
791
|
-
});
|
792
|
-
});
|
772
|
+
.should('have.css', 'background-color', css.color.titleContainerBorder);
|
793
773
|
});
|
794
774
|
});
|
795
775
|
},
|
@@ -801,14 +781,7 @@ const steps = {
|
|
801
781
|
utilities.getNthElement(gridFillPage.rowsWrapperPreviewTab(), rowIndex)
|
802
782
|
.within(() => {
|
803
783
|
utilities.getNthElement(gridFillPage.cellInPreviewTab(), columnIndex)
|
804
|
-
.
|
805
|
-
cy.window().then((win) => {
|
806
|
-
const element = $element[0];
|
807
|
-
const pseudoStyle = win.getComputedStyle(element, '::after');
|
808
|
-
const pseudoBackgroundColor = pseudoStyle.getPropertyValue('background-color');
|
809
|
-
expect(pseudoBackgroundColor).to.equal(css.color.defaultBackground);
|
810
|
-
});
|
811
|
-
});
|
784
|
+
.should('have.css', 'background-color', css.color.defaultBackground);
|
812
785
|
});
|
813
786
|
});
|
814
787
|
},
|
@@ -825,14 +798,7 @@ const steps = {
|
|
825
798
|
utilities.getNthElement(gridFillPage.rowsWrapperPreviewTab(), rowIndex)
|
826
799
|
.within(() => {
|
827
800
|
utilities.getNthElement(gridFillPage.cellInPreviewTab(), columnIndex)
|
828
|
-
.
|
829
|
-
cy.window().then((win) => {
|
830
|
-
const element = $element[0];
|
831
|
-
const pseudoStyle = win.getComputedStyle(element, '::after');
|
832
|
-
const pseudoBackgroundColor = pseudoStyle.getPropertyValue('background-color');
|
833
|
-
expect(pseudoBackgroundColor).to.equal(css.color.gridCellIncorrectAnswerBg);
|
834
|
-
});
|
835
|
-
});
|
801
|
+
.should('have.css', 'background-color', css.color.gridCellIncorrectAnswerBg);
|
836
802
|
});
|
837
803
|
});
|
838
804
|
},
|
@@ -854,14 +820,7 @@ const steps = {
|
|
854
820
|
utilities.getNthElement(gridFillPage.cellInPreviewTab(), columnIndex)
|
855
821
|
.should('have.css', 'border-color', css.color.correctAnswer);
|
856
822
|
utilities.getNthElement(gridFillPage.cellInPreviewTab(), columnIndex)
|
857
|
-
.
|
858
|
-
cy.window().then((win) => {
|
859
|
-
const element = $element[0];
|
860
|
-
const pseudoStyle = win.getComputedStyle(element, '::after');
|
861
|
-
const pseudoBackgroundColor = pseudoStyle.getPropertyValue('background-color');
|
862
|
-
expect(pseudoBackgroundColor).to.equal(css.color.gridCellCorrectAnswerBg);
|
863
|
-
});
|
864
|
-
});
|
823
|
+
.should('have.css', 'background-color', css.color.gridCellCorrectAnswerBg);
|
865
824
|
});
|
866
825
|
});
|
867
826
|
},
|
@@ -954,7 +913,11 @@ const steps = {
|
|
954
913
|
* @param {number} lengthRows - The expected count of rows.
|
955
914
|
*/
|
956
915
|
verifyRowsCountPreviewTab: (lengthRows) => {
|
957
|
-
|
916
|
+
gridFillPage.gridWrapperPreviewTab()
|
917
|
+
.eq(0)
|
918
|
+
.within(() => {
|
919
|
+
utilities.verifyElementCount(gridFillPage.rowsWrapperPreviewTab(), lengthRows);
|
920
|
+
});
|
958
921
|
},
|
959
922
|
|
960
923
|
/**
|
@@ -968,6 +931,18 @@ const steps = {
|
|
968
931
|
});
|
969
932
|
},
|
970
933
|
|
934
|
+
/**
|
935
|
+
* @description Verifies the count of cells in a grid in the preview tab.
|
936
|
+
* @param {number} expectedCount - The expected count of cells in the grid.
|
937
|
+
*/
|
938
|
+
getCellCountInGridPreviewTab: (expectedCount) => {
|
939
|
+
gridFillPage.gridWrapperPreviewTab()
|
940
|
+
.eq(0)
|
941
|
+
.within(() => {
|
942
|
+
utilities.verifyElementCount(gridFillPage.cellInPreviewTab(), expectedCount);
|
943
|
+
});
|
944
|
+
},
|
945
|
+
|
971
946
|
expandOpenTheGridSelectorDropdown: () => {
|
972
947
|
gridFillPage.openTheGridSelectorDropdownButton()
|
973
948
|
.click()
|
@@ -2891,6 +2866,19 @@ const steps = {
|
|
2891
2866
|
utilities.verifyElementVisibilityState(gridFillPage.correctAnswerLabel(), 'notExist');
|
2892
2867
|
utilities.verifyElementVisibilityState(gridFillPage.gridWrapperPreviewTab().eq(1), 'notExist');
|
2893
2868
|
},
|
2869
|
+
|
2870
|
+
/**
|
2871
|
+
* @param {number} points - The points to be allotted.
|
2872
|
+
* @description - Allots points in the scoring section.
|
2873
|
+
*/
|
2874
|
+
allotPoints: (points) => {
|
2875
|
+
scoringSectionBaseEditTab.pointsInputField()
|
2876
|
+
.eq(0)
|
2877
|
+
.clear()
|
2878
|
+
.type(`${points}`)
|
2879
|
+
.should('have.value', points)
|
2880
|
+
.blur();
|
2881
|
+
},
|
2894
2882
|
}
|
2895
2883
|
|
2896
2884
|
const tests = {
|
@@ -2985,8 +2973,8 @@ const tests = {
|
|
2985
2973
|
commonComponents.steps.verifyErrorMessageIsNotDisplayed();
|
2986
2974
|
});
|
2987
2975
|
|
2988
|
-
it(`\'
|
2989
|
-
utilities.verifyInnerText(gridFillPage.matchExactPositionLabel(), '
|
2976
|
+
it(`\'Match exact position of cells\' label and checkbox should be displayed in the ${accordionName} accordion and the checkbox should be checked`, () => {
|
2977
|
+
utilities.verifyInnerText(gridFillPage.matchExactPositionLabel(), 'Match exact position of cells');
|
2990
2978
|
utilities.verifyElementVisibilityState(gridFillPage.matchExactPositionLabel(), 'visible');
|
2991
2979
|
utilities.verifyElementVisibilityState(gridFillPage.matchExactPositionCheckbox(), 'exist');
|
2992
2980
|
gridFillPage.steps.verifyMatchExactPositionOfCellsCheckboxIsChecked();
|