itemengine-cypress-automation 1.0.389-graphAndCharts-04d27f6.0 → 1.0.390-IEI-6314-testScriptForTextEntryMathValidations-dcad527.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/BrowseItems/browseReviewItems.js +3 -3
- package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +3 -3
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +6 -6
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +6 -6
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +356 -0
- 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 +27 -27
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +37 -37
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +37 -37
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +37 -37
- 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/allOrNothingScoringForAllViews.smoke.js +287 -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 -26
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +47 -47
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +25 -25
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +25 -25
- 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/allOrNothingScoringForAllViews.smoke.js +247 -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/CkEditorEquationEditor/selectModeEditorBasic.js +4 -1
- package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -3
- package/cypress/e2e/ILC/CkEditorInsertImage/insertImageBasicFile.js +2 -0
- package/cypress/e2e/ILC/CkEditorInsertTable/tableDimension&FooterProperties.js +8 -8
- package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +11 -11
- package/cypress/e2e/ILC/CkEditorLink/linkPreview.js +2 -1
- 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 +3 -3
- 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/drawingResponseEditTabBasicSection.js +11 -3
- 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 +15 -16
- 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/editTabBasicSection.js +2 -2
- 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 +213 -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 +37 -4
- 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 +34 -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 +0 -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 -4
- 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 +4 -3
- 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/evaluationMethodMatchValue.smoke.js +310 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +205 -1
- 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/gradingViewPlanTabSection.js +334 -0
- package/cypress/e2e/ILC/ThinkSphere/gradingViewReviewTabSection.js +140 -0
- package/cypress/e2e/ILC/ThinkSphere/gradingViewSolveTabSection.js +65 -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 +102 -0
- package/cypress/e2e/ILC/ThinkSphere/previewTabSolveSection.js +41 -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 +146 -0
- package/cypress/e2e/ILC/ThinkSphere/studentViewSolveSection.js +53 -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/allOrNothingForAllViews.smoke.js +248 -0
- package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +27 -28
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +24 -24
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +39 -37
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +22 -23
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +25 -24
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +31 -31
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +18 -19
- package/cypress/e2e/ILC/chartsDotsPlot/specifyCorrectAnswerSection.js +96 -0
- package/cypress/e2e/Sessions/fetchResponses.js +3 -3
- package/cypress/e2e/Sessions/saveResponseScores.js +2 -2
- package/cypress/fixtures/thinkSphereWhiteboardTools.js +66 -0
- package/cypress/pages/audioPlayerPage.js +25 -0
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/chartsBarPage.js +45 -0
- package/cypress/pages/chartsDotPlotPage.js +25 -0
- package/cypress/pages/chartsLinePage.js +29 -2
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +5 -1
- package/cypress/pages/components/chartsCommonComponent.js +21 -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 +4 -4
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +31 -3
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +1 -1
- package/cypress/pages/components/gridQuestionCommonComponent.js +55 -2
- package/cypress/pages/components/imageCanvasComponent.js +11 -5
- package/cypress/pages/components/playbackControlsBaseComponent.js +6 -3
- package/cypress/pages/components/questionInstructionsComponent.js +2 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -0
- package/cypress/pages/components/specifyRowsAndColumnsComponent.js +16 -0
- package/cypress/pages/contentBlocksPage.js +2 -0
- package/cypress/pages/desmos3DGraphingPage.js +149 -4
- package/cypress/pages/desmosGeometryPage.js +184 -4
- package/cypress/pages/drawingResponsePage.js +9 -2
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -8
- package/cypress/pages/gradingGridViewPage.js +64 -0
- package/cypress/pages/graphingPage.js +28 -5
- package/cypress/pages/gridFillPage.js +24 -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 +26 -0
- package/cypress/pages/numberLinePage.js +15 -0
- package/cypress/pages/singleSelectionPage.js +30 -1
- package/cypress/pages/textEntryMathPage.js +29 -10
- package/cypress/pages/textSelectionPage.js +2 -2
- package/cypress/pages/thinkSpherePage.js +1118 -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
@@ -341,6 +341,269 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
341
341
|
});
|
342
342
|
});
|
343
343
|
|
344
|
+
views.forEach((view) => {
|
345
|
+
describe(`Text entry math: Manually scored - ${view}`, { tags: 'smoke' }, () => {
|
346
|
+
abortEarlySetup();
|
347
|
+
before(() => {
|
348
|
+
switch (view) {
|
349
|
+
case 'Question preview':
|
350
|
+
textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
|
351
|
+
cy.barsPreLoaderWait();
|
352
|
+
textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
|
353
|
+
textEntryMathPage.steps.addResponseArea();
|
354
|
+
textEntryMathPage.steps.addResponseArea();
|
355
|
+
textEntryMathPage.steps.addResponseArea();
|
356
|
+
textEntryMathPage.steps.expandAdditionalSettings();
|
357
|
+
textEntryMathPage.steps.selectModalVisibilityTypeButton();
|
358
|
+
textEntryMathPage.steps.expandScoringTypeDropdown();
|
359
|
+
textEntryMathPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
|
360
|
+
textEntryMathPage.steps.allotPoints(20);
|
361
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
362
|
+
break;
|
363
|
+
case 'Item preview':
|
364
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
365
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
366
|
+
break;
|
367
|
+
case 'Grading view':
|
368
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
369
|
+
break;
|
370
|
+
}
|
371
|
+
});
|
372
|
+
|
373
|
+
beforeEach(() => {
|
374
|
+
switch (view) {
|
375
|
+
case 'Question preview':
|
376
|
+
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
377
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
378
|
+
break;
|
379
|
+
case 'Item preview':
|
380
|
+
cy.get('body').then($body => {
|
381
|
+
if ($body.find('.preview-mode-wrapper input[aria-label="Student View"]').length) {
|
382
|
+
itemPreviewPage.steps.switchToStudentView();
|
383
|
+
}
|
384
|
+
});
|
385
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
386
|
+
break;
|
387
|
+
case 'Grading view':
|
388
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
389
|
+
break;
|
390
|
+
}
|
391
|
+
});
|
392
|
+
|
393
|
+
if (view === 'Question preview') {
|
394
|
+
after(() => {
|
395
|
+
textEntryMathPage.steps.clickOnSaveQuestionButton();
|
396
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
397
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
398
|
+
});
|
399
|
+
};
|
400
|
+
|
401
|
+
it('Question instructions should be visible', () => {
|
402
|
+
textEntryMathPage.steps.verifyQuestionInstructionsTextPreviewTab('Enter the correct answer in the response field');
|
403
|
+
textEntryMathPage.steps.verifyVisibityOfQuestionInstructionsText();
|
404
|
+
});
|
405
|
+
|
406
|
+
it('User should be able to attempt the question in student view, and correct/incorrect icons, "Your answer is correct/incorrect" label, and correct answer section should not be displayed in grading view', () => {
|
407
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
408
|
+
textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, 'Correct1');
|
409
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
410
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
411
|
+
equationEditorFlyout.steps.enterQuadraticEquation();
|
412
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
|
413
|
+
textEntryMathPage.steps.enterTextInPreviewInputFieldNew(2, '6*3.14');
|
414
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
415
|
+
if (view === 'Grading view') {
|
416
|
+
studentViewPage.steps.submitResponse();
|
417
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
418
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
419
|
+
gradingViewPage.steps.verifyGradingViewScore('', 20);
|
420
|
+
};
|
421
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
422
|
+
textEntryMathPage.steps.checkManuallyScoredScoringLabel();
|
423
|
+
};
|
424
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
425
|
+
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
426
|
+
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
427
|
+
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
428
|
+
textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
|
429
|
+
});
|
430
|
+
});
|
431
|
+
});
|
432
|
+
|
433
|
+
views.forEach((view) => {
|
434
|
+
describe(`Text entry math: Non scored - ${view}`, { tags: 'smoke' }, () => {
|
435
|
+
abortEarlySetup();
|
436
|
+
before(() => {
|
437
|
+
switch (view) {
|
438
|
+
case 'Question preview':
|
439
|
+
textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
|
440
|
+
cy.barsPreLoaderWait();
|
441
|
+
textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
|
442
|
+
textEntryMathPage.steps.addResponseArea();
|
443
|
+
textEntryMathPage.steps.addResponseArea();
|
444
|
+
textEntryMathPage.steps.addResponseArea();
|
445
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
446
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
447
|
+
equationEditorFlyout.steps.clearAll();
|
448
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
|
449
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
450
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
451
|
+
equationEditorFlyout.steps.enterQuadraticEquation();
|
452
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
453
|
+
equationEditorFlyout.steps.enterEquationUsingPiSymbol();
|
454
|
+
textEntryMathPage.steps.expandAdditionalSettings();
|
455
|
+
textEntryMathPage.steps.selectModalVisibilityTypeButton();
|
456
|
+
textEntryMathPage.steps.expandScoringTypeDropdown();
|
457
|
+
textEntryMathPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
458
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
459
|
+
break;
|
460
|
+
case 'Item preview':
|
461
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
462
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
463
|
+
break;
|
464
|
+
case 'Grading view':
|
465
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
466
|
+
break;
|
467
|
+
}
|
468
|
+
});
|
469
|
+
|
470
|
+
beforeEach(() => {
|
471
|
+
switch (view) {
|
472
|
+
case 'Question preview':
|
473
|
+
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
474
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
475
|
+
break;
|
476
|
+
case 'Item preview':
|
477
|
+
cy.get('body').then($body => {
|
478
|
+
if ($body.find('.preview-mode-wrapper input[aria-label="Student View"]').length) {
|
479
|
+
itemPreviewPage.steps.switchToStudentView();
|
480
|
+
}
|
481
|
+
});
|
482
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
483
|
+
break;
|
484
|
+
case 'Grading view':
|
485
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
486
|
+
break;
|
487
|
+
}
|
488
|
+
});
|
489
|
+
|
490
|
+
if (view === 'Question preview') {
|
491
|
+
after(() => {
|
492
|
+
textEntryMathPage.steps.clickOnSaveQuestionButton();
|
493
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
494
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
495
|
+
});
|
496
|
+
}
|
497
|
+
|
498
|
+
it('When the user selects "Grading" view without attempting the question, no correct/incorrect icons should be displayed, correct answers section should be displayed, and no correct/incorrect label should be shown', () => {
|
499
|
+
if (view === 'Grading view') {
|
500
|
+
studentViewPage.steps.submitResponse();
|
501
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
502
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
503
|
+
}
|
504
|
+
if (view === 'Item preview' || view === 'Question preview') {
|
505
|
+
textEntryMathPage.steps.switchToGradingView();
|
506
|
+
textEntryMathPage.steps.checkNonScoredScoringLabel();
|
507
|
+
}
|
508
|
+
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
509
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct1', '2x2y2+4xy+4', '6×π']);
|
510
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
|
511
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
|
512
|
+
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
513
|
+
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
514
|
+
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
515
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
516
|
+
});
|
517
|
+
|
518
|
+
it('When the user attempts the question incorrectly, no correct/incorrect icons should be displayed, correct answers section should be displayed, and no correct/incorrect label should be shown', () => {
|
519
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
520
|
+
textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, 'Incorrect answer 1');
|
521
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
522
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
523
|
+
textEntryMathPage.steps.enterTextInPreviewInputFieldNew(1, 'Incorrect answer 2');
|
524
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
525
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
|
526
|
+
textEntryMathPage.steps.enterTextInPreviewInputFieldNew(2, 'Incorrect answer 3');
|
527
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
528
|
+
if (view === 'Grading view') {
|
529
|
+
studentViewPage.steps.submitResponse();
|
530
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
531
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
532
|
+
}
|
533
|
+
if (view === 'Item preview' || view === 'Question preview') {
|
534
|
+
textEntryMathPage.steps.switchToGradingView();
|
535
|
+
textEntryMathPage.steps.checkNonScoredScoringLabel();
|
536
|
+
}
|
537
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
538
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
539
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
540
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
541
|
+
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
542
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct1', '2x2y2+4xy+4', '6×π']);
|
543
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
|
544
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
|
545
|
+
});
|
546
|
+
|
547
|
+
it('When the user attempts the question partially correct, no correct/incorrect icons should be displayed, correct answers section should be displayed, and no correct/incorrect label should be shown', () => {
|
548
|
+
if (view === 'Grading view') {
|
549
|
+
studentViewPage.steps.clearResponses();
|
550
|
+
}
|
551
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
552
|
+
textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, 'Correct1');
|
553
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
554
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
555
|
+
equationEditorFlyout.steps.enterQuadraticEquation();
|
556
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
|
557
|
+
textEntryMathPage.steps.enterTextInPreviewInputFieldNew(2, '6*3.14');
|
558
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
559
|
+
if (view === 'Grading view') {
|
560
|
+
studentViewPage.steps.submitResponse();
|
561
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'exist');
|
562
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
563
|
+
}
|
564
|
+
if (view === 'Item preview' || view === 'Question preview') {
|
565
|
+
textEntryMathPage.steps.switchToGradingView();
|
566
|
+
textEntryMathPage.steps.checkNonScoredScoringLabel();
|
567
|
+
}
|
568
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
|
569
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
570
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
571
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
572
|
+
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
573
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct1', '2x2y2+4xy+4', '6×π']);
|
574
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
|
575
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
|
576
|
+
});
|
577
|
+
|
578
|
+
it('When the user attempts the question correctly, no correct/incorrect icons should be displayed, correct answers section should not be displayed, and no correct/incorrect label should be shown', () => {
|
579
|
+
if (view === 'Grading view') {
|
580
|
+
studentViewPage.steps.clearResponses();
|
581
|
+
}
|
582
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
583
|
+
textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, 'Correct1');
|
584
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
585
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
586
|
+
equationEditorFlyout.steps.enterQuadraticEquation();
|
587
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
|
588
|
+
equationEditorFlyout.steps.enterEquationUsingPiSymbol();
|
589
|
+
if (view === 'Grading view') {
|
590
|
+
studentViewPage.steps.submitResponse();
|
591
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
592
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
593
|
+
}
|
594
|
+
if (view === 'Item preview' || view === 'Question preview') {
|
595
|
+
textEntryMathPage.steps.switchToGradingView();
|
596
|
+
textEntryMathPage.steps.checkNonScoredScoringLabel();
|
597
|
+
}
|
598
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
|
599
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
600
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
601
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
602
|
+
textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
|
603
|
+
});
|
604
|
+
});
|
605
|
+
});
|
606
|
+
|
344
607
|
if (!grepTags || !grepTags.includes('smoke')) {
|
345
608
|
describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
|
346
609
|
abortEarlySetup();
|
@@ -19,6 +19,8 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
19
19
|
switch (view) {
|
20
20
|
case 'Question preview':
|
21
21
|
textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
|
22
|
+
cy.barsPreLoaderWait();
|
23
|
+
textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
|
22
24
|
textEntryMathPage.steps.addResponseArea();
|
23
25
|
textEntryMathPage.steps.addResponseArea();
|
24
26
|
textEntryMathPage.steps.addResponseArea();
|
@@ -263,4 +265,221 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
263
265
|
});
|
264
266
|
});
|
265
267
|
});
|
268
|
+
|
269
|
+
views.forEach((view) => {
|
270
|
+
describe(`Text entry math: Non scored - ${view}`, { tags: 'smoke' }, () => {
|
271
|
+
abortEarlySetup();
|
272
|
+
before(() => {
|
273
|
+
switch (view) {
|
274
|
+
case 'Question preview':
|
275
|
+
textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
|
276
|
+
cy.barsPreLoaderWait();
|
277
|
+
textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
|
278
|
+
textEntryMathPage.steps.addResponseArea();
|
279
|
+
textEntryMathPage.steps.addResponseArea();
|
280
|
+
textEntryMathPage.steps.addResponseArea();
|
281
|
+
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
282
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
283
|
+
equationEditorFlyout.steps.clearAll();
|
284
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
|
285
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
286
|
+
textEntryMathPage.steps.expandLayoutAccordion();
|
287
|
+
textEntryMathPage.steps.focusInLayoutInputField(0);
|
288
|
+
textEntryMathPage.steps.addResponseContainer();
|
289
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
290
|
+
textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(0);
|
291
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
292
|
+
equationEditorFlyout.steps.enterQuadraticEquation();
|
293
|
+
textEntryMathPage.steps.expandLayoutAccordion();
|
294
|
+
textEntryMathPage.steps.focusInLayoutInputField(1);
|
295
|
+
textEntryMathPage.steps.addResponseContainer();
|
296
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }]);
|
297
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['add'] }]);
|
298
|
+
textEntryMathPage.steps.addResponseContainer();
|
299
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'y'] }]);
|
300
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['add'] }]);
|
301
|
+
textEntryMathPage.steps.addResponseContainer();
|
302
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
303
|
+
textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(1);
|
304
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
305
|
+
equationEditorFlyout.steps.enterEquationUsingPiSymbol();
|
306
|
+
textEntryMathPage.steps.expandLayoutAccordion();
|
307
|
+
textEntryMathPage.steps.focusInLayoutInputField(2);
|
308
|
+
textEntryMathPage.steps.addResponseContainer();
|
309
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['multiply'] }, { categoryName: 'intermediate', symbolName: ['pi'] }]);
|
310
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
311
|
+
textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(2);
|
312
|
+
textEntryMathPage.steps.expandAdditionalSettings();
|
313
|
+
textEntryMathPage.steps.selectModalVisibilityTypeButton();
|
314
|
+
textEntryMathPage.steps.expandScoringTypeDropdown();
|
315
|
+
textEntryMathPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
316
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
317
|
+
break;
|
318
|
+
case 'Item preview':
|
319
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
320
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
321
|
+
break;
|
322
|
+
case 'Grading view':
|
323
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
324
|
+
break;
|
325
|
+
}
|
326
|
+
});
|
327
|
+
|
328
|
+
beforeEach(() => {
|
329
|
+
switch (view) {
|
330
|
+
case 'Question preview':
|
331
|
+
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
332
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
333
|
+
break;
|
334
|
+
case 'Item preview':
|
335
|
+
cy.get('body').then($body => {
|
336
|
+
if ($body.find('.preview-mode-wrapper input[aria-label="Student View"]').length) {
|
337
|
+
itemPreviewPage.steps.switchToStudentView();
|
338
|
+
}
|
339
|
+
});
|
340
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
341
|
+
break;
|
342
|
+
case 'Grading view':
|
343
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
344
|
+
break;
|
345
|
+
}
|
346
|
+
});
|
347
|
+
|
348
|
+
if (view === 'Question preview') {
|
349
|
+
after(() => {
|
350
|
+
textEntryMathPage.steps.clickOnSaveQuestionButton();
|
351
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
352
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
353
|
+
});
|
354
|
+
}
|
355
|
+
|
356
|
+
it('When the user selects "Grading" view without attempting the question, no correct/incorrect icons should be displayed, correct answers section should be displayed, and no correct/incorrect label should be shown', () => {
|
357
|
+
if (view === 'Grading view') {
|
358
|
+
studentViewPage.steps.submitResponse();
|
359
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
360
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
361
|
+
}
|
362
|
+
if (view === 'Item preview' || view === 'Question preview') {
|
363
|
+
textEntryMathPage.steps.switchToGradingView();
|
364
|
+
textEntryMathPage.steps.checkNonScoredScoringLabel();
|
365
|
+
}
|
366
|
+
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
367
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct1', '2x2y2+4xy+4', '6×π']);
|
368
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
|
369
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
|
370
|
+
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
371
|
+
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
372
|
+
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
373
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
374
|
+
});
|
375
|
+
|
376
|
+
it('When the user attempts the question incorrectly, no correct/incorrect icons should be displayed, correct answers section should be displayed, and no correct/incorrect label should be shown', () => {
|
377
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
378
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 1');
|
379
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
380
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
381
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 2');
|
382
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
383
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
384
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 3');
|
385
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
386
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(3);
|
387
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 4');
|
388
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
389
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(4);
|
390
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 5');
|
391
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
392
|
+
if (view === 'Grading view') {
|
393
|
+
studentViewPage.steps.submitResponse();
|
394
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
395
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
396
|
+
}
|
397
|
+
if (view === 'Item preview' || view === 'Question preview') {
|
398
|
+
textEntryMathPage.steps.switchToGradingView();
|
399
|
+
textEntryMathPage.steps.checkNonScoredScoringLabel();
|
400
|
+
}
|
401
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
402
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
403
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
404
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
405
|
+
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
406
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct1', '2x2y2+4xy+4', '6×π']);
|
407
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
|
408
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
|
409
|
+
});
|
410
|
+
|
411
|
+
it('When the user attempts the question partially correct, no correct/incorrect icons should be displayed, correct answers section should be displayed, and no correct/incorrect label should be shown', () => {
|
412
|
+
if (view === 'Grading view') {
|
413
|
+
studentViewPage.steps.clearResponses();
|
414
|
+
}
|
415
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
416
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
|
417
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
418
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
419
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('2');
|
420
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
421
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
422
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('4');
|
423
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
424
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(3);
|
425
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('4');
|
426
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
427
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(4);
|
428
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('1');
|
429
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
430
|
+
if (view === 'Grading view') {
|
431
|
+
studentViewPage.steps.submitResponse();
|
432
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'exist');
|
433
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
434
|
+
}
|
435
|
+
if (view === 'Item preview' || view === 'Question preview') {
|
436
|
+
textEntryMathPage.steps.switchToGradingView();
|
437
|
+
textEntryMathPage.steps.checkNonScoredScoringLabel();
|
438
|
+
}
|
439
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
|
440
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
441
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
442
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
443
|
+
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
444
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct1', '2x2y2+4xy+4', '6×π']);
|
445
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
|
446
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
|
447
|
+
});
|
448
|
+
|
449
|
+
it('When the user attempts the question correctly, no correct/incorrect icons should be displayed, correct answers section should not be displayed, and no correct/incorrect label should be shown', () => {
|
450
|
+
if (view === 'Grading view') {
|
451
|
+
studentViewPage.steps.clearResponses();
|
452
|
+
}
|
453
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
454
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
|
455
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
456
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
457
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('2');
|
458
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
459
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
460
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('4');
|
461
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
462
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(3);
|
463
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('4');
|
464
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
465
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(4);
|
466
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('6');
|
467
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
468
|
+
if (view === 'Grading view') {
|
469
|
+
studentViewPage.steps.submitResponse();
|
470
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
471
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
472
|
+
}
|
473
|
+
if (view === 'Item preview' || view === 'Question preview') {
|
474
|
+
textEntryMathPage.steps.switchToGradingView();
|
475
|
+
textEntryMathPage.steps.checkNonScoredScoringLabel();
|
476
|
+
}
|
477
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
|
478
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
479
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
480
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
481
|
+
textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
|
482
|
+
});
|
483
|
+
});
|
484
|
+
});
|
266
485
|
});
|
@@ -92,11 +92,9 @@ describe('Create item page - Text entry math: Question instructions, Add structu
|
|
92
92
|
textEntryMathPage.steps.switchToEditTab();
|
93
93
|
textEntryMathPage.steps.deleteAResponseArea(0);
|
94
94
|
textEntryMathPage.steps.deleteAResponseArea(0);
|
95
|
-
utilities.verifyElementVisibilityState(textEntryMathPage.errorMessage(), '
|
95
|
+
utilities.verifyElementVisibilityState(textEntryMathPage.errorMessage(), 'notExist');
|
96
96
|
});
|
97
97
|
|
98
|
-
textEntryMathPage.tests.verifyErrorMessageCSSAndA11y();
|
99
|
-
|
100
98
|
textEntryMathPage.tests.addResponseAreaAndVerifyMinimumOneAreaRequiredErrorMessageNotExist();
|
101
99
|
|
102
100
|
textEntryMathPage.tests.verifyQuestionInputFieldPlaceholderText();
|
@@ -200,4 +198,30 @@ describe('Create item page - Text entry math: Question instructions, Add structu
|
|
200
198
|
utilities.verifyElementCount(textEntryMathPage.responseFieldPreviewTab(), 1);
|
201
199
|
});
|
202
200
|
});
|
201
|
+
|
202
|
+
describe('User should be able to edit incomplete authored question', () => {
|
203
|
+
abortEarlySetup();
|
204
|
+
before(() => {
|
205
|
+
textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
|
206
|
+
cy.barsPreLoaderWait();
|
207
|
+
textEntryMathPage.steps.saveAQuestionWithIncompleteAuthoring();
|
208
|
+
textEntryMathPage.steps.editItem();
|
209
|
+
});
|
210
|
+
|
211
|
+
it('Warning icons should be displayed on the required input fields', () => {
|
212
|
+
utilities.verifyElementVisibilityState(textEntryMathPage.questionWarningIcon(), 'exist');
|
213
|
+
utilities.verifyElementVisibilityState(textEntryMathPage.warningIcon(), 'exist');
|
214
|
+
});
|
215
|
+
|
216
|
+
it('When required input fields are filled then warning icons should disappear', () => {
|
217
|
+
textEntryMathPage.steps.addResponseArea();
|
218
|
+
textEntryMathPage.steps.allotPoints(10);
|
219
|
+
textEntryMathPage.steps.verifyErrorMessageIsNotDisplayed();
|
220
|
+
textEntryMathPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
|
221
|
+
});
|
222
|
+
|
223
|
+
it('Warning icon should not be visible', () => {
|
224
|
+
textEntryMathPage.steps.verifyWarningIconNotExist();
|
225
|
+
});
|
226
|
+
});
|
203
227
|
});
|
@@ -98,7 +98,7 @@ describe('Create question page - Text Entry Math: Equation Editor functionality'
|
|
98
98
|
cy.log('Adding an equation to preview input field')
|
99
99
|
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x'] }, { categoryName: 'numPad', symbolName: ['add', 'five', 'equalTo', 'one'] }]);
|
100
100
|
equationEditorFlyout.steps.clickOnOkButton();
|
101
|
-
textEntryMathPage.steps.verifyResponseFieldEquationTextNew(0, 'x+5=1');
|
101
|
+
textEntryMathPage.steps.verifyResponseFieldEquationTextNew(0, 'x+5=1');
|
102
102
|
});
|
103
103
|
|
104
104
|
textEntryMathPage.tests.editEquationInPreviewTab('text entry math');
|
@@ -1021,14 +1021,14 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
|
|
1021
1021
|
});
|
1022
1022
|
|
1023
1023
|
//Syntax: Expression
|
1024
|
-
it('When user has selected \'Expression\' from the syntax dropdown and user enters input using integer in preview tab response fields they should be treated as
|
1024
|
+
it('When user has selected \'Expression\' from the syntax dropdown and user enters input using integer in preview tab response fields they should be treated as correct', () => {
|
1025
1025
|
textEntryMathPage.steps.resetQuestionPreview();
|
1026
1026
|
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
1027
1027
|
equationEditorFlyout.steps.enterTextInPreviewInputField('90');
|
1028
1028
|
equationEditorFlyout.steps.clickOnOkButton();
|
1029
1029
|
textEntryMathPage.steps.switchToGradingView();
|
1030
|
-
textEntryMathPage.steps.
|
1031
|
-
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('
|
1030
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
1031
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
1032
1032
|
});
|
1033
1033
|
|
1034
1034
|
it('When user has selected \'Expression\' from the syntax dropdown and user enters input using single variable with coefficient in preview tab response fields they should be treated as incorrect', () => {
|