itemengine-cypress-automation 1.0.383-Ckeditir-audioplayer-fixes-0bf8855.0 → 1.0.383-task-IEI-4672-6b2395e.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/drawingResponseAdditionalSettings.js +1 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +1 -3
- 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 +27 -2
- 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 +10 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -8
- package/cypress/pages/gradingGridViewPage.js +64 -0
- package/cypress/pages/graphingPage.js +27 -8
- 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
@@ -0,0 +1,38 @@
|
|
1
|
+
import { listOrderingPage } from "../../../pages/listOrderingPage";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
const options = ['sprout', 'plant', 'flower', 'seed'];
|
5
|
+
|
6
|
+
describe('Create question page - List ordering : Reorder as a separate list', () => {
|
7
|
+
before(() => {
|
8
|
+
cy.loginAs('admin');
|
9
|
+
});
|
10
|
+
|
11
|
+
describe('Check Alternative Answer Button', () => {
|
12
|
+
abortEarlySetup();
|
13
|
+
before(() => {
|
14
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
15
|
+
cy.barsPreLoaderWait();
|
16
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Reorder as a separate list');
|
17
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
18
|
+
});
|
19
|
+
|
20
|
+
it('When correct answer is not set then alternative answer should be disabled', () => {
|
21
|
+
listOrderingPage.steps.checkAlternativeButtonDisabled();
|
22
|
+
});
|
23
|
+
|
24
|
+
it('When correct answer is set then alternative answer should be enabled', () => {
|
25
|
+
listOrderingPage.steps.allotPoints(10);
|
26
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
|
27
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('seed');
|
28
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
|
29
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
|
30
|
+
listOrderingPage.steps.checkAlternativeButtonEnabled();
|
31
|
+
});
|
32
|
+
|
33
|
+
it('User should be able to add \'Alternative\' answer using the \'Add alternative\' button, when user has not set any answer in the \'Alternative\' accordion and clicks on the \'Correct\' accordion then \'Correct\' accordion should be expanded', () => {
|
34
|
+
listOrderingPage.steps.clickOnAddAlternativeAnswerButton();
|
35
|
+
listOrderingPage.steps.expandCorrectAnswerAccordion();
|
36
|
+
});
|
37
|
+
});
|
38
|
+
});
|
@@ -164,4 +164,28 @@ describe('Create Item page - List ordering : Question instructions and prompt se
|
|
164
164
|
utilities.verifyElementCount(listOrderingPage.optionsSeperateList(), 4);
|
165
165
|
});
|
166
166
|
});
|
167
|
+
|
168
|
+
describe('User should be able to edit incomplete authored question', () => {
|
169
|
+
abortEarlySetup();
|
170
|
+
before(() => {
|
171
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
172
|
+
cy.barsPreLoaderWait();
|
173
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Reorder as a separate list');
|
174
|
+
listOrderingPage.steps.saveAQuestionWithIncompleteAuthoring();
|
175
|
+
listOrderingPage.steps.editItem();
|
176
|
+
});
|
177
|
+
|
178
|
+
it('Warning icons should be displayed on the required input fields', () => {
|
179
|
+
listOrderingPage.steps.verifyWarningIconOnRequiredFields([
|
180
|
+
'Please enter all option values.', 'Please set points.',
|
181
|
+
]);
|
182
|
+
});
|
183
|
+
|
184
|
+
it('When required input fields are filled then warning icons should disappear', () => {
|
185
|
+
listOrderingPage.steps.addInputToOptionsInputField(options);
|
186
|
+
listOrderingPage.steps.allotPoints(10);
|
187
|
+
listOrderingPage.steps.verifyErrorMessageIsNotDisplayed();
|
188
|
+
listOrderingPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
|
189
|
+
});
|
190
|
+
});
|
167
191
|
});
|
@@ -164,9 +164,12 @@ describe('Create item page - List ordering: Scoring section', () => {
|
|
164
164
|
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
165
165
|
listOrderingPage.steps.addInputToOptionsInputField(options);
|
166
166
|
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
167
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
|
168
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
|
169
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
|
170
|
+
listOrderingPage.steps.clickAndDropOptionSeperateList('seed');
|
167
171
|
});
|
168
172
|
|
169
|
-
listOrderingPage.tests.verifyContentsOfSpecifyCorrectAnswerSectionSeperateList();
|
170
173
|
|
171
174
|
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', () => {
|
172
175
|
utilities.verifyInnerText(listOrderingPage.partialDifferentWeightsPointsLabelSeparateList(), 'Points');
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
2
|
-
import { dialogBoxBase, listOrderingPage } from "../../../pages";
|
2
|
+
import { dialogBoxBase, itemPreviewPage, listOrderingPage } from "../../../pages";
|
3
3
|
import utilities from "../../../support/helpers/utilities";
|
4
|
+
import { browseItemsPage } from "../../../pages/components";
|
4
5
|
const options = ['sprout', 'plant', 'flower', 'seed'];
|
6
|
+
let itemReferenceID = "";
|
5
7
|
|
6
8
|
describe('Create item page - Matching : Header section and Saving question', () => {
|
7
9
|
before(() => {
|
@@ -40,15 +42,16 @@ describe('Create item page - Matching : Header section and Saving question', ()
|
|
40
42
|
before(() => {
|
41
43
|
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
42
44
|
cy.barsPreLoaderWait();
|
45
|
+
utilities.verifyElementCount(listOrderingPage.optionsInputField(), 4);
|
43
46
|
listOrderingPage.steps.selectOrderingLayoutOption('Reorder as a separate list');
|
44
47
|
});
|
45
48
|
|
46
49
|
describe('Validation error messages', () => {
|
47
|
-
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please enter all option values', 'Please set points']);
|
50
|
+
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please enter all option values.', 'Please set points.']);
|
48
51
|
|
49
52
|
it('Validation error messages should be displayed below required input fields', () => {
|
50
53
|
listOrderingPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
|
51
|
-
listOrderingPage.steps.verifyWarningIconOnRequiredFields(['Please enter all option values', 'Please set points']);
|
54
|
+
listOrderingPage.steps.verifyWarningIconOnRequiredFields(['Please enter all option values.', 'Please set points.']);
|
52
55
|
});
|
53
56
|
|
54
57
|
it('Validation error messages should disappear when required input fields are filled', () => {
|
@@ -72,5 +75,37 @@ describe('Create item page - Matching : Header section and Saving question', ()
|
|
72
75
|
});
|
73
76
|
listOrderingPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
|
74
77
|
});
|
78
|
+
|
79
|
+
describe('Saving a question with incomplete authoring', () => {
|
80
|
+
abortEarlySetup();
|
81
|
+
before(() => {
|
82
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
83
|
+
cy.barsPreLoaderWait();
|
84
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Reorder as a separate list');
|
85
|
+
});
|
86
|
+
|
87
|
+
it('User should be able to save the question with incomplete authoring and display a snackbar with the text "Saved successfully!" when the Save Question button is clicked', () => {
|
88
|
+
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please enter all option values.', 'Please set points.']);
|
89
|
+
listOrderingPage.steps.saveAQuestionWithIncompleteAuthoring();
|
90
|
+
});
|
91
|
+
listOrderingPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
|
92
|
+
});
|
93
|
+
});
|
94
|
+
|
95
|
+
describe('Save as you go - Browse item page contents', () => {
|
96
|
+
abortEarlySetup();
|
97
|
+
before(() => {
|
98
|
+
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
99
|
+
cy.barsPreLoaderWait();
|
100
|
+
listOrderingPage.steps.selectOrderingLayoutOption('Reorder as a separate list');
|
101
|
+
listOrderingPage.steps.saveAQuestionWithIncompleteAuthoring();
|
102
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
103
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
104
|
+
browseItemsPage.steps.navigateToBrowseItemsPage();
|
105
|
+
});
|
106
|
+
|
107
|
+
it('When user saves an incompletely authored question then a warning icon should be visible in browse items page', () => {
|
108
|
+
browseItemsPage.steps.verifyWarningIconInBrowseItemPage(`${itemReferenceID}`);
|
109
|
+
});
|
75
110
|
});
|
76
111
|
});
|
@@ -25,14 +25,13 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
25
25
|
|
26
26
|
it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'Grading\' view without attempting the question, dropzone numeration 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 respective option numeration', () => {
|
27
27
|
matchingPage.steps.switchToGradingView();
|
28
|
-
matchingPage.steps.
|
28
|
+
matchingPage.steps.checkManuallyScoredScoringLabel();
|
29
29
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
30
30
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
31
31
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
32
32
|
matchingPage.steps.verifyDropzoneNumeration();
|
33
|
-
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
34
33
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
35
|
-
matchingPage.steps.
|
34
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
36
35
|
});
|
37
36
|
|
38
37
|
it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
|
@@ -40,11 +39,10 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
40
39
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
41
40
|
matchingPage.steps.clickAndDropOptionOutsideDropzoneWithIndexPreviewTab(0);
|
42
41
|
matchingPage.steps.switchToGradingView();
|
43
|
-
matchingPage.steps.
|
44
|
-
matchingPage.steps.
|
45
|
-
matchingPage.steps.
|
46
|
-
matchingPage.steps.
|
47
|
-
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
42
|
+
matchingPage.steps.checkManuallyScoredScoringLabel();
|
43
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
44
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
45
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
48
46
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
49
47
|
});
|
50
48
|
|
@@ -52,12 +50,11 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
52
50
|
matchingPage.steps.resetQuestionPreview();
|
53
51
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
54
52
|
matchingPage.steps.switchToGradingView();
|
55
|
-
matchingPage.steps.
|
56
|
-
matchingPage.steps.
|
57
|
-
matchingPage.steps.
|
58
|
-
matchingPage.steps.
|
59
|
-
matchingPage.steps.
|
60
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[''],[''],['']]);
|
53
|
+
matchingPage.steps.checkManuallyScoredScoringLabel();
|
54
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
55
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
56
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
57
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
61
58
|
});
|
62
59
|
|
63
60
|
it('When the user sets an partial blank answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, dropzone numeration 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 respective option numeration', () => {
|
@@ -72,7 +69,7 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
72
69
|
matchingPage.steps.verifyDropzoneNumeration();
|
73
70
|
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
74
71
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
75
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
72
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], [''], ['Cat']]);
|
76
73
|
});
|
77
74
|
|
78
75
|
it('When the user has set an partial blank answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, no points should be allocated and correct answer section should be displayed', () => {
|
@@ -82,10 +79,10 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
82
79
|
matchingPage.steps.switchToGradingView();
|
83
80
|
matchingPage.steps.verifyPreviewScore(0, 10);
|
84
81
|
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
85
|
-
matchingPage.steps.
|
82
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
86
83
|
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
87
84
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
88
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
85
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], [''], ['Cat']]);
|
89
86
|
});
|
90
87
|
|
91
88
|
it('When the user has set an partial blank answer in the \'Specify correct answer\' section and enters responses in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, correct icon should be displayed for blank response, no points should be allocated and correct answer section should be displayed', () => {
|
@@ -94,10 +91,10 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
94
91
|
matchingPage.steps.switchToGradingView();
|
95
92
|
matchingPage.steps.verifyPreviewScore(0, 10);
|
96
93
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
97
|
-
matchingPage.steps.
|
94
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
98
95
|
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
99
96
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
100
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
97
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], [''], ['Cat']]);
|
101
98
|
});
|
102
99
|
|
103
100
|
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
@@ -109,7 +106,7 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
109
106
|
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
110
107
|
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
111
108
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
112
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
109
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], [''], ['Cat']]);
|
113
110
|
});
|
114
111
|
|
115
112
|
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
@@ -119,7 +116,7 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
119
116
|
matchingPage.steps.switchToGradingView();
|
120
117
|
matchingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
121
118
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
122
|
-
matchingPage.steps.
|
119
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
123
120
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
124
121
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
125
122
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
@@ -142,14 +139,13 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
142
139
|
|
143
140
|
it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'Grading\' view without attempting the question, dropzone numeration 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 respective option numeration', () => {
|
144
141
|
matchingPage.steps.switchToGradingView();
|
145
|
-
matchingPage.steps.
|
142
|
+
matchingPage.steps.checkManuallyScoredScoringLabel();
|
146
143
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
147
144
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
148
145
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
149
146
|
matchingPage.steps.verifyDropzoneNumeration();
|
150
|
-
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
151
147
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
152
|
-
matchingPage.steps.
|
148
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
153
149
|
});
|
154
150
|
|
155
151
|
it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
|
@@ -157,10 +153,10 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
157
153
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
158
154
|
matchingPage.steps.clickAndDropOptionOutsideDropzoneWithIndexPreviewTab(0);
|
159
155
|
matchingPage.steps.switchToGradingView();
|
160
|
-
matchingPage.steps.
|
161
|
-
matchingPage.steps.
|
162
|
-
matchingPage.steps.
|
163
|
-
matchingPage.steps.
|
156
|
+
matchingPage.steps.checkManuallyScoredScoringLabel();
|
157
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
158
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
159
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
164
160
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
165
161
|
});
|
166
162
|
|
@@ -168,11 +164,12 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
168
164
|
matchingPage.steps.resetQuestionPreview();
|
169
165
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
170
166
|
matchingPage.steps.switchToGradingView();
|
171
|
-
matchingPage.steps.
|
172
|
-
matchingPage.steps.
|
173
|
-
matchingPage.steps.
|
174
|
-
matchingPage.steps.
|
175
|
-
matchingPage.steps.
|
167
|
+
matchingPage.steps.checkManuallyScoredScoringLabel();
|
168
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
169
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
170
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
171
|
+
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
172
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
176
173
|
});
|
177
174
|
|
178
175
|
it('When the user sets an partial blank answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, dropzone numeration 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 respective option numeration', () => {
|
@@ -187,7 +184,7 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
187
184
|
matchingPage.steps.verifyDropzoneNumeration();
|
188
185
|
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
189
186
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
190
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
187
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], [''], ['Cat']]);
|
191
188
|
});
|
192
189
|
|
193
190
|
it('When the user has set an partial blank answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
@@ -197,9 +194,9 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
197
194
|
matchingPage.steps.switchToGradingView();
|
198
195
|
matchingPage.steps.verifyPreviewScore(8, 24);
|
199
196
|
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
200
|
-
matchingPage.steps.
|
197
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
201
198
|
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
202
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
199
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], [''], ['Cat']]);
|
203
200
|
});
|
204
201
|
|
205
202
|
it('When the user has set an partial blank answer in the \'Specify correct answer\' section and enters responses in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, correct icon should be displayed for blank response, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
@@ -208,9 +205,9 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
208
205
|
matchingPage.steps.switchToGradingView();
|
209
206
|
matchingPage.steps.verifyPreviewScore(16, 24);
|
210
207
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
211
|
-
matchingPage.steps.
|
208
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
212
209
|
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
213
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
210
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], [''], ['Cat']]);
|
214
211
|
});
|
215
212
|
|
216
213
|
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
@@ -219,9 +216,9 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
219
216
|
matchingPage.steps.verifyPreviewScore(0, 24);
|
220
217
|
matchingPage.steps.switchToGradingView();
|
221
218
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
222
|
-
matchingPage.steps.
|
219
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
223
220
|
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
224
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
221
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], [''], ['Cat']]);
|
225
222
|
});
|
226
223
|
|
227
224
|
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
@@ -231,7 +228,7 @@ describe('Create item page - Matching: Scoring for blank responses', () => {
|
|
231
228
|
matchingPage.steps.switchToGradingView();
|
232
229
|
matchingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
233
230
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
234
|
-
matchingPage.steps.
|
231
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
235
232
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
236
233
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
237
234
|
});
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import { matchingPage } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - Matching', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: Auto Scored With Points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
13
|
+
cy.barsPreLoaderWait();
|
14
|
+
matchingPage.steps.addTextInQuestionInstructionsInputField('Match the items correctly');
|
15
|
+
matchingPage.steps.enterTextInPromptInputField(['Prompt 1', 'Prompt 2', 'Prompt 3']);
|
16
|
+
matchingPage.steps.enterTextInOptionInputField(['Bear', 'Eagle', 'Fish']);
|
17
|
+
matchingPage.steps.switchToPreviewTab();
|
18
|
+
});
|
19
|
+
|
20
|
+
it('In Preview tab, when an answer is not set then manually scored scoring label should be displayed', () => {
|
21
|
+
matchingPage.steps.checkManuallyScoredScoringLabel();
|
22
|
+
});
|
23
|
+
|
24
|
+
it('In Preview tab, when user switches to grading view then no banner and correct answer should be displayed', () => {
|
25
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([
|
26
|
+
{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 1 }, { optionText: 'Fish', dropzoneIndex: 2 },
|
27
|
+
]);
|
28
|
+
matchingPage.steps.switchToGradingView();
|
29
|
+
matchingPage.steps.verifyAnswerStatusBannerNotExist();
|
30
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExist();
|
31
|
+
});
|
32
|
+
|
33
|
+
it('When user allocates points to the question then the scoring label should be displayed as manually scored and banner and correct answer status should not exist', () => {
|
34
|
+
matchingPage.steps.switchToEditTab();
|
35
|
+
matchingPage.steps.allotPoints(2);
|
36
|
+
matchingPage.steps.switchToPreviewTab();
|
37
|
+
matchingPage.steps.checkManuallyScoredScoringLabel();
|
38
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([
|
39
|
+
{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 1 }, { optionText: 'Fish', dropzoneIndex: 2 },
|
40
|
+
]);
|
41
|
+
matchingPage.steps.switchToGradingView();
|
42
|
+
matchingPage.steps.verifyAnswerStatusBannerNotExist();
|
43
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExist();
|
44
|
+
});
|
45
|
+
});
|
46
|
+
|
47
|
+
describe('Question Preview: Auto Scored Without Points', () => {
|
48
|
+
abortEarlySetup();
|
49
|
+
before(() => {
|
50
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
51
|
+
cy.barsPreLoaderWait();
|
52
|
+
matchingPage.steps.addTextInQuestionInstructionsInputField('Match the items correctly');
|
53
|
+
matchingPage.steps.enterTextInPromptInputField(['Prompt 1', 'Prompt 2', 'Prompt 3']);
|
54
|
+
matchingPage.steps.enterTextInOptionInputField(['Bear', 'Eagle', 'Fish']);
|
55
|
+
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([
|
56
|
+
{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 1 }, { optionText: 'Fish', dropzoneIndex: 2 },
|
57
|
+
]);
|
58
|
+
matchingPage.steps.switchToPreviewTab();
|
59
|
+
});
|
60
|
+
|
61
|
+
it('In Preview tab, when points are not set then manually scored scoring label should be displayed', () => {
|
62
|
+
matchingPage.steps.checkManuallyScoredScoringLabel();
|
63
|
+
});
|
64
|
+
|
65
|
+
it('In Preview tab, when user switches to grading view then banner and correct answer should be displayed', () => {
|
66
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([
|
67
|
+
{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 1 }, { optionText: 'Fish', dropzoneIndex: 2 },
|
68
|
+
]);
|
69
|
+
matchingPage.steps.switchToGradingView();
|
70
|
+
matchingPage.steps.verifyAnswerStatusBannerExist();
|
71
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
72
|
+
});
|
73
|
+
});
|
74
|
+
|
75
|
+
describe('Question Preview: Non Scored', () => {
|
76
|
+
abortEarlySetup();
|
77
|
+
before(() => {
|
78
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
79
|
+
cy.barsPreLoaderWait();
|
80
|
+
matchingPage.steps.addTextInQuestionInstructionsInputField('Match the items correctly');
|
81
|
+
matchingPage.steps.enterTextInPromptInputField(['Prompt 1', 'Prompt 2', 'Prompt 3']);
|
82
|
+
matchingPage.steps.enterTextInOptionInputField(['Bear', 'Eagle', 'Fish']);
|
83
|
+
matchingPage.steps.expandScoringTypeDropdown();
|
84
|
+
matchingPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
85
|
+
});
|
86
|
+
|
87
|
+
it('When the user selects \'Grading\' view without setting the answer, correct answers section and answer status banner should not be displayed', () => {
|
88
|
+
matchingPage.steps.switchToPreviewTab();
|
89
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([
|
90
|
+
{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 1 }, { optionText: 'Fish', dropzoneIndex: 2 },
|
91
|
+
|
92
|
+
]);
|
93
|
+
matchingPage.steps.switchToGradingView();
|
94
|
+
matchingPage.steps.verifyAnswerStatusBannerNotExist();
|
95
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExist();
|
96
|
+
});
|
97
|
+
});
|
98
|
+
});
|