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,221 @@
|
|
1
|
+
import { listOrderingPage } from "../../../pages/listOrderingPage";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
const options = ['seed', 'sprout', 'plant', 'flower'];
|
6
|
+
const dropdownMenuOptions = ['Numerical', 'Uppercase alphabet', 'Lowercase alphabet', 'Uppercase roman numeral', 'Lowercase roman numeral']
|
7
|
+
const numerationArray = [['1', '2', '3', '4'],
|
8
|
+
['A', 'B', 'C', 'D'],
|
9
|
+
['a', 'b', 'c', 'd'],
|
10
|
+
['I', 'II', 'III', 'IV'],
|
11
|
+
['i', 'ii', 'iii', 'iv']];
|
12
|
+
|
13
|
+
describe('Create Item page - List ordering: Dropdown menu ordering layout: Edit tab', () => {
|
14
|
+
before(() => {
|
15
|
+
cy.loginAs('admin');
|
16
|
+
});
|
17
|
+
|
18
|
+
describe('Dropdown menu ordering layout: Edit tab', () => {
|
19
|
+
abortEarlySetup();
|
20
|
+
before(() => {
|
21
|
+
cy.log('Navigating to list ordering question type');
|
22
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
23
|
+
});
|
24
|
+
|
25
|
+
it('The user should be able to select "Dropdown menu" option from the ordering layout, on selecting "Dropdown menu" option, the "Option orientation" section should not be displayed', () => {
|
26
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
27
|
+
utilities.verifyElementVisibilityState(listOrderingPage.optionOrientationLabel(), 'notExist');
|
28
|
+
utilities.verifyElementVisibilityState(listOrderingPage.verticalButton(), 'notExist');
|
29
|
+
});
|
30
|
+
|
31
|
+
it('A "Dropdown menu options" label and dropdown should be displayed. By default "Numerical" should be selected in the dropdown', () => {
|
32
|
+
utilities.verifyInnerText(listOrderingPage.dropdownMenuOptionsDropdownLabel(), 'Dropdown menu options');
|
33
|
+
utilities.verifyInnerText(listOrderingPage.dropdownMenuOptionsDropdown(), 'Numerical');
|
34
|
+
});
|
35
|
+
|
36
|
+
it('CSS of dropdown menu options - default state', { tags: 'css' }, () => {
|
37
|
+
utilities.verifyCSS(listOrderingPage.dropdownMenuOptionsDropdownLabel(), {
|
38
|
+
'color': css.color.labels,
|
39
|
+
'font-size': css.fontSize.normal,
|
40
|
+
'font-weight': css.fontWeight.semibold
|
41
|
+
});
|
42
|
+
utilities.verifyCSS(listOrderingPage.dropdownMenuOptionsDropdown(), {
|
43
|
+
'color': css.color.liText,
|
44
|
+
'font-size': css.fontSize.default,
|
45
|
+
'font-weight': css.fontWeight.regular,
|
46
|
+
'background-color': css.color.secondaryBtnBg,
|
47
|
+
'border': `1px solid ${css.color.defaultDropdownBorder}`
|
48
|
+
});
|
49
|
+
listOrderingPage.dropdownMenuOptionsDropdown()
|
50
|
+
.verifyPseudoClassBeforeProperty('color', css.color.secondaryBtn);
|
51
|
+
});
|
52
|
+
|
53
|
+
it(`When the user expands the "Dropdown menu options" dropdown, a list of ${dropdownMenuOptions.length} should be displayed - ${dropdownMenuOptions.join(' , ')}`, () => {
|
54
|
+
listOrderingPage.steps.expandDropdownMenuOptionsDropdown();
|
55
|
+
utilities.verifyElementVisibilityState(listOrderingPage.dropdownList(), 'visible');
|
56
|
+
dropdownMenuOptions.forEach((option, count) => {
|
57
|
+
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.dropdownMenuListOptions(), count), option)
|
58
|
+
});
|
59
|
+
});
|
60
|
+
|
61
|
+
it('CSS of \'Draggable options layout\' dropdown and dropdown content in active state', { tags: 'css' }, () => {
|
62
|
+
utilities.verifyCSS(listOrderingPage.dropdownMenuOptionsDropdown(), {
|
63
|
+
'background-color': css.color.secondaryBtnBg,
|
64
|
+
'border': `1px solid ${css.color.activeComponentBorder}`
|
65
|
+
});
|
66
|
+
utilities.verifyCSS(utilities.getNthElement(listOrderingPage.dropdownMenuListOptions(), 1), {
|
67
|
+
'background-color': css.color.transparent
|
68
|
+
});
|
69
|
+
utilities.verifyCSS(utilities.getNthElement(listOrderingPage.dropdownMenuListOptions(), 0), {
|
70
|
+
'color': css.color.liText,
|
71
|
+
'font-size': css.fontSize.default,
|
72
|
+
'font-weight': css.fontWeight.regular,
|
73
|
+
'background-color': css.color.liTextSelectedBg
|
74
|
+
});
|
75
|
+
});
|
76
|
+
|
77
|
+
it('On selecting an option from the dropdown list, the dropdown should close', () => {
|
78
|
+
listOrderingPage.steps.selectListOptionFromDropdownMenuOptionsDropdown('Numerical');
|
79
|
+
utilities.verifyElementVisibilityState(listOrderingPage.dropdownList(), 'notExist');
|
80
|
+
});
|
81
|
+
});
|
82
|
+
|
83
|
+
describe('Dropdown menu options: Effect on specify correct answer section position dropdowns', () => {
|
84
|
+
abortEarlySetup();
|
85
|
+
before(() => {
|
86
|
+
cy.log('Navigating to list ordering question type');
|
87
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
88
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
89
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
90
|
+
});
|
91
|
+
|
92
|
+
for (let index = 0; index < dropdownMenuOptions.length; index++) {
|
93
|
+
const option = dropdownMenuOptions[index];
|
94
|
+
const numeration = numerationArray[index];
|
95
|
+
it(`When the user selects ${option} option from the dropdown menu options dropdown, then on expanding the option position dropdown in the specify correct answer section, ${option} list of options should be displayed`, () => {
|
96
|
+
listOrderingPage.steps.expandDropdownMenuOptionsDropdown();
|
97
|
+
listOrderingPage.steps.selectListOptionFromDropdownMenuOptionsDropdown(option);
|
98
|
+
listOrderingPage.steps.expandPositionDropdownSpecifyCorrectAnswerSection(0);
|
99
|
+
for (let index = 0; index < 4; index++) {
|
100
|
+
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), index), numeration[index]);
|
101
|
+
}
|
102
|
+
});
|
103
|
+
|
104
|
+
it('When the user selects any option from the list, then the selected option should be displayed in the position dropdown', () => {
|
105
|
+
listOrderingPage.steps.selectOptionPositionSpecifyCorrectAnswerSection(0, numeration[0]);
|
106
|
+
listOrderingPage.steps.verifySelectedOptionPositionDropdownInSpecifyCorrectAnswerSection(0, numeration[0]);
|
107
|
+
});
|
108
|
+
}
|
109
|
+
});
|
110
|
+
|
111
|
+
describe('Dropdown menu options: Effect on preview tab position dropdowns', () => {
|
112
|
+
abortEarlySetup();
|
113
|
+
before(() => {
|
114
|
+
cy.log('Navigating to list ordering question type');
|
115
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
116
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
117
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
118
|
+
});
|
119
|
+
|
120
|
+
for (let index = 0; index < dropdownMenuOptions.length; index++) {
|
121
|
+
const option = dropdownMenuOptions[index];
|
122
|
+
const numeration = numerationArray[index];
|
123
|
+
it(`When the user selects ${option} option from the dropdown menu options dropdown, then on expanding the option position dropdown in the specify correct answer section, ${option} list of options should be displayed`, () => {
|
124
|
+
listOrderingPage.steps.expandDropdownMenuOptionsDropdown();
|
125
|
+
listOrderingPage.steps.switchToPreviewTab();
|
126
|
+
listOrderingPage.steps.selectListOptionFromDropdownMenuOptionsDropdown(option);
|
127
|
+
listOrderingPage.steps.expandPositionDropdownPreviewTab(0);
|
128
|
+
for (let index = 0; index < 4; index++) {
|
129
|
+
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), index), numeration[index]);
|
130
|
+
}
|
131
|
+
});
|
132
|
+
|
133
|
+
it('When the user selects any option from the list, then the selected option should be displayed in the position dropdown', () => {
|
134
|
+
listOrderingPage.steps.selectOptionPositionPreviewTab(0, numeration[0]);
|
135
|
+
listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, numeration[0]);
|
136
|
+
cy.log('Post step: Switching back to edit tab')
|
137
|
+
listOrderingPage.steps.switchToEditTab();
|
138
|
+
});
|
139
|
+
}
|
140
|
+
});
|
141
|
+
|
142
|
+
describe('Options section: Add and delete an option - Specify correct answer section', () => {
|
143
|
+
abortEarlySetup();
|
144
|
+
before(() => {
|
145
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
146
|
+
cy.barsPreLoaderWait();
|
147
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
148
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
149
|
+
});
|
150
|
+
|
151
|
+
it('User should be able to delete an option input field and the deleted option should not be displayed in the \'Specify correct answer\' section', () => {
|
152
|
+
listOrderingPage.steps.deleteOption(3);
|
153
|
+
utilities.verifyElementCount(listOrderingPage.dropdownOptionWrapperSpecifyCorrectAnswerSection(), 3);
|
154
|
+
utilities.verifyElementCount(listOrderingPage.positionDropdownSpecifyCorrectAnswerSection(), 3);
|
155
|
+
});
|
156
|
+
|
157
|
+
it('On deleting an option, the list of the position dropdowns should get updated accordingly', () => {
|
158
|
+
listOrderingPage.steps.expandPositionDropdownSpecifyCorrectAnswerSection(0);
|
159
|
+
for (let index = 0; index < 3; index++) {
|
160
|
+
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), index), `${index + 1}`);
|
161
|
+
}
|
162
|
+
cy.log('Selecting an option to close the dropdown')
|
163
|
+
listOrderingPage.steps.selectListOptionPositionDropdown('1');
|
164
|
+
});
|
165
|
+
|
166
|
+
it('User should be able to add an option using \'Add option\' button and the added option should be displayed in the \'Specify correct answer\' section', () => {
|
167
|
+
listOrderingPage.steps.addOption();
|
168
|
+
utilities.verifyElementCount(listOrderingPage.dropdownOptionWrapperSpecifyCorrectAnswerSection(), 4);
|
169
|
+
utilities.verifyElementCount(listOrderingPage.positionDropdownSpecifyCorrectAnswerSection(), 4);
|
170
|
+
});
|
171
|
+
|
172
|
+
it('On adding an option, the list of the position dropdowns should get updated accordingly', () => {
|
173
|
+
listOrderingPage.steps.expandPositionDropdownSpecifyCorrectAnswerSection(0);
|
174
|
+
for (let index = 0; index < 4; index++) {
|
175
|
+
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), index), `${index + 1}`);
|
176
|
+
}
|
177
|
+
});
|
178
|
+
});
|
179
|
+
|
180
|
+
describe('Options section: Add and delete an option - Preview tab', () => {
|
181
|
+
abortEarlySetup();
|
182
|
+
before(() => {
|
183
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
184
|
+
cy.barsPreLoaderWait();
|
185
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
186
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
187
|
+
});
|
188
|
+
|
189
|
+
it('User should be able to delete an option input field and the deleted option should not be displayed in the \'Preview\' tab', () => {
|
190
|
+
listOrderingPage.steps.deleteOption(3);
|
191
|
+
listOrderingPage.steps.switchToPreviewTab();
|
192
|
+
utilities.verifyElementCount(listOrderingPage.dropdownOptionWrapperPreviewTab(), 3);
|
193
|
+
utilities.verifyElementCount(listOrderingPage.positionDropdownPreviewTab(), 3);
|
194
|
+
});
|
195
|
+
|
196
|
+
it('On deleting an option, the list of the position dropdowns should get updated accordingly', () => {
|
197
|
+
listOrderingPage.steps.expandPositionDropdownPreviewTab(0);
|
198
|
+
for (let index = 0; index < 3; index++) {
|
199
|
+
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), index), `${index + 1}`);
|
200
|
+
}
|
201
|
+
cy.log('Selecting an option to close the dropdown')
|
202
|
+
listOrderingPage.steps.selectListOptionPositionDropdown('1');
|
203
|
+
});
|
204
|
+
|
205
|
+
it('User should be able to add an option using \'Add option\' button and the added option should be displayed in the \'Preview\' tab', () => {
|
206
|
+
cy.log('Switching to edit tab')
|
207
|
+
listOrderingPage.steps.switchToEditTab();
|
208
|
+
listOrderingPage.steps.addOption();
|
209
|
+
listOrderingPage.steps.switchToPreviewTab();
|
210
|
+
utilities.verifyElementCount(listOrderingPage.dropdownOptionWrapperPreviewTab(), 4);
|
211
|
+
utilities.verifyElementCount(listOrderingPage.positionDropdownPreviewTab(), 4);
|
212
|
+
});
|
213
|
+
|
214
|
+
it('On adding an option, the list of the position dropdowns should get updated accordingly', () => {
|
215
|
+
listOrderingPage.steps.expandPositionDropdownPreviewTab(0);
|
216
|
+
for (let index = 0; index < 4; index++) {
|
217
|
+
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), index), `${index + 1}`);
|
218
|
+
}
|
219
|
+
});
|
220
|
+
});
|
221
|
+
});
|
@@ -0,0 +1,203 @@
|
|
1
|
+
import { listOrderingPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
const options = ['sprout', 'plant', 'flower', 'seed'];
|
6
|
+
|
7
|
+
describe('Create item page - List ordering: Scoring section', () => {
|
8
|
+
before(() => {
|
9
|
+
cy.loginAs('admin');
|
10
|
+
});
|
11
|
+
|
12
|
+
describe('Scoring section contents', () => {
|
13
|
+
abortEarlySetup();
|
14
|
+
before(() => {
|
15
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
16
|
+
cy.barsPreLoaderWait();
|
17
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
18
|
+
});
|
19
|
+
|
20
|
+
listOrderingPage.tests.verifyScoringTypeLabelAndDropdown('Auto scored');
|
21
|
+
|
22
|
+
listOrderingPage.tests.verifyScoringSubtypeContentsForMultipleResponseTypeQuestion();
|
23
|
+
});
|
24
|
+
|
25
|
+
describe('Auto scored: All or nothing scoring - Scoring section', () => {
|
26
|
+
abortEarlySetup();
|
27
|
+
before(() => {
|
28
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
29
|
+
cy.barsPreLoaderWait();
|
30
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
31
|
+
listOrderingPage.steps.allotPoints(10);
|
32
|
+
});
|
33
|
+
|
34
|
+
it('When the user has selected \'All or nothing\' scoring subtype, minimum scoring dropdown and penalty scoring dropdown should be displayed in the scoring section', () => {
|
35
|
+
listOrderingPage.steps.verifyMinimumScoringLabelAndDropdownDefaultState();
|
36
|
+
listOrderingPage.steps.verifyPenaltyPointsLabelAndDropdownDefaultState();
|
37
|
+
});
|
38
|
+
});
|
39
|
+
|
40
|
+
describe('Auto scored: All or nothing scoring - Specify correct answer section', () => {
|
41
|
+
abortEarlySetup();
|
42
|
+
before(() => {
|
43
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
44
|
+
cy.barsPreLoaderWait();
|
45
|
+
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
46
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
47
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
48
|
+
});
|
49
|
+
|
50
|
+
listOrderingPage.tests.verifyContentsOfSpecifyCorrectAnswerSectionDropdownLayout();
|
51
|
+
|
52
|
+
listOrderingPage.tests.verifyPointsLabelAndInputField();
|
53
|
+
});
|
54
|
+
|
55
|
+
describe('Auto scored: Partial - equal weights scoring - Scoring section', () => {
|
56
|
+
abortEarlySetup();
|
57
|
+
before(() => {
|
58
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
59
|
+
cy.barsPreLoaderWait();
|
60
|
+
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
61
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
62
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
63
|
+
});
|
64
|
+
|
65
|
+
it('User should be able to select \'Partial - equal weights\' scoring type', () => {
|
66
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
67
|
+
});
|
68
|
+
|
69
|
+
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', () => {
|
70
|
+
listOrderingPage.steps.verifyMinimumScoringLabelAndDropdownDefaultState();
|
71
|
+
listOrderingPage.steps.verifyPenaltyPointsLabelAndDropdownDefaultState();
|
72
|
+
listOrderingPage.steps.verifyRoundingLabelAndDropdownDefaultState();
|
73
|
+
utilities.verifyElementVisibilityState(listOrderingPage.roundNegativeScoresToZeroCheckbox(), 'notExist');
|
74
|
+
});
|
75
|
+
});
|
76
|
+
|
77
|
+
describe('Auto scored: Partial equal weights scoring - Specify correct answer section', () => {
|
78
|
+
abortEarlySetup();
|
79
|
+
before(() => {
|
80
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
81
|
+
cy.barsPreLoaderWait();
|
82
|
+
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
83
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
84
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
85
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
86
|
+
});
|
87
|
+
|
88
|
+
listOrderingPage.tests.verifyContentsOfSpecifyCorrectAnswerSectionDropdownLayout();
|
89
|
+
|
90
|
+
it('\'Points per response\' label should be displayed below the points input field in the \'Specify correct answer\' section', () => {
|
91
|
+
utilities.verifyInnerText(listOrderingPage.pointsPerResponseLabel(), 'Points per response:\n-');
|
92
|
+
});
|
93
|
+
|
94
|
+
it('When the user gives a score input to \'Points\' input field, then the score should be equally divided amongst the options and the \'Points per response\' label should also update accordingly', () => {
|
95
|
+
listOrderingPage.steps.allotPoints(6);
|
96
|
+
listOrderingPage.steps.verifyPointsPerResponseScore('1.5');
|
97
|
+
});
|
98
|
+
|
99
|
+
it('When the user adds a new option, then points per response should get updated accordingly', () => {
|
100
|
+
listOrderingPage.steps.addOption();
|
101
|
+
listOrderingPage.steps.verifyPointsPerResponseScore('1.2');
|
102
|
+
});
|
103
|
+
|
104
|
+
it('When the user deletes an option, then points per response should get updated accordingly', () => {
|
105
|
+
listOrderingPage.steps.deleteOption(4);
|
106
|
+
listOrderingPage.steps.verifyPointsPerResponseScore('1.5');
|
107
|
+
});
|
108
|
+
|
109
|
+
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', () => {
|
110
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('All or nothing');
|
111
|
+
utilities.verifyElementVisibilityState(listOrderingPage.pointsPerResponseLabel(), 'notExist');
|
112
|
+
listOrderingPage.steps.verifyPointsFieldValue(6);
|
113
|
+
});
|
114
|
+
|
115
|
+
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', () => {
|
116
|
+
listOrderingPage.steps.allotPoints(12);
|
117
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
118
|
+
listOrderingPage.steps.verifyPointsPerResponseScore('3');
|
119
|
+
});
|
120
|
+
|
121
|
+
it('CSS of \'Points per response\' label and its displayed score', { tags: 'css' }, () => {
|
122
|
+
utilities.verifyCSS(listOrderingPage.pointsPerResponseLabel(), {
|
123
|
+
'color': css.color.labels,
|
124
|
+
'font-size': css.fontSize.normal,
|
125
|
+
'font-weight': css.fontWeight.semibold
|
126
|
+
});
|
127
|
+
});
|
128
|
+
});
|
129
|
+
|
130
|
+
describe('Auto scored: Partial - different weights scoring - Scoring section', () => {
|
131
|
+
abortEarlySetup();
|
132
|
+
before(() => {
|
133
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
134
|
+
cy.barsPreLoaderWait();
|
135
|
+
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
136
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
137
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
138
|
+
});
|
139
|
+
|
140
|
+
it('User should be able to select \'Partial - different weights\' scoring', () => {
|
141
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
142
|
+
});
|
143
|
+
|
144
|
+
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', () => {
|
145
|
+
listOrderingPage.steps.verifyMinimumScoringLabelAndDropdownDefaultState();
|
146
|
+
listOrderingPage.steps.verifyPenaltyPointsLabelAndDropdownDefaultState();
|
147
|
+
listOrderingPage.steps.verifyRoundingLabelAndDropdownDefaultState();
|
148
|
+
utilities.verifyElementVisibilityState(listOrderingPage.roundNegativeScoresToZeroCheckbox(), 'notExist');
|
149
|
+
});
|
150
|
+
});
|
151
|
+
|
152
|
+
describe('Auto scored: Partial - different weights scoring - Specify correct answer section', () => {
|
153
|
+
abortEarlySetup();
|
154
|
+
before(() => {
|
155
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
156
|
+
cy.barsPreLoaderWait();
|
157
|
+
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
158
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
159
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
160
|
+
listOrderingPage.steps.selectPositionForAllOptionsSpecifyCorrectAnswerSection([{ optionIndex: 0, position: '2' }, { optionIndex: 1, position: '3' }, { optionIndex: 2, position: '4' }, { optionIndex: 3, position: '1' }])
|
161
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
162
|
+
});
|
163
|
+
|
164
|
+
listOrderingPage.tests.verifyContentsOfSpecifyCorrectAnswerSectionDropdownLayout();
|
165
|
+
|
166
|
+
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', () => {
|
167
|
+
utilities.verifyInnerText(listOrderingPage.partialDifferentWeightsPointsLabel(), 'Points');
|
168
|
+
utilities.verifyElementVisibilityState(listOrderingPage.partialDifferentWeightsPointsLabel(), 'visible');
|
169
|
+
});
|
170
|
+
|
171
|
+
it('By default the \'Points\' input field should be empty', () => {
|
172
|
+
listOrderingPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEmpty();
|
173
|
+
});
|
174
|
+
|
175
|
+
it('User should be able to set points in the \'Points\' input fields', () => {
|
176
|
+
listOrderingPage.steps.allotPartialDifferentWeightsPoints({ 0: 2.3, 1: 3.4 });
|
177
|
+
});
|
178
|
+
|
179
|
+
it('CSS of \'Points\' label and \'Points\' input fields', { tags: 'css' }, () => {
|
180
|
+
utilities.verifyCSS(listOrderingPage.partialDifferentWeightsPointsLabel(), {
|
181
|
+
'color': css.color.labels,
|
182
|
+
'font-size': css.fontSize.normal,
|
183
|
+
'font-weight': css.fontWeight.semibold
|
184
|
+
});
|
185
|
+
utilities.verifyCSS(listOrderingPage.pointsInputField(), {
|
186
|
+
'color': css.color.text,
|
187
|
+
'font-size': css.fontSize.default,
|
188
|
+
'font-weight': css.fontWeight.regular
|
189
|
+
});
|
190
|
+
});
|
191
|
+
|
192
|
+
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', () => {
|
193
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('All or nothing');
|
194
|
+
listOrderingPage.steps.verifyPointsFieldValue(5.7);
|
195
|
+
});
|
196
|
+
|
197
|
+
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', () => {
|
198
|
+
listOrderingPage.steps.allotPoints(9);
|
199
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
200
|
+
listOrderingPage.steps.verifyPartialDifferentWeightsPointsInputFieldValue([2.25, 2.25, 2.25, 2.25]);
|
201
|
+
});
|
202
|
+
});
|
203
|
+
});
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import { listOrderingPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
const options = ['sprout', 'plant', 'flower', 'seed'];
|
5
|
+
|
6
|
+
describe('Create Item page - List ordering: Scoring cases', () => {
|
7
|
+
before(() => {
|
8
|
+
cy.loginAs('admin');
|
9
|
+
});
|
10
|
+
|
11
|
+
describe('Manually Scored scoring - Edit tab', () => {
|
12
|
+
abortEarlySetup();
|
13
|
+
before(() => {
|
14
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
15
|
+
cy.barsPreLoaderWait();
|
16
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
17
|
+
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
18
|
+
});
|
19
|
+
|
20
|
+
it('When the user selects \'Manually scored\' option from the scoring Type dropdown then the \'Specify correct answer\' section should not be displayed; \'Points\' and \'Minimum scoring\' label and dropdown should be displayed', () => {
|
21
|
+
listOrderingPage.steps.expandScoringTypeDropdown();
|
22
|
+
listOrderingPage.steps.selectOptionFromScoringTypeDropdown('Manually scored')
|
23
|
+
utilities.verifyElementVisibilityState(listOrderingPage.pointsLabel(), 'visible');
|
24
|
+
utilities.verifyElementVisibilityState(listOrderingPage.pointsInputField(), 'visible');
|
25
|
+
listOrderingPage.steps.verifyMinimumScoringLabelAndDropdownDefaultState();
|
26
|
+
utilities.verifyElementVisibilityState(listOrderingPage.specifyCorrectAnswerLabel(), 'notExist');
|
27
|
+
utilities.verifyElementVisibilityState(listOrderingPage.specifyCorrectAnswerSectionWrapper(), 'notExist');
|
28
|
+
});
|
29
|
+
|
30
|
+
it('When the user focuses in and out of the empty points input field, error message should not be displayed', () => {
|
31
|
+
listOrderingPage.steps.focusInAndFocusOutOfPointsInputField(0)
|
32
|
+
utilities.verifyElementVisibilityState(listOrderingPage.errorMessage(), 'notExist');
|
33
|
+
});
|
34
|
+
|
35
|
+
it('The user should be able to enter point in points input field', () => {
|
36
|
+
listOrderingPage.steps.allotPoints(10);
|
37
|
+
});
|
38
|
+
});
|
39
|
+
|
40
|
+
describe('Non scored scoring - Scoring section', () => {
|
41
|
+
abortEarlySetup();
|
42
|
+
before(() => {
|
43
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
44
|
+
cy.barsPreLoaderWait();
|
45
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
46
|
+
});
|
47
|
+
|
48
|
+
it('User should be able to select \'Non scored\' scoring type from scoring type dropdown', () => {
|
49
|
+
listOrderingPage.steps.expandScoringTypeDropdown();
|
50
|
+
listOrderingPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
51
|
+
});
|
52
|
+
|
53
|
+
listOrderingPage.tests.verifyScoringSectionContentsForNonScoredScoringType();
|
54
|
+
});
|
55
|
+
|
56
|
+
describe('Non scored scoring - Specify correct answer section', () => {
|
57
|
+
abortEarlySetup();
|
58
|
+
before(() => {
|
59
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
60
|
+
cy.barsPreLoaderWait();
|
61
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
62
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Dropdown menu');
|
63
|
+
listOrderingPage.steps.expandScoringTypeDropdown();
|
64
|
+
listOrderingPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
65
|
+
});
|
66
|
+
|
67
|
+
listOrderingPage.tests.verifyContentsOfSpecifyCorrectAnswerSectionDropdownLayout();
|
68
|
+
|
69
|
+
listOrderingPage.tests.verifyPointsLabelAndInputFieldForNonScoredScoringType();
|
70
|
+
});
|
71
|
+
});
|