itemengine-cypress-automation 1.0.382 → 1.0.383-FixesPR3-c328a98.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/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 +2 -2
- /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/checkAnswerFunctionalityForAllViews.js +0 -0
- /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/editQuestion.smoke.js +0 -0
@@ -1296,9 +1296,16 @@ const steps = {
|
|
1296
1296
|
* @description this function is used to verify in the selected color block of the color popup
|
1297
1297
|
*/
|
1298
1298
|
verifySelectedColorBlock: (color) => {
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1299
|
+
imageHighlightPage.selectedColorBlock()
|
1300
|
+
.then(($element) => {
|
1301
|
+
cy.wrap($element)
|
1302
|
+
.invoke('css', 'background-color')
|
1303
|
+
.then(actualColor => {
|
1304
|
+
expect(steps.colorsAreClose(actualColor, color, 2)).to.be.true;
|
1305
|
+
console.log(`Selected color: ${actualColor}`);
|
1306
|
+
console.log(`Expected color: ${color}`);
|
1307
|
+
});
|
1308
|
+
});
|
1302
1309
|
},
|
1303
1310
|
|
1304
1311
|
/**
|
@@ -1310,9 +1317,16 @@ const steps = {
|
|
1310
1317
|
imageHighlightPage.specifyCorrectAnswerSectionCustomizedPolygon()
|
1311
1318
|
.eq(index)
|
1312
1319
|
.within(() => {
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1320
|
+
imageHighlightPage.specifyCorrectAnswerDiamondPattern()
|
1321
|
+
.then(($element) => {
|
1322
|
+
cy.wrap($element)
|
1323
|
+
.invoke('css', 'fill')
|
1324
|
+
.then(actualColor => {
|
1325
|
+
console.log(`Selected color: ${actualColor}`);
|
1326
|
+
console.log(`Expected color: ${color}`);
|
1327
|
+
expect(steps.colorsAreClose(actualColor, color, 2)).to.be.true;
|
1328
|
+
});
|
1329
|
+
});
|
1316
1330
|
});
|
1317
1331
|
},
|
1318
1332
|
|
@@ -1327,9 +1341,16 @@ const steps = {
|
|
1327
1341
|
imageHighlightPage.specifyCorrectAnswerSectionCustomizedPolygon()
|
1328
1342
|
.eq(index)
|
1329
1343
|
.within(() => {
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1344
|
+
imageHighlightPage.specifyCorrectAnswerDiamondPattern()
|
1345
|
+
.then(($element) => {
|
1346
|
+
cy.wrap($element)
|
1347
|
+
.invoke('css', 'fill')
|
1348
|
+
.then(actualColor => {
|
1349
|
+
expect(steps.colorsAreClose(actualColor, color, 2)).to.be.true;
|
1350
|
+
console.log(`Selected color: ${actualColor}`);
|
1351
|
+
console.log(`Expected color: ${color}`);
|
1352
|
+
});
|
1353
|
+
});
|
1333
1354
|
});
|
1334
1355
|
});
|
1335
1356
|
},
|
@@ -1343,9 +1364,38 @@ const steps = {
|
|
1343
1364
|
imageHighlightPage.specifyCorrectAnswerSectionHighlight()
|
1344
1365
|
.eq(index)
|
1345
1366
|
.within(() => {
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1367
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlightPolygon()
|
1368
|
+
.then(($element) => {
|
1369
|
+
cy.wrap($element)
|
1370
|
+
.invoke('css', 'stroke')
|
1371
|
+
.then(actualColor => {
|
1372
|
+
expect(steps.colorsAreClose(actualColor, color, 2)).to.be.true;
|
1373
|
+
console.log(`Selected color: ${actualColor}`);
|
1374
|
+
console.log(`Expected color: ${color}`);
|
1375
|
+
});
|
1376
|
+
});
|
1377
|
+
});
|
1378
|
+
},
|
1379
|
+
|
1380
|
+
/**
|
1381
|
+
* @param {number} index index of highlight region
|
1382
|
+
* @param {string} colorWithOpacity color to be checked in rgba format
|
1383
|
+
* @description this function verifiies the border color of highlight regions in specify correct answer section.
|
1384
|
+
*/
|
1385
|
+
verifyEditedBorderOpacityInSpecifyCorrectAnswerSection: (index, colorWithOpacity) => {
|
1386
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlight()
|
1387
|
+
.eq(index)
|
1388
|
+
.within(() => {
|
1389
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlightPolygon()
|
1390
|
+
.then(($element) => {
|
1391
|
+
cy.wrap($element)
|
1392
|
+
.invoke('css', 'stroke')
|
1393
|
+
.then(actualColor => {
|
1394
|
+
expect(steps.colorsAreClose(actualColor, colorWithOpacity, 2)).to.be.true;
|
1395
|
+
console.log(`Selected color: ${actualColor}`);
|
1396
|
+
console.log(`Expected color: ${colorWithOpacity}`);
|
1397
|
+
});
|
1398
|
+
});
|
1349
1399
|
});
|
1350
1400
|
},
|
1351
1401
|
|
@@ -1360,9 +1410,41 @@ const steps = {
|
|
1360
1410
|
imageHighlightPage.previewSectionHighlight()
|
1361
1411
|
.eq(index)
|
1362
1412
|
.within(() => {
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1413
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlightPolygon()
|
1414
|
+
.then(($element) => {
|
1415
|
+
cy.wrap($element)
|
1416
|
+
.invoke('css', 'stroke')
|
1417
|
+
.then(actualColor => {
|
1418
|
+
expect(steps.colorsAreClose(actualColor, color, 2)).to.be.true;
|
1419
|
+
console.log(`Selected color: ${actualColor}`);
|
1420
|
+
console.log(`Expected color: ${color}`);
|
1421
|
+
});
|
1422
|
+
});
|
1423
|
+
});
|
1424
|
+
})
|
1425
|
+
},
|
1426
|
+
|
1427
|
+
/**
|
1428
|
+
* @param {number} index index of highlight region
|
1429
|
+
* @param {string} colorWithOpacity color to be checked in rgba format
|
1430
|
+
* @description this function verifies the border color of highlight regions in preview tab.
|
1431
|
+
*/
|
1432
|
+
verifyEditedBorderOpacityInPreviewtabSection: (index, colorWithOpacity) => {
|
1433
|
+
imageHighlightPage.previewTabQuestionWrapper()
|
1434
|
+
.within(() => {
|
1435
|
+
imageHighlightPage.previewSectionHighlight()
|
1436
|
+
.eq(index)
|
1437
|
+
.within(() => {
|
1438
|
+
imageHighlightPage.specifyCorrectAnswerSectionHighlightPolygon()
|
1439
|
+
.then(($element) => {
|
1440
|
+
cy.wrap($element)
|
1441
|
+
.invoke('css', 'stroke')
|
1442
|
+
.then(actualColor => {
|
1443
|
+
expect(steps.colorsAreClose(actualColor, colorWithOpacity, 2)).to.be.true;
|
1444
|
+
console.log(`Selected color: ${actualColor}`);
|
1445
|
+
console.log(`Expected color: ${colorWithOpacity}`);
|
1446
|
+
});
|
1447
|
+
});
|
1366
1448
|
});
|
1367
1449
|
});
|
1368
1450
|
},
|
@@ -1536,6 +1618,24 @@ const steps = {
|
|
1536
1618
|
imageHighlightPage.correctAnswerSection()
|
1537
1619
|
.should('not.exist');
|
1538
1620
|
},
|
1621
|
+
|
1622
|
+
/**
|
1623
|
+
*
|
1624
|
+
* @param {string} actual color
|
1625
|
+
* @param {string} expected color
|
1626
|
+
* @param {string} tolerance allowed difference in RGB values
|
1627
|
+
* @returns
|
1628
|
+
*/
|
1629
|
+
colorsAreClose: (actual, expected, tolerance = 2) => {
|
1630
|
+
const extract = str => str.match(/\d+/g).map(Number);
|
1631
|
+
const [ar, ag, ab] = extract(actual);
|
1632
|
+
const [er, eg, eb] = extract(expected);
|
1633
|
+
return (
|
1634
|
+
Math.abs(ar - er) <= tolerance &&
|
1635
|
+
Math.abs(ag - eg) <= tolerance &&
|
1636
|
+
Math.abs(ab - eb) <= tolerance
|
1637
|
+
);
|
1638
|
+
}
|
1539
1639
|
}
|
1540
1640
|
|
1541
1641
|
const tests = {
|
package/cypress/pages/index.js
CHANGED
@@ -40,6 +40,7 @@ const selectors = {
|
|
40
40
|
questionDropdownBorderPreviewTab: () => cy.get('[class*="ListOrderingResponsestyles__DroppableDiv"]'),
|
41
41
|
//grading view and correct answer view
|
42
42
|
optionGradingView: () => cy.get('[class*="DraggableItemsWrapper"] [class*="OptionTextWrapper"]'),
|
43
|
+
correctIncorrectStatusMessageText: () => cy.get('[class*="AnswerStatusText"]'),
|
43
44
|
optionWrapperGradingView: () => cy.get('[class*="DraggableItemsWrapper"] [class*="OptionsWrapper"]'),
|
44
45
|
//Orientation and layout
|
45
46
|
orderingLayoutLabel: () => cy.get('.list-ordering-order-layout .options-label'),
|
@@ -105,6 +106,7 @@ const selectors = {
|
|
105
106
|
optionOrientationSeparateList: () => cy.get('[class*="ClozeWithDragAndDropstyles__DraggableItemsGrid"]'),
|
106
107
|
specifyCorrectAnswerSectionMyListLabel: () => cy.get('[class*="ReorderAsSeparatestyles__TitleContainer"]'),
|
107
108
|
outerBorderPreviewSeparateList: () => cy.get('[class*="ReorderAsSeparatestyles__ReorderSeparateWrapper"]'),
|
109
|
+
emptyDropzoneList: () => cy.get('[class*="ClozeWithDragAndDropstyles__PlaceHolderDiv"]:not(:has(*))'),
|
108
110
|
|
109
111
|
//Style and layout
|
110
112
|
optionsLabel: () => cy.get('.draggable-options-label'),
|
@@ -253,7 +255,7 @@ const steps = {
|
|
253
255
|
break;
|
254
256
|
case 'none':
|
255
257
|
dragIcon
|
256
|
-
.should('not.
|
258
|
+
.should('not.exist');
|
257
259
|
break;
|
258
260
|
default:
|
259
261
|
throw new Error('Invalid drag handle option');
|
@@ -753,6 +755,7 @@ const steps = {
|
|
753
755
|
///Dropdown menu steps
|
754
756
|
expandDropdownMenuOptionsDropdown: () => {
|
755
757
|
listOrderingPage.dropdownMenuOptionsDropdown()
|
758
|
+
.trigger('mouseover')
|
756
759
|
.click();
|
757
760
|
},
|
758
761
|
|
@@ -771,6 +774,7 @@ const steps = {
|
|
771
774
|
*/
|
772
775
|
expandPositionDropdownSpecifyCorrectAnswerSection: (dropdownIndex) => {
|
773
776
|
utilities.getNthElement(listOrderingPage.positionDropdownSpecifyCorrectAnswerSection(), dropdownIndex)
|
777
|
+
.trigger('mouseover')
|
774
778
|
.click();
|
775
779
|
},
|
776
780
|
|
@@ -782,6 +786,7 @@ const steps = {
|
|
782
786
|
selectOptionPositionSpecifyCorrectAnswerSection: (optionIndex, position) => {
|
783
787
|
steps.expandPositionDropdownSpecifyCorrectAnswerSection(optionIndex);
|
784
788
|
listOrderingPage.positionDropdownListOption(position)
|
789
|
+
.trigger('mouseover')
|
785
790
|
.click();
|
786
791
|
},
|
787
792
|
|
@@ -803,6 +808,7 @@ const steps = {
|
|
803
808
|
*/
|
804
809
|
expandPositionDropdownPreviewTab: (dropdownIndex) => {
|
805
810
|
utilities.getNthElement(listOrderingPage.positionDropdownPreviewTab(), dropdownIndex)
|
811
|
+
.trigger('mouseover')
|
806
812
|
.click();
|
807
813
|
},
|
808
814
|
|
@@ -824,6 +830,7 @@ const steps = {
|
|
824
830
|
selectOptionPositionPreviewTab: (optionIndex, position) => {
|
825
831
|
steps.expandPositionDropdownPreviewTab(optionIndex);
|
826
832
|
listOrderingPage.positionDropdownListOption(position)
|
833
|
+
.trigger('mouseover')
|
827
834
|
.click();
|
828
835
|
},
|
829
836
|
|
@@ -1488,6 +1495,14 @@ const steps = {
|
|
1488
1495
|
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.dropzoneSeperateList().find('[class*="MultipleDroppedItemstyles__FlexWrapper"]'), index), option);
|
1489
1496
|
});
|
1490
1497
|
},
|
1498
|
+
/**
|
1499
|
+
* Verifies the number of options in the dropzone of order as separate list.
|
1500
|
+
* @param {number} expectedCount - The expected number of options in the dropzone.
|
1501
|
+
*/
|
1502
|
+
verifyNumberOfOptionsInDropzoneOrderAsSeperateList: (expectedCount) => {
|
1503
|
+
listOrderingPage.dropzoneSeperateList().find('[class*="MultipleDroppedItemstyles__FlexWrapper"]')
|
1504
|
+
.should('have.length', expectedCount);
|
1505
|
+
},
|
1491
1506
|
|
1492
1507
|
/**
|
1493
1508
|
* Verifies the order of options in seperate list.
|
@@ -1532,6 +1547,15 @@ const steps = {
|
|
1532
1547
|
.click();
|
1533
1548
|
},
|
1534
1549
|
|
1550
|
+
clickAndResetDropOptionSeperateList: (optionsText) => {
|
1551
|
+
listOrderingPage.dropzoneSeperateList()
|
1552
|
+
.contains(optionsText)
|
1553
|
+
.click();
|
1554
|
+
listOrderingPage.emptyDropzoneList()
|
1555
|
+
.first()
|
1556
|
+
.click();
|
1557
|
+
},
|
1558
|
+
|
1535
1559
|
clickAndUnDropOptionSeperateList: (optionsText) => {
|
1536
1560
|
listOrderingPage.dropzoneSeperateList()
|
1537
1561
|
.contains(optionsText)
|
@@ -1761,7 +1785,27 @@ const steps = {
|
|
1761
1785
|
optionsTextArray.forEach((option, optionIndex) => {
|
1762
1786
|
utilities.verifyTextContent(utilities.getNthElement(listOrderingPage.optionsInputFieldInQuestionPreviewTab(), optionIndex * 2), option);
|
1763
1787
|
});
|
1764
|
-
}
|
1788
|
+
},
|
1789
|
+
|
1790
|
+
verifyAnswerStatusBannerNotExist: () => {
|
1791
|
+
listOrderingPage.correctIncorrectStatusMessageText()
|
1792
|
+
.should('not.exist');
|
1793
|
+
},
|
1794
|
+
|
1795
|
+
verifyAnswerStatusBannerExist: () => {
|
1796
|
+
listOrderingPage.correctIncorrectStatusMessageText()
|
1797
|
+
.should('be.visible');
|
1798
|
+
},
|
1799
|
+
|
1800
|
+
verifyCorrectAnswerSectionExist: () => {
|
1801
|
+
listOrderingPage.correctAnswersLabel()
|
1802
|
+
.should('be.visible');
|
1803
|
+
},
|
1804
|
+
|
1805
|
+
verifyCorrectAnswerSectionNotExist: () => {
|
1806
|
+
listOrderingPage.correctAnswersLabel()
|
1807
|
+
.should('not.exist');
|
1808
|
+
},
|
1765
1809
|
}
|
1766
1810
|
|
1767
1811
|
const tests = {
|
@@ -194,6 +194,7 @@ const selectors = {
|
|
194
194
|
connectorLineTypeLabel: () => cy.get('[class*="__SubSectionLabel"]').eq(2),
|
195
195
|
connectorLine: () => cy.get('[class*="ClozeWithDragAndDropstyles__ShowIconWrapper"]:visible'),
|
196
196
|
optionsInputFieldInQuestionPreviewTab: () => cy.get('.draggable-selected-item'),
|
197
|
+
correctAnswerSection: () => cy.get('[class*=CorrectAnswerWrapperDND]'),
|
197
198
|
}
|
198
199
|
|
199
200
|
const steps = {
|
@@ -1593,17 +1594,17 @@ const steps = {
|
|
1593
1594
|
|
1594
1595
|
verifyWarningIconOnRequiredFields: (requiredFieldsArray) => {
|
1595
1596
|
requiredFieldsArray.forEach((field) => {
|
1596
|
-
if (field === 'Please set points') {
|
1597
|
+
if (field === 'Please set points.') {
|
1597
1598
|
scoringSectionBaseEditTab.pointsWrapper()
|
1598
1599
|
.within(() => {
|
1599
1600
|
utilities.verifyElementVisibilityState(commonComponents.warningIcon(), 'exist');
|
1600
1601
|
});
|
1601
|
-
} else if (field === 'Please enter all option values') {
|
1602
|
+
} else if (field === 'Please enter all option values.') {
|
1602
1603
|
matchingPage.optionsLabel()
|
1603
1604
|
.within(() => {
|
1604
1605
|
utilities.verifyElementVisibilityState(commonComponents.warningIcon(), 'exist');
|
1605
1606
|
});
|
1606
|
-
} else if (field === 'Please enter all prompts') {
|
1607
|
+
} else if (field === 'Please enter all prompts.') {
|
1607
1608
|
matchingPage.promptLabel()
|
1608
1609
|
.within(() => {
|
1609
1610
|
utilities.verifyElementVisibilityState(commonComponents.warningIcon(), 'exist');
|
@@ -2648,7 +2649,27 @@ const steps = {
|
|
2648
2649
|
optionsTextArray.forEach((option, optionIndex) => {
|
2649
2650
|
utilities.verifyTextContent(utilities.getNthElement(matchingPage.optionsInputFieldInQuestionPreviewTab(), optionIndex), option);
|
2650
2651
|
});
|
2651
|
-
}
|
2652
|
+
},
|
2653
|
+
|
2654
|
+
verifyAnswerStatusBannerNotExist: () => {
|
2655
|
+
matchingPage.correctIncorrectAnswerLabel()
|
2656
|
+
.should('not.exist');
|
2657
|
+
},
|
2658
|
+
|
2659
|
+
verifyAnswerStatusBannerExist: () => {
|
2660
|
+
matchingPage.correctIncorrectAnswerLabel()
|
2661
|
+
.should('be.visible');
|
2662
|
+
},
|
2663
|
+
|
2664
|
+
verifyCorrectAnswerSectionExist: () => {
|
2665
|
+
matchingPage.correctAnswerSection()
|
2666
|
+
.should('be.visible');
|
2667
|
+
},
|
2668
|
+
|
2669
|
+
verifyCorrectAnswerSectionNotExist: () => {
|
2670
|
+
matchingPage.correctAnswerSection()
|
2671
|
+
.should('not.exist');
|
2672
|
+
},
|
2652
2673
|
}
|
2653
2674
|
|
2654
2675
|
const tests = {
|
@@ -2760,7 +2781,7 @@ const tests = {
|
|
2760
2781
|
.eq(inputFieldIndex)
|
2761
2782
|
.click()
|
2762
2783
|
.blur();
|
2763
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
2784
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
|
2764
2785
|
});
|
2765
2786
|
|
2766
2787
|
it('User should be able to enter text in options input field', () => {
|
@@ -3061,14 +3082,13 @@ const tests = {
|
|
3061
3082
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Petals', dropzoneIndex: 0 }]);
|
3062
3083
|
});
|
3063
3084
|
|
3064
|
-
it(`When the user has removed all the options from the dropzone in the ${accordionName} accordion,
|
3085
|
+
it(`When the user has removed all the options from the dropzone in the ${accordionName} accordion, should not be thrown any error in '${accordionName}' accordion`, () => {
|
3065
3086
|
matchingPage.steps.clickAndDropOptionInOptionsContainerInSpecifyCorrectAnswerSection('Petals');
|
3066
|
-
|
3067
|
-
utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
|
3087
|
+
commonComponents.steps.verifyErrorMessageIsNotDisplayed();
|
3068
3088
|
if (accordionName == 'Correct') {
|
3069
3089
|
autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
|
3070
3090
|
.within(() => {
|
3071
|
-
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), '
|
3091
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
|
3072
3092
|
});
|
3073
3093
|
} else {
|
3074
3094
|
autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
|
@@ -3078,7 +3098,6 @@ const tests = {
|
|
3078
3098
|
};
|
3079
3099
|
});
|
3080
3100
|
|
3081
|
-
autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredCorrectAnswerErrorMessageCSSAndA11y();
|
3082
3101
|
|
3083
3102
|
it('CSS of the dropzone border', { tags: 'css' }, () => {
|
3084
3103
|
utilities.verifyCSS(matchingPage.dropzoneSpecifyCorrectAnswerSection().eq(0), {
|
@@ -36,6 +36,7 @@ const selectors = {
|
|
36
36
|
draggableLabelsPreviewTab: () => cy.get('[class*="question-preview-wrapper"] .label-tool'),
|
37
37
|
labelContainerPreviewTab: () => cy.get('[class*="question-preview-wrapper"] .items-container'),
|
38
38
|
numberLinePointPreviewTab: () => cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox').eq(0).find('svg ellipse[display="inline"]:visible'),
|
39
|
+
correctIncorrectStatusMessageText: () => cy.get('[class*="NumberLinestyles__CorrectIncorrectWrapper"]'),
|
39
40
|
|
40
41
|
//Correct answer section
|
41
42
|
numberLineCorrectAnswerSection: () => cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox svg').eq(2),
|
@@ -296,6 +297,17 @@ const steps = {
|
|
296
297
|
numberLineLabelPage.labelContainerSpecifyCorrectAnswer()
|
297
298
|
.click({ force: true });
|
298
299
|
},
|
300
|
+
/**
|
301
|
+
* This function clicks and drops the label back in the container for previewTab
|
302
|
+
* @param {string} label to be clicked and dropped
|
303
|
+
*/
|
304
|
+
clickAndDropLabelInContainerPreviewTab: (label) => {
|
305
|
+
numberLineLabelPage.draggableLabelsPreviewTab()
|
306
|
+
.contains(label)
|
307
|
+
.click();
|
308
|
+
numberLineLabelPage.labelContainerPreviewTab()
|
309
|
+
.click({ force: true });
|
310
|
+
},
|
299
311
|
|
300
312
|
/**
|
301
313
|
* This function verifies plotted points on the number line on the Edit tab.
|
@@ -641,6 +653,20 @@ const steps = {
|
|
641
653
|
utilities.verifyElementVisibilityState(numberLineLabelPage.numberLineCorrectAnswerSection(), 'notExist');
|
642
654
|
},
|
643
655
|
|
656
|
+
verifyCorrectAnswerSectionExist: () => {
|
657
|
+
utilities.verifyElementVisibilityState(numberLineLabelPage.numberLineCorrectAnswerSection(), 'exist');
|
658
|
+
},
|
659
|
+
|
660
|
+
verifyAnswerStatusBannerNotExist: () => {
|
661
|
+
numberLineLabelPage.correctIncorrectStatusMessageText()
|
662
|
+
.should('not.exist');
|
663
|
+
},
|
664
|
+
|
665
|
+
verifyAnswerStatusBannerExist: () => {
|
666
|
+
numberLineLabelPage.correctIncorrectStatusMessageText()
|
667
|
+
.should('be.visible');
|
668
|
+
},
|
669
|
+
|
644
670
|
/**
|
645
671
|
* @param {number} points - The points to be allotted.
|
646
672
|
* @description - Allots points in the scoring section.
|
@@ -1024,26 +1050,23 @@ const tests = {
|
|
1024
1050
|
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [9]);
|
1025
1051
|
});
|
1026
1052
|
|
1027
|
-
it(`When the user resets the number line in the ${accordionName} accordion, error message should not be thrown
|
1053
|
+
it(`When the user resets the number line in the ${accordionName} accordion, error message should not be thrown`, () => {
|
1028
1054
|
numberLineLabelPage.steps.clickAndDropLabelInContainerSpecifyCorrectAnswer('Label 2');
|
1029
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
1030
|
-
utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
|
1055
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
|
1031
1056
|
if (accordionName == 'Correct') {
|
1032
1057
|
autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
|
1033
1058
|
.within(() => {
|
1034
|
-
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), '
|
1059
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
|
1035
1060
|
});
|
1036
1061
|
} else {
|
1037
1062
|
autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
|
1038
1063
|
.within(() => {
|
1039
|
-
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), '
|
1064
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
|
1040
1065
|
});
|
1041
1066
|
};
|
1042
1067
|
});
|
1043
1068
|
|
1044
|
-
|
1045
|
-
|
1046
|
-
it('When the user plots on the number line then the error message should disappear', () => {
|
1069
|
+
it('User should be able to attempt the labels on the number line', () => {
|
1047
1070
|
numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 2', 'horizontal', range, 9);
|
1048
1071
|
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [9]);
|
1049
1072
|
});
|
@@ -56,6 +56,7 @@ const selectors = {
|
|
56
56
|
return cy.get('[class*="question-preview-wrapper"] [class*="ControlsWrapper"] button')
|
57
57
|
}
|
58
58
|
},
|
59
|
+
correctIncorrectStatusMessageText: () => cy.get('[class*="NumberLinestyles__CorrectIncorrectWrapper"]'),
|
59
60
|
|
60
61
|
//Correct answer section
|
61
62
|
numberLineCorrectAnswerSection: () => cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox svg:visible').eq(1),
|
@@ -758,6 +759,20 @@ const steps = {
|
|
758
759
|
utilities.verifyElementVisibilityState(numberLinePage.numberLineCorrectAnswerSection(), 'notExist');
|
759
760
|
},
|
760
761
|
|
762
|
+
verifyCorrectAnswerSectionExist: () => {
|
763
|
+
utilities.verifyElementVisibilityState(numberLinePage.numberLineCorrectAnswerSection(), 'exist');
|
764
|
+
},
|
765
|
+
|
766
|
+
verifyAnswerStatusBannerNotExist: () => {
|
767
|
+
numberLinePage.correctIncorrectStatusMessageText()
|
768
|
+
.should('not.exist');
|
769
|
+
},
|
770
|
+
|
771
|
+
verifyAnswerStatusBannerExist: () => {
|
772
|
+
numberLinePage.correctIncorrectStatusMessageText()
|
773
|
+
.should('be.visible');
|
774
|
+
},
|
775
|
+
|
761
776
|
/**
|
762
777
|
* @param {("correct" | "incorrect")} answerStatus - The status of the answer.
|
763
778
|
* @description Verifies the visibility and content of the correct/incorrect answer label block.
|
@@ -1451,26 +1466,23 @@ const tests = {
|
|
1451
1466
|
numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [0, 1]);
|
1452
1467
|
});
|
1453
1468
|
|
1454
|
-
it(`When the user resets the number line in the ${accordionName} accordion,
|
1469
|
+
it(`When the user resets the number line in the ${accordionName} accordion, error message should not be thrown`, () => {
|
1455
1470
|
numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Reset');
|
1456
1471
|
numberLinePage.steps.confirmReset();
|
1457
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
1458
|
-
utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
|
1472
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
|
1459
1473
|
if (accordionName == 'Correct') {
|
1460
1474
|
autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
|
1461
1475
|
.within(() => {
|
1462
|
-
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), '
|
1476
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
|
1463
1477
|
});
|
1464
1478
|
} else {
|
1465
1479
|
autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
|
1466
1480
|
.within(() => {
|
1467
|
-
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), '
|
1481
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
|
1468
1482
|
});
|
1469
1483
|
};
|
1470
1484
|
});
|
1471
1485
|
|
1472
|
-
autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredCorrectAnswerErrorMessageCSSAndA11y();
|
1473
|
-
|
1474
1486
|
it('When the user plots on the number line then the error message should disappear', () => {
|
1475
1487
|
numberLinePage.steps.plotPointOnNumberLineSpecifyCorrectAnswer("horizontal", range, 0);
|
1476
1488
|
numberLinePage.steps.plotPointOnNumberLineSpecifyCorrectAnswer("horizontal", range, 1);
|
@@ -704,7 +704,36 @@ const steps = {
|
|
704
704
|
optionsTextArray.forEach((option, optionIndex) => {
|
705
705
|
utilities.verifyTextContent(utilities.getNthElement(singleSelectionPage.optionsInputFieldInQuestionPreviewTab(), optionIndex), option);
|
706
706
|
});
|
707
|
-
}
|
707
|
+
},
|
708
|
+
|
709
|
+
/**
|
710
|
+
* @description. Checks the options checkbox in the 'Specify correct answer' section for single selection questions.
|
711
|
+
* @param {number} optionIndex - The index of the option checkbox to be checked.
|
712
|
+
* @throws {Error} Will throw an error if the checkbox is not checked after the operation.
|
713
|
+
* @example - checkOptionsCheckboxInSpecifyCorrectAnswerSection(0);
|
714
|
+
*/
|
715
|
+
setCorrectAnswer: (optionIndex) => {
|
716
|
+
singleSelectionPage.optionWrapperCorrectAnswerSection()
|
717
|
+
.eq(optionIndex)
|
718
|
+
.click()
|
719
|
+
},
|
720
|
+
|
721
|
+
/**
|
722
|
+
* Creates a basic single selection question
|
723
|
+
* @param {Object} params - Parameters for the question.
|
724
|
+
* @param {string} params.questionInstruction - The question text.
|
725
|
+
* @param {Array<string>} params.options - The list of options.
|
726
|
+
* @param {number} params.points - The points allotted for the question.
|
727
|
+
* @param {number} params.correctAnswer - Index of the correct answer.
|
728
|
+
*/
|
729
|
+
createBasicSingleSelectionQuestion: ({questionInstruction, options, points, correctAnswer}) => {
|
730
|
+
cy.barsPreLoaderWait();
|
731
|
+
singleSelectionPage.steps.addTextInQuestionInstructionsInputField(questionInstruction);
|
732
|
+
singleSelectionPage.steps.addInputToOptionsInputField(options);
|
733
|
+
singleSelectionPage.steps.allotPoints(points);
|
734
|
+
singleSelectionPage.steps.setCorrectAnswer(correctAnswer);
|
735
|
+
singleSelectionPage.saveQuestionButton().click();
|
736
|
+
},
|
708
737
|
};
|
709
738
|
|
710
739
|
const tests = {
|
@@ -25,6 +25,7 @@ const selectors = {
|
|
25
25
|
...equationEditorSectionCommonComponent,
|
26
26
|
...styleAndLayoutCustomizationAccordionComponent,
|
27
27
|
...imageCanvasComponent,
|
28
|
+
...scoringSectionBaseEditTab,
|
28
29
|
addStructureTab: () => cy.get('[data-ngie-testid="add-structure-tab"]'),
|
29
30
|
responseToken: () => cy.get('.cke_button__addresponse'),
|
30
31
|
penaltyPointsForEachIncorrectOptionInputField: () => cy.get('input[aria-label="Penalty points for each incorrect text container"]'),
|
@@ -939,7 +940,8 @@ const steps = {
|
|
939
940
|
|
940
941
|
switchToGradingView: () => {
|
941
942
|
autoScoredScoringPreviewTab.gradingViewRadioButton()
|
942
|
-
.click()
|
943
|
+
.click({ force: true });
|
944
|
+
autoScoredScoringPreviewTab.gradingViewRadioButton()
|
943
945
|
.should('be.checked');
|
944
946
|
cy.wait(1500);
|
945
947
|
},
|
@@ -1385,6 +1387,26 @@ const steps = {
|
|
1385
1387
|
expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection: (index) => {
|
1386
1388
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(index);
|
1387
1389
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(index);
|
1390
|
+
},
|
1391
|
+
|
1392
|
+
verifyAnswerStatusBannerNotExist: () => {
|
1393
|
+
textEntryMathPage.correctIncorrectStatusMessageText()
|
1394
|
+
.should('not.exist');
|
1395
|
+
},
|
1396
|
+
|
1397
|
+
verifyAnswerStatusBannerExist: () => {
|
1398
|
+
textEntryMathPage.correctIncorrectStatusMessageText()
|
1399
|
+
.should('be.visible');
|
1400
|
+
},
|
1401
|
+
|
1402
|
+
verifyCorrectAnswerSectionExist: () => {
|
1403
|
+
textEntryMathPage.correctAnswersLabel()
|
1404
|
+
.should('be.visible');
|
1405
|
+
},
|
1406
|
+
|
1407
|
+
verifyCorrectAnswerSectionNotExist: () => {
|
1408
|
+
textEntryMathPage.correctAnswersLabel()
|
1409
|
+
.should('not.exist');
|
1388
1410
|
}
|
1389
1411
|
}
|
1390
1412
|
|
@@ -1402,6 +1424,7 @@ const tests = {
|
|
1402
1424
|
...additionalSettingsAccessibilitySectionComponent.tests,
|
1403
1425
|
...equationEditorSectionCommonComponent.tests,
|
1404
1426
|
...styleAndLayoutCustomizationAccordionComponent.tests,
|
1427
|
+
...createQuestionBasePage.tests,
|
1405
1428
|
/**
|
1406
1429
|
* Verifies the contents and functionality of the 'Specify correct answer' accordion for multiple selection questions.
|
1407
1430
|
* @param {{'Correct' | 'Alternative'}} accordionName - The name of the accordion to be used in the validation.
|
@@ -1424,25 +1447,21 @@ const tests = {
|
|
1424
1447
|
});
|
1425
1448
|
}
|
1426
1449
|
|
1427
|
-
it('When user focuses in and out of the response accordion \'Answer\' input field,
|
1450
|
+
it('When user focuses in and out of the response accordion \'Answer\' input field, error message should not be displayed', () => {
|
1428
1451
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
1429
1452
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
1430
1453
|
equationEditorFlyout.steps.focusInPreviewInputField();
|
1431
1454
|
equationEditorFlyout.steps.clickOnOkButton();
|
1432
1455
|
textEntryMathPage.steps.focusOutOfResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
1433
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
1434
|
-
utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Answer is required.');
|
1456
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
|
1435
1457
|
});
|
1436
1458
|
|
1437
|
-
it('When gives an input to \'Answer\' input field,then error message should
|
1459
|
+
it('When gives an input to \'Answer\' input field,then error message should not be displayed', () => {
|
1438
1460
|
textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, '(a+b)(a−b)');
|
1439
1461
|
commonComponents.steps.verifyErrorMessageIsNotDisplayed();
|
1440
1462
|
});
|
1441
1463
|
|
1442
1464
|
it('User should be able to expand multiple response accordions simultaneously', () => {
|
1443
|
-
if (accordionName === 'Alternate') {
|
1444
|
-
textEntryMathPage.steps.deleteAlternativeAnswerAccordion(0);
|
1445
|
-
}
|
1446
1465
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
1447
1466
|
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
1448
1467
|
textEntryMathPage.steps.verifyResponseAccordionIsExpanded(0);
|
@@ -1193,12 +1193,12 @@ const steps = {
|
|
1193
1193
|
|
1194
1194
|
verifyWarningIconOnRequiredFields: (requiredFieldsArray) => {
|
1195
1195
|
requiredFieldsArray.forEach((field) => {
|
1196
|
-
if (field === 'Please set points') {
|
1196
|
+
if (field === 'Please set points.') {
|
1197
1197
|
scoringSectionBaseEditTab.pointsWrapper()
|
1198
1198
|
.within(() => {
|
1199
1199
|
utilities.verifyElementVisibilityState(commonComponents.warningIcon(), 'exist');
|
1200
1200
|
});
|
1201
|
-
} else if (field === 'Please enter all option values') {
|
1201
|
+
} else if (field === 'Please enter all option values.') {
|
1202
1202
|
textSelectionPage.specifyPossibleOptionsLabel()
|
1203
1203
|
.parents('[class*="LabelAndWarningWrapper"]')
|
1204
1204
|
.within(() => {
|