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,326 @@
|
|
1
|
+
import { numberLineLabelPage } from "../../../pages";
|
2
|
+
import { ckEditorToolbar, equationEditorFlyout } from "../../../pages/components";
|
3
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
|
+
import utilities from "../../../support/helpers/utilities";
|
5
|
+
const css = Cypress.env('css');
|
6
|
+
const labels = ['Label 1', 'Label 2', 'Label 3']
|
7
|
+
describe('Create Item page - Number line label : Question instructions and label section', () => {
|
8
|
+
before(() => {
|
9
|
+
cy.loginAs('admin');
|
10
|
+
});
|
11
|
+
|
12
|
+
describe('Question instructions input field - Edit tab', () => {
|
13
|
+
abortEarlySetup();
|
14
|
+
before(() => {
|
15
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
16
|
+
cy.barsPreLoaderWait();
|
17
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
18
|
+
});
|
19
|
+
|
20
|
+
numberLineLabelPage.tests.verifyQuestionInstructionsInputFieldEditTab();
|
21
|
+
});
|
22
|
+
|
23
|
+
describe('Question instructions input field - Preview tab', () => {
|
24
|
+
abortEarlySetup();
|
25
|
+
before(() => {
|
26
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
27
|
+
cy.barsPreLoaderWait();
|
28
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
29
|
+
});
|
30
|
+
|
31
|
+
numberLineLabelPage.tests.verifyQuestionInstructionsInputFieldPreviewTab();
|
32
|
+
});
|
33
|
+
|
34
|
+
describe('Label section', () => {
|
35
|
+
abortEarlySetup();
|
36
|
+
before(() => {
|
37
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
38
|
+
cy.barsPreLoaderWait();
|
39
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
40
|
+
});
|
41
|
+
|
42
|
+
it(`\'Labels\' label should be displayed`, () => {
|
43
|
+
utilities.verifyInnerText(numberLineLabelPage.labelsLabel(), 'Labels');
|
44
|
+
});
|
45
|
+
|
46
|
+
it(`By default 3 label input fields with placeholder text, drag handle and delete label icon buttons should be displayed`, () => {
|
47
|
+
for (let index = 0; index < 3; index++) {
|
48
|
+
numberLineLabelPage.steps.verifyLabelsContents(index);
|
49
|
+
};
|
50
|
+
});
|
51
|
+
|
52
|
+
it('\'Add Option\' button should be present', () => {
|
53
|
+
utilities.verifyInnerText(numberLineLabelPage.addLabelButton(), 'Add label');
|
54
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.labelsLabel(), 'visible');
|
55
|
+
});
|
56
|
+
|
57
|
+
it('CSS of Labels section', { tags: 'css' }, () => {
|
58
|
+
utilities.verifyCSS(numberLineLabelPage.labelsLabel(), {
|
59
|
+
'color': css.color.sectionHeading,
|
60
|
+
'font-size': css.fontSize.normal,
|
61
|
+
'font-weight': css.fontWeight.semibold
|
62
|
+
});
|
63
|
+
utilities.verifyCSS(numberLineLabelPage.dragHandleButton().find('path'), {
|
64
|
+
'fill': css.color.secondaryBtnActive
|
65
|
+
});
|
66
|
+
numberLineLabelPage.deleteLabelButton()
|
67
|
+
.verifyPseudoClassBeforeProperty('color', css.color.deleteIcon);
|
68
|
+
utilities.verifyCSS(numberLineLabelPage.labelInputField(), {
|
69
|
+
'color': css.color.text,
|
70
|
+
'font-size': css.fontSize.default,
|
71
|
+
'font-weight': css.fontWeight.regular
|
72
|
+
});
|
73
|
+
utilities.verifyCSS(numberLineLabelPage.addLabelButton(), {
|
74
|
+
'color': css.color.secondaryBtnActive,
|
75
|
+
'font-size': css.fontSize.default,
|
76
|
+
'font-weight': css.fontWeight.medium
|
77
|
+
});
|
78
|
+
});
|
79
|
+
|
80
|
+
it('On hovering over the drag handle of the labels, \'Drag to reorder\' message should be displayed on a tooltip and the tooltip should disappear if focus is removed from the drag handle', () => {
|
81
|
+
utilities.triggerMouseover(utilities.getNthElement(numberLineLabelPage.dragHandleButton(), 0));
|
82
|
+
utilities.verifyInnerText(numberLineLabelPage.tooltipText(), 'Drag to reorder');
|
83
|
+
utilities.triggerMouseout(utilities.getNthElement(numberLineLabelPage.dragHandleButton(), 0));
|
84
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'notExist');
|
85
|
+
});
|
86
|
+
|
87
|
+
it('CSS of drag handle tooltip', { tags: 'css' }, () => {
|
88
|
+
utilities.getNthElement(numberLineLabelPage.labelWrapper(), 0)
|
89
|
+
.within(() => {
|
90
|
+
utilities.triggerMouseover(numberLineLabelPage.dragHandleButton());
|
91
|
+
});
|
92
|
+
utilities.verifyCSS(numberLineLabelPage.tooltipText(), {
|
93
|
+
'color': css.color.whiteText,
|
94
|
+
'font-size': css.fontSize.small,
|
95
|
+
'font-weight': css.fontWeight.regular
|
96
|
+
});
|
97
|
+
utilities.getNthElement(numberLineLabelPage.labelWrapper(), 0)
|
98
|
+
.within(() => {
|
99
|
+
utilities.triggerMouseout(numberLineLabelPage.dragHandleButton())
|
100
|
+
});
|
101
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'notExist');
|
102
|
+
});
|
103
|
+
|
104
|
+
it('Accessibility of drag handle tooltip', { tags: 'a11y' }, () => {
|
105
|
+
utilities.getNthElement(numberLineLabelPage.labelWrapper(), 0)
|
106
|
+
.within(() => {
|
107
|
+
utilities.triggerMouseover(numberLineLabelPage.dragHandleButton());
|
108
|
+
});
|
109
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'visible')
|
110
|
+
cy.checkAccessibility(numberLineLabelPage.nextGenCreateItemWrapper());
|
111
|
+
utilities.getNthElement(numberLineLabelPage.labelWrapper(), 0)
|
112
|
+
.within(() => {
|
113
|
+
utilities.triggerMouseout(numberLineLabelPage.dragHandleButton())
|
114
|
+
});
|
115
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'notExist');
|
116
|
+
});
|
117
|
+
|
118
|
+
it('When user clicks on the \'Delete\' label button then the respective labels input field should get deleted and label numeration should change accordingly', () => {
|
119
|
+
cy.log('Pre step: Adding text in all label input fields')
|
120
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(labels);
|
121
|
+
const labelsAfterDeleting = labels.filter((el) => el !== labels[1]);
|
122
|
+
numberLineLabelPage.steps.deleteLabel(1);
|
123
|
+
utilities.verifyElementCount(numberLineLabelPage.labelWrapper(), 2);
|
124
|
+
cy.log('Verifying the input text given to input fields after deletion of 2nd label')
|
125
|
+
labelsAfterDeleting.forEach((inputFieldText, labelIndex) => {
|
126
|
+
utilities.verifyTextContent(utilities.getNthElement(numberLineLabelPage.labelInputField(), labelIndex), inputFieldText);
|
127
|
+
});
|
128
|
+
});
|
129
|
+
|
130
|
+
it('When only two labels are present, the delete buttons should be in disabled state', () => {
|
131
|
+
numberLineLabelPage.steps.verifyDeleteLabelButtonDisabledState();
|
132
|
+
});
|
133
|
+
|
134
|
+
it('When the user hovers over the disabled delete buttons of the labels then \'Minimum two labels are required\' message should be displayed on a tooltip and the tooltip should disappear if focus is removed from the delete button', () => {
|
135
|
+
numberLineLabelPage.steps.mouseoverDisabledDeleteButton(0);
|
136
|
+
utilities.verifyInnerText(numberLineLabelPage.tooltipText(), 'Minimum two labels are required');
|
137
|
+
numberLineLabelPage.steps.mouseoutDisabledDeleteButton(0);
|
138
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'notExist');
|
139
|
+
});
|
140
|
+
|
141
|
+
it('CSS of disabled delete button tooltip', { tags: 'css' }, () => {
|
142
|
+
numberLineLabelPage.steps.mouseoverDisabledDeleteButton(0);
|
143
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'visible')
|
144
|
+
utilities.verifyCSS(numberLineLabelPage.tooltipText(), {
|
145
|
+
'color': css.color.whiteText,
|
146
|
+
'font-size': css.fontSize.normal,
|
147
|
+
'font-weight': css.fontWeight.regular
|
148
|
+
});
|
149
|
+
numberLineLabelPage.steps.mouseoutDisabledDeleteButton(0);
|
150
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'notExist');
|
151
|
+
});
|
152
|
+
|
153
|
+
it('Accessibility of disabled delete button tooltip', { tags: 'a11y' }, () => {
|
154
|
+
numberLineLabelPage.steps.mouseoverDisabledDeleteButton(0);
|
155
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'visible')
|
156
|
+
cy.checkAccessibility(numberLineLabelPage.tooltipText());
|
157
|
+
numberLineLabelPage.steps.mouseoutDisabledDeleteButton(0);
|
158
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'notExist');
|
159
|
+
});
|
160
|
+
|
161
|
+
it('When user adds an label using \'Add label\' button then the added label input field should be displayed and label numeration should increment', () => {
|
162
|
+
let initialOptionCount;
|
163
|
+
numberLineLabelPage.steps.getLabelCount().then((count) => {
|
164
|
+
initialOptionCount = count;
|
165
|
+
numberLineLabelPage.steps.addLabel();
|
166
|
+
numberLineLabelPage.steps.getLabelCount().should('eq', initialOptionCount + 1);
|
167
|
+
numberLineLabelPage.steps.verifyLabelsContents(initialOptionCount);
|
168
|
+
});
|
169
|
+
});
|
170
|
+
|
171
|
+
it('When user focus in and out of any of the \'Labels\' input field without typing anything, an error message should be thrown', () => {
|
172
|
+
numberLineLabelPage.steps.focusInAndOutOfLabelsInputField(2)
|
173
|
+
utilities.verifyInnerText(numberLineLabelPage.errorMessage(), 'Error: Label is required.');
|
174
|
+
});
|
175
|
+
|
176
|
+
it('User should be able to enter text in labels input field and \'Error: Option is required.\' error message should disappear', () => {
|
177
|
+
numberLineLabelPage.steps.enterTextInLabelInputField(2, 'Label 4')
|
178
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.errorMessage(), 'notExist');
|
179
|
+
});
|
180
|
+
|
181
|
+
it('When the number of labels are greater than 2 then the \'Delete\' icon buttons should get enabled', () => {
|
182
|
+
utilities.verifyElementNotDisabled(numberLineLabelPage.deleteLabelButton());
|
183
|
+
});
|
184
|
+
|
185
|
+
it('CSS of enabled \'Delete\' label button', { tags: 'css' }, () => {
|
186
|
+
utilities.verifyCSS(numberLineLabelPage.deleteLabelButton(), {
|
187
|
+
'opacity': '1'
|
188
|
+
});
|
189
|
+
numberLineLabelPage.deleteLabelButton()
|
190
|
+
.verifyPseudoClassBeforeProperty('color', css.color.deleteIcon)
|
191
|
+
})
|
192
|
+
|
193
|
+
it('Accessibility of enabled \'Delete\' label button', { tags: 'a11y' }, () => {
|
194
|
+
cy.checkAccessibility(numberLineLabelPage.deleteLabelButton());
|
195
|
+
});
|
196
|
+
|
197
|
+
it('when the user hovers over the enabled \'Delete\' icon buttons, then \'Delete label\' message should be displayed on a tooltip and the tooltip should disappear if focus is removed from the \'Delete\' icon button', () => {
|
198
|
+
utilities.getNthElement(numberLineLabelPage.deleteLabelButton(), 0)
|
199
|
+
.verifyTooltip('Delete label');
|
200
|
+
});
|
201
|
+
|
202
|
+
it('CSS of enabled delete button tooltip', { tags: 'css' }, () => {
|
203
|
+
utilities.triggerMouseover(utilities.getNthElement(numberLineLabelPage.deleteLabelButton(), 0));
|
204
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'visible')
|
205
|
+
utilities.verifyCSS(numberLineLabelPage.tooltipText(), {
|
206
|
+
'color': css.color.whiteText,
|
207
|
+
'font-size': css.fontSize.small,
|
208
|
+
'font-weight': css.fontWeight.regular
|
209
|
+
});
|
210
|
+
utilities.triggerMouseout(utilities.getNthElement(numberLineLabelPage.deleteLabelButton(), 0));
|
211
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'notExist');
|
212
|
+
});
|
213
|
+
|
214
|
+
it('Accessibility of enabled delete button tooltip', { tags: 'a11y' }, () => {
|
215
|
+
utilities.triggerMouseover(utilities.getNthElement(numberLineLabelPage.deleteLabelButton(), 0));
|
216
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'visible')
|
217
|
+
cy.checkAccessibility(numberLineLabelPage.tooltipText());
|
218
|
+
utilities.triggerMouseout(utilities.getNthElement(numberLineLabelPage.deleteLabelButton(), 0));
|
219
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'notExist');
|
220
|
+
});
|
221
|
+
});
|
222
|
+
|
223
|
+
describe('Labels section - image, bold text and equation labels', () => {
|
224
|
+
abortEarlySetup();
|
225
|
+
before(() => {
|
226
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
227
|
+
cy.barsPreLoaderWait();
|
228
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
229
|
+
});
|
230
|
+
|
231
|
+
it('User should be able to upload images in labels input field', () => {
|
232
|
+
numberLineLabelPage.steps.focusInLabelInputField(0);
|
233
|
+
ckEditorToolbar.steps.selectImageOptionFromCKEditorToolbar();
|
234
|
+
ckEditorToolbar.steps.addImageToInputField();
|
235
|
+
numberLineLabelPage.steps.verifyImageInLabelInputField(0);
|
236
|
+
});
|
237
|
+
|
238
|
+
it('User should be able to add bold text in labels input field', () => {
|
239
|
+
numberLineLabelPage.steps.focusInLabelInputField(1);
|
240
|
+
ckEditorToolbar.steps.selectBoldOptionFromCKEditorToolbar();
|
241
|
+
numberLineLabelPage.steps.enterTextInLabelInputField(1, 'This is a bold option');
|
242
|
+
numberLineLabelPage.steps.verifyBoldTextInLabelInputField(1);
|
243
|
+
});
|
244
|
+
|
245
|
+
it('User should be able to add an equation in labels input field', () => {
|
246
|
+
numberLineLabelPage.steps.focusInLabelInputField(2);
|
247
|
+
ckEditorToolbar.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
248
|
+
equationEditorFlyout.steps.addGenericEquationUsingEquationEditorToCKEditorInputField();
|
249
|
+
numberLineLabelPage.steps.verifyEquationTextInLabelInputField(2);
|
250
|
+
});
|
251
|
+
});
|
252
|
+
|
253
|
+
describe('Labels section: Add and delete an label, labels with image, bold text and equation - Specify correct answer section', () => {
|
254
|
+
abortEarlySetup();
|
255
|
+
before(() => {
|
256
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
257
|
+
cy.barsPreLoaderWait();
|
258
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
259
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(labels);
|
260
|
+
});
|
261
|
+
|
262
|
+
it('User should be able to delete an label input field and the deleted label should not be displayed in the \'Specify correct answer\' section', () => {
|
263
|
+
numberLineLabelPage.steps.deleteLabel(2);
|
264
|
+
utilities.verifyElementCount(numberLineLabelPage.labelInputField(), 2);
|
265
|
+
utilities.verifyElementCount(numberLineLabelPage.draggableLabelsSpecifyCorrectAnswer(), 2);
|
266
|
+
utilities.verifyTextContent(utilities.getNthElement(numberLineLabelPage.draggableLabelsSpecifyCorrectAnswer(), 0), 'Label 1');
|
267
|
+
utilities.verifyTextContent(utilities.getNthElement(numberLineLabelPage.draggableLabelsSpecifyCorrectAnswer(), 1), 'Label 2');
|
268
|
+
});
|
269
|
+
|
270
|
+
it('User should be able to add an label using \'Add label\' button and the added label should be displayed in the \'Specify correct answer\' section', () => {
|
271
|
+
numberLineLabelPage.steps.addLabel();
|
272
|
+
utilities.verifyElementCount(numberLineLabelPage.labelInputField(), 3);
|
273
|
+
utilities.verifyElementCount(numberLineLabelPage.draggableLabelsSpecifyCorrectAnswer(), 3);
|
274
|
+
});
|
275
|
+
|
276
|
+
it('When the user adds an image in the labels input field, the uploaded image should be displayed in the \'Specify correct answer\' section', () => {
|
277
|
+
numberLineLabelPage.steps.focusInLabelInputField(2)
|
278
|
+
ckEditorToolbar.steps.selectImageOptionFromCKEditorToolbar();
|
279
|
+
ckEditorToolbar.steps.addImageToInputField();
|
280
|
+
numberLineLabelPage.steps.verifyImageInLabelSpecifyCorrectAnswerSection(2);
|
281
|
+
});
|
282
|
+
|
283
|
+
it('When the user adds bold text in the labels input field, the uploaded image should be displayed in the \'Specify correct answer\' section', () => {
|
284
|
+
numberLineLabelPage.steps.addLabel();
|
285
|
+
numberLineLabelPage.steps.focusInLabelInputField(3)
|
286
|
+
ckEditorToolbar.steps.selectBoldOptionFromCKEditorToolbar();
|
287
|
+
numberLineLabelPage.steps.enterTextInLabelInputField(3, 'This is a bold option');
|
288
|
+
numberLineLabelPage.steps.verifyBoldTextInLabelSpecifyCorrectAnswerSection(3);
|
289
|
+
});
|
290
|
+
|
291
|
+
it('When the user adds an equation in the labels input field, the uploaded image should be displayed in the \'Specify correct answer\' section', () => {
|
292
|
+
numberLineLabelPage.steps.addLabel();
|
293
|
+
numberLineLabelPage.steps.focusInLabelInputField(4)
|
294
|
+
ckEditorToolbar.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
295
|
+
equationEditorFlyout.steps.addGenericEquationUsingEquationEditorToCKEditorInputField();
|
296
|
+
numberLineLabelPage.steps.verifyEquationTextInLabelSpecifyCorrectAnswerSection(4);
|
297
|
+
});
|
298
|
+
});
|
299
|
+
|
300
|
+
describe('Labels section: Add and delete an label - Preview tab', () => {
|
301
|
+
abortEarlySetup();
|
302
|
+
before(() => {
|
303
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
304
|
+
cy.barsPreLoaderWait();
|
305
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
306
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(labels);
|
307
|
+
});
|
308
|
+
|
309
|
+
it('User should be able to delete an label input field and the deleted label should not be displayed in the \'Preview\' tab', () => {
|
310
|
+
numberLineLabelPage.steps.deleteLabel(2);
|
311
|
+
utilities.verifyElementCount(numberLineLabelPage.labelInputField(), 2);
|
312
|
+
numberLineLabelPage.steps.switchToPreviewTab();
|
313
|
+
utilities.verifyElementCount(numberLineLabelPage.labelWrapper(), 2);
|
314
|
+
utilities.verifyTextContent(utilities.getNthElement(numberLineLabelPage.draggableLabelsPreviewTab(), 0), 'Label 1');
|
315
|
+
utilities.verifyTextContent(utilities.getNthElement(numberLineLabelPage.draggableLabelsPreviewTab(), 1), 'Label 2');
|
316
|
+
});
|
317
|
+
|
318
|
+
it('User should be able to add an label using \'Add label\' button and the added label should be displayed in the \'Preview\' tab', () => {
|
319
|
+
cy.log('Switching to edit tab')
|
320
|
+
numberLineLabelPage.steps.switchToEditTab();
|
321
|
+
numberLineLabelPage.steps.addLabel();
|
322
|
+
numberLineLabelPage.steps.switchToPreviewTab();
|
323
|
+
utilities.verifyElementCount(numberLineLabelPage.draggableLabelsPreviewTab(), 3);
|
324
|
+
});
|
325
|
+
});
|
326
|
+
});
|
@@ -0,0 +1,234 @@
|
|
1
|
+
import { numberLineLabelPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
const range = 20.75;
|
6
|
+
|
7
|
+
describe('Create item page - Number line: Scoring section', () => {
|
8
|
+
before(() => {
|
9
|
+
cy.loginAs('admin');
|
10
|
+
});
|
11
|
+
|
12
|
+
describe('Scoring section contents', () => {
|
13
|
+
abortEarlySetup();
|
14
|
+
before(() => {
|
15
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
16
|
+
cy.barsPreLoaderWait();
|
17
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
18
|
+
});
|
19
|
+
|
20
|
+
numberLineLabelPage.tests.verifyScoringTypeLabelAndDropdown('Auto scored');
|
21
|
+
|
22
|
+
numberLineLabelPage.tests.verifyScoringSubtypeContentsForMultipleResponseTypeQuestion();
|
23
|
+
});
|
24
|
+
|
25
|
+
describe('Auto scored: All or nothing scoring - Scoring section', () => {
|
26
|
+
abortEarlySetup();
|
27
|
+
before(() => {
|
28
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
29
|
+
cy.barsPreLoaderWait();
|
30
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
31
|
+
numberLineLabelPage.steps.allotPoints(10);
|
32
|
+
});
|
33
|
+
|
34
|
+
it('When the user has selected \'All or nothing\' scoring subtype, minimum scoring dropdown should be displayed in the scoring section', () => {
|
35
|
+
numberLineLabelPage.steps.verifyMinimumScoringLabelAndDropdownDefaultState();
|
36
|
+
});
|
37
|
+
});
|
38
|
+
|
39
|
+
describe('Auto scored: All or nothing scoring - Specify correct answer section', () => {
|
40
|
+
abortEarlySetup();
|
41
|
+
before(() => {
|
42
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
43
|
+
cy.barsPreLoaderWait();
|
44
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
45
|
+
numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot label on the number line');
|
46
|
+
numberLineLabelPage.steps.addLabel();
|
47
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3', 'Label 4']);
|
48
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 0);
|
49
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [0]);
|
50
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 2', 'horizontal', range, 9);
|
51
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [9]);
|
52
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 3', 'horizontal', range, -9);
|
53
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [-9]);
|
54
|
+
});
|
55
|
+
|
56
|
+
numberLineLabelPage.tests.verifyContentsOfSpecifyCorrectAnswerSection();
|
57
|
+
|
58
|
+
numberLineLabelPage.tests.verifyPointsLabelAndInputField();
|
59
|
+
});
|
60
|
+
|
61
|
+
describe('Auto scored: Partial - equal weights scoring - Scoring section', () => {
|
62
|
+
abortEarlySetup();
|
63
|
+
before(() => {
|
64
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
65
|
+
cy.barsPreLoaderWait();
|
66
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
67
|
+
numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot label on the number line');
|
68
|
+
numberLineLabelPage.steps.addLabel();
|
69
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3', 'Label 4']);
|
70
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 0);
|
71
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [0]);
|
72
|
+
});
|
73
|
+
|
74
|
+
it('User should be able to select \'Partial - equal weights\' scoring type', () => {
|
75
|
+
numberLineLabelPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
76
|
+
});
|
77
|
+
|
78
|
+
it('When the user has switched to \'Partial - equal weights\' scoring, then \'Penalty scoring\', \'Minimum scoring\' and \'Rounding\' label and dropdown should be displayed in the \'Scoring\' section, \'Round negative scores to zero\' label and checkbox should not be displayed in the \'Scoring\' section', () => {
|
79
|
+
numberLineLabelPage.steps.verifyPointsPerResponseLabel();
|
80
|
+
numberLineLabelPage.steps.verifyMinimumScoringLabelAndDropdownDefaultState();
|
81
|
+
numberLineLabelPage.steps.verifyPenaltyPointsLabelAndDropdownDefaultState();
|
82
|
+
numberLineLabelPage.steps.verifyRoundingLabelAndDropdownDefaultState();
|
83
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.roundNegativeScoresToZeroCheckbox(), 'notExist');
|
84
|
+
});
|
85
|
+
});
|
86
|
+
|
87
|
+
describe('Auto scored: Partial equal weights scoring - Specify correct answer section', () => {
|
88
|
+
abortEarlySetup();
|
89
|
+
before(() => {
|
90
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
91
|
+
cy.barsPreLoaderWait();
|
92
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
93
|
+
numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot label on the number line');
|
94
|
+
numberLineLabelPage.steps.addLabel();
|
95
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3', 'Label 4']);
|
96
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 0);
|
97
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [0]);
|
98
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 2', 'horizontal', range, 9);
|
99
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [9]);
|
100
|
+
numberLineLabelPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
101
|
+
});
|
102
|
+
|
103
|
+
numberLineLabelPage.tests.verifyContentsOfSpecifyCorrectAnswerSection();
|
104
|
+
|
105
|
+
it('\'Points per response\' label should be displayed and a \'-\' should be displayed besides each response in the \'Specify correct answer\' section', () => {
|
106
|
+
numberLineLabelPage.steps.verifyPointsPerResponseLabel();
|
107
|
+
});
|
108
|
+
|
109
|
+
it('When the user gives a score input to \'Points\' input field, then the score should be equally divided among the dropzone \'Points per response\' label', () => {
|
110
|
+
numberLineLabelPage.steps.allotPoints(6);
|
111
|
+
numberLineLabelPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('3');
|
112
|
+
});
|
113
|
+
|
114
|
+
it('When the user plots another point, then points per response should get updated accordingly', () => {
|
115
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 3', 'horizontal', range, -9);
|
116
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [-9]);
|
117
|
+
numberLineLabelPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('2');
|
118
|
+
});
|
119
|
+
|
120
|
+
it('When the user adds another label then the points per response should not be updated', () => {
|
121
|
+
numberLineLabelPage.steps.addLabel();
|
122
|
+
numberLineLabelPage.steps.enterTextInLabelInputField(0, 'Label 5');
|
123
|
+
numberLineLabelPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('2');
|
124
|
+
});
|
125
|
+
|
126
|
+
it('When the user switches to \'All or nothing\' scoring, the \'Points per response\' label and the points displayed for individual responses should not be displayed and the points displayed in \'Points\' input field should remain unchanged', () => {
|
127
|
+
numberLineLabelPage.steps.selectAutoScoredScoringSubtype('All or nothing');
|
128
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.pointsPerResponseLabel(), 'notExist');
|
129
|
+
numberLineLabelPage.steps.verifyPointsFieldValue(6);
|
130
|
+
});
|
131
|
+
|
132
|
+
it('When the user updates the entered points in \'All or nothing\' scoring type and switches to \'Partial equal weights\' scoring type, then the points should be equally divided and displayed besides each correct option', () => {
|
133
|
+
numberLineLabelPage.steps.allotPoints(12);
|
134
|
+
numberLineLabelPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
135
|
+
numberLineLabelPage.steps.verifyPartialEqualWeightsPointsPerResponseScore('4');
|
136
|
+
});
|
137
|
+
|
138
|
+
it('CSS of \'Points per response\' label and its displayed score', { tags: 'css' }, () => {
|
139
|
+
utilities.verifyCSS(numberLineLabelPage.pointsPerResponseLabel(), {
|
140
|
+
'color': css.color.labels,
|
141
|
+
'font-size': css.fontSize.normal,
|
142
|
+
'font-weight': css.fontWeight.regular
|
143
|
+
});
|
144
|
+
});
|
145
|
+
});
|
146
|
+
|
147
|
+
describe('Auto scored: Partial - different weights scoring - Scoring section', () => {
|
148
|
+
abortEarlySetup();
|
149
|
+
before(() => {
|
150
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
151
|
+
cy.barsPreLoaderWait();
|
152
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
153
|
+
numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot label on the number line');
|
154
|
+
numberLineLabelPage.steps.addLabel();
|
155
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3', 'Label 4']);
|
156
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 0);
|
157
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [0]);
|
158
|
+
});
|
159
|
+
|
160
|
+
it('User should be able to select \'Partial - different weights\' scoring', () => {
|
161
|
+
numberLineLabelPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
162
|
+
});
|
163
|
+
|
164
|
+
it('When the user has switched to \'Partial - different weights\' scoring, then \'Penalty scoring\', \'Minimum scoring\' and \'Rounding\' labels and dropdowns, \'Round negative scores to zero\' label and checkbox should not be displayed in the \'Scoring\' section', () => {
|
165
|
+
numberLineLabelPage.steps.verifyMinimumScoringLabelAndDropdownDefaultState();
|
166
|
+
numberLineLabelPage.steps.verifyPenaltyPointsLabelAndDropdownDefaultState();
|
167
|
+
numberLineLabelPage.steps.verifyRoundingLabelAndDropdownDefaultState();
|
168
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.roundNegativeScoresToZeroCheckbox(), 'notExist');
|
169
|
+
});
|
170
|
+
});
|
171
|
+
|
172
|
+
describe('Auto scored: Partial - different weights scoring - Specify correct answer section', () => {
|
173
|
+
abortEarlySetup();
|
174
|
+
before(() => {
|
175
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
176
|
+
cy.barsPreLoaderWait();
|
177
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
178
|
+
numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot label on the number line');
|
179
|
+
numberLineLabelPage.steps.addLabel();
|
180
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3', 'Label 4']);
|
181
|
+
numberLineLabelPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
182
|
+
});
|
183
|
+
|
184
|
+
numberLineLabelPage.tests.verifyContentsOfSpecifyCorrectAnswerSection();
|
185
|
+
|
186
|
+
it('When the user has switched to \'Partial - different weights\' scoring, then \'Points\' label should be displayed and a points input field should be displayed besides each option', () => {
|
187
|
+
utilities.verifyInnerText(numberLineLabelPage.pointsLabel(), 'Points');
|
188
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.pointsLabel(), 'visible');
|
189
|
+
});
|
190
|
+
|
191
|
+
it('When user attempts a label in the specify correct answer section then \'Label 1\' should be displayed with input field', () => {
|
192
|
+
|
193
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 0);
|
194
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [0]);
|
195
|
+
utilities.verifyInnerText(utilities.getNthElement(numberLineLabelPage.pointsLabel(), 1), 'Label 1');
|
196
|
+
numberLineLabelPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEmpty();
|
197
|
+
});
|
198
|
+
|
199
|
+
it('When user attempts another label then \'Label 1\' should be displayed with input field', () => {
|
200
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 2', 'horizontal', range, 3);
|
201
|
+
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [3]);
|
202
|
+
utilities.verifyInnerText(utilities.getNthElement(numberLineLabelPage.pointsLabel(), 2), 'Label 2');
|
203
|
+
numberLineLabelPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEmpty();
|
204
|
+
});
|
205
|
+
|
206
|
+
it('User should be able to set points in the \'Points\' input fields', () => {
|
207
|
+
numberLineLabelPage.steps.allotPartialDifferentWeightsPoints([2.3, 3.4]);
|
208
|
+
});
|
209
|
+
|
210
|
+
it('CSS of \'Points\' label and \'Points\' input fields', { tags: 'css' }, () => {
|
211
|
+
utilities.verifyCSS(numberLineLabelPage.pointsLabel(), {
|
212
|
+
'color': css.color.labels,
|
213
|
+
'font-size': css.fontSize.normal,
|
214
|
+
'font-weight': css.fontWeight.semibold
|
215
|
+
});
|
216
|
+
utilities.verifyCSS(numberLineLabelPage.pointsInputField(), {
|
217
|
+
'color': css.color.text,
|
218
|
+
'font-size': css.fontSize.default,
|
219
|
+
'font-weight': css.fontWeight.regular
|
220
|
+
});
|
221
|
+
});
|
222
|
+
|
223
|
+
it('When the user switches to \'All or nothing\' scoring, the points added for individual responses in Partial - different weights scoring should get summed up in the \'All or nothing scoring\' points input field', () => {
|
224
|
+
numberLineLabelPage.steps.selectAutoScoredScoringSubtype('All or nothing');
|
225
|
+
numberLineLabelPage.steps.verifyPointsFieldValue(5.7);
|
226
|
+
});
|
227
|
+
|
228
|
+
it('When the user updates the entered points in \'All or nothing\' scoring type and switches to \'Partial different weights\' scoring type, then the points should be equally divided and displayed besides each correct option', () => {
|
229
|
+
numberLineLabelPage.steps.allotPoints(9);
|
230
|
+
numberLineLabelPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
231
|
+
numberLineLabelPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([4.5, 4.5]);
|
232
|
+
});
|
233
|
+
});
|
234
|
+
});
|