itemengine-cypress-automation 1.0.343 → 1.0.344-graph-and-chart-r2-8153722.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/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 +73 -0
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
- package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
- package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
- package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
- package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
- package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
- package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
- package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
- package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +5 -6
- package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
- package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
- package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
- package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
- package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +6 -10
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
- package/cypress/e2e/ILC/ListOrderingNew/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 +75 -0
- package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
- package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
- package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
- package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
- package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
- package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
- package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
- package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
- package/cypress/e2e/ILC/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/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -3
- 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 +0 -4
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -8
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -2
- package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +8 -6
- 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 +6 -4
- 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/package.json +4 -4
- package/scripts/dataApi.mjs +3 -0
- package/scripts/sorry-cypress.mjs +13 -0
@@ -0,0 +1,368 @@
|
|
1
|
+
import { browseItemsPage } from '../../../pages/components/browseItemsPage';
|
2
|
+
import utilities from "../../../support/helpers/utilities";
|
3
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
import { common } from '../../../pages/common';
|
6
|
+
const tableHeader = ['ThinkSphere Item'];
|
7
|
+
const sortDisable = ['not.have.class'];
|
8
|
+
const sortOptions = ['Item', 'Last updated', 'Created on'];
|
9
|
+
|
10
|
+
describe('Navigate to Think Sphere Browse Items page and view the page contents', () => {
|
11
|
+
before(() => {
|
12
|
+
cy.loginAs('admin');
|
13
|
+
cy.deleteThinkSphereItem('~zzz item name');
|
14
|
+
cy.createThinkSphereItem('~zzz item name');
|
15
|
+
cy.visit('/item-engine/thinksphere/browse-items');
|
16
|
+
cy.interceptGraphql('getItems');
|
17
|
+
});
|
18
|
+
|
19
|
+
after(() => {
|
20
|
+
cy.deleteThinkSphereItem('~zzz item name');
|
21
|
+
});
|
22
|
+
|
23
|
+
describe('\'Browse ThinkSphere Items\' page desktop and mobile view icons section', () => {
|
24
|
+
abortEarlySetup();
|
25
|
+
it('Desktop icon should be present on the page and should be in selected state', () => {
|
26
|
+
browseItemsPage.steps.verifyDesktopIcon();
|
27
|
+
});
|
28
|
+
|
29
|
+
browseItemsPage.tests.verifyDesktopIconSelected(true);
|
30
|
+
|
31
|
+
it('CSS of \'Browse ThinkSphere Items\' desktop icon', { tags: 'css' }, () => {
|
32
|
+
utilities.verifyCSS(browseItemsPage.buttonDesktopViewToggle().find('svg'), {
|
33
|
+
'fill': css.color.optionColor,
|
34
|
+
'height': '20px',
|
35
|
+
'width': '20px'
|
36
|
+
});
|
37
|
+
});
|
38
|
+
|
39
|
+
it('Mobile icon should be present on the page and should be in selected state', () => {
|
40
|
+
browseItemsPage.steps.verifyMobileIcon();
|
41
|
+
});
|
42
|
+
|
43
|
+
browseItemsPage.tests.verifyMobileIconSelected(false);
|
44
|
+
|
45
|
+
it('CSS of \'Browse ThinkSphere Items\' mobile icon', { tags: 'css' }, () => {
|
46
|
+
utilities.verifyCSS(browseItemsPage.buttonMobileViewToggle().find('svg'), {
|
47
|
+
'fill': css.color.optionColor,
|
48
|
+
'height': '20px',
|
49
|
+
'width': '20px'
|
50
|
+
});
|
51
|
+
});
|
52
|
+
|
53
|
+
it('When user hover on the desktop and mobile icon tooltip should be visible', () => {
|
54
|
+
browseItemsPage.steps.triggerMouseOverOnViewModeIcon('desktop');
|
55
|
+
browseItemsPage.steps.verifyTooltipPresent();
|
56
|
+
browseItemsPage.steps.verifyTooltipText('Desktop View');
|
57
|
+
browseItemsPage.steps.triggerMouseOutOnViewModeIcon('desktop');
|
58
|
+
browseItemsPage.steps.triggerMouseOverOnViewModeIcon('mobile');
|
59
|
+
browseItemsPage.steps.verifyTooltipPresent();
|
60
|
+
browseItemsPage.steps.verifyTooltipText('Mobile View');
|
61
|
+
browseItemsPage.steps.triggerMouseOutOnViewModeIcon('mobile');
|
62
|
+
});
|
63
|
+
|
64
|
+
it('CSS of desktop and mobile view mode icon tooltip', { tags: 'css' }, () => {
|
65
|
+
browseItemsPage.steps.triggerMouseOverOnViewModeIcon('desktop');
|
66
|
+
utilities.verifyCSS(browseItemsPage.tooltipText(), {
|
67
|
+
'background-color': css.color.sectionHeading,
|
68
|
+
'color': css.color.primaryBtn,
|
69
|
+
'font-size': css.fontSize.small,
|
70
|
+
'font-weight': css.fontWeight.regular
|
71
|
+
});
|
72
|
+
browseItemsPage.steps.triggerMouseOutOnViewModeIcon('desktop');
|
73
|
+
|
74
|
+
cy.log('CSS of desktop and mobile view mode icon in hover state');
|
75
|
+
browseItemsPage.steps.hoverOnViewModeButton('desktop');
|
76
|
+
utilities.verifyCSS(browseItemsPage.buttonDesktopViewToggle(), {
|
77
|
+
'background-color': css.color.tableRowHoverColor,
|
78
|
+
});
|
79
|
+
browseItemsPage.steps.hoverOnViewModeButton('mobile');
|
80
|
+
utilities.verifyCSS(browseItemsPage.buttonMobileViewToggle(), {
|
81
|
+
'background-color': css.color.tableRowHoverColor,
|
82
|
+
});
|
83
|
+
});
|
84
|
+
|
85
|
+
it('When user click on the mobile view icon then it should get selected and main wrapper width should change', () => {
|
86
|
+
browseItemsPage.steps.clickOnViewModeIcon('mobile');
|
87
|
+
browseItemsPage.steps.verifyMainWrapperWidth('320px');
|
88
|
+
});
|
89
|
+
|
90
|
+
browseItemsPage.tests.verifyMobileIconSelected(true);
|
91
|
+
browseItemsPage.tests.verifyDesktopIconSelected(false);
|
92
|
+
});
|
93
|
+
|
94
|
+
describe('\'Browse ThinkSphere Items\' list page wrapper section', () => {
|
95
|
+
abortEarlySetup();
|
96
|
+
it('If the user clicks on the \'Browse ThinkSphere Items\' option from the menu bar, user should be navigated to the Think Sphere Browse Items page', () => {
|
97
|
+
browseItemsPage.steps.clickOnBrowseThinkSphereItemsMenuBarOption();
|
98
|
+
browseItemsPage.steps.verifyPageUrl('/item-engine/thinksphere/browse-items');
|
99
|
+
browseItemsPage.steps.verifyBrowseThinkSphereItemsMenuBarOptionSelected();
|
100
|
+
});
|
101
|
+
|
102
|
+
it('\'Browse ThinkSphere Items\' Item list page wrapper section should present', () => {
|
103
|
+
browseItemsPage.steps.verifyBrowseItemsPageWrapperSection();
|
104
|
+
});
|
105
|
+
|
106
|
+
it('CSS of \'Browse ThinkSphere Items\' option', { tags: 'css' }, () => {
|
107
|
+
utilities.verifyCSS(browseItemsPage.browseThinksphereItemsMenuBarOption(), {
|
108
|
+
'color': css.color.codeBlockText,
|
109
|
+
'font-size': css.fontSize.normal,
|
110
|
+
'font-weight': css.fontWeight.medium
|
111
|
+
});
|
112
|
+
utilities.verifyCSS(browseItemsPage.browseItemPageWrapper(), {
|
113
|
+
'background-color': css.color.primaryBtn,
|
114
|
+
'border-radius': '4px',
|
115
|
+
'border': `1px solid ${css.color.borderColor}`,
|
116
|
+
'padding-bottom': '16px'
|
117
|
+
});
|
118
|
+
});
|
119
|
+
});
|
120
|
+
|
121
|
+
describe('\'Browse ThinkSphere Items\' page header section', () => {
|
122
|
+
abortEarlySetup();
|
123
|
+
it('\'Browse ThinkSphere Items\' page header section present', () => {
|
124
|
+
utilities.verifyElementVisibilityState(browseItemsPage.browseItemPageHeaderActionWrapper(), 'exist')
|
125
|
+
utilities.verifyInnerText(browseItemsPage.browseItemPageHeader(), 'Browse ThinkSphere items');
|
126
|
+
utilities.verifyInnerText(browseItemsPage.createItemButtonTypography(), 'Create item');
|
127
|
+
});
|
128
|
+
|
129
|
+
it('When user click on \'Browse ThinkSphere Items\' create item button, then it should navigate to think sphere create item page', () => {
|
130
|
+
browseItemsPage.steps.clickOnCreateItemButton();
|
131
|
+
browseItemsPage.steps.verifyPageUrl('/item-engine/thinksphere/create-item');
|
132
|
+
browseItemsPage.steps.clickWindowsBack();
|
133
|
+
cy.interceptGraphql('getItems');
|
134
|
+
cy.wait(2000);
|
135
|
+
});
|
136
|
+
|
137
|
+
it('CSS of \'Browse ThinkSphere Items\' page header section', { tags: 'css' }, () => {
|
138
|
+
utilities.verifyCSS(browseItemsPage.browseItemPageHeaderActionWrapper(), {
|
139
|
+
'border-bottom': `1px solid ${css.color.secondaryBtnBorder}`,
|
140
|
+
'padding': '16px 0px'
|
141
|
+
});
|
142
|
+
utilities.verifyCSS(browseItemsPage.browseItemPageHeader(), {
|
143
|
+
'color': css.color.secondaryBtn,
|
144
|
+
'font-size': css.fontSize.heading,
|
145
|
+
'font-weight': css.fontWeight.bold
|
146
|
+
});
|
147
|
+
utilities.verifyCSS(browseItemsPage.buttonCreateItem(), {
|
148
|
+
'background-color': css.color.primaryBtnBg,
|
149
|
+
'padding': '12px 16px'
|
150
|
+
});
|
151
|
+
utilities.verifyCSS(browseItemsPage.createItemButtonTypography(), {
|
152
|
+
'color': css.color.primaryBtn,
|
153
|
+
'font-size': css.fontSize.default,
|
154
|
+
'font-weight': css.fontWeight.semibold
|
155
|
+
});
|
156
|
+
|
157
|
+
cy.log('CSS of \'Browse ThinkSphere Items\' page header section create button in hover state');
|
158
|
+
browseItemsPage.steps.hoverOnCreateItemButton();
|
159
|
+
utilities.verifyCSS(browseItemsPage.buttonCreateItem(), {
|
160
|
+
'background-color': css.color.buttonHoverColor,
|
161
|
+
'box-shadow': `${css.color.secondaryBtn} 0px 3px 0px 0px`
|
162
|
+
});
|
163
|
+
utilities.verifyCSS(browseItemsPage.createItemButtonTypography(), {
|
164
|
+
'color': css.color.primaryBtn
|
165
|
+
});
|
166
|
+
});
|
167
|
+
|
168
|
+
it('Accessibility of create item button', { tags: 'a11y' }, () => {
|
169
|
+
cy.checkAccessibility(browseItemsPage.headerActionButtonWrapper());
|
170
|
+
});
|
171
|
+
});
|
172
|
+
|
173
|
+
describe('\'Browse ThinkSphere Items\' list table section columns headers', () => {
|
174
|
+
abortEarlySetup();
|
175
|
+
it('The column headers should be present in the listing table header', () => {
|
176
|
+
browseItemsPage.steps.verifyColumnHeadersInListingTable(tableHeader);
|
177
|
+
});
|
178
|
+
|
179
|
+
it('The column headers should have sort disable', () => {
|
180
|
+
browseItemsPage.steps.verifySortEnableDisableForTableColumnHeader(sortDisable);
|
181
|
+
});
|
182
|
+
|
183
|
+
it('When only one search result is present, then column sort should be disabled', () => {
|
184
|
+
browseItemsPage.steps.addTextInSearchBar('~zzz item name');
|
185
|
+
browseItemsPage.steps.clickOnSearchIcon();
|
186
|
+
browseItemsPage.steps.verifyPaginationCount('1 - 1 of');
|
187
|
+
browseItemsPage.steps.verifyMobileViewSortDropdownEnableDisableState(false);
|
188
|
+
browseItemsPage.steps.clearSearchBar();
|
189
|
+
});
|
190
|
+
|
191
|
+
it('CSS of \'Browse ThinkSphere Items\' list table section', { tags: 'css' }, () => {
|
192
|
+
tableHeader.forEach((_, count) => {
|
193
|
+
utilities.verifyCSS(browseItemsPage.tableColumnHeaderBrowseItemWrapperDiv(count), {
|
194
|
+
'color': css.color.primaryBtnBorder,
|
195
|
+
'font-size': css.fontSize.default,
|
196
|
+
'font-weight': css.fontWeight.bold
|
197
|
+
});
|
198
|
+
utilities.verifyCSS(browseItemsPage.tableColumnHeader(count).parent().parent(), {
|
199
|
+
'background-color': css.color.optionsBg,
|
200
|
+
});
|
201
|
+
});
|
202
|
+
});
|
203
|
+
});
|
204
|
+
|
205
|
+
describe('\'Browse ThinkSphere Items\' list table rows section', () => {
|
206
|
+
abortEarlySetup();
|
207
|
+
browseItemsPage.tests.verifyItemListTableRows();
|
208
|
+
browseItemsPage.tests.verifyItemReferenceId('~zzz item name', true);
|
209
|
+
browseItemsPage.tests.verifyQuestionInstruction('question instruction text');
|
210
|
+
});
|
211
|
+
|
212
|
+
describe('\'Browse ThinkSphere Items\' sort dropdown section', () => {
|
213
|
+
abortEarlySetup();
|
214
|
+
it('Sort dropdown should be present on the page', () => {
|
215
|
+
browseItemsPage.steps.verifySortDropdown();
|
216
|
+
browseItemsPage.steps.verifySortDropdownLabel('Sort by: Last updated');
|
217
|
+
browseItemsPage.steps.verifySortDescendingIcon();
|
218
|
+
});
|
219
|
+
|
220
|
+
it('When user click on sort dropdown, then sort options should be display', () => {
|
221
|
+
browseItemsPage.steps.clickOnSortDropdown();
|
222
|
+
browseItemsPage.steps.verifySortDropdownOptions(sortOptions);
|
223
|
+
});
|
224
|
+
|
225
|
+
it('When user click on \'ngie-popover-container\', then it should close sort options menu', () => {
|
226
|
+
browseItemsPage.steps.clickOnNgiePopoverContainer();
|
227
|
+
utilities.verifyElementVisibilityState(browseItemsPage.mobileViewSortbyDropdownOptionsList(), 'notExist');
|
228
|
+
});
|
229
|
+
|
230
|
+
it('When user click on each sort dropdown option, then items should sort Ascending and in descending order', () => {
|
231
|
+
sortOptions.forEach((_, count) => {
|
232
|
+
browseItemsPage.steps.clickOnSortDropdown();
|
233
|
+
browseItemsPage.steps.clickOnSortOption(count);
|
234
|
+
browseItemsPage.steps.clickOnSortDropdown();
|
235
|
+
browseItemsPage.steps.sortDropdownOptionSelected(count);
|
236
|
+
browseItemsPage.steps.clickOnNgiePopoverContainer();
|
237
|
+
});
|
238
|
+
browseItemsPage.steps.clickOnSortDropdown();
|
239
|
+
browseItemsPage.steps.clickOnSortOption(1);
|
240
|
+
browseItemsPage.steps.clickOnMobileViewSortAscendingIcon();
|
241
|
+
});
|
242
|
+
|
243
|
+
it('CSS of \'Browse ThinkSphere Items\' sort dropdown section', { tags: 'css' }, () => {
|
244
|
+
utilities.verifyCSS(browseItemsPage.mobileViewSortByDropdown(), {
|
245
|
+
'border': `1px solid ${css.color.liTextSelectedBg}`,
|
246
|
+
'box-shadow': `${css.color.liTextSelectedBg} 0px 5px 0px 0px`,
|
247
|
+
'padding': '12px 16px'
|
248
|
+
});
|
249
|
+
utilities.verifyCSS(browseItemsPage.mobileViewSortByDropdownLabelWrapper(), {
|
250
|
+
'color': css.color.highlightedTableCell,
|
251
|
+
'font-size': css.fontSize.default,
|
252
|
+
'font-weight': css.fontWeight.regular
|
253
|
+
});
|
254
|
+
utilities.verifyCSS(browseItemsPage.mobileViewSortByDropdownLabel(), {
|
255
|
+
'color': css.color.highlightedTableCell,
|
256
|
+
'font-size': css.fontSize.default,
|
257
|
+
'font-weight': css.fontWeight.bold
|
258
|
+
});
|
259
|
+
|
260
|
+
cy.log('CSS of \'Browse ThinkSphere Items\' sort dropdown section in hover state');
|
261
|
+
browseItemsPage.steps.hoverOnSortDropdown();
|
262
|
+
utilities.verifyCSS(browseItemsPage.mobileViewSortByDropdown(), {
|
263
|
+
'border': `1px solid ${css.color.primaryBtnBg}`,
|
264
|
+
'box-shadow': `${css.color.primaryBtnBg} 0px 3px 0px 0px`
|
265
|
+
});
|
266
|
+
});
|
267
|
+
});
|
268
|
+
|
269
|
+
describe('\'Browse ThinkSphere Items\' search section', () => {
|
270
|
+
abortEarlySetup();
|
271
|
+
it('Search bar component should be present', () => {
|
272
|
+
browseItemsPage.steps.verifySearchBarComponent();
|
273
|
+
browseItemsPage.steps.verifySearchIcon();
|
274
|
+
browseItemsPage.steps.verifyCloseIcon();
|
275
|
+
});
|
276
|
+
|
277
|
+
it('CSS of search bar component', { tags: 'css' }, () => {
|
278
|
+
utilities.verifyCSS(browseItemsPage.searchBar().parent(), {
|
279
|
+
'background-color': css.color.progressBarRemainingFill,
|
280
|
+
'border': `1px solid ${css.color.figDefaultComponentBorder}`,
|
281
|
+
'border-radius': '50px',
|
282
|
+
'padding': '0px 8px'
|
283
|
+
});
|
284
|
+
utilities.verifyCSS(browseItemsPage.buttonSearchSVG(), {
|
285
|
+
'fill': css.color.primaryBtnBorder,
|
286
|
+
'height': '18px',
|
287
|
+
'width': '18px'
|
288
|
+
});
|
289
|
+
});
|
290
|
+
|
291
|
+
it('When user type title/tags/content in search component and search, then it should search', () => {
|
292
|
+
browseItemsPage.steps.addTextInSearchBar('~zzz');
|
293
|
+
browseItemsPage.steps.clickOnSearchIcon();
|
294
|
+
browseItemsPage.steps.verifyPaginationCount('1 - 1 of');
|
295
|
+
});
|
296
|
+
|
297
|
+
it('User should be able to clear the searchbar',()=>{
|
298
|
+
browseItemsPage.steps.clearSearchBar();
|
299
|
+
});
|
300
|
+
|
301
|
+
browseItemsPage.tests.verifyItemReferenceId('~zzz item name', true);
|
302
|
+
|
303
|
+
it('CSS of search bar in hover state', { tags: 'css' }, () => {
|
304
|
+
browseItemsPage.steps.hoverOnSearchBarComponent();
|
305
|
+
utilities.verifyCSS(browseItemsPage.searchBar().parent(), {
|
306
|
+
'background-color': css.color.primaryBtn,
|
307
|
+
});
|
308
|
+
});
|
309
|
+
|
310
|
+
// skip this because axeDevtools is showing zero errors still this case is showing one accessibility issue
|
311
|
+
it.skip('Accessibility of search bar component', { tags: 'a11y' }, () => {
|
312
|
+
cy.checkAccessibility(browseItemsPage.itemListFilterWrapper());
|
313
|
+
});
|
314
|
+
});
|
315
|
+
|
316
|
+
describe('\'Browse ThinkSphere Items\' pagination section', () => {
|
317
|
+
abortEarlySetup();
|
318
|
+
it('Pagination section should be present', () => {
|
319
|
+
browseItemsPage.steps.verifyPaginationSection();
|
320
|
+
browseItemsPage.steps.verifyPaginationCount('1 - 20 of');
|
321
|
+
browseItemsPage.steps.verifyItemsOnPage(20);
|
322
|
+
});
|
323
|
+
|
324
|
+
it('CSS of \'Browse ThinkSphere Items\' pagination section', { tags: 'css' }, () => {
|
325
|
+
utilities.verifyCSS(utilities.getNthElement(browseItemsPage.paginationCountText(), 0), {
|
326
|
+
'color': css.color.labels,
|
327
|
+
'font-size': css.fontSize.small,
|
328
|
+
'font-weight': css.fontWeight.regular
|
329
|
+
});
|
330
|
+
utilities.getNthElement(browseItemsPage.paginationBlock(), 0)
|
331
|
+
.within(() => {
|
332
|
+
utilities.verifyCSS(browseItemsPage.buttonNext(), {
|
333
|
+
'box-shadow': `${css.color.secondaryBtnBorder} 0px 5px 0px 0px`,
|
334
|
+
'border': `1px solid ${css.color.secondaryBtnBorder}`,
|
335
|
+
'color': css.color.secondaryBtn,
|
336
|
+
'padding': '7px'
|
337
|
+
});
|
338
|
+
utilities.verifyCSS(browseItemsPage.buttonPrevious(), {
|
339
|
+
'opacity': '0.5',
|
340
|
+
'border': `1px solid ${css.color.secondaryBtnBorder}`,
|
341
|
+
'color': css.color.secondaryBtn,
|
342
|
+
'padding': '7px'
|
343
|
+
});
|
344
|
+
});
|
345
|
+
});
|
346
|
+
|
347
|
+
it('When user click on the next page button, then it should display the next page data', () => {
|
348
|
+
browseItemsPage.steps.clickOnNextPageButton();
|
349
|
+
browseItemsPage.steps.verifyPaginationCount('21 - 40 of');
|
350
|
+
});
|
351
|
+
|
352
|
+
it('When user click on the prev page button, then it should display the prev page data', () => {
|
353
|
+
browseItemsPage.steps.clickOnPreviousPageButton();
|
354
|
+
browseItemsPage.steps.verifyPaginationCount('1 - 20 of');
|
355
|
+
});
|
356
|
+
|
357
|
+
it('CSS of pagination section next button in hover state', { tags: 'css' }, () => {
|
358
|
+
browseItemsPage.steps.hoverOnNextPageButton();
|
359
|
+
utilities.getNthElement(browseItemsPage.paginationBlock(), 0)
|
360
|
+
.within(() => {
|
361
|
+
utilities.verifyCSS(browseItemsPage.buttonNext(), {
|
362
|
+
'border-color': css.color.primaryBtnBg,
|
363
|
+
'box-shadow': `${css.color.primaryBtnBg} 0px 3px 0px 0px`
|
364
|
+
});
|
365
|
+
});
|
366
|
+
});
|
367
|
+
});
|
368
|
+
});
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { chartsBarPage } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create Item page - Charts Bar', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('Question Preview: Auto Scored Without Points', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
chartsBarPage.steps.navigateToCreateQuestion('charts');
|
13
|
+
cy.barsPreLoaderWait();
|
14
|
+
chartsBarPage.steps.addTextInQuestionInstructionsInputField('Set the bar on the chart for the profits of the years');
|
15
|
+
chartsBarPage.steps.addBarOrPointInChartInSelectChartTypeSection();
|
16
|
+
chartsBarPage.steps.addBarOrPointInChartInSelectChartTypeSection();
|
17
|
+
chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 0, value: 3, range: 10 });
|
18
|
+
chartsBarPage.steps.setBarValueInSpecifyCorrectAnswerSection({ barIndex: 1, value: 5, range: 10 });
|
19
|
+
chartsBarPage.steps.switchToPreviewTab();
|
20
|
+
});
|
21
|
+
|
22
|
+
it('In Preview tab, when points are not set then manually scored scoring label should be displayed', () => {
|
23
|
+
chartsBarPage.steps.checkManuallyScoredScoringLabel();
|
24
|
+
});
|
25
|
+
|
26
|
+
it('In Preview tab, when user switches to grading view then banner and correct answer should be displayed', () => {
|
27
|
+
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 3, range: 10 });
|
28
|
+
chartsBarPage.steps.switchToGradingView();
|
29
|
+
chartsBarPage.steps.verifyAnswerStatusBannerExist();
|
30
|
+
chartsBarPage.steps.verifyCorrectAnswerSectionExist();
|
31
|
+
});
|
32
|
+
});
|
33
|
+
});
|
@@ -6,6 +6,7 @@ describe('Create item page - Charts - Bar: Partial different weights', () => {
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Charts - Bar: Partial different weights scoring', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -27,8 +28,7 @@ describe('Create item page - Charts - Bar: Partial different weights', () => {
|
|
27
28
|
chartsBarPage.steps.switchToPreviewTab();
|
28
29
|
});
|
29
30
|
|
30
|
-
|
31
|
-
it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icons should not be displayed for any bar, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
|
31
|
+
it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icons should not be displayed for any bar, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
|
32
32
|
chartsBarPage.steps.switchToGradingView();
|
33
33
|
chartsBarPage.steps.verifyPreviewScore(0, 20);
|
34
34
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When alternate answer points are more than correct answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When correct answer points are equal to alternative answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When correct answer points are more than alternative answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js
CHANGED
@@ -6,6 +6,7 @@ describe('Create Item page - List ordering: Preview tab scoring', () => {
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question preview: Auto scored - Partial different weights: Minimum scoring', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { chartsBarPage } from "../../../pages";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
|
4
|
+
describe('Create item page - Charts Bar', () => {
|
5
|
+
before(() => {
|
6
|
+
cy.loginAs('admin');
|
7
|
+
});
|
8
|
+
|
9
|
+
describe('User should be able to edit incomplete authored question', () => {
|
10
|
+
abortEarlySetup();
|
11
|
+
before(() => {
|
12
|
+
chartsBarPage.steps.navigateToCreateQuestion('charts');
|
13
|
+
cy.barsPreLoaderWait();
|
14
|
+
chartsBarPage.steps.saveAQuestionWithIncompleteAuthoring();
|
15
|
+
chartsBarPage.steps.editItem();
|
16
|
+
});
|
17
|
+
|
18
|
+
it('Warning icons should be displayed on the required input fields', () => {
|
19
|
+
chartsBarPage.steps.verifyWarningIconOnRequiredFields([
|
20
|
+
'Please set points',
|
21
|
+
]);
|
22
|
+
});
|
23
|
+
|
24
|
+
it('When required input fields are filled then warning icons should disappear', () => {
|
25
|
+
chartsBarPage.steps.allotPoints(10);
|
26
|
+
chartsBarPage.steps.verifyErrorMessageIsNotDisplayed();
|
27
|
+
});
|
28
|
+
|
29
|
+
it('Clicking on Save Question button the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
|
30
|
+
chartsBarPage.steps.saveAQuestionAndVerifySnackbar();
|
31
|
+
});
|
32
|
+
|
33
|
+
it('Warning icon should not be visible', () => {
|
34
|
+
chartsBarPage.steps.verifyWarningIconNotExist();
|
35
|
+
});
|
36
|
+
});
|
37
|
+
});
|
@@ -1,8 +1,11 @@
|
|
1
1
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
2
|
-
import { chartsBarPage, dialogBoxBase } from "../../../pages";
|
2
|
+
import { chartsBarPage, dialogBoxBase, itemPreviewPage } from "../../../pages";
|
3
|
+
import { browseItemsPage } from "../../../pages/components";
|
3
4
|
import utilities from "../../../support/helpers/utilities";
|
4
5
|
const css = Cypress.env('css');
|
5
6
|
|
7
|
+
var itemReferenceID = "";
|
8
|
+
|
6
9
|
describe('Create item page - Charts - Bar: Header section and saving question', () => {
|
7
10
|
before(() => {
|
8
11
|
cy.loginAs('admin');
|
@@ -94,7 +97,22 @@ describe('Create item page - Charts - Bar: Header section and saving question',
|
|
94
97
|
cy.barsPreLoaderWait();
|
95
98
|
});
|
96
99
|
|
97
|
-
|
100
|
+
describe('Validation error messages', () => {
|
101
|
+
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points']);
|
102
|
+
|
103
|
+
it('Validation error messages should be displayed below required input fields', () => {
|
104
|
+
chartsBarPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
|
105
|
+
chartsBarPage.steps.verifyWarningIconOnRequiredFields(['Please set points']);
|
106
|
+
chartsBarPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
|
107
|
+
});
|
108
|
+
|
109
|
+
it('Validation error messages should disappear when required input fields are filled', () => {
|
110
|
+
chartsBarPage.steps.allotPoints(10);
|
111
|
+
chartsBarPage.steps.verifyErrorMessageIsNotDisplayed();
|
112
|
+
});
|
113
|
+
|
114
|
+
chartsBarPage.tests.verifyCreateItemWrapperContentsA11y();
|
115
|
+
});
|
98
116
|
|
99
117
|
describe('Saving a question', () => {
|
100
118
|
it('When user clicks on "Save question" button, then the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
|
@@ -103,5 +121,35 @@ describe('Create item page - Charts - Bar: Header section and saving question',
|
|
103
121
|
|
104
122
|
chartsBarPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
|
105
123
|
});
|
124
|
+
|
125
|
+
describe('Saving a question with incomplete authoring', () => {
|
126
|
+
abortEarlySetup();
|
127
|
+
before(() => {
|
128
|
+
chartsBarPage.steps.navigateToCreateQuestion('charts');
|
129
|
+
cy.barsPreLoaderWait();
|
130
|
+
});
|
131
|
+
|
132
|
+
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', () => {
|
133
|
+
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points']);
|
134
|
+
chartsBarPage.steps.saveAQuestionWithIncompleteAuthoring();
|
135
|
+
});
|
136
|
+
chartsBarPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
|
137
|
+
});
|
138
|
+
});
|
139
|
+
|
140
|
+
describe('Save as you go - Browse item page contents', () => {
|
141
|
+
abortEarlySetup();
|
142
|
+
before(() => {
|
143
|
+
chartsBarPage.steps.navigateToCreateQuestion('charts');
|
144
|
+
cy.barsPreLoaderWait();
|
145
|
+
chartsBarPage.steps.saveAQuestionWithIncompleteAuthoring();
|
146
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
147
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
148
|
+
browseItemsPage.steps.navigateToBrowseItemsPage();
|
149
|
+
});
|
150
|
+
|
151
|
+
it('When user saves an incompletely authored question then a warning icon should be visible in browse items page', () => {
|
152
|
+
browseItemsPage.steps.verifyWarningIconInBrowseItemPage(`${itemReferenceID}`);
|
153
|
+
});
|
106
154
|
});
|
107
155
|
});
|
@@ -6,6 +6,7 @@ describe('Create item page - Charts - Line: Partial different weights', () => {
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Charts - Line: Partial different weights scoring', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Line : Partial different weights scoring w
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When alternate answer points are more than correct answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Line: Partial different weights scoring wi
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When correct answer points are equal to alternative answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Line: Partial different weights scoring wi
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When correct answer points are more than alternative answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js
CHANGED
@@ -6,6 +6,7 @@ describe('Create Item page - List ordering: Preview tab scoring', () => {
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question preview: Auto scored - Partial different weights: Minimum scoring', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -95,11 +95,28 @@ describe('Create item page - Charts - Bar: Header section and saving question',
|
|
95
95
|
before(() => {
|
96
96
|
chartsLinePage.steps.navigateToCreateQuestion('charts');
|
97
97
|
cy.barsPreLoaderWait();
|
98
|
+
chartsLinePage.steps.selectLineButton();
|
98
99
|
});
|
99
100
|
|
100
|
-
|
101
|
+
describe('Validation error messages', () => {
|
102
|
+
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points']);
|
103
|
+
|
104
|
+
it('Validation error messages should be displayed below required input fields', () => {
|
105
|
+
chartsLinePage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
|
106
|
+
chartsLinePage.steps.verifyWarningIconOnRequiredFields(['Please set points']);
|
107
|
+
chartsLinePage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
|
108
|
+
});
|
109
|
+
|
110
|
+
it('Validation error messages should disappear when required input fields are filled', () => {
|
111
|
+
chartsLinePage.steps.allotPoints(10);
|
112
|
+
chartsLinePage.steps.verifyErrorMessageIsNotDisplayed();
|
113
|
+
});
|
114
|
+
|
115
|
+
chartsLinePage.tests.verifyCreateItemWrapperContentsA11y();
|
116
|
+
});
|
101
117
|
|
102
118
|
describe('Saving a question', () => {
|
119
|
+
|
103
120
|
it('When user clicks on "Save question" button, then the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
|
104
121
|
chartsLinePage.steps.saveAQuestionAndVerifySnackbar();
|
105
122
|
});
|