itemengine-cypress-automation 1.0.355 → 1.0.356-capture-image-8b4830c.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/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
- package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +49 -11
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +4 -3
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +4 -3
- 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 +2 -2
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
- package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +3 -1
- package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -4
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
- 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/equationEditorBasicFile.js +4 -4
- package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -4
- 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 +62 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +119 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabScoring.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.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/drawingResponseEditTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +1 -3
- package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
- package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editQuestion.smoke.js +40 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editQuestion.smoke.js +45 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +3 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
- 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/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/customizeLayoutFillImageBackgroundImage.js +5 -6
- package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
- package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
- package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
- 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/specifyCorrectAnswerSection.js +2 -4
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
- 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/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +6 -10
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
- package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
- package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +35 -9
- 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/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 +35 -1
- 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 +3 -5
- package/cypress/e2e/ILC/Matching/draggableOptions.js +4 -0
- package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
- package/cypress/e2e/ILC/Matching/headerSection.js +36 -11
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +227 -0
- package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +2 -0
- package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +1 -0
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -67
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +6 -0
- 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/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/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/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/editQuestion.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +35 -51
- package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
- package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +2 -0
- package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +101 -70
- package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
- 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 +3 -1
- 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 +10 -3
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -3
- 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/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/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -1
- package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
- package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
- package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +58 -4
- package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +208 -13
- package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +259 -9
- package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
- package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +291 -0
- package/cypress/e2e/ILC/ThinkSphere/planPhase.js +409 -4
- package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
- package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
- package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +39 -6
- 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/Sessions/fetchResponses.js +3 -3
- package/cypress/e2e/applitools.config.js +3 -3
- package/cypress/fixtures/theme/ilc.json +5 -1
- package/cypress/fixtures/uploads/sample.webm +0 -0
- package/cypress/fixtures/uploads/sample.wmv +0 -0
- package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
- package/cypress/pages/audioPlayerPage.js +47 -22
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/chartsBarPage.js +20 -0
- package/cypress/pages/components/additionalSettingsPanel.js +3 -2
- package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
- package/cypress/pages/components/browseItemsPage.js +109 -2
- package/cypress/pages/components/ckEditorEquationEditorComponent.js +5 -4
- package/cypress/pages/components/ckEditorInsertImageComponent.js +2 -2
- package/cypress/pages/components/ckEditorInsertTableComponent.js +3 -3
- package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
- package/cypress/pages/components/commonComponents.js +4 -0
- package/cypress/pages/components/createQuestionBasePage.js +14 -1
- package/cypress/pages/components/defaultToolDropdown.js +1 -1
- package/cypress/pages/components/editCategoryFlyout.js +2 -2
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +10 -25
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +28 -0
- package/cypress/pages/components/gridQuestionCommonComponent.js +56 -0
- package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
- package/cypress/pages/components/questionInstructionsComponent.js +9 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +4 -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 +2 -0
- package/cypress/pages/gradingViewPage.js +8 -0
- package/cypress/pages/graphingPage.js +27 -8
- package/cypress/pages/gridFillPage.js +15 -6
- package/cypress/pages/listOrderingPage.js +32 -1
- package/cypress/pages/matchingPage.js +26 -7
- package/cypress/pages/multipleSelectionPage.js +9 -1
- package/cypress/pages/numberLineLabelPage.js +31 -8
- package/cypress/pages/numberLinePage.js +19 -7
- package/cypress/pages/textEntryMathPage.js +24 -1
- package/cypress/pages/thinkSpherePage.js +925 -47
- 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 +668 -19
- package/cypress/support/helpers/utilities.js +35 -2
- package/package.json +3 -3
@@ -413,5 +413,102 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
|
|
413
413
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
414
414
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
415
415
|
});
|
416
|
+
|
417
|
+
//RCA - https://weldnorthed.atlassian.net/browse/IEI-5716
|
418
|
+
it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
419
|
+
textEntryMathPage.steps.switchToEditTab();
|
420
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
421
|
+
equationEditorFlyout.steps.clearAll();
|
422
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
423
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
424
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
425
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
426
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
427
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
428
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
429
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
430
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
431
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
432
|
+
textEntryMathPage.steps.switchToGradingView();
|
433
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
434
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
435
|
+
});
|
436
|
+
|
437
|
+
it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
438
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
439
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
440
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
441
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract'] }, { categoryName: 'algebra', symbolName: ['groupInBrackets'] }, { categoryName: 'numPad', symbolName: ['subtract', 'one', 'six'] }]);
|
442
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
|
443
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
444
|
+
textEntryMathPage.steps.switchToGradingView();
|
445
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
446
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
447
|
+
});
|
448
|
+
|
449
|
+
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
450
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
451
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
452
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'four'] }]);
|
453
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
454
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
455
|
+
textEntryMathPage.steps.switchToGradingView();
|
456
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
457
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
458
|
+
});
|
459
|
+
|
460
|
+
it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
461
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
462
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
463
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-1');
|
464
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
465
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
466
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
467
|
+
textEntryMathPage.steps.switchToGradingView();
|
468
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
469
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
470
|
+
});
|
471
|
+
|
472
|
+
it('When the user enters a negative mixed fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
473
|
+
textEntryMathPage.steps.switchToEditTab();
|
474
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
475
|
+
equationEditorFlyout.steps.clearAll();
|
476
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
|
477
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
478
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
479
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
480
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
481
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
482
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
|
483
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
484
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
485
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
486
|
+
textEntryMathPage.steps.switchToGradingView();
|
487
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
488
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
489
|
+
});
|
490
|
+
|
491
|
+
it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
492
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
493
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
494
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-6');
|
495
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
496
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4', '3']);
|
497
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
498
|
+
textEntryMathPage.steps.switchToGradingView();
|
499
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
500
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
501
|
+
});
|
502
|
+
|
503
|
+
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
504
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
505
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
506
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'two', 'two'] }]);
|
507
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
508
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
509
|
+
textEntryMathPage.steps.switchToGradingView();
|
510
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
511
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
512
|
+
});
|
416
513
|
});
|
417
514
|
});
|
@@ -458,5 +458,102 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
|
|
458
458
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
459
459
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
460
460
|
});
|
461
|
+
|
462
|
+
//RCA - https://weldnorthed.atlassian.net/browse/IEI-5716
|
463
|
+
it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
464
|
+
textEntryMathPage.steps.switchToEditTab();
|
465
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
466
|
+
equationEditorFlyout.steps.clearAll();
|
467
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
468
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
469
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
470
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
471
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
472
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
473
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
474
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
475
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
476
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
477
|
+
textEntryMathPage.steps.switchToGradingView();
|
478
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
479
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
480
|
+
});
|
481
|
+
|
482
|
+
it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
483
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
484
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
485
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
486
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract'] }, { categoryName: 'algebra', symbolName: ['groupInBrackets'] }, { categoryName: 'numPad', symbolName: ['subtract', 'one', 'six'] }]);
|
487
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
|
488
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
489
|
+
textEntryMathPage.steps.switchToGradingView();
|
490
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
491
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
492
|
+
});
|
493
|
+
|
494
|
+
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
495
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
496
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
497
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'four'] }]);
|
498
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
499
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
500
|
+
textEntryMathPage.steps.switchToGradingView();
|
501
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
502
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
503
|
+
});
|
504
|
+
|
505
|
+
it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
506
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
507
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
508
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-1');
|
509
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
510
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
511
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
512
|
+
textEntryMathPage.steps.switchToGradingView();
|
513
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
514
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
515
|
+
});
|
516
|
+
|
517
|
+
it('When the user enters a negative mixed fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
518
|
+
textEntryMathPage.steps.switchToEditTab();
|
519
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
520
|
+
equationEditorFlyout.steps.clearAll();
|
521
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
|
522
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
523
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
524
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
525
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
526
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
527
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
|
528
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
529
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
530
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
531
|
+
textEntryMathPage.steps.switchToGradingView();
|
532
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
533
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
534
|
+
});
|
535
|
+
|
536
|
+
it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
537
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
538
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
539
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-6');
|
540
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
541
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4', '3']);
|
542
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
543
|
+
textEntryMathPage.steps.switchToGradingView();
|
544
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
545
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
546
|
+
});
|
547
|
+
|
548
|
+
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
|
549
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
550
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
551
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'two', 'two'] }]);
|
552
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
553
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
554
|
+
textEntryMathPage.steps.switchToGradingView();
|
555
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
556
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
557
|
+
});
|
461
558
|
});
|
462
559
|
});
|
@@ -788,5 +788,172 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
788
788
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
789
789
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
790
790
|
});
|
791
|
+
|
792
|
+
//RCA - https://weldnorthed.atlassian.net/browse/IEI-5716
|
793
|
+
it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
794
|
+
textEntryMathPage.steps.switchToEditTab();
|
795
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
796
|
+
equationEditorFlyout.steps.clearAll();
|
797
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
798
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
799
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
800
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
801
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
802
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
803
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
804
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
805
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
806
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
807
|
+
textEntryMathPage.steps.switchToGradingView();
|
808
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
809
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
810
|
+
});
|
811
|
+
|
812
|
+
it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as correct', () => {
|
813
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
814
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
815
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
816
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract'] }, { categoryName: 'algebra', symbolName: ['groupInBrackets'] }, { categoryName: 'numPad', symbolName: ['subtract', 'one', 'six'] }]);
|
817
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
|
818
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
819
|
+
textEntryMathPage.steps.switchToGradingView();
|
820
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
821
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
822
|
+
});
|
823
|
+
|
824
|
+
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as correct', () => {
|
825
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
826
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
827
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'four'] }]);
|
828
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
829
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
830
|
+
textEntryMathPage.steps.switchToGradingView();
|
831
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
832
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
833
|
+
});
|
834
|
+
|
835
|
+
it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as correct', () => {
|
836
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
837
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
838
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-1');
|
839
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
840
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
841
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
842
|
+
textEntryMathPage.steps.switchToGradingView();
|
843
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
844
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
845
|
+
});
|
846
|
+
|
847
|
+
it('When the user enters a negative mixed fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
848
|
+
textEntryMathPage.steps.switchToEditTab();
|
849
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
850
|
+
equationEditorFlyout.steps.clearAll();
|
851
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
|
852
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
853
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
854
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
855
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
856
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
857
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
|
858
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
859
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
860
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
861
|
+
textEntryMathPage.steps.switchToGradingView();
|
862
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
863
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
864
|
+
});
|
865
|
+
|
866
|
+
it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as correct', () => {
|
867
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
868
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
869
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-6');
|
870
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
871
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4', '3']);
|
872
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
873
|
+
textEntryMathPage.steps.switchToGradingView();
|
874
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
875
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
876
|
+
});
|
877
|
+
|
878
|
+
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as correct', () => {
|
879
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
880
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
881
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'two', 'two'] }]);
|
882
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
883
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
884
|
+
textEntryMathPage.steps.switchToGradingView();
|
885
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
886
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
887
|
+
});
|
888
|
+
|
889
|
+
//RCA https://weldnorthed.atlassian.net/browse/IEI-5709
|
890
|
+
it('When the user enters a fraction with variables along with relational operators in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
|
891
|
+
textEntryMathPage.steps.switchToEditTab();
|
892
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
893
|
+
equationEditorFlyout.steps.clearAll();
|
894
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('ab>25');
|
895
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
896
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
897
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
898
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('ab>25');
|
899
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
900
|
+
textEntryMathPage.steps.switchToGradingView();
|
901
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
902
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
903
|
+
});
|
904
|
+
|
905
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation in a different format then it should be treated as correct', () => {
|
906
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
907
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
908
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('a>');
|
909
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
|
910
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['b', '25']);
|
911
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
912
|
+
textEntryMathPage.steps.switchToGradingView();
|
913
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
914
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
915
|
+
});
|
916
|
+
|
917
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation in reverse order then it should be treated as correct', () => {
|
918
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
919
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
920
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
|
921
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['b', '25']);
|
922
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('<a');
|
923
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
924
|
+
textEntryMathPage.steps.switchToGradingView();
|
925
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
926
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
927
|
+
});
|
928
|
+
|
929
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation with multiplication then it should be treated as correct', () => {
|
930
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
931
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
932
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('a*b>25');
|
933
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
934
|
+
textEntryMathPage.steps.switchToGradingView();
|
935
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
936
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
937
|
+
});
|
938
|
+
|
939
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation in a different order with multiplication then it should be treated as correct', () => {
|
940
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
941
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
942
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('b*a>25');
|
943
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
944
|
+
textEntryMathPage.steps.switchToGradingView();
|
945
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
946
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
947
|
+
});
|
948
|
+
|
949
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation with incorrect relational operator then it should be treated as incorrect', () => {
|
950
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
951
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
952
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('ab>=25');
|
953
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
954
|
+
textEntryMathPage.steps.switchToGradingView();
|
955
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
956
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
957
|
+
});
|
791
958
|
});
|
792
959
|
});
|
@@ -8,7 +8,6 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
8
8
|
cy.loginAs('admin');
|
9
9
|
});
|
10
10
|
|
11
|
-
//Failing due to https://redmine.zeuslearning.com/issues/562013
|
12
11
|
describe('Evaluation methods: Value is equivalent', { tags: 'smoke' }, () => {
|
13
12
|
abortEarlySetup();
|
14
13
|
before(() => {
|
@@ -529,5 +528,172 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
|
|
529
528
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
530
529
|
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
531
530
|
});
|
531
|
+
|
532
|
+
//RCA - https://weldnorthed.atlassian.net/browse/IEI-5716
|
533
|
+
it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
534
|
+
textEntryMathPage.steps.switchToEditTab();
|
535
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
536
|
+
equationEditorFlyout.steps.clearAll();
|
537
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
538
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
539
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
540
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
541
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
542
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
543
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
544
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
|
545
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
546
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
547
|
+
textEntryMathPage.steps.switchToGradingView();
|
548
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
549
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
550
|
+
});
|
551
|
+
|
552
|
+
it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as correct', () => {
|
553
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
554
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
555
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-');
|
556
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract'] }, { categoryName: 'algebra', symbolName: ['groupInBrackets'] }, { categoryName: 'numPad', symbolName: ['subtract', 'one', 'six'] }]);
|
557
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
|
558
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
559
|
+
textEntryMathPage.steps.switchToGradingView();
|
560
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
561
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
562
|
+
});
|
563
|
+
|
564
|
+
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as correct', () => {
|
565
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
566
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
567
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'four'] }]);
|
568
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
569
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
570
|
+
textEntryMathPage.steps.switchToGradingView();
|
571
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
572
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
573
|
+
});
|
574
|
+
|
575
|
+
it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as correct', () => {
|
576
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
577
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
578
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-1');
|
579
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
580
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
581
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
582
|
+
textEntryMathPage.steps.switchToGradingView();
|
583
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
584
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
585
|
+
});
|
586
|
+
|
587
|
+
it('When the user enters a negative mixed fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
|
588
|
+
textEntryMathPage.steps.switchToEditTab();
|
589
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
590
|
+
equationEditorFlyout.steps.clearAll();
|
591
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
|
592
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
593
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
594
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
595
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
596
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
597
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
|
598
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
599
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
|
600
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
601
|
+
textEntryMathPage.steps.switchToGradingView();
|
602
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
603
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
604
|
+
});
|
605
|
+
|
606
|
+
it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as correct', () => {
|
607
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
608
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
609
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('-6');
|
610
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
|
611
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4', '3']);
|
612
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
613
|
+
textEntryMathPage.steps.switchToGradingView();
|
614
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
615
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
616
|
+
});
|
617
|
+
|
618
|
+
it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as correct', () => {
|
619
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
620
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
621
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'two', 'two'] }]);
|
622
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
|
623
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
624
|
+
textEntryMathPage.steps.switchToGradingView();
|
625
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
626
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
627
|
+
});
|
628
|
+
|
629
|
+
//RCA https://weldnorthed.atlassian.net/browse/IEI-5709
|
630
|
+
it('When the user enters a fraction with variables along with relational operators in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
|
631
|
+
textEntryMathPage.steps.switchToEditTab();
|
632
|
+
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
633
|
+
equationEditorFlyout.steps.clearAll();
|
634
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('ab>25');
|
635
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
636
|
+
textEntryMathPage.steps.switchToPreviewTab();
|
637
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
638
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('ab>25');
|
639
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
640
|
+
textEntryMathPage.steps.switchToGradingView();
|
641
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
642
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
643
|
+
});
|
644
|
+
|
645
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation in a different format then it should be treated as incorrect', () => {
|
646
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
647
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
648
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('a>');
|
649
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
|
650
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['b', '25']);
|
651
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
652
|
+
textEntryMathPage.steps.switchToGradingView();
|
653
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
654
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
655
|
+
});
|
656
|
+
|
657
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation in reverse order then it should be treated as incorrect', () => {
|
658
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
659
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
660
|
+
equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
|
661
|
+
equationEditorFlyout.steps.enterTextInFirstEmptyBox(['b', '25']);
|
662
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('<a');
|
663
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
664
|
+
textEntryMathPage.steps.switchToGradingView();
|
665
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
666
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
667
|
+
});
|
668
|
+
|
669
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation with multiplication then it should be treated as correct', () => {
|
670
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
671
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
672
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('a*b>25');
|
673
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
674
|
+
textEntryMathPage.steps.switchToGradingView();
|
675
|
+
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
676
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
677
|
+
});
|
678
|
+
|
679
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation in a different order with multiplication then it should be treated as incorrect', () => {
|
680
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
681
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
682
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('b*a>25');
|
683
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
684
|
+
textEntryMathPage.steps.switchToGradingView();
|
685
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
686
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
687
|
+
});
|
688
|
+
|
689
|
+
it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation with incorrect relational operator then it should be treated as incorrect', () => {
|
690
|
+
textEntryMathPage.steps.resetQuestionPreview();
|
691
|
+
textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
692
|
+
equationEditorFlyout.steps.enterTextInPreviewInputField('ab>=25');
|
693
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
694
|
+
textEntryMathPage.steps.switchToGradingView();
|
695
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
696
|
+
textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
697
|
+
});
|
532
698
|
});
|
533
699
|
});
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { textEntryMathPage } from "../../../pages";
|
2
|
+
import { browseItemsPage } from "../../../pages/components";
|
3
|
+
import { itemPreviewPage } from "../../../pages";
|
4
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
5
|
+
import utilities from "../../../support/helpers/utilities";
|
6
|
+
|
7
|
+
var itemReferenceID = "";
|
8
|
+
|
9
|
+
describe('Create Item page - Text Entry Math: Header section and Saving question', () => {
|
10
|
+
before(() => {
|
11
|
+
cy.loginAs('admin');
|
12
|
+
});
|
13
|
+
|
14
|
+
describe('Saving a question with incomplete authoring', () => {
|
15
|
+
abortEarlySetup();
|
16
|
+
before(() => {
|
17
|
+
textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
|
18
|
+
cy.barsPreLoaderWait();
|
19
|
+
});
|
20
|
+
|
21
|
+
it('User should be able to save the question with incomplete authoring and snackbar with the text "Saved successfully!" should be displayed', () => {
|
22
|
+
textEntryMathPage.steps.saveAQuestionWithIncompleteAuthoring();
|
23
|
+
});
|
24
|
+
textEntryMathPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
|
25
|
+
});
|
26
|
+
|
27
|
+
describe('Save as you go - Browse item page contents', () => {
|
28
|
+
abortEarlySetup();
|
29
|
+
before(() => {
|
30
|
+
cy.log('Navigating to Text Entry Math question type');
|
31
|
+
textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
|
32
|
+
cy.barsPreLoaderWait();
|
33
|
+
textEntryMathPage.steps.saveAQuestionWithIncompleteAuthoring();
|
34
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
35
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
36
|
+
browseItemsPage.steps.navigateToBrowseItemsPage();
|
37
|
+
});
|
38
|
+
|
39
|
+
it('When user saves an incompletely authored question then a warning icon should be visible in browse items page', () => {
|
40
|
+
browseItemsPage.steps.verifyWarningIconInBrowseItemPage(`${itemReferenceID}`);
|
41
|
+
});
|
42
|
+
});
|
43
|
+
});
|
@@ -94,7 +94,6 @@ describe('Create Item page - Text Selection', () => {
|
|
94
94
|
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[0]);
|
95
95
|
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[1]);
|
96
96
|
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[2]);
|
97
|
-
textSelectionPage.steps.switchToPreviewTab();
|
98
97
|
});
|
99
98
|
|
100
99
|
it('When the user selects \'Grading\' view without setting the answer, correct answers section and answer status banner should not be displayed', () => {
|