itemengine-cypress-automation 1.0.384-constructed-response-r2-8ff5be4.0 → 1.0.384-task-IEI-4672-9e835ce.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +1 -0
- package/cypress/e2e/GradingGridView/gradingGridView.js +156 -0
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +2 -0
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -0
- package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
- package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +25 -25
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +37 -36
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +37 -36
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +37 -36
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +26 -25
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +39 -38
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +31 -30
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +35 -34
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +247 -0
- package/cypress/e2e/ILC/ChartsBar/editQuestion.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
- package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +92 -0
- package/cypress/e2e/ILC/ChartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePointsLocked.js +220 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +25 -25
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +47 -46
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +25 -24
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +25 -24
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightBasic.js +25 -25
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +24 -23
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +21 -20
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +48 -46
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +249 -0
- package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +3 -1
- package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
- package/cypress/e2e/ILC/ChartsLine/specifyCorrectAnswerSection.js +94 -0
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -2
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +6 -0
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
- package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +3 -3
- package/cypress/e2e/ILC/CkEditorInsertTable/tableDimension&FooterProperties.js +3 -3
- package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +11 -11
- package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
- package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +63 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +116 -7
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabScoring.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +3 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -7
- package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptions.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViewInIncompleteAuthoring.smoke.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +11 -11
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editQuestion.smoke.js +40 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editQuestion.smoke.js +45 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editQuestion.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +3 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
- package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
- package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
- package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
- package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
- package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
- package/cypress/e2e/ILC/Graphing/specifyCorrectAnswerSection.js +28 -0
- package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +210 -0
- package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +2 -2
- package/cypress/e2e/ILC/GridFill/headerSection.js +4 -4
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
- package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/additionalSettingsBasic.js +1 -0
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +212 -0
- package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +29 -0
- package/cypress/e2e/ILC/ImageHighlight/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/ImageHighlight/headerSection.js +3 -3
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +2 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +237 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +26 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +2 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +2 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +7 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +10 -14
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +215 -0
- package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
- package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +36 -9
- package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +2 -0
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +7 -23
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +309 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +38 -3
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +38 -41
- package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -0
- package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
- package/cypress/e2e/ILC/Matching/clickAndDrop.js +5 -5
- package/cypress/e2e/ILC/Matching/draggableOptions.js +7 -0
- package/cypress/e2e/ILC/Matching/editQuestion.smoke.js +3 -2
- package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
- package/cypress/e2e/ILC/Matching/headerSection.js +38 -12
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
- package/cypress/e2e/ILC/Matching/studentViewSettings.js +3 -1
- package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +1 -1
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +7 -6
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +6 -6
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/MultipleSelection/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/headerSection.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +100 -69
- package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +1 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +213 -0
- package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
- package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
- package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +249 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
- package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +266 -0
- package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
- package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
- package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
- package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +268 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +186 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +33 -49
- package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
- package/cypress/e2e/ILC/SingleSelection/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/headerSection.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +101 -70
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +9 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -1
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +263 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +219 -0
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +263 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +0 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
- package/cypress/e2e/ILC/TextSelection/additionalSettings.js +1 -0
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +231 -0
- package/cypress/e2e/ILC/TextSelection/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/TextSelection/headerSection.js +3 -3
- package/cypress/e2e/ILC/TextSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +1 -0
- package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +1 -1
- package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +145 -54
- package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +2 -0
- package/cypress/e2e/ILC/ThinkSphere/planPhase.js +45 -5
- package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +8 -8
- package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
- package/cypress/e2e/ILC/ThinkSphere/previewTabSolveSection.js +36 -0
- package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +3 -3
- package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
- package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +141 -0
- package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
- package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
- package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
- package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +50 -13
- package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
- package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +27 -28
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +24 -24
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +39 -37
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +22 -23
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +25 -24
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +31 -31
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +18 -19
- package/cypress/e2e/ILC/chartsDotsPlot/specifyCorrectAnswerSection.js +96 -0
- package/cypress/e2e/Sessions/fetchResponses.js +3 -3
- package/cypress/e2e/Sessions/saveResponseScores.js +2 -2
- package/cypress/fixtures/thinkSphereWhiteboardTools.js +66 -0
- package/cypress/pages/audioPlayerPage.js +25 -0
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/chartsBarPage.js +45 -0
- package/cypress/pages/chartsDotPlotPage.js +25 -0
- package/cypress/pages/chartsLinePage.js +28 -3
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +5 -1
- package/cypress/pages/components/chartsCommonComponent.js +6 -2
- package/cypress/pages/components/ckEditorEquationEditorComponent.js +1 -0
- package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
- package/cypress/pages/components/ckEditorInsertTableComponent.js +3 -3
- package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
- package/cypress/pages/components/colorPopupComponent.js +6 -0
- package/cypress/pages/components/createQuestionBasePage.js +19 -6
- package/cypress/pages/components/desmosToolComponent.js +1 -1
- package/cypress/pages/components/draggableOptionsSectionComponent.js +2 -0
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +14 -29
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +31 -3
- package/cypress/pages/components/gridQuestionCommonComponent.js +55 -2
- package/cypress/pages/components/imageCanvasComponent.js +11 -5
- package/cypress/pages/components/questionInstructionsComponent.js +2 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -0
- package/cypress/pages/components/specifyRowsAndColumnsComponent.js +16 -0
- package/cypress/pages/contentBlocksPage.js +2 -0
- package/cypress/pages/desmos3DGraphingPage.js +149 -4
- package/cypress/pages/desmosGeometryPage.js +184 -4
- package/cypress/pages/drawingResponsePage.js +9 -2
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -8
- package/cypress/pages/gradingGridViewPage.js +64 -0
- package/cypress/pages/graphingPage.js +29 -9
- package/cypress/pages/gridFillPage.js +27 -9
- package/cypress/pages/imageHighlightPage.js +115 -15
- package/cypress/pages/index.js +1 -0
- package/cypress/pages/listOrderingPage.js +46 -2
- package/cypress/pages/matchingPage.js +29 -10
- package/cypress/pages/numberLineLabelPage.js +31 -8
- package/cypress/pages/numberLinePage.js +19 -7
- package/cypress/pages/singleSelectionPage.js +30 -1
- package/cypress/pages/textEntryMathPage.js +27 -8
- package/cypress/pages/textSelectionPage.js +2 -2
- package/cypress/pages/thinkSpherePage.js +928 -87
- package/cypress/pages/uploadResponsePage.js +17 -1
- package/cypress/pages/videoResponsePage.js +3 -0
- package/cypress/support/commands.js +9 -0
- package/cypress/support/helpers/createItem.js +22 -3
- package/cypress/support/helpers/utilities.js +14 -1
- package/package.json +1 -1
- /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/checkAnswerFunctionalityForAllViews.js +0 -0
- /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/editQuestion.smoke.js +0 -0
@@ -234,6 +234,274 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
234
234
|
});
|
235
235
|
});
|
236
236
|
|
237
|
+
views.forEach((view) => {
|
238
|
+
describe(`Number line - label vertical: Manually scored - ${view}`, { tags: 'smoke' }, () => {
|
239
|
+
abortEarlySetup();
|
240
|
+
before(() => {
|
241
|
+
switch (view) {
|
242
|
+
case 'Question preview':
|
243
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
244
|
+
cy.barsPreLoaderWait();
|
245
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
246
|
+
numberLineLabelPage.steps.selectOrientationToggleButton('Upright');
|
247
|
+
numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot labels on the number line');
|
248
|
+
numberLineLabelPage.steps.addLabel();
|
249
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3', 'Label 4']);
|
250
|
+
numberLineLabelPage.steps.expandScoringTypeDropdown();
|
251
|
+
numberLineLabelPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
|
252
|
+
numberLineLabelPage.steps.allotPoints(20);
|
253
|
+
numberLineLabelPage.steps.switchToPreviewTab();
|
254
|
+
break;
|
255
|
+
case 'Item preview':
|
256
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
257
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
258
|
+
break;
|
259
|
+
case 'Grading view':
|
260
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
261
|
+
break;
|
262
|
+
}
|
263
|
+
});
|
264
|
+
|
265
|
+
beforeEach(() => {
|
266
|
+
switch (view) {
|
267
|
+
case 'Question preview':
|
268
|
+
numberLineLabelPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
269
|
+
numberLineLabelPage.steps.resetQuestionPreview();
|
270
|
+
break;
|
271
|
+
case 'Item preview':
|
272
|
+
itemPreviewPage.steps.switchToStudentView();
|
273
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
274
|
+
break;
|
275
|
+
case 'Grading view':
|
276
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
277
|
+
break;
|
278
|
+
}
|
279
|
+
});
|
280
|
+
|
281
|
+
if (view === 'Question preview') {
|
282
|
+
after(() => {
|
283
|
+
numberLineLabelPage.steps.clickOnSaveQuestionButton();
|
284
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
285
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
286
|
+
});
|
287
|
+
}
|
288
|
+
|
289
|
+
it('Question instructions should be visible', () => {
|
290
|
+
numberLineLabelPage.steps.verifyQuestionInstructionsTextPreviewTab('Plot labels on the number line');
|
291
|
+
numberLineLabelPage.steps.verifyVisibityOfQuestionInstructionsText();
|
292
|
+
});
|
293
|
+
|
294
|
+
it('User should be able to attempt the question in student view and correct/incorrect icons, Your answer is correct/incorrect label, and correct answer section should not be displayed in grading view', () => {
|
295
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'vertical', range, 0);
|
296
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [0]);
|
297
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 2', 'vertical', range, 9);
|
298
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [9]);
|
299
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'vertical', range, -9);
|
300
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [-9]);
|
301
|
+
if (view === 'Grading view') {
|
302
|
+
studentViewPage.steps.submitResponse();
|
303
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
304
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
305
|
+
gradingViewPage.steps.verifyGradingViewScore('', 20);
|
306
|
+
}
|
307
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
308
|
+
numberLineLabelPage.steps.checkManuallyScoredScoringLabel();
|
309
|
+
}
|
310
|
+
numberLineLabelPage.steps.verifyCorrectIncorrectIconsNotExist();
|
311
|
+
numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
312
|
+
numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
|
313
|
+
});
|
314
|
+
});
|
315
|
+
});
|
316
|
+
|
317
|
+
views.forEach((view) => {
|
318
|
+
describe(`Number line - label vertical: Non scored - ${view}`, { tags: 'smoke' }, () => {
|
319
|
+
abortEarlySetup();
|
320
|
+
before(() => {
|
321
|
+
switch (view) {
|
322
|
+
case 'Question preview':
|
323
|
+
numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
|
324
|
+
cy.barsPreLoaderWait();
|
325
|
+
numberLineLabelPage.steps.navigateToLabelNumberLineTab();
|
326
|
+
numberLineLabelPage.steps.selectOrientationToggleButton('Upright');
|
327
|
+
numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot labels on the number line');
|
328
|
+
numberLineLabelPage.steps.addLabel();
|
329
|
+
numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3', 'Label 4']);
|
330
|
+
numberLineLabelPage.steps.expandScoringTypeDropdown();
|
331
|
+
numberLineLabelPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
332
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'vertical', range, 0);
|
333
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [0]);
|
334
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 2', 'vertical', range, 9);
|
335
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [9]);
|
336
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 3', 'vertical', range, -9);
|
337
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [-9]);
|
338
|
+
numberLineLabelPage.steps.switchToPreviewTab();
|
339
|
+
break;
|
340
|
+
case 'Item preview':
|
341
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
342
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
343
|
+
break;
|
344
|
+
case 'Grading view':
|
345
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
346
|
+
break;
|
347
|
+
}
|
348
|
+
});
|
349
|
+
|
350
|
+
beforeEach(() => {
|
351
|
+
switch (view) {
|
352
|
+
case 'Question preview':
|
353
|
+
numberLineLabelPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
354
|
+
numberLineLabelPage.steps.resetQuestionPreview();
|
355
|
+
break;
|
356
|
+
case 'Item preview':
|
357
|
+
itemPreviewPage.steps.switchToStudentView();
|
358
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
359
|
+
break;
|
360
|
+
case 'Grading view':
|
361
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
362
|
+
break;
|
363
|
+
}
|
364
|
+
});
|
365
|
+
|
366
|
+
if (view === 'Question preview') {
|
367
|
+
after(() => {
|
368
|
+
numberLineLabelPage.steps.clickOnSaveQuestionButton();
|
369
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
370
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
371
|
+
});
|
372
|
+
}
|
373
|
+
|
374
|
+
it('When the user selects "Grading" view without attempting the question, non scoring label should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label "Correct answers" should be displayed with correct answers and correct/incorrect icons should not be displayed', () => {
|
375
|
+
if (view === 'Grading view') {
|
376
|
+
studentViewPage.steps.submitResponse();
|
377
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
378
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
379
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
380
|
+
}
|
381
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
382
|
+
numberLineLabelPage.steps.checkNonScoredScoringLabel();
|
383
|
+
numberLineLabelPage.steps.switchToGradingView();
|
384
|
+
}
|
385
|
+
numberLineLabelPage.steps.verifyCorrectIncorrectIconsNotExist();
|
386
|
+
numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
387
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
|
388
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
|
389
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
390
|
+
});
|
391
|
+
|
392
|
+
it('When the user attempts the question incorrectly, non scoring label should be displayed, incorrect icon should be displayed beside incorrect response, a status message with text "Your answer is incorrect" and correct answer section with correct answer should be displayed', () => {
|
393
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 4', 'vertical', range, 0);
|
394
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [0]);
|
395
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'vertical', range, 4);
|
396
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [4]);
|
397
|
+
if (view === 'Grading view') {
|
398
|
+
studentViewPage.steps.submitResponse();
|
399
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
400
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
401
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
402
|
+
}
|
403
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
404
|
+
numberLineLabelPage.steps.checkNonScoredScoringLabel();
|
405
|
+
numberLineLabelPage.steps.switchToGradingView();
|
406
|
+
}
|
407
|
+
numberLineLabelPage.steps.verifyVerticalIncorrectResponseOnNumberLinePreviewTab('Label 4', range, 0);
|
408
|
+
numberLineLabelPage.steps.verifyVerticalIncorrectResponseOnNumberLinePreviewTab('Label 3', range, 4);
|
409
|
+
numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
410
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
|
411
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
|
412
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
413
|
+
});
|
414
|
+
|
415
|
+
it('When the user attempts the question partially correct, non scoring label should be displayed, correct icon should be displayed beside the correct response, incorrect icon should be displayed beside incorrect response, a status message with text "Your answer is incorrect" and correct answer section with all correct answers should be displayed', () => {
|
416
|
+
if (view === 'Grading view') {
|
417
|
+
studentViewPage.steps.clearResponses();
|
418
|
+
}
|
419
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'vertical', range, 0);
|
420
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [0]);
|
421
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 2', 'vertical', range, 9);
|
422
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [9]);
|
423
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'vertical', range, -8);
|
424
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [-8]);
|
425
|
+
if (view === 'Grading view') {
|
426
|
+
studentViewPage.steps.submitResponse();
|
427
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
428
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
429
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
430
|
+
}
|
431
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
432
|
+
numberLineLabelPage.steps.checkNonScoredScoringLabel();
|
433
|
+
numberLineLabelPage.steps.switchToGradingView();
|
434
|
+
}
|
435
|
+
numberLineLabelPage.steps.verifyVerticalIncorrectResponseOnNumberLinePreviewTab('Label 3', range, -8);
|
436
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 2', range, 9);
|
437
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
|
438
|
+
numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
439
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
|
440
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
|
441
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
442
|
+
});
|
443
|
+
|
444
|
+
it('When the user attempts the question partially correct with an incorrect response, non scoring label should be displayed, correct icon should be displayed beside the correct response, incorrect icon should be displayed beside incorrect response, a status message with text "Your answer is incorrect" and correct answer section with all correct answers should be displayed', () => {
|
445
|
+
if (view === 'Grading view') {
|
446
|
+
studentViewPage.steps.clearResponses();
|
447
|
+
}
|
448
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'vertical', range, 0);
|
449
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [0]);
|
450
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 2', 'vertical', range, 9);
|
451
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [9]);
|
452
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'vertical', range, -9);
|
453
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [-9]);
|
454
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 4', 'vertical', range, 2);
|
455
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [2]);
|
456
|
+
if (view === 'Grading view') {
|
457
|
+
studentViewPage.steps.submitResponse();
|
458
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
459
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
460
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
461
|
+
}
|
462
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
463
|
+
numberLineLabelPage.steps.checkNonScoredScoringLabel();
|
464
|
+
numberLineLabelPage.steps.switchToGradingView();
|
465
|
+
}
|
466
|
+
numberLineLabelPage.steps.verifyVerticalIncorrectResponseOnNumberLinePreviewTab('Label 4', range, 2);
|
467
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 3', range, -9);
|
468
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 2', range, 9);
|
469
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
|
470
|
+
numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
471
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
|
472
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
|
473
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
474
|
+
});
|
475
|
+
|
476
|
+
it('When the user attempts the question correctly, non scoring label should be displayed, correct icons should be displayed beside the correct response, a status message with text "Your answer is correct" should be displayed and correct answer section should not be displayed', () => {
|
477
|
+
if (view === 'Grading view') {
|
478
|
+
studentViewPage.steps.clearResponses();
|
479
|
+
}
|
480
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'vertical', range, 0);
|
481
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [0]);
|
482
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 2', 'vertical', range, 9);
|
483
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [9]);
|
484
|
+
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'vertical', range, -9);
|
485
|
+
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [-9]);
|
486
|
+
if (view === 'Grading view') {
|
487
|
+
studentViewPage.steps.submitResponse();
|
488
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
489
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
490
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
491
|
+
}
|
492
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
493
|
+
numberLineLabelPage.steps.checkNonScoredScoringLabel();
|
494
|
+
numberLineLabelPage.steps.switchToGradingView();
|
495
|
+
}
|
496
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 3', range, -9);
|
497
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 2', range, 9);
|
498
|
+
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
|
499
|
+
numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
500
|
+
numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
|
501
|
+
});
|
502
|
+
});
|
503
|
+
});
|
504
|
+
|
237
505
|
if (!grepTags || !grepTags.includes('smoke')) {
|
238
506
|
describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
|
239
507
|
abortEarlySetup();
|
@@ -49,7 +49,7 @@ describe('Edit item - Number line', () => {
|
|
49
49
|
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Newly added label', 'vertical', range, 6);
|
50
50
|
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [6]);
|
51
51
|
numberLineLabelPage.steps.clickAndDropLabelInContainerSpecifyCorrectAnswer('Label 1');
|
52
|
-
numberLineLabelPage.steps.
|
52
|
+
numberLineLabelPage.steps.verifyVerticalPointsNotExistOnNumberLineSpecifyCorrectAnswer(range, [0]);
|
53
53
|
numberLineLabelPage.steps.saveAQuestionAndVerifySnackbar();
|
54
54
|
});
|
55
55
|
|
@@ -152,6 +152,192 @@ describe('Create item page - Short text response: All or nothing', () => {
|
|
152
152
|
});
|
153
153
|
});
|
154
154
|
|
155
|
+
views.forEach((view) => {
|
156
|
+
describe(`${view}: Short text response - Manually scored`, { tags: 'smoke' }, () => {
|
157
|
+
abortEarlySetup();
|
158
|
+
before(() => {
|
159
|
+
switch (view) {
|
160
|
+
case 'Question preview':
|
161
|
+
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
162
|
+
cy.barsPreLoaderWait();
|
163
|
+
shortTextResponsePage.steps.addTextInQuestionInstructionsInputField('What is the primary cause of urbanization?');
|
164
|
+
shortTextResponsePage.steps.expandScoringTypeDropdown();
|
165
|
+
shortTextResponsePage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
|
166
|
+
shortTextResponsePage.steps.allotPoints(20);
|
167
|
+
shortTextResponsePage.steps.switchToPreviewTab();
|
168
|
+
break;
|
169
|
+
case 'Item preview':
|
170
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
171
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
172
|
+
break;
|
173
|
+
case 'Grading view':
|
174
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
175
|
+
break;
|
176
|
+
};
|
177
|
+
});
|
178
|
+
|
179
|
+
beforeEach(() => {
|
180
|
+
switch (view) {
|
181
|
+
case 'Question preview':
|
182
|
+
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
183
|
+
shortTextResponsePage.steps.resetQuestionPreview();
|
184
|
+
break;
|
185
|
+
case 'Item preview':
|
186
|
+
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
187
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
188
|
+
break;
|
189
|
+
case 'Grading view':
|
190
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
191
|
+
break;
|
192
|
+
}
|
193
|
+
});
|
194
|
+
|
195
|
+
if (view === 'Question preview') {
|
196
|
+
after(() => {
|
197
|
+
shortTextResponsePage.steps.clickOnSaveQuestionButton();
|
198
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
199
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
200
|
+
});
|
201
|
+
};
|
202
|
+
|
203
|
+
it('Question instructions should be visible', () => {
|
204
|
+
shortTextResponsePage.steps.verifyQuestionInstructionsTextPreviewTab('What is the primary cause of urbanization?');
|
205
|
+
shortTextResponsePage.steps.verifyVisibityOfQuestionInstructionsText();
|
206
|
+
});
|
207
|
+
|
208
|
+
it('User should be able to attempt the question in student view, and correct/incorrect icons, "Your answer is correct/incorrect" label, and correct answer section should not be displayed in grading view', () => {
|
209
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Urbanization');
|
210
|
+
if (view === 'Grading view') {
|
211
|
+
studentViewPage.steps.submitResponse();
|
212
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
213
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
214
|
+
gradingViewPage.steps.verifyGradingViewScore('', 20);
|
215
|
+
};
|
216
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
217
|
+
shortTextResponsePage.steps.checkManuallyScoredScoringLabel();
|
218
|
+
shortTextResponsePage.steps.verifyCorrectIncorrectIconNotVisibleGradingView();
|
219
|
+
shortTextResponsePage.steps.verifyCorrectAnswerWrapperNotExist();
|
220
|
+
};
|
221
|
+
});
|
222
|
+
});
|
223
|
+
});
|
224
|
+
|
225
|
+
views.forEach((view) => {
|
226
|
+
describe(`${view}: Short text response - Non scored`, { tags: 'smoke' }, () => {
|
227
|
+
abortEarlySetup();
|
228
|
+
before(() => {
|
229
|
+
switch (view) {
|
230
|
+
case 'Question preview':
|
231
|
+
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
232
|
+
cy.barsPreLoaderWait();
|
233
|
+
shortTextResponsePage.steps.addTextInQuestionInstructionsInputField('What is the primary cause of urbanization?');
|
234
|
+
shortTextResponsePage.steps.expandScoringTypeDropdown();
|
235
|
+
shortTextResponsePage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
236
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Urbanization');
|
237
|
+
shortTextResponsePage.steps.switchToPreviewTab();
|
238
|
+
break;
|
239
|
+
case 'Item preview':
|
240
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
241
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
242
|
+
break;
|
243
|
+
case 'Grading view':
|
244
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
245
|
+
break;
|
246
|
+
};
|
247
|
+
});
|
248
|
+
|
249
|
+
beforeEach(() => {
|
250
|
+
switch (view) {
|
251
|
+
case 'Question preview':
|
252
|
+
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
253
|
+
shortTextResponsePage.steps.resetQuestionPreview();
|
254
|
+
break;
|
255
|
+
case 'Item preview':
|
256
|
+
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
257
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
258
|
+
break;
|
259
|
+
case 'Grading view':
|
260
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
261
|
+
break;
|
262
|
+
}
|
263
|
+
});
|
264
|
+
|
265
|
+
if (view === 'Question preview') {
|
266
|
+
after(() => {
|
267
|
+
shortTextResponsePage.steps.clickOnSaveQuestionButton();
|
268
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
269
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
270
|
+
});
|
271
|
+
};
|
272
|
+
|
273
|
+
it('When the user selects "Grading" view without attempting the question, non-scoring label should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label "Correct answers" should be displayed with correct answers and correct/incorrect icons should not be displayed', () => {
|
274
|
+
if (view === 'Grading view') {
|
275
|
+
studentViewPage.steps.submitResponse();
|
276
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
277
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
278
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
279
|
+
};
|
280
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
281
|
+
shortTextResponsePage.steps.checkNonScoredScoringLabel();
|
282
|
+
shortTextResponsePage.steps.switchToGradingView();
|
283
|
+
};
|
284
|
+
utilities.verifyInnerText(shortTextResponsePage.previewTabCorrectAnswerLabel(), 'Correct answer:');
|
285
|
+
shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Urbanization');
|
286
|
+
});
|
287
|
+
|
288
|
+
it('When the user attempts the question incorrectly, then non-scoring label should be displayed and on switching to "Grading" view, incorrect icon should be displayed beside the incorrect response, and correct answer should be displayed in the question preview', () => {
|
289
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Incorrect Answer');
|
290
|
+
if (view === 'Grading view') {
|
291
|
+
studentViewPage.steps.submitResponse();
|
292
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
293
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
294
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
295
|
+
};
|
296
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
297
|
+
shortTextResponsePage.steps.checkNonScoredScoringLabel();
|
298
|
+
shortTextResponsePage.steps.switchToGradingView();
|
299
|
+
};
|
300
|
+
shortTextResponsePage.steps.verifyIncorrectAttemptBorder();
|
301
|
+
shortTextResponsePage.steps.verifyIncorrectIcon();
|
302
|
+
shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Urbanization');
|
303
|
+
});
|
304
|
+
|
305
|
+
it('When the user attempts the question partially correct then non-scoring label should be displayed and on switching to "Grading" view, correct icon should be displayed beside the correct part of the response, incorrect icon should be displayed beside the incorrect part, and correct answer should be displayed in the question preview', () => {
|
306
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Urban');
|
307
|
+
if (view === 'Grading view') {
|
308
|
+
studentViewPage.steps.submitResponse();
|
309
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
310
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
311
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
312
|
+
};
|
313
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
314
|
+
shortTextResponsePage.steps.checkNonScoredScoringLabel();
|
315
|
+
shortTextResponsePage.steps.switchToGradingView();
|
316
|
+
};
|
317
|
+
shortTextResponsePage.steps.verifyIncorrectAttemptBorder();
|
318
|
+
shortTextResponsePage.steps.verifyIncorrectIcon();
|
319
|
+
shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Urbanization');
|
320
|
+
});
|
321
|
+
|
322
|
+
it('When the user attempts the question correctly, and on switching to "Grading" view, non-scoring label should be displayed, correct icons should be displayed beside the correct responses, a status message with text "Your answer is correct" should be displayed and correct answer section should not be displayed', () => {
|
323
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Urbanization');
|
324
|
+
if (view === 'Grading view') {
|
325
|
+
studentViewPage.steps.submitResponse();
|
326
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
327
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
328
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
329
|
+
};
|
330
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
331
|
+
shortTextResponsePage.steps.checkNonScoredScoringLabel();
|
332
|
+
shortTextResponsePage.steps.switchToGradingView();
|
333
|
+
};
|
334
|
+
shortTextResponsePage.steps.verifyCorrectAttemptBorder();
|
335
|
+
shortTextResponsePage.steps.verifyCorrectIcon();
|
336
|
+
shortTextResponsePage.steps.verifyCorrectAnswerWrapperNotExist();
|
337
|
+
});
|
338
|
+
});
|
339
|
+
});
|
340
|
+
|
155
341
|
if (!grepTags || !grepTags.includes('smoke')) {
|
156
342
|
describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
|
157
343
|
abortEarlySetup();
|