itemengine-cypress-automation 1.0.342-regressionFixes18thMarch-b97f3ea.0 → 1.0.342
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/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
- package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +398 -0
- package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +329 -0
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +260 -0
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +368 -0
- 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/headerSection.js +18 -1
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +0 -2
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
- package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
- package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +3 -3
- 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/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 +3 -4
- 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/Scoring/blankResponseScoring.js +29 -25
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +201 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +18 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +21 -30
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +211 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +23 -30
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +25 -30
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -10
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -0
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +72 -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 +86 -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/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/allOrNothingForAllViews.smoke.js +2 -1
- 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/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/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +226 -0
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
- package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
- package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
- package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
- package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
- package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +4 -2
- 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 +73 -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/ShortTextResponseNew/editTabBasicSections.js +31 -48
- 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 +3 -1
- package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -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/styleAndLayoutCustomizationLayoutProperties.js +8 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +84 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +84 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +63 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +62 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +62 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +63 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +2 -8
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -8
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +4 -0
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +8 -0
- 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 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.smoke.js +1 -0
- package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +10 -7
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
- 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 +52 -0
- package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +112 -0
- package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +561 -0
- package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +185 -0
- package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
- package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +289 -0
- package/cypress/e2e/ILC/ThinkSphere/headerSection.js +53 -0
- package/cypress/e2e/ILC/ThinkSphere/planPhase.js +581 -0
- package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
- package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +296 -0
- package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +1 -1
- package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
- package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
- 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/Sessions/scores.js +9 -5
- package/cypress/e2e/applitools.config.js +3 -3
- package/cypress/fixtures/theme/ilc.json +14 -1
- package/cypress/fixtures/uploads/sample.webm +0 -0
- package/cypress/fixtures/uploads/sample.wmv +0 -0
- package/cypress/fixtures/uploads/sample20MB.mp4 +0 -0
- package/cypress/fixtures/uploads/sample2MB.mp4 +0 -0
- package/cypress/fixtures/uploads/sample2MB_2.mp4 +0 -0
- package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
- package/cypress/pages/audioPlayerPage.js +22 -22
- package/cypress/pages/chartsBarPage.js +20 -0
- package/cypress/pages/components/additionalSettingsPanel.js +3 -2
- package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
- package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +16 -28
- package/cypress/pages/components/backgroundImageUploadComponent.js +32 -25
- package/cypress/pages/components/browseItemsPage.js +998 -7
- package/cypress/pages/components/ckEditorAudioPlayerComponent.js +1 -1
- package/cypress/pages/components/ckEditorEquationEditorComponent.js +4 -4
- package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
- package/cypress/pages/components/ckEditorLinkComponent.js +3 -3
- package/cypress/pages/components/commonComponents.js +8 -1
- package/cypress/pages/components/createQuestionBasePage.js +8 -1
- package/cypress/pages/components/defaultToolDropdown.js +7 -6
- package/cypress/pages/components/editCategoryFlyout.js +2 -2
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +13 -26
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -3
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -35
- package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
- package/cypress/pages/components/imageCanvasComponent.js +7 -6
- package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
- package/cypress/pages/components/questionInstructionsComponent.js +7 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +14 -12
- package/cypress/pages/desmos3DGraphingPage.js +149 -4
- package/cypress/pages/desmosGeometryPage.js +184 -4
- package/cypress/pages/dialogBoxBase.js +2 -1
- package/cypress/pages/drawingResponsePage.js +16 -15
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
- package/cypress/pages/gradingViewPage.js +8 -0
- package/cypress/pages/graphingPage.js +27 -8
- package/cypress/pages/gridFillPage.js +15 -6
- package/cypress/pages/index.js +2 -1
- package/cypress/pages/listOrderingPage.js +32 -1
- package/cypress/pages/matchingPage.js +26 -7
- package/cypress/pages/multipleSelectionPage.js +10 -39
- package/cypress/pages/numberLineLabelPage.js +31 -8
- package/cypress/pages/numberLinePage.js +19 -7
- package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
- package/cypress/pages/singleSelectionPage.js +0 -37
- package/cypress/pages/textEntryMathPage.js +21 -0
- package/cypress/pages/thinkSpherePage.js +1874 -0
- package/cypress/pages/uploadResponsePage.js +2 -1
- package/cypress/pages/videoResponsePage.js +3 -0
- package/cypress/support/commands.js +7 -4
- package/cypress/support/e2e.js +1 -0
- package/cypress/support/helpers/createItem.js +1181 -1
- package/cypress/support/helpers/utilities.js +75 -1
- package/deploy/smoke/deploy.yaml +2 -2
- package/package.json +4 -4
- package/scripts/dataApi.mjs +3 -0
- package/scripts/sorry-cypress.mjs +13 -0
@@ -112,6 +112,7 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
112
112
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
113
113
|
});
|
114
114
|
|
115
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
|
115
116
|
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses , no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
116
117
|
multipleSelectionPage.steps.resetQuestionPreview();
|
117
118
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
@@ -128,9 +129,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
128
129
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
129
130
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
130
131
|
//correct answer section
|
131
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
132
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
133
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
132
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
133
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
134
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
134
135
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
135
136
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
136
137
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -146,7 +147,7 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
146
147
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
147
148
|
});
|
148
149
|
|
149
|
-
//Failing due to https://
|
150
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
|
150
151
|
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses , no icons should be displayed besides unattempted options , incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
151
152
|
multipleSelectionPage.steps.resetQuestionPreview();
|
152
153
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
@@ -163,9 +164,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
163
164
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
164
165
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
165
166
|
//correct answer section
|
166
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
167
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
168
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
167
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
168
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
169
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
169
170
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
170
171
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
171
172
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -197,9 +198,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
197
198
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
198
199
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
199
200
|
//correct answer section
|
200
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
201
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
202
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
201
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
202
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
203
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
203
204
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
204
205
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
205
206
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -215,6 +216,7 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
215
216
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
216
217
|
});
|
217
218
|
|
219
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
|
218
220
|
it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer , no icons should be displayed besides unattempted options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
219
221
|
multipleSelectionPage.steps.resetQuestionPreview();
|
220
222
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
|
@@ -231,9 +233,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
231
233
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
232
234
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
233
235
|
//correct answer section
|
234
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
235
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
236
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
236
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
237
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
238
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
237
239
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
238
240
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
239
241
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -264,9 +266,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
264
266
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
265
267
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
266
268
|
//correct answer section
|
267
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
268
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
269
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
269
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
270
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
271
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
270
272
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
271
273
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
272
274
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -305,9 +307,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
305
307
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
306
308
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
307
309
|
//correct answer section
|
308
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
309
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
310
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
310
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
311
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
312
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
311
313
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
312
314
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
313
315
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -339,9 +341,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
339
341
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
340
342
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
341
343
|
//correct answer section
|
342
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
343
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
344
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
344
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
345
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
346
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
345
347
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
346
348
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
347
349
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -501,9 +503,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
501
503
|
//correct answer section
|
502
504
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
503
505
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
504
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
505
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
506
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
506
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
507
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
508
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
507
509
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
508
510
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
509
511
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -517,6 +519,7 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
517
519
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
518
520
|
});
|
519
521
|
|
522
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
|
520
523
|
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
|
521
524
|
multipleSelectionPage.steps.resetQuestionPreview();
|
522
525
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
@@ -535,9 +538,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
535
538
|
//correct answer section
|
536
539
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
537
540
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
538
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
539
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
540
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
541
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
542
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
543
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
541
544
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
542
545
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
543
546
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -569,9 +572,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
569
572
|
//correct answer section
|
570
573
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
571
574
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
572
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
573
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
574
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
575
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
576
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
577
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
575
578
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
576
579
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
577
580
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -603,9 +606,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
603
606
|
//correct answer section
|
604
607
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
605
608
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
606
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
607
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
608
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
609
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
610
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
611
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
609
612
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
610
613
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
611
614
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -636,9 +639,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
636
639
|
//correct answer section
|
637
640
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
638
641
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
639
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
640
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
641
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
642
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
643
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
644
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
642
645
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
643
646
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(6);
|
644
647
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -677,9 +680,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
677
680
|
//correct answer section
|
678
681
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
679
682
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
680
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
681
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
682
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
|
683
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
684
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
685
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
|
683
686
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
684
687
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
|
685
688
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -710,9 +713,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
710
713
|
//correct answer section
|
711
714
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(0);
|
712
715
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(1);
|
713
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
714
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
715
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
|
716
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(3);
|
717
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(4);
|
718
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(6);
|
716
719
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
717
720
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
|
718
721
|
multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -830,6 +833,7 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
830
833
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
831
834
|
});
|
832
835
|
|
836
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
|
833
837
|
it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
834
838
|
multipleSelectionPage.steps.resetQuestionPreview();
|
835
839
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
@@ -846,9 +850,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
846
850
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
847
851
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
848
852
|
//correct answer section
|
849
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
850
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
851
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
853
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
854
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
855
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
852
856
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
853
857
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
854
858
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -864,6 +868,7 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
864
868
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
865
869
|
});
|
866
870
|
|
871
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
|
867
872
|
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
|
868
873
|
multipleSelectionPage.steps.resetQuestionPreview();
|
869
874
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
@@ -880,9 +885,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
880
885
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
881
886
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
882
887
|
//correct answer section
|
883
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
884
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
885
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
888
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
889
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
890
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
886
891
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
887
892
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
888
893
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -914,9 +919,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
914
919
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
915
920
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
916
921
|
//correct answer section
|
917
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
918
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
919
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
922
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
923
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
924
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
920
925
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
921
926
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
922
927
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -948,9 +953,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
948
953
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
949
954
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
950
955
|
//correct answer section
|
951
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
952
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
953
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
956
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
957
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
958
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
954
959
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
955
960
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
956
961
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -981,9 +986,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
981
986
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
982
987
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
983
988
|
//correct answer section
|
984
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
985
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
986
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
989
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
990
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
991
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
987
992
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
988
993
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
989
994
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -1022,9 +1027,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
1022
1027
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
1023
1028
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
1024
1029
|
//correct answer section
|
1025
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
1026
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
1027
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
1030
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
1031
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
1032
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
1028
1033
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
1029
1034
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
1030
1035
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -1056,9 +1061,9 @@ describe('Create item page - Multiple selection: Partial different weights with
|
|
1056
1061
|
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
1057
1062
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
1058
1063
|
//correct answer section
|
1059
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
1060
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
1061
|
-
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
1064
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
1065
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
1066
|
+
// multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(2);
|
1062
1067
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
1063
1068
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(4);
|
1064
1069
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(5);
|
@@ -138,8 +138,8 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
138
138
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
139
139
|
});
|
140
140
|
|
141
|
-
//Failing due to
|
142
|
-
it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
141
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
|
142
|
+
it.skip('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
143
143
|
multipleSelectionPage.steps.resetQuestionPreview();
|
144
144
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
145
145
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
@@ -424,7 +424,8 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
424
424
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
425
425
|
});
|
426
426
|
|
427
|
-
|
427
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
|
428
|
+
it.skip('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
|
428
429
|
multipleSelectionPage.steps.resetQuestionPreview();
|
429
430
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
|
430
431
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
@@ -749,7 +750,8 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
|
|
749
750
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
|
750
751
|
});
|
751
752
|
|
752
|
-
|
753
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
|
754
|
+
it.skip('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
|
753
755
|
multipleSelectionPage.steps.resetQuestionPreview();
|
754
756
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
|
755
757
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
|
@@ -209,6 +209,226 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
209
209
|
});
|
210
210
|
});
|
211
211
|
|
212
|
+
views.forEach((view) => {
|
213
|
+
describe(`Multiple selection - Manually scored: ${view}`, { tags: 'smoke' }, () => {
|
214
|
+
abortEarlySetup();
|
215
|
+
before(() => {
|
216
|
+
switch (view) {
|
217
|
+
case 'Question preview':
|
218
|
+
multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
|
219
|
+
cy.barsPreLoaderWait();
|
220
|
+
multipleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Please select following animals facts are correct or not');
|
221
|
+
multipleSelectionGridPage.steps.expandScoringTypeDropdown();
|
222
|
+
multipleSelectionGridPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
|
223
|
+
multipleSelectionGridPage.steps.allotPoints(20);
|
224
|
+
multipleSelectionGridPage.steps.setRowsAndColumnsForBasicQuestion();
|
225
|
+
multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 3, column: 0 }, 'Whale are mammals');
|
226
|
+
multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
|
227
|
+
multipleSelectionGridPage.steps.switchToPreviewTab();
|
228
|
+
break;
|
229
|
+
case 'Item preview':
|
230
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
231
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
232
|
+
break;
|
233
|
+
case 'Grading view':
|
234
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
235
|
+
break;
|
236
|
+
};
|
237
|
+
});
|
238
|
+
|
239
|
+
beforeEach(() => {
|
240
|
+
switch (view) {
|
241
|
+
case 'Question preview':
|
242
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
243
|
+
multipleSelectionGridPage.steps.resetQuestionPreview();
|
244
|
+
break;
|
245
|
+
case 'Item preview':
|
246
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
247
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
248
|
+
break;
|
249
|
+
case 'Grading view':
|
250
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
251
|
+
break;
|
252
|
+
}
|
253
|
+
});
|
254
|
+
|
255
|
+
if (view === 'Question preview') {
|
256
|
+
after(() => {
|
257
|
+
multipleSelectionGridPage.steps.clickOnSaveQuestionButton();
|
258
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
259
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
260
|
+
});
|
261
|
+
};
|
262
|
+
|
263
|
+
it('Question instructions should be visible', () => {
|
264
|
+
multipleSelectionGridPage.steps.verifyQuestionInstructionsTextPreviewTab('Please select following animals facts are correct or not');
|
265
|
+
multipleSelectionGridPage.steps.verifyVisibityOfQuestionInstructionsText();
|
266
|
+
});
|
267
|
+
|
268
|
+
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', () => {
|
269
|
+
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
270
|
+
if (view === 'Grading view') {
|
271
|
+
studentViewPage.steps.submitResponse();
|
272
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
273
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
274
|
+
gradingViewPage.steps.verifyGradingViewScore('', 20);
|
275
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 1, column: 0 });
|
276
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 1, column: 1 });
|
277
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 2, column: 1 });
|
278
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 3, column: 1 });
|
279
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists({ row: 4, column: 0 });
|
280
|
+
multipleSelectionGridPage.steps.verifyAnswerStatusBannerNotExist();
|
281
|
+
multipleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExist();
|
282
|
+
};
|
283
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
284
|
+
multipleSelectionGridPage.steps.checkManuallyScoredScoringLabel();
|
285
|
+
};
|
286
|
+
});
|
287
|
+
});
|
288
|
+
});
|
289
|
+
|
290
|
+
views.forEach((view) => {
|
291
|
+
describe(`Multiple selection - Non scored: ${view}`, { tags: 'smoke' }, () => {
|
292
|
+
abortEarlySetup();
|
293
|
+
before(() => {
|
294
|
+
switch (view) {
|
295
|
+
case 'Question preview':
|
296
|
+
multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
|
297
|
+
cy.barsPreLoaderWait();
|
298
|
+
multipleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Please select following animals facts are correct or not');
|
299
|
+
multipleSelectionGridPage.steps.expandScoringTypeDropdown();
|
300
|
+
multipleSelectionGridPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
301
|
+
multipleSelectionGridPage.steps.setRowsAndColumnsForBasicQuestion();
|
302
|
+
multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 3, column: 0 }, 'Whale are mammals');
|
303
|
+
multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
|
304
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
305
|
+
multipleSelectionGridPage.steps.switchToPreviewTab();
|
306
|
+
multipleSelectionGridPage.steps.switchToPreviewTab();
|
307
|
+
break;
|
308
|
+
case 'Item preview':
|
309
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
310
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
311
|
+
break;
|
312
|
+
case 'Grading view':
|
313
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
314
|
+
break;
|
315
|
+
};
|
316
|
+
});
|
317
|
+
|
318
|
+
beforeEach(() => {
|
319
|
+
switch (view) {
|
320
|
+
case 'Question preview':
|
321
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
322
|
+
multipleSelectionGridPage.steps.resetQuestionPreview();
|
323
|
+
break;
|
324
|
+
case 'Item preview':
|
325
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
326
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
327
|
+
break;
|
328
|
+
case 'Grading view':
|
329
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
330
|
+
break;
|
331
|
+
}
|
332
|
+
});
|
333
|
+
|
334
|
+
if (view === 'Question preview') {
|
335
|
+
after(() => {
|
336
|
+
multipleSelectionGridPage.steps.clickOnSaveQuestionButton();
|
337
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
338
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
339
|
+
});
|
340
|
+
};
|
341
|
+
|
342
|
+
it('When the user selects \'Grading\' view without attempting the question, non scoring label should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and correct/incorrect icons should not be displayed', () => {
|
343
|
+
if (view === 'Grading view') {
|
344
|
+
studentViewPage.steps.submitResponse();
|
345
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
346
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
347
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
348
|
+
};
|
349
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
350
|
+
multipleSelectionGridPage.steps.checkNonScoredScoringLabel();
|
351
|
+
multipleSelectionGridPage.steps.switchToGradingView();
|
352
|
+
multipleSelectionGridPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
353
|
+
};
|
354
|
+
utilities.verifyInnerText(multipleSelectionGridPage.correctAnswersSectionLabel(), 'Correct answers');
|
355
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
356
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
357
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
358
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
359
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
360
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
361
|
+
});
|
362
|
+
|
363
|
+
it('When the user attempts the question incorrectly,and on switching to \'Grading\' view non scoring label should be displayed, incorrect icon should be displayed beside incorrect response, a status message with text \'Your answer is incorrect\' and correct answer section with correct answer should be displayed', () => {
|
364
|
+
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 2, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }]);
|
365
|
+
if (view === 'Grading view') {
|
366
|
+
studentViewPage.steps.submitResponse();
|
367
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
368
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
369
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
370
|
+
};
|
371
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
372
|
+
multipleSelectionGridPage.steps.checkNonScoredScoringLabel();
|
373
|
+
multipleSelectionGridPage.steps.switchToGradingView();
|
374
|
+
};
|
375
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
|
376
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
|
377
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
|
378
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
379
|
+
multipleSelectionGridPage.steps.verifyCorrectAnswerSectionExist();
|
380
|
+
});
|
381
|
+
|
382
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along should be displayed', () => {
|
383
|
+
if (view === 'Grading view') {
|
384
|
+
studentViewPage.steps.clearResponses();
|
385
|
+
};
|
386
|
+
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }]);
|
387
|
+
if (view === 'Grading view') {
|
388
|
+
studentViewPage.steps.submitResponse();
|
389
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
390
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
391
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
392
|
+
};
|
393
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
394
|
+
multipleSelectionGridPage.steps.checkNonScoredScoringLabel();
|
395
|
+
multipleSelectionGridPage.steps.switchToGradingView();
|
396
|
+
};
|
397
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
|
398
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
|
399
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
|
400
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
|
401
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
|
402
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
403
|
+
multipleSelectionGridPage.steps.verifyCorrectAnswerSectionExist();
|
404
|
+
});
|
405
|
+
|
406
|
+
it('When user attempts the question correctly, and on switching to \'Grading\' view non scoring label should be displayed, correct icons should be displayed beside the correct response, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
|
407
|
+
if (view === 'Grading view') {
|
408
|
+
studentViewPage.steps.clearResponses();
|
409
|
+
};
|
410
|
+
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
411
|
+
if (view === 'Grading view') {
|
412
|
+
studentViewPage.steps.submitResponse();
|
413
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
414
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
415
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
416
|
+
};
|
417
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
418
|
+
multipleSelectionGridPage.steps.checkNonScoredScoringLabel();
|
419
|
+
multipleSelectionGridPage.steps.switchToGradingView();
|
420
|
+
};
|
421
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
|
422
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
|
423
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
|
424
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
|
425
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
|
426
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
427
|
+
multipleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExist();
|
428
|
+
});
|
429
|
+
});
|
430
|
+
});
|
431
|
+
|
212
432
|
if (!grepTags || !grepTags.includes('smoke')) {
|
213
433
|
describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
|
214
434
|
abortEarlySetup();
|