itemengine-cypress-automation 1.0.388 → 1.0.389-UpdateBumpVersion2-16f7d99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +1 -0
- package/cypress/e2e/GradingGridView/gradingGridView.js +156 -0
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +2 -0
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -0
- package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
- package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +3 -3
- package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +3 -3
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +6 -6
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +6 -6
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +356 -0
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +25 -25
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +37 -36
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +37 -36
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +37 -36
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +26 -25
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +39 -38
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +31 -30
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +35 -34
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +247 -0
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +287 -0
- package/cypress/e2e/ILC/ChartsBar/editQuestion.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
- package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +92 -0
- package/cypress/e2e/ILC/ChartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePointsLocked.js +220 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +25 -25
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +47 -46
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +25 -24
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +25 -24
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightBasic.js +25 -25
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +24 -23
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +21 -20
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +48 -46
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +249 -0
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +247 -0
- package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +3 -1
- package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
- package/cypress/e2e/ILC/ChartsLine/specifyCorrectAnswerSection.js +94 -0
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -2
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +6 -0
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
- package/cypress/e2e/ILC/CkEditorEquationEditor/selectModeEditorBasic.js +4 -1
- package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -3
- package/cypress/e2e/ILC/CkEditorInsertImage/insertImageBasicFile.js +2 -0
- package/cypress/e2e/ILC/CkEditorInsertTable/tableDimension&FooterProperties.js +8 -8
- package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +11 -11
- package/cypress/e2e/ILC/CkEditorLink/linkPreview.js +2 -1
- package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
- package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +63 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +116 -7
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabScoring.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +3 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +11 -3
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptions.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViewInIncompleteAuthoring.smoke.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +15 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editQuestion.smoke.js +40 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editQuestion.smoke.js +45 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editQuestion.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +3 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
- package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +213 -2
- package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
- package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
- package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
- package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
- package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
- package/cypress/e2e/ILC/Graphing/specifyCorrectAnswerSection.js +28 -0
- package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +210 -0
- package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +2 -2
- package/cypress/e2e/ILC/GridFill/headerSection.js +4 -4
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
- package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/additionalSettingsBasic.js +1 -0
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +212 -0
- package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +29 -0
- package/cypress/e2e/ILC/ImageHighlight/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/ImageHighlight/headerSection.js +3 -3
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +2 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +237 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +26 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +2 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +2 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +7 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +10 -14
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +215 -0
- package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
- package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +36 -9
- package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +2 -0
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +7 -23
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +309 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +38 -3
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +38 -41
- package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -0
- package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
- package/cypress/e2e/ILC/Matching/clickAndDrop.js +5 -5
- package/cypress/e2e/ILC/Matching/draggableOptions.js +7 -0
- package/cypress/e2e/ILC/Matching/editQuestion.smoke.js +3 -2
- package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
- package/cypress/e2e/ILC/Matching/headerSection.js +38 -12
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
- package/cypress/e2e/ILC/Matching/studentViewSettings.js +3 -1
- package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +1 -1
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +7 -6
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +6 -6
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/MultipleSelection/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/headerSection.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +100 -69
- package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +1 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
- package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +213 -0
- package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
- package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
- package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +249 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
- package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +266 -0
- package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
- package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
- package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
- package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +268 -0
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +186 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +4 -3
- package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
- package/cypress/e2e/ILC/SingleSelection/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/headerSection.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/headerSection.js +3 -3
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +101 -70
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +9 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -1
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +263 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +219 -0
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +263 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +0 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
- package/cypress/e2e/ILC/TextSelection/additionalSettings.js +1 -0
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +231 -0
- package/cypress/e2e/ILC/TextSelection/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/TextSelection/headerSection.js +3 -3
- package/cypress/e2e/ILC/TextSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +1 -0
- package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +1 -1
- package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +145 -54
- package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +2 -0
- package/cypress/e2e/ILC/ThinkSphere/gradingViewPlanTabSection.js +334 -0
- package/cypress/e2e/ILC/ThinkSphere/gradingViewReviewTabSection.js +140 -0
- package/cypress/e2e/ILC/ThinkSphere/gradingViewSolveTabSection.js +65 -0
- package/cypress/e2e/ILC/ThinkSphere/planPhase.js +45 -5
- package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +8 -8
- package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +102 -0
- package/cypress/e2e/ILC/ThinkSphere/previewTabSolveSection.js +41 -0
- package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +3 -3
- package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
- package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +146 -0
- package/cypress/e2e/ILC/ThinkSphere/studentViewSolveSection.js +53 -0
- package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
- package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
- package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
- package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +50 -13
- package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +248 -0
- package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +27 -28
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +24 -24
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +39 -37
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +22 -23
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +25 -24
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +31 -31
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +18 -19
- package/cypress/e2e/ILC/chartsDotsPlot/specifyCorrectAnswerSection.js +96 -0
- package/cypress/e2e/Sessions/fetchResponses.js +3 -3
- package/cypress/e2e/Sessions/saveResponseScores.js +2 -2
- package/cypress/fixtures/thinkSphereWhiteboardTools.js +66 -0
- package/cypress/pages/audioPlayerPage.js +25 -0
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/chartsBarPage.js +45 -0
- package/cypress/pages/chartsDotPlotPage.js +25 -0
- package/cypress/pages/chartsLinePage.js +29 -2
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +5 -1
- package/cypress/pages/components/chartsCommonComponent.js +21 -2
- package/cypress/pages/components/ckEditorEquationEditorComponent.js +1 -0
- package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
- package/cypress/pages/components/ckEditorInsertTableComponent.js +3 -3
- package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
- package/cypress/pages/components/colorPopupComponent.js +6 -0
- package/cypress/pages/components/createQuestionBasePage.js +19 -6
- package/cypress/pages/components/desmosToolComponent.js +1 -1
- package/cypress/pages/components/draggableOptionsSectionComponent.js +2 -0
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +4 -4
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +31 -3
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +1 -1
- package/cypress/pages/components/gridQuestionCommonComponent.js +55 -2
- package/cypress/pages/components/imageCanvasComponent.js +11 -5
- package/cypress/pages/components/playbackControlsBaseComponent.js +6 -3
- package/cypress/pages/components/questionInstructionsComponent.js +2 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -0
- package/cypress/pages/components/specifyRowsAndColumnsComponent.js +16 -0
- package/cypress/pages/contentBlocksPage.js +2 -0
- package/cypress/pages/desmos3DGraphingPage.js +149 -4
- package/cypress/pages/desmosGeometryPage.js +184 -4
- package/cypress/pages/drawingResponsePage.js +9 -2
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -8
- package/cypress/pages/gradingGridViewPage.js +64 -0
- package/cypress/pages/graphingPage.js +29 -9
- package/cypress/pages/gridFillPage.js +24 -9
- package/cypress/pages/imageHighlightPage.js +115 -15
- package/cypress/pages/index.js +1 -0
- package/cypress/pages/listOrderingPage.js +46 -2
- package/cypress/pages/matchingPage.js +29 -10
- package/cypress/pages/numberLineLabelPage.js +31 -8
- package/cypress/pages/numberLinePage.js +19 -7
- package/cypress/pages/singleSelectionPage.js +30 -1
- package/cypress/pages/textEntryMathPage.js +29 -10
- package/cypress/pages/textSelectionPage.js +2 -2
- package/cypress/pages/thinkSpherePage.js +1118 -87
- package/cypress/pages/uploadResponsePage.js +17 -1
- package/cypress/pages/videoResponsePage.js +3 -0
- package/cypress/support/commands.js +9 -0
- package/cypress/support/helpers/createItem.js +22 -3
- package/cypress/support/helpers/utilities.js +14 -1
- package/package.json +2 -2
- /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/checkAnswerFunctionalityForAllViews.js +0 -0
- /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/editQuestion.smoke.js +0 -0
@@ -784,9 +784,9 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
784
784
|
it('When the user attempts the question with incorrect sine wave then the question should be treated as incorrect', () => {
|
785
785
|
graphingPage.steps.resetQuestionPreview();
|
786
786
|
graphingPage.steps.selectGraphToolOptionPreviewTab('Sine');
|
787
|
-
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 0, yRange: 20 }, { x: 3, xRange: 20, y:
|
787
|
+
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 0, yRange: 20 }, { x: 3, xRange: 20, y: 1, yRange: 20 }]);
|
788
788
|
graphingPage.steps.switchToGradingView();
|
789
|
-
graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 2, xRange: 20, y: 0, yRange: 20 }, { x: 3, xRange: 20, y:
|
789
|
+
graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 2, xRange: 20, y: 0, yRange: 20 }, { x: 3, xRange: 20, y: 1, yRange: 20 }]);
|
790
790
|
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
791
791
|
});
|
792
792
|
|
@@ -840,6 +840,217 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
840
840
|
});
|
841
841
|
});
|
842
842
|
|
843
|
+
views.forEach((view) => {
|
844
|
+
describe(`${view}: Graphing - Polygon: Manually scored`, { tags: 'smoke' }, () => {
|
845
|
+
abortEarlySetup();
|
846
|
+
before(() => {
|
847
|
+
switch (view) {
|
848
|
+
case 'Question preview':
|
849
|
+
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
850
|
+
cy.barsPreLoaderWait();
|
851
|
+
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the polygons');
|
852
|
+
graphingPage.steps.selectToolOptions(['Polygon']);
|
853
|
+
graphingPage.steps.checkPatternBackground();
|
854
|
+
graphingPage.steps.selectGraphToolOptionEditTab('Polygon');
|
855
|
+
graphingPage.steps.plotPointsOnGraphEditTab([{ x: 1, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 4, yRange: 20 }]);
|
856
|
+
graphingPage.steps.expandScoringTypeDropdown();
|
857
|
+
graphingPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
|
858
|
+
graphingPage.steps.allotPoints(20);
|
859
|
+
graphingPage.steps.switchToPreviewTab();
|
860
|
+
break;
|
861
|
+
case 'Item preview':
|
862
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
863
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
864
|
+
break;
|
865
|
+
case 'Grading view':
|
866
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
867
|
+
break;
|
868
|
+
}
|
869
|
+
});
|
870
|
+
|
871
|
+
beforeEach(() => {
|
872
|
+
switch (view) {
|
873
|
+
case 'Question preview':
|
874
|
+
graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
875
|
+
graphingPage.steps.resetQuestionPreview();
|
876
|
+
break;
|
877
|
+
case 'Item preview':
|
878
|
+
itemPreviewPage.steps.switchToStudentView();
|
879
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
880
|
+
break;
|
881
|
+
case 'Grading view':
|
882
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
883
|
+
break;
|
884
|
+
}
|
885
|
+
});
|
886
|
+
|
887
|
+
if (view === 'Question preview') {
|
888
|
+
after(() => {
|
889
|
+
graphingPage.steps.clickOnSaveQuestionButton();
|
890
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
891
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
892
|
+
});
|
893
|
+
}
|
894
|
+
|
895
|
+
it('Question instructions should be visible', () => {
|
896
|
+
graphingPage.steps.verifyQuestionInstructionsTextPreviewTab('Plot the polygons');
|
897
|
+
graphingPage.steps.verifyVisibityOfQuestionInstructionsText();
|
898
|
+
});
|
899
|
+
|
900
|
+
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', () => {
|
901
|
+
graphingPage.steps.selectGraphToolOptionPreviewTab('Polygon');
|
902
|
+
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 1, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 4, yRange: 20 }]);
|
903
|
+
if (view === 'Grading view') {
|
904
|
+
studentViewPage.steps.submitResponse();
|
905
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
906
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
907
|
+
gradingViewPage.steps.verifyGradingViewScore('', 20);
|
908
|
+
}
|
909
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
910
|
+
graphingPage.steps.checkManuallyScoredScoringLabel();
|
911
|
+
}
|
912
|
+
graphingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
913
|
+
graphingPage.steps.verifyCorrectIncorrectIconsNotExist();
|
914
|
+
graphingPage.steps.verifyCorrectIncorrectBorderNotExists();
|
915
|
+
graphingPage.steps.verifyCorrectAnswerSectionNotExist();
|
916
|
+
});
|
917
|
+
});
|
918
|
+
});
|
919
|
+
|
920
|
+
views.forEach((view) => {
|
921
|
+
describe(`${view}: Graphing - Polygon: Non scored`, { tags: 'smoke' }, () => {
|
922
|
+
abortEarlySetup();
|
923
|
+
before(() => {
|
924
|
+
switch (view) {
|
925
|
+
case 'Question preview':
|
926
|
+
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
927
|
+
cy.barsPreLoaderWait();
|
928
|
+
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the polygons');
|
929
|
+
graphingPage.steps.selectToolOptions(['Polygon']);
|
930
|
+
graphingPage.steps.checkPatternBackground();
|
931
|
+
graphingPage.steps.expandScoringTypeDropdown();
|
932
|
+
graphingPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
933
|
+
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Polygon');
|
934
|
+
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 1, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 4, yRange: 20 }]);
|
935
|
+
graphingPage.steps.switchToPreviewTab();
|
936
|
+
break;
|
937
|
+
case 'Item preview':
|
938
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
|
939
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
940
|
+
break;
|
941
|
+
case 'Grading view':
|
942
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
943
|
+
break;
|
944
|
+
}
|
945
|
+
});
|
946
|
+
|
947
|
+
beforeEach(() => {
|
948
|
+
switch (view) {
|
949
|
+
case 'Question preview':
|
950
|
+
graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
951
|
+
graphingPage.steps.resetQuestionPreview();
|
952
|
+
break;
|
953
|
+
case 'Item preview':
|
954
|
+
itemPreviewPage.steps.switchToStudentView();
|
955
|
+
itemPreviewPage.steps.resetQuestionPreview();
|
956
|
+
break;
|
957
|
+
case 'Grading view':
|
958
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
959
|
+
break;
|
960
|
+
}
|
961
|
+
});
|
962
|
+
|
963
|
+
if (view === 'Question preview') {
|
964
|
+
after(() => {
|
965
|
+
graphingPage.steps.clickOnSaveQuestionButton();
|
966
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
967
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
968
|
+
});
|
969
|
+
}
|
970
|
+
|
971
|
+
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', () => {
|
972
|
+
if (view === 'Grading view') {
|
973
|
+
studentViewPage.steps.submitResponse();
|
974
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
975
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
976
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
977
|
+
};
|
978
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
979
|
+
graphingPage.steps.checkNonScoredScoringLabel();
|
980
|
+
graphingPage.steps.switchToGradingView();
|
981
|
+
};
|
982
|
+
graphingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
983
|
+
graphingPage.steps.verifyCorrectAnswerSectionExist();
|
984
|
+
});
|
985
|
+
|
986
|
+
it('When the user attempts the question incorrectly, non-scoring label should be displayed and on switching to grading view, incorrect icons should be displayed and the correct answer should be displayed in the correct answer section', () => {
|
987
|
+
graphingPage.steps.selectGraphToolOptionPreviewTab('Polygon');
|
988
|
+
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 5, yRange: 20 }, { x: 2, xRange: 20, y: 3, yRange: 20 }, { x: 4, xRange: 20, y: 3, yRange: 20 }, { x: 4, xRange: 20, y: 5, yRange: 20 }, { x: 2, xRange: 20, y: 5, yRange: 20 }]);
|
989
|
+
if (view === 'Grading view') {
|
990
|
+
studentViewPage.steps.submitResponse();
|
991
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
992
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
993
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
994
|
+
};
|
995
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
996
|
+
graphingPage.steps.checkNonScoredScoringLabel();
|
997
|
+
graphingPage.steps.switchToGradingView();
|
998
|
+
};
|
999
|
+
graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 2, xRange: 20, y: 5, yRange: 20 }, { x: 2, xRange: 20, y: 3, yRange: 20 }, { x: 4, xRange: 20, y: 3, yRange: 20 }, { x: 4, xRange: 20, y: 5, yRange: 20 }, { x: 2, xRange: 20, y: 5, yRange: 20 }]);
|
1000
|
+
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
1001
|
+
graphingPage.steps.verifyCorrectAnswerSectionExist();
|
1002
|
+
|
1003
|
+
});
|
1004
|
+
|
1005
|
+
it('When the user attempts the question partially correct, non-scoring label should be displayed, correct icons should be displayed for correct polygons, incorrect icons for incorrect polygons, and the correct answer section should be displayed', () => {
|
1006
|
+
if (view === 'Grading view') {
|
1007
|
+
studentViewPage.steps.clearResponses();
|
1008
|
+
}
|
1009
|
+
graphingPage.steps.selectGraphToolOptionPreviewTab('Polygon');
|
1010
|
+
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 1, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 4, yRange: 20 }]);
|
1011
|
+
graphingPage.steps.selectGraphToolOptionPreviewTab('Polygon');
|
1012
|
+
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 5, yRange: 20 }, { x: 2, xRange: 20, y: 3, yRange: 20 }, { x: 4, xRange: 20, y: 3, yRange: 20 }, { x: 4, xRange: 20, y: 5, yRange: 20 }, { x: 2, xRange: 20, y: 5, yRange: 20 }]);
|
1013
|
+
if (view === 'Grading view') {
|
1014
|
+
studentViewPage.steps.submitResponse();
|
1015
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
1016
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
1017
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
1018
|
+
};
|
1019
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
1020
|
+
graphingPage.steps.checkNonScoredScoringLabel();
|
1021
|
+
graphingPage.steps.switchToGradingView();
|
1022
|
+
};
|
1023
|
+
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 1, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 4, yRange: 20 }]);
|
1024
|
+
graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 2, xRange: 20, y: 5, yRange: 20 }, { x: 2, xRange: 20, y: 3, yRange: 20 }, { x: 4, xRange: 20, y: 3, yRange: 20 }, { x: 4, xRange: 20, y: 5, yRange: 20 }, { x: 2, xRange: 20, y: 5, yRange: 20 }]);
|
1025
|
+
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
1026
|
+
graphingPage.steps.verifyCorrectAnswerSectionExist();
|
1027
|
+
});
|
1028
|
+
|
1029
|
+
it('When the user attempts the question correctly, non-scoring label should be displayed, correct icons should be displayed for the correct polygons, a status message with text "Your answer is correct" should be displayed and correct answer section should not be displayed', () => {
|
1030
|
+
if (view === 'Grading view') {
|
1031
|
+
studentViewPage.steps.clearResponses();
|
1032
|
+
}
|
1033
|
+
graphingPage.steps.selectGraphToolOptionPreviewTab('Polygon');
|
1034
|
+
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 1, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 4, yRange: 20 }]);
|
1035
|
+
if (view === 'Grading view') {
|
1036
|
+
studentViewPage.steps.submitResponse();
|
1037
|
+
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
1038
|
+
studentViewPage.steps.clickOnGoToGradingViewButton();
|
1039
|
+
gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
|
1040
|
+
} else {
|
1041
|
+
graphingPage.steps.switchToGradingView();
|
1042
|
+
};
|
1043
|
+
if (view === 'Question preview' || view === 'Item preview') {
|
1044
|
+
graphingPage.steps.checkNonScoredScoringLabel();
|
1045
|
+
graphingPage.steps.switchToGradingView();
|
1046
|
+
};
|
1047
|
+
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 1, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 4, yRange: 20 }]);
|
1048
|
+
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
1049
|
+
graphingPage.steps.verifyCorrectAnswerSectionNotExist();
|
1050
|
+
});
|
1051
|
+
});
|
1052
|
+
});
|
1053
|
+
|
843
1054
|
if (!grepTags || !grepTags.includes('smoke')) {
|
844
1055
|
describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
|
845
1056
|
abortEarlySetup();
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { graphingPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
const correctAnswerPoints = [
|
5
|
+
{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }
|
6
|
+
];
|
7
|
+
|
8
|
+
describe('Create question page - Graphing', () => {
|
9
|
+
before(() => {
|
10
|
+
cy.loginAs('admin');
|
11
|
+
});
|
12
|
+
|
13
|
+
describe('Check Alternative Answer Button', () => {
|
14
|
+
abortEarlySetup();
|
15
|
+
before(() => {
|
16
|
+
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
17
|
+
cy.barsPreLoaderWait();
|
18
|
+
});
|
19
|
+
|
20
|
+
it('When correct answer is not set then alternative answer should be disabled', () => {
|
21
|
+
graphingPage.steps.checkAlternativeButtonDisabled();
|
22
|
+
});
|
23
|
+
|
24
|
+
it('When correct answer is set then alternative answer should be enabled', () => {
|
25
|
+
graphingPage.steps.allotPoints(10);
|
26
|
+
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection(correctAnswerPoints);
|
27
|
+
graphingPage.steps.checkAlternativeButtonEnabled();
|
28
|
+
});
|
29
|
+
|
30
|
+
it('User should be able to add \'Alternative\' answer using the \'Add alternative\' button, when user has not set any answer in the \'Alternative\' accordion and clicks on the \'Correct\' accordion then \'Correct\' accordion should be expanded', () => {
|
31
|
+
graphingPage.steps.clickOnAddAlternativeAnswerButton();
|
32
|
+
graphingPage.steps.expandCorrectAnswerAccordion();
|
33
|
+
});
|
34
|
+
});
|
35
|
+
});
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { graphingPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
|
5
|
+
describe('Edit item - Graphing', () => {
|
6
|
+
before(() => {
|
7
|
+
cy.loginAs('admin');
|
8
|
+
});
|
9
|
+
|
10
|
+
describe('Edit Graphing question', { tags: 'smoke' }, () => {
|
11
|
+
abortEarlySetup();
|
12
|
+
before(() => {
|
13
|
+
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
14
|
+
cy.barsPreLoaderWait();
|
15
|
+
graphingPage.steps.expandScoringTypeDropdown();
|
16
|
+
graphingPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
|
17
|
+
graphingPage.steps.allotPoints(2);
|
18
|
+
graphingPage.steps.saveAQuestionAndVerifySnackbar();
|
19
|
+
});
|
20
|
+
|
21
|
+
it('User should be able to change scoring type to non scored and scoring dropdown should exisit.', () => {
|
22
|
+
graphingPage.steps.editItem();
|
23
|
+
graphingPage.steps.expandScoringTypeDropdown();
|
24
|
+
graphingPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
25
|
+
graphingPage.tests.verifyScoringTypeLabelAndDropdown('Auto scored');
|
26
|
+
});
|
27
|
+
});
|
28
|
+
});
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { graphingPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create item page - Graphing', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('User should be able to edit incomplete authored question', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
13
|
+
cy.barsPreLoaderWait();
|
14
|
+
graphingPage.steps.saveAQuestionWithIncompleteAuthoring();
|
15
|
+
graphingPage.steps.editItem();
|
16
|
+
});
|
17
|
+
|
18
|
+
it('Warning icons should be displayed on the required input fields', () => {
|
19
|
+
graphingPage.steps.verifyWarningIconOnRequiredFields([
|
20
|
+
'Please set points.',
|
21
|
+
]);
|
22
|
+
});
|
23
|
+
|
24
|
+
it('When required input fields are filled then warning icons should disappear', () => {
|
25
|
+
graphingPage.steps.allotPoints(10);
|
26
|
+
graphingPage.steps.verifyErrorMessageIsNotDisplayed();
|
27
|
+
graphingPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
|
28
|
+
});
|
29
|
+
|
30
|
+
it('Clicking on Save Question button the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
|
31
|
+
graphingPage.steps.saveAQuestionAndVerifySnackbar();
|
32
|
+
});
|
33
|
+
|
34
|
+
it('Warning icon should not be visible', () => {
|
35
|
+
graphingPage.steps.verifyWarningIconNotExist();
|
36
|
+
});
|
37
|
+
});
|
38
|
+
});
|
@@ -94,6 +94,7 @@ describe('Create item page - Graphing: Scoring section', () => {
|
|
94
94
|
before(() => {
|
95
95
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
96
96
|
cy.barsPreLoaderWait();
|
97
|
+
graphingPage.steps.addTextInQuestionInstructionsInputField('Graphing question');
|
97
98
|
graphingPage.steps.expandScoringTypeDropdown();
|
98
99
|
graphingPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
|
99
100
|
});
|
@@ -1,7 +1,10 @@
|
|
1
1
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
2
|
-
import { dialogBoxBase, graphingPage } from "../../../pages";
|
2
|
+
import { dialogBoxBase, graphingPage, itemPreviewPage } from "../../../pages";
|
3
|
+
import { browseItemsPage } from "../../../pages/components";
|
3
4
|
import utilities from "../../../support/helpers/utilities";
|
4
5
|
|
6
|
+
var itemReferenceID = "";
|
7
|
+
|
5
8
|
describe('Create item page - Graphing: Header section and saving question', () => {
|
6
9
|
before(() => {
|
7
10
|
cy.loginAs('admin');
|
@@ -45,12 +48,11 @@ describe('Create item page - Graphing: Header section and saving question', () =
|
|
45
48
|
});
|
46
49
|
|
47
50
|
describe('Validation error messages', () => {
|
48
|
-
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
|
51
|
+
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points.']);
|
49
52
|
|
50
53
|
it('Validation error messages should be displayed below required input fields', () => {
|
51
54
|
graphingPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
|
52
|
-
graphingPage.steps.
|
53
|
-
utilities.verifyInnerText(utilities.getNthElement(graphingPage.errorMessage(), 0), 'Error: Please set a correct answer.');
|
55
|
+
graphingPage.steps.verifyWarningIconOnRequiredFields(['Please set points.']);
|
54
56
|
});
|
55
57
|
|
56
58
|
it('Validation error messages should disappear when required input fields are filled', () => {
|
@@ -73,5 +75,35 @@ describe('Create item page - Graphing: Header section and saving question', () =
|
|
73
75
|
|
74
76
|
graphingPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
|
75
77
|
});
|
78
|
+
|
79
|
+
describe('Saving a question with incomplete authoring', () => {
|
80
|
+
abortEarlySetup();
|
81
|
+
before(() => {
|
82
|
+
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
83
|
+
cy.barsPreLoaderWait();
|
84
|
+
});
|
85
|
+
|
86
|
+
it('User should be able to save the question with incomplete authoring and display a snackbar with the text "Saved successfully!" when the Save Question button is clicked', () => {
|
87
|
+
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points.']);
|
88
|
+
graphingPage.steps.saveAQuestionWithIncompleteAuthoring();
|
89
|
+
});
|
90
|
+
graphingPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
|
91
|
+
});
|
92
|
+
});
|
93
|
+
|
94
|
+
describe('Save as you go - Browse item page contents', () => {
|
95
|
+
abortEarlySetup();
|
96
|
+
before(() => {
|
97
|
+
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
98
|
+
cy.barsPreLoaderWait();
|
99
|
+
graphingPage.steps.saveAQuestionWithIncompleteAuthoring();
|
100
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
101
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
102
|
+
browseItemsPage.steps.navigateToBrowseItemsPage();
|
103
|
+
});
|
104
|
+
|
105
|
+
it('When user saves an incompletely authored question then a warning icon should be visible in browse items page', () => {
|
106
|
+
browseItemsPage.steps.verifyWarningIconInBrowseItemPage(`${itemReferenceID}`);
|
107
|
+
});
|
76
108
|
});
|
77
109
|
});
|
@@ -426,7 +426,8 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
|
|
426
426
|
graphingPage.steps.enterTextInXGridSpacingInputFieldValue(1500);
|
427
427
|
});
|
428
428
|
|
429
|
-
|
429
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5518
|
430
|
+
it.skip('When user updates X grid spacing then on the x axis user should be able to plot only on the grid lines after a those many intervals', () => {
|
430
431
|
graphingPage.steps.enterTextInXGridSpacingInputFieldValue(3);
|
431
432
|
graphingPage.steps.plotPointsOnGraphEditTab([{ x: -2, xRange: 20, y: 1, yRange: 20 }]);
|
432
433
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: -3, xRange: 20, y: 1, yRange: 20 }]);
|
@@ -555,7 +556,8 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
|
|
555
556
|
graphingPage.steps.enterTextInYGridSpacingInputFieldValue(1500);
|
556
557
|
});
|
557
558
|
|
558
|
-
|
559
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5518
|
560
|
+
it.skip('When the user updates the Y grid spacing value then the user should be able to plot on y axis grid lines after those many intervals', () => {
|
559
561
|
graphingPage.steps.enterTextInYGridSpacingInputFieldValue(4)
|
560
562
|
graphingPage.steps.plotPointsOnGraphEditTab([{ x: 3, xRange: 20, y: 7, yRange: 20 }]);
|
561
563
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 3, xRange: 20, y: 8, yRange: 20 }]);
|
@@ -843,7 +845,8 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
|
|
843
845
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 3, xRange: 20, y: 1, yRange: 20 }]);
|
844
846
|
});
|
845
847
|
|
846
|
-
|
848
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5518
|
849
|
+
it.skip('When the user updates the Y grid spacing value then the user should be able to plot on y axis grid lines after those many intervals', () => {
|
847
850
|
graphingPage.steps.switchToEditTab();
|
848
851
|
graphingPage.steps.enterTextInYGridSpacingInputFieldValue(4);
|
849
852
|
graphingPage.steps.switchToPreviewTab();
|
@@ -68,4 +68,32 @@ describe('Create Item page - Graphing: Specify correct answer, Alternative corre
|
|
68
68
|
graphingPage.steps.verifyAlternateAnswerAccordionIsCollapsed(0);
|
69
69
|
});
|
70
70
|
});
|
71
|
+
|
72
|
+
describe('Graphing: Modify X/Y Axis Range Inputs and Validate Answer Visibility', () => {
|
73
|
+
abortEarlySetup();
|
74
|
+
before(() => {
|
75
|
+
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
76
|
+
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
77
|
+
graphingPage.steps.selectToolOptions(['Polygon']);
|
78
|
+
cy.barsPreLoaderWait();
|
79
|
+
});
|
80
|
+
|
81
|
+
it('When the user set a correct answer then answer should be visible in correct answer section', () => {
|
82
|
+
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Polygon');
|
83
|
+
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }]);
|
84
|
+
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }]);
|
85
|
+
});
|
86
|
+
|
87
|
+
it('When the user removes the x min value from the input field and sets a new value, the correct answer should be visible if the response falls within the new range', () => {
|
88
|
+
graphingPage.steps.enterTextInXMinInputField('-10');
|
89
|
+
graphingPage.steps.verifyXMinInputFieldValue('-10');
|
90
|
+
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }]);
|
91
|
+
});
|
92
|
+
|
93
|
+
it('When the user removes the y max value from the input field and sets a new value, the correct answer should not be visible if the response does not fall within the new range', () => {
|
94
|
+
graphingPage.steps.enterTextInYMaxInputField('2');
|
95
|
+
graphingPage.steps.verifyYMaxInputFieldValue('2');
|
96
|
+
graphingPage.steps.verifyPointsPlottedNotExistOnSpecifyCorrectAnswerSection([{ x: -3, xRange: 20, y: 2, yRange: 12 }, { x: 3, xRange: 20, y: 2, yRange: 12 }]);
|
97
|
+
});
|
98
|
+
});
|
71
99
|
});
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { gridFillPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create question page - Drag and Drop into Categories', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Check Alternative Answer Button', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
gridFillPage.steps.navigateToCreateQuestion('grid fill');
|
13
|
+
cy.barsPreLoaderWait();
|
14
|
+
});
|
15
|
+
|
16
|
+
it('When correct answer is not set then alternative answer should be disabled', () => {
|
17
|
+
gridFillPage.steps.addTextInQuestionInstructionsInputField('Grid Fill');
|
18
|
+
gridFillPage.steps.checkAlternativeButtonDisabled();
|
19
|
+
});
|
20
|
+
|
21
|
+
it('When correct answer is set then alternative answer should be enabled', () => {
|
22
|
+
gridFillPage.steps.allotPoints(20);
|
23
|
+
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
|
24
|
+
gridFillPage.steps.checkAlternativeButtonEnabled();
|
25
|
+
});
|
26
|
+
|
27
|
+
it('User should be able to add \'Alternative\' answer using the \'Add alternative\' button, when user has not set any answer in the \'Alternative\' accordion and clicks on the \'Correct\' accordion then \'Correct\' accordion should be expanded', () => {
|
28
|
+
gridFillPage.steps.clickOnAddAlternativeAnswerButton();
|
29
|
+
});
|
30
|
+
|
31
|
+
it('Alternative answer should not be allowed to be added when user has not set cell count in the correct answer section', () => {
|
32
|
+
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
33
|
+
gridFillPage.steps.checkAlternativeButtonDisabled();
|
34
|
+
gridFillPage.steps.addInputToCellShadeCountInputField(2);
|
35
|
+
gridFillPage.steps.checkAlternativeButtonEnabled();
|
36
|
+
gridFillPage.steps.clickOnAddAlternativeAnswerButton();
|
37
|
+
gridFillPage.steps.expandCorrectAnswerAccordion();
|
38
|
+
});
|
39
|
+
});
|
40
|
+
});
|