itemengine-cypress-automation 1.0.341-e2eFixes18March-66a79d0.0 → 1.0.341-graphAndCharts-0a4e8d7.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/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/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
- 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/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +1 -3
- 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/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +84 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/checkAddAlternativeButton.js +33 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +2 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +33 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +39 -6
- 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/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +96 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/checkAddAlternative.js +37 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +4 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabBasicSection.js +47 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +38 -9
- 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/backgroundImageAndCanvasProperties.js +0 -1
- 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 +2 -4
- 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/headerSection.js +1 -2
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
- package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +11 -0
- 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 +2 -4
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -2
- 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/ListOrderingNew/allOrNothingForAllViews.smoke.js +2 -1
- 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/headerSection.js +1 -2
- package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -0
- package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +3 -4
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +10 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +31 -48
- package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -2
- 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 +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -3
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +3 -10
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -4
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -5
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -4
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +2 -8
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +0 -8
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +0 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -8
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +4 -0
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +8 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.smoke.js +1 -0
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +10 -7
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
- package/cypress/e2e/ILC/TextSelection/ScoringParagraph/allOrNothingAlternatePointsMoreThanCorrectPoints.js +80 -0
- package/cypress/e2e/ILC/TextSelection/ScoringParagraph/allOrNothingCorrectPointsMoreThanAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +109 -0
- package/cypress/e2e/ILC/TextSelection/checkAddAlternativeButton.js +46 -0
- package/cypress/e2e/ILC/TextSelection/editTabBasicSection.js +57 -0
- package/cypress/e2e/ILC/TextSelection/headerSection.js +38 -6
- package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +1 -2
- 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/Sessions/fetchResponses.js +3 -3
- package/cypress/e2e/Sessions/scores.js +9 -5
- package/cypress/e2e/applitools.config.js +3 -3
- package/cypress/fixtures/constants.js +5 -1
- package/cypress/fixtures/theme/ilc.json +16 -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/brainingCampManipulativePage.js +1 -1
- 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 +17 -51
- 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 +1 -1
- package/cypress/pages/components/defaultToolDropdown.js +7 -6
- package/cypress/pages/components/desmosToolComponent.js +1 -1
- package/cypress/pages/components/editCategoryFlyout.js +2 -2
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +13 -26
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -70
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -101
- package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
- package/cypress/pages/components/hideExpressionListComponent.js +53 -0
- package/cypress/pages/components/imageCanvasComponent.js +7 -6
- package/cypress/pages/components/index.js +1 -0
- package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/components/questionInstructionsComponent.js +7 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +12 -13
- package/cypress/pages/desmos3DGraphingPage.js +368 -0
- package/cypress/pages/desmosGeometryPage.js +308 -0
- package/cypress/pages/dialogBoxBase.js +2 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +26 -6
- package/cypress/pages/drawingResponsePage.js +16 -15
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +1 -68
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +4 -4
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
- package/cypress/pages/gradingViewPage.js +8 -0
- package/cypress/pages/graphingPage.js +5 -8
- package/cypress/pages/gridFillPage.js +7 -8
- package/cypress/pages/imageHighlightPage.js +0 -66
- package/cypress/pages/index.js +3 -1
- package/cypress/pages/multipleSelectionGridPage.js +1 -68
- package/cypress/pages/multipleSelectionPage.js +10 -106
- package/cypress/pages/numberLineLabelPage.js +5 -8
- package/cypress/pages/numberLinePage.js +4 -7
- package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
- package/cypress/pages/singleSelectionGridPage.js +1 -68
- package/cypress/pages/singleSelectionPage.js +0 -104
- package/cypress/pages/textSelectionPage.js +25 -6
- package/cypress/pages/thinkSpherePage.js +1874 -0
- package/cypress/support/commands.js +7 -4
- package/cypress/support/e2e.js +1 -0
- package/cypress/support/helpers/createItem.js +1181 -1
- package/cypress/support/helpers/utilities.js +75 -1
- package/deploy/smoke/deploy.yaml +2 -2
- package/package.json +3 -3
- package/scripts/dataApi.mjs +3 -0
- package/scripts/sorry-cypress.mjs +13 -0
@@ -1083,11 +1083,13 @@ const steps = {
|
|
1083
1083
|
|
1084
1084
|
expandDefaultOptionDropdown: () => {
|
1085
1085
|
gridQuestionCommonComponent.defaultOptionDropdown()
|
1086
|
+
.trigger('mouseover')
|
1086
1087
|
.click();
|
1087
1088
|
},
|
1088
1089
|
|
1089
1090
|
expandDefaultTextDropdown: () => {
|
1090
1091
|
gridQuestionCommonComponent.defaultTextDropdown()
|
1092
|
+
.trigger('mouseover')
|
1091
1093
|
.click();
|
1092
1094
|
},
|
1093
1095
|
|
@@ -1152,6 +1154,7 @@ const steps = {
|
|
1152
1154
|
//Additional settings
|
1153
1155
|
expandRowNumerationDropdown: () => {
|
1154
1156
|
gridQuestionCommonComponent.rowNumerationDropdown()
|
1157
|
+
.trigger('mouseover')
|
1155
1158
|
.click();
|
1156
1159
|
},
|
1157
1160
|
|
@@ -1384,6 +1387,7 @@ const steps = {
|
|
1384
1387
|
|
1385
1388
|
expandRowSpacingDropdown: () => {
|
1386
1389
|
gridQuestionCommonComponent.rowSpacingDropdown()
|
1390
|
+
.trigger('mouseover')
|
1387
1391
|
.click();
|
1388
1392
|
},
|
1389
1393
|
|
@@ -1472,6 +1476,7 @@ const steps = {
|
|
1472
1476
|
expandColumnSpacingDropdown: () => {
|
1473
1477
|
gridQuestionCommonComponent.columnSpacingDropdown()
|
1474
1478
|
.eq(0)
|
1479
|
+
.trigger('mouseover')
|
1475
1480
|
.click();
|
1476
1481
|
},
|
1477
1482
|
|
@@ -1608,6 +1613,7 @@ const steps = {
|
|
1608
1613
|
|
1609
1614
|
expandColumnDimensionsDropdown: () => {
|
1610
1615
|
gridQuestionCommonComponent.columnDimensionsDropdown()
|
1616
|
+
.trigger('mouseover')
|
1611
1617
|
.click();
|
1612
1618
|
},
|
1613
1619
|
|
@@ -2071,43 +2077,6 @@ const steps = {
|
|
2071
2077
|
}
|
2072
2078
|
|
2073
2079
|
const tests = {
|
2074
|
-
verifyPreviewModesAndScoreWhenPointsAndCorrectAnswersIsNotSet: () => {
|
2075
|
-
it('When the user has not set correct answer option(s) and alloted points, \'Student view\' radio button should be checked, \'Grading view\' button should not be checked, 0 points should be displayed and no correct or incorrect icons should be displayed in the preview tab', () => {
|
2076
|
-
utilities.verifyInnerText(autoScoredScoringPreviewTab.studentViewRadioButtonLabel(), 'Student view');
|
2077
|
-
utilities.verifyInnerText(autoScoredScoringPreviewTab.gradingViewRadioButtonLabel(), 'Grading view');
|
2078
|
-
autoScoredScoringPreviewTab.studentViewRadioButton()
|
2079
|
-
.should('be.checked');
|
2080
|
-
autoScoredScoringPreviewTab.gradingViewRadioButton()
|
2081
|
-
.should('not.be.checked');
|
2082
|
-
autoScoredScoringPreviewTab.steps.checkManuallyScoredScoringLabel();
|
2083
|
-
autoScoredScoringPreviewTab.steps.verifyCorrectIncorrectIconsNotExist();
|
2084
|
-
});
|
2085
|
-
|
2086
|
-
it('CSS of Preview mode contents', { tags: 'css' }, () => {
|
2087
|
-
utilities.verifyCSS(autoScoredScoringPreviewTab.studentViewRadioButtonLabel(), {
|
2088
|
-
'color': css.color.labelText,
|
2089
|
-
'font-size': css.fontSize.normal,
|
2090
|
-
'font-weight': css.fontWeight.regular
|
2091
|
-
});
|
2092
|
-
utilities.verifyCSS(autoScoredScoringPreviewTab.gradingViewRadioButtonLabel(), {
|
2093
|
-
'color': css.color.labelText,
|
2094
|
-
'font-size': css.fontSize.normal,
|
2095
|
-
'font-weight': css.fontWeight.regular
|
2096
|
-
});
|
2097
|
-
utilities.verifyCSS(autoScoredScoringPreviewTab.scoreLabelPreviewTab(), {
|
2098
|
-
'color': css.color.codeBlockText,
|
2099
|
-
'font-size': css.fontSize.default,
|
2100
|
-
'font-weight': css.fontWeight.bold
|
2101
|
-
});
|
2102
|
-
utilities.verifyCSS(autoScoredScoringPreviewTab.studentViewRadioButton().parent().find('svg'), {
|
2103
|
-
'fill': css.color.activeButtons
|
2104
|
-
});
|
2105
|
-
utilities.verifyCSS(autoScoredScoringPreviewTab.gradingViewRadioButton().parent().find('svg path'), {
|
2106
|
-
'fill': css.color.uncheckedCheckbox
|
2107
|
-
});
|
2108
|
-
});
|
2109
|
-
},
|
2110
|
-
|
2111
2080
|
verifyContentsOfSpecifyCorrectAnswerSection: () => {
|
2112
2081
|
it(`When the user selects any scoring type except for manual scored, then the question grid should be displayed in the specify correct answer section`, () => {
|
2113
2082
|
gridQuestionCommonComponent.steps.verifyTableCellPropertySpecifyCorrectAnswerSection({ row: 0, column: 0 }, 'None');
|
@@ -2752,6 +2721,8 @@ const tests = {
|
|
2752
2721
|
it(`When user selects 'Column dimensions' ${option} option then ${option} spacing should be displayed between the columns`, () => {
|
2753
2722
|
gridQuestionCommonComponent.steps.expandColumnDimensionsDropdown();
|
2754
2723
|
gridQuestionCommonComponent.steps.selectColumnDimensionsDropdownOption(option);
|
2724
|
+
utilities.verifyInnerText(gridQuestionCommonComponent.columnDimensionsDropdown(), option);
|
2725
|
+
utilities.verifyElementVisibilityState(gridQuestionCommonComponent.columnDimensionsDropdown(), 'visible');
|
2755
2726
|
gridQuestionCommonComponent.steps.verifyColumnDimensionsSpecifyCorrectAnswer(option);
|
2756
2727
|
});
|
2757
2728
|
});
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import utilities from "../../support/helpers/utilities";
|
2
|
+
const css = Cypress.env('css');
|
3
|
+
|
4
|
+
const selectors = {
|
5
|
+
hideExpressionListLabel: () => cy.get('[data-ngie-testid="hide-expression-list-checkbox"] .MuiFormControlLabel-label'),
|
6
|
+
hideExpressionListCheckbox: () => cy.get('[data-ngie-testid="hide-expression-list-checkbox"] input'),
|
7
|
+
}
|
8
|
+
|
9
|
+
const steps = {
|
10
|
+
verifyHideExpressionListCheckboxUnchecked: () => {
|
11
|
+
hideExpressionListComponent.hideExpressionListCheckbox()
|
12
|
+
.should('not.be.checked');
|
13
|
+
},
|
14
|
+
checkHideExpressionListCheckbox: () => {
|
15
|
+
hideExpressionListComponent.hideExpressionListCheckbox()
|
16
|
+
.click()
|
17
|
+
.should('be.checked');
|
18
|
+
},
|
19
|
+
}
|
20
|
+
const tests = {
|
21
|
+
verifyHideExpressionList: () => {
|
22
|
+
it('\'Hide expression list\' label and checkbox should be displayed and by default it should be unchecked', () => {
|
23
|
+
utilities.verifyInnerText(hideExpressionListComponent.hideExpressionListLabel(), 'Hide expression list');
|
24
|
+
utilities.verifyElementVisibilityState(hideExpressionListComponent.hideExpressionListLabel(), 'visible');
|
25
|
+
hideExpressionListComponent.steps.verifyHideExpressionListCheckboxUnchecked();
|
26
|
+
});
|
27
|
+
|
28
|
+
it('User should be able to check the \'Hide expression list\' checkbox', () => {
|
29
|
+
hideExpressionListComponent.steps.checkHideExpressionListCheckbox();
|
30
|
+
});
|
31
|
+
|
32
|
+
it('CSS of hide expression list checkbox and label', { tags: 'css' }, () => {
|
33
|
+
utilities.verifyCSS(hideExpressionListComponent.hideExpressionListLabel(), {
|
34
|
+
'color': css.color.labelText,
|
35
|
+
'font-size': css.fontSize.normal,
|
36
|
+
'font-weight': css.fontWeight.regular
|
37
|
+
});
|
38
|
+
utilities.verifyCSS(hideExpressionListComponent.hideExpressionListCheckbox().parents('[data-ngie-testid="hide-expression-list-checkbox"]').find('svg g').eq(1), {
|
39
|
+
'fill': css.color.primaryBtnBg
|
40
|
+
});
|
41
|
+
});
|
42
|
+
|
43
|
+
it('Accessibility of hide expression list', { tags: 'a11y' }, () => {
|
44
|
+
cy.checkAccessibility(hideExpressionListComponent.hideExpressionListCheckbox().parents('[data-ngie-testid="hide-expression-list-checkbox"]'))
|
45
|
+
});
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
export const hideExpressionListComponent = {
|
50
|
+
...selectors,
|
51
|
+
steps,
|
52
|
+
tests
|
53
|
+
}
|
@@ -38,6 +38,7 @@ const selectors = {
|
|
38
38
|
},
|
39
39
|
textResponse: () => cy.get('[class*="Canvasstyle__TextBoxContainer"] textarea'),
|
40
40
|
canvasImage: () => cy.get('.canvas-image').eq(0),
|
41
|
+
canvasUploadedImage: () => cy.get('.canvas-image'),
|
41
42
|
canvasImageInPreviewTab: () => cy.get('[class*="question-preview-wrapper"] [class*="ImageWrapper"] img'),
|
42
43
|
imagePropertiesLabel: () => cy.get('[class*="ImagePropertiesstyles__SectionLabel"]'),
|
43
44
|
fillImageToCanvasLabel: () => cy.get('[data-ngie-testid="fill-image-to-canvas-checkbox"] .MuiFormControlLabel-label'),
|
@@ -791,10 +792,10 @@ const tests = {
|
|
791
792
|
* @param {"text container"|"dropzone"} response value for the error message
|
792
793
|
*/
|
793
794
|
verifyInsertAndDeleteResponseAreaFunctionality: (response) => {
|
794
|
-
it(`When user clicks on close button for response container, then response container should be removed from canvas and error message should be displayed`, () => {
|
795
|
+
it(`When user clicks on close button for response container, then response container should be removed from canvas and error message should not be displayed`, () => {
|
795
796
|
imageCanvasComponent.steps.removeResponseArea(0);
|
796
797
|
utilities.verifyElementVisibilityState(imageCanvasComponent.responseAreaWrapper(), 'notExist');
|
797
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
798
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
|
798
799
|
});
|
799
800
|
|
800
801
|
it('When user adds response container, then error message should disappear', () => {
|
@@ -847,13 +848,13 @@ const tests = {
|
|
847
848
|
imageCanvasComponent.steps.verifyRedoButtonDisabled();
|
848
849
|
});
|
849
850
|
|
850
|
-
it(`When the user reaches the initial state by performing undo actions, the 'Undo' button should get disabled and error message should be displayed`, () => {
|
851
|
+
it(`When the user reaches the initial state by performing undo actions, the 'Undo' button should get disabled and error message should not be displayed`, () => {
|
851
852
|
for (let i = 0; i < 4; i++) {
|
852
853
|
imageCanvasComponent.steps.undoAction();
|
853
854
|
}
|
854
855
|
utilities.verifyElementCount(imageCanvasComponent.responseArea(), 0);
|
855
856
|
imageCanvasComponent.steps.verifyUndoButtonDisabled();
|
856
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
857
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
|
857
858
|
});
|
858
859
|
|
859
860
|
it('When the user reaches the latest state by performing redo actions, the \'Redo\' button should get disabled and error message should disappear', () => {
|
@@ -865,10 +866,10 @@ const tests = {
|
|
865
866
|
commonComponents.steps.verifyErrorMessageIsNotDisplayed();
|
866
867
|
});
|
867
868
|
|
868
|
-
it(`When user clicks on 'Clear all' button, then all response container should be deleted and error message should be displayed`, () => {
|
869
|
+
it(`When user clicks on 'Clear all' button, then all response container should be deleted and error message should not be displayed`, () => {
|
869
870
|
imageCanvasComponent.steps.clearAllCanvas();
|
870
871
|
utilities.verifyElementVisibilityState(imageCanvasComponent.responseAreaWrapper(), 'notExist');
|
871
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
872
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
|
872
873
|
});
|
873
874
|
},
|
874
875
|
|
@@ -69,3 +69,4 @@ export * from './draggableOptionsStyleAndLayoutComponent';
|
|
69
69
|
export * from './connectorStyleStyleAndLayoutCustomizationComponent';
|
70
70
|
export * from './equationEditorSectionCommonComponent';
|
71
71
|
export * from './ckEditorAudioPlayerComponent';
|
72
|
+
export * from './hideExpressionListComponent';
|
@@ -39,6 +39,7 @@ const selectors = {
|
|
39
39
|
const steps = {
|
40
40
|
expandOptionDesignDropdown: () => {
|
41
41
|
mcqAdditionalSettingsBase.optionDesignDropdown()
|
42
|
+
.trigger('mouseover')
|
42
43
|
.click();
|
43
44
|
},
|
44
45
|
|
@@ -62,6 +63,7 @@ const steps = {
|
|
62
63
|
|
63
64
|
expandOptionNumerationDropdown: () => {
|
64
65
|
mcqAdditionalSettingsBase.optionNumerationDropdown()
|
66
|
+
.trigger('mouseover')
|
65
67
|
.click();
|
66
68
|
},
|
67
69
|
|
@@ -106,6 +108,8 @@ const steps = {
|
|
106
108
|
|
107
109
|
expandNumberOfOptionsColumnDropdown: () => {
|
108
110
|
mcqAdditionalSettingsBase.numberOfOptionColumnsDropdown()
|
111
|
+
.should('be.visible') // Ensure the dropdown is visible
|
112
|
+
.trigger('mouseover')
|
109
113
|
.click();
|
110
114
|
},
|
111
115
|
|
@@ -92,6 +92,13 @@ const steps = {
|
|
92
92
|
clearQuestionInstructionsInputField: () => {
|
93
93
|
questionInstructionsComponent.questionInstructionsInputField()
|
94
94
|
.clear();
|
95
|
+
},
|
96
|
+
|
97
|
+
/**
|
98
|
+
* @description - verifies the visibilty of question instruction text in all views.
|
99
|
+
*/
|
100
|
+
verifyVisibityOfQuestionInstructionsText: () => {
|
101
|
+
utilities.verifyElementVisibilityState(questionInstructionsComponent.questionInstructionsText(), 'visible');
|
95
102
|
}
|
96
103
|
}
|
97
104
|
|
@@ -67,6 +67,7 @@ const steps = {
|
|
67
67
|
expandScoringTypeDropdown: () => {
|
68
68
|
utilities.scrollIntoView(scoringSectionBaseEditTab.scoringTypeDropdown());
|
69
69
|
scoringSectionBaseEditTab.scoringTypeDropdown()
|
70
|
+
.trigger('mouseover')
|
70
71
|
.click();
|
71
72
|
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'exist');
|
72
73
|
},
|
@@ -80,7 +81,6 @@ const steps = {
|
|
80
81
|
scoringSectionBaseEditTab.scoringTypeDropdownListOptions(convertedString)
|
81
82
|
.should('be.visible') // Ensure the dropdown option is visible
|
82
83
|
.click();
|
83
|
-
cy.wait(2000); // Wait for the dropdown to close
|
84
84
|
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'notExist');
|
85
85
|
},
|
86
86
|
|
@@ -159,8 +159,10 @@ const steps = {
|
|
159
159
|
|
160
160
|
expandMinimumScoringDropdown: () => {
|
161
161
|
scoringSectionBaseEditTab.minimumScoringDropdown()
|
162
|
+
.trigger('mouseover')
|
162
163
|
.click();
|
163
164
|
cy.wait(1500);
|
165
|
+
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'exist');
|
164
166
|
},
|
165
167
|
|
166
168
|
/**
|
@@ -193,16 +195,20 @@ const tests = {
|
|
193
195
|
utilities.verifyElementVisibilityState(scoringSectionBaseEditTab.scoringTypeDropdown(), 'visible');
|
194
196
|
});
|
195
197
|
|
196
|
-
it(`Clicking on Scoring Type dropdown should open a list of scoring types - ${scoringTypeArray}`, () => {
|
198
|
+
it(`Clicking on Scoring Type dropdown should open a list of scoring types - ${scoringTypeArray} and on selecting an option from the scoring type dropdown, the dropdown should close`, () => {
|
197
199
|
scoringSectionBaseEditTab.scoringTypeDropdown()
|
198
200
|
.click();
|
199
201
|
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'exist');
|
200
202
|
scoringTypeArray.forEach((option, count) => {
|
201
203
|
utilities.verifyInnerText(utilities.getNthElement(scoringSectionBaseEditTab.scoringTypeDropdownListOptions(), count), option);
|
202
204
|
});
|
205
|
+
scoringSectionBaseEditTab.steps.selectOptionFromScoringTypeDropdown(scoringTypeArray[0]);
|
206
|
+
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'notExist');
|
203
207
|
});
|
204
208
|
|
205
209
|
it('CSS of Scoring type dropdown in active state', { tags: 'css' }, () => {
|
210
|
+
scoringSectionBaseEditTab.scoringTypeDropdown()
|
211
|
+
.click();
|
206
212
|
utilities.verifyCSS(utilities.getNthElement(scoringSectionBaseEditTab.scoringTypeDropdownListOptions(), 0), {
|
207
213
|
'color': css.color.liText,
|
208
214
|
'font-size': css.fontSize.default,
|
@@ -215,18 +221,7 @@ const tests = {
|
|
215
221
|
'font-weight': css.fontWeight.regular,
|
216
222
|
'background-color': css.color.transparent
|
217
223
|
});
|
218
|
-
});
|
219
|
-
|
220
|
-
it('Accessibility of Scoring type dropdown in active state', { tags: 'a11y' }, () => {
|
221
|
-
cy.checkAccessibility(commonComponents.dropdownList())
|
222
|
-
});
|
223
|
-
|
224
|
-
it('On selecting an option from the scoring type dropdown, the dropdown should close', () => {
|
225
224
|
scoringSectionBaseEditTab.steps.selectOptionFromScoringTypeDropdown(scoringTypeArray[0]);
|
226
|
-
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'notExist');
|
227
|
-
});
|
228
|
-
|
229
|
-
it('CSS of Scoring section label and dropdown', { tags: 'css' }, () => {
|
230
225
|
utilities.verifyCSS(scoringSectionBaseEditTab.scoringLabel(), {
|
231
226
|
'color': css.color.sectionHeading,
|
232
227
|
'font-size': css.fontSize.default,
|
@@ -243,6 +238,10 @@ const tests = {
|
|
243
238
|
'font-weight': css.fontWeight.regular
|
244
239
|
});
|
245
240
|
});
|
241
|
+
|
242
|
+
it('Accessibility of Scoring type dropdown in active state', { tags: 'a11y' }, () => {
|
243
|
+
cy.checkAccessibility(scoringSectionBaseEditTab.scoringTypeDropdown())
|
244
|
+
});
|
246
245
|
},
|
247
246
|
|
248
247
|
verifyPointsLabelAndInputField: () => {
|