itemengine-cypress-automation 1.0.341-e2eFixes18March-66a79d0.0 → 1.0.341-graphAndCharts-9d8e298.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.
Files changed (237) hide show
  1. package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +398 -0
  2. package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +329 -0
  3. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +260 -0
  4. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +368 -0
  5. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  6. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -2
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  11. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
  12. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  13. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  14. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  15. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  16. package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +1 -3
  17. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  18. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +0 -2
  19. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  20. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  21. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +1 -1
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +84 -0
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +3 -3
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/checkAddAlternativeButton.js +33 -0
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -4
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +2 -4
  27. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +33 -0
  28. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +39 -6
  29. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  30. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  31. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  32. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  33. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  34. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  35. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  36. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
  37. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  38. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  39. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +29 -25
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
  44. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +201 -0
  45. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  46. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
  47. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -1
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +18 -20
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +96 -0
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/checkAddAlternative.js +37 -0
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +4 -6
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabBasicSection.js +47 -0
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +38 -9
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +21 -30
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +211 -0
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +23 -30
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +0 -1
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +2 -4
  70. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +25 -30
  71. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  72. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -10
  73. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -0
  74. package/cypress/e2e/ILC/Graphing/headerSection.js +1 -2
  75. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  76. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +11 -0
  77. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  78. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  79. package/cypress/e2e/ILC/GridFill/headerSection.js +2 -4
  80. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -2
  81. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  82. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  83. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
  84. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
  85. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +2 -1
  86. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +226 -0
  87. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  88. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  89. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
  90. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  91. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  92. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  93. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
  94. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  95. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  96. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
  97. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +4 -2
  98. package/cypress/e2e/ILC/NumberLine/headerSection.js +1 -2
  99. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  100. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +3 -4
  101. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  102. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +10 -0
  103. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +31 -48
  104. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -2
  105. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  106. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  107. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  108. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  109. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  110. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  111. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  112. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  113. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -2
  114. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -2
  115. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -2
  116. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -3
  117. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
  118. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
  119. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +3 -10
  120. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -4
  121. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -5
  122. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
  123. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -4
  124. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -2
  125. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -2
  126. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -2
  127. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -2
  128. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -2
  129. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +2 -8
  130. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -2
  131. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
  132. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
  133. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +0 -8
  134. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -2
  135. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
  136. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
  137. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +0 -1
  138. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -2
  139. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -8
  140. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +0 -2
  141. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +4 -0
  142. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +8 -0
  143. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  144. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  145. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  146. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  147. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -2
  148. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.smoke.js +1 -0
  149. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +10 -7
  150. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
  151. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/allOrNothingAlternatePointsMoreThanCorrectPoints.js +80 -0
  152. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/allOrNothingCorrectPointsMoreThanAlternatePoints.js +30 -0
  153. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +109 -0
  154. package/cypress/e2e/ILC/TextSelection/checkAddAlternativeButton.js +46 -0
  155. package/cypress/e2e/ILC/TextSelection/editTabBasicSection.js +57 -0
  156. package/cypress/e2e/ILC/TextSelection/headerSection.js +38 -6
  157. package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +1 -2
  158. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  159. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +52 -0
  160. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +112 -0
  161. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +561 -0
  162. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +185 -0
  163. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  164. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +289 -0
  165. package/cypress/e2e/ILC/ThinkSphere/headerSection.js +53 -0
  166. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +581 -0
  167. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  168. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +296 -0
  169. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  170. package/cypress/e2e/Sessions/scores.js +9 -5
  171. package/cypress/e2e/applitools.config.js +3 -3
  172. package/cypress/fixtures/constants.js +5 -1
  173. package/cypress/fixtures/theme/ilc.json +16 -1
  174. package/cypress/fixtures/uploads/sample.webm +0 -0
  175. package/cypress/fixtures/uploads/sample.wmv +0 -0
  176. package/cypress/fixtures/uploads/sample20MB.mp4 +0 -0
  177. package/cypress/fixtures/uploads/sample2MB.mp4 +0 -0
  178. package/cypress/fixtures/uploads/sample2MB_2.mp4 +0 -0
  179. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  180. package/cypress/pages/audioPlayerPage.js +22 -22
  181. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  182. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  183. package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
  184. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  185. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +17 -51
  186. package/cypress/pages/components/backgroundImageUploadComponent.js +32 -25
  187. package/cypress/pages/components/browseItemsPage.js +998 -7
  188. package/cypress/pages/components/ckEditorAudioPlayerComponent.js +1 -1
  189. package/cypress/pages/components/ckEditorEquationEditorComponent.js +4 -4
  190. package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
  191. package/cypress/pages/components/ckEditorLinkComponent.js +3 -3
  192. package/cypress/pages/components/commonComponents.js +8 -1
  193. package/cypress/pages/components/createQuestionBasePage.js +1 -1
  194. package/cypress/pages/components/defaultToolDropdown.js +7 -6
  195. package/cypress/pages/components/desmosToolComponent.js +1 -1
  196. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  197. package/cypress/pages/components/equationEditorSectionCommonComponent.js +13 -26
  198. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -70
  199. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -101
  200. package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
  201. package/cypress/pages/components/hideExpressionListComponent.js +53 -0
  202. package/cypress/pages/components/imageCanvasComponent.js +7 -6
  203. package/cypress/pages/components/index.js +1 -0
  204. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  205. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  206. package/cypress/pages/components/questionInstructionsComponent.js +7 -0
  207. package/cypress/pages/components/scoringSectionBaseEditTab.js +12 -13
  208. package/cypress/pages/desmos3DGraphingPage.js +368 -0
  209. package/cypress/pages/desmosGeometryPage.js +308 -0
  210. package/cypress/pages/dialogBoxBase.js +2 -1
  211. package/cypress/pages/dragAndDropIntoCategoriesPage.js +26 -6
  212. package/cypress/pages/drawingResponsePage.js +16 -15
  213. package/cypress/pages/fillInTheGapsDragAndDropPage.js +1 -68
  214. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +4 -4
  215. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  216. package/cypress/pages/gradingViewPage.js +8 -0
  217. package/cypress/pages/graphingPage.js +5 -8
  218. package/cypress/pages/gridFillPage.js +7 -8
  219. package/cypress/pages/imageHighlightPage.js +0 -66
  220. package/cypress/pages/index.js +3 -1
  221. package/cypress/pages/multipleSelectionGridPage.js +1 -68
  222. package/cypress/pages/multipleSelectionPage.js +10 -106
  223. package/cypress/pages/numberLineLabelPage.js +5 -8
  224. package/cypress/pages/numberLinePage.js +4 -7
  225. package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
  226. package/cypress/pages/singleSelectionGridPage.js +1 -68
  227. package/cypress/pages/singleSelectionPage.js +0 -104
  228. package/cypress/pages/textSelectionPage.js +25 -6
  229. package/cypress/pages/thinkSpherePage.js +1874 -0
  230. package/cypress/support/commands.js +7 -4
  231. package/cypress/support/e2e.js +1 -0
  232. package/cypress/support/helpers/createItem.js +1181 -1
  233. package/cypress/support/helpers/utilities.js +75 -1
  234. package/deploy/smoke/deploy.yaml +2 -2
  235. package/package.json +3 -3
  236. package/scripts/dataApi.mjs +3 -0
  237. package/scripts/sorry-cypress.mjs +13 -0
@@ -2297,7 +2297,28 @@ const steps = {
2297
2297
  optionsTextArray.forEach((option, optionIndex) => {
2298
2298
  utilities.verifyTextContent(utilities.getNthElement(dragAndDropIntoCategoriesPage.optionsInputFieldInQuestionPreviewTab(), optionIndex), option);
2299
2299
  });
2300
- }
2300
+ },
2301
+
2302
+ verifyAnswerStatusBannerNotExist: () => {
2303
+ dragAndDropIntoCategoriesPage.correctIncorrectStatusMessageText()
2304
+ .should('not.exist');
2305
+ },
2306
+
2307
+ verifyAnswerStatusBannerExist: () => {
2308
+ dragAndDropIntoCategoriesPage.correctIncorrectStatusMessageText()
2309
+ .should('be.visible');
2310
+ },
2311
+
2312
+ verifyCorrectAnswerSectionExist: () => {
2313
+ dragAndDropIntoCategoriesPage.correctAnswersLabel()
2314
+ .should('be.visible');
2315
+ },
2316
+
2317
+ verifyCorrectAnswerSectionNotExist: () => {
2318
+ dragAndDropIntoCategoriesPage.correctAnswersLabel()
2319
+ .should('not.exist');
2320
+ },
2321
+
2301
2322
  }
2302
2323
 
2303
2324
  const tests = {
@@ -2348,19 +2369,18 @@ const tests = {
2348
2369
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Bat': 0 });
2349
2370
  });
2350
2371
 
2351
- it(`When the user has removed all the options from the dropzone in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
2372
+ it(`When the user has removed all the options from the dropzone in the ${accordionName} accordion, error message should not be thrown on the '${accordionName}' accordion`, () => {
2352
2373
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInOptionsContainerInSpecifyCorrectAnswerSection('Bat');
2353
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible')
2354
- utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
2374
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist')
2355
2375
  if (accordionName == 'Correct') {
2356
2376
  autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
2357
2377
  .within(() => {
2358
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
2378
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
2359
2379
  });
2360
2380
  } else {
2361
2381
  autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
2362
2382
  .within(() => {
2363
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
2383
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
2364
2384
  });
2365
2385
  };
2366
2386
  });
@@ -265,6 +265,8 @@ const steps = {
265
265
  selectPreviewTabToolbarOption: (arialabel) => {
266
266
  drawingResponsePage.previewTabDrawingToolbarOption(arialabel)
267
267
  .click();
268
+ drawingResponsePage.previewTabDrawingToolbarOption(arialabel)
269
+ .should('have.class', 'drawing-tool__button--active');
268
270
  },
269
271
 
270
272
  /**
@@ -649,22 +651,21 @@ const steps = {
649
651
 
650
652
  clickOnCancelIconOfCaptureImage: () => {
651
653
  drawingResponsePage.captureCancelImageIcon()
652
- .should('be.visible')
653
- .click();
654
+ .should('exist')
655
+ .click({ force: true });
654
656
  },
655
657
 
656
658
  clickOnCaptureButtonOfCaptureImage: () => {
657
659
  drawingResponsePage.captureImageButton()
658
- .should('be.visible')
659
- .click();
660
+ .click({ force: true });
660
661
  },
661
662
 
662
663
  verifyCaptureImageIsVisible: () => {
663
664
  drawingResponsePage.canvasContainer()
664
- .should('be.visible')
665
+ .should('exist')
665
666
  .within(() => {
666
667
  cy.get('img')
667
- .should('be.visible')
668
+ .should('exist')
668
669
  .and('have.attr', 'src')
669
670
  .and('include', 'blob:'); // Ensures the image is captured
670
671
  });
@@ -672,33 +673,33 @@ const steps = {
672
673
 
673
674
  verifySaveAndRetakeButtonsAreVisible: () => {
674
675
  drawingResponsePage.retakeButton()
675
- .should('be.visible');
676
+ .should('exist');
676
677
  drawingResponsePage.saveButton()
677
- .should('be.visible');
678
+ .should('exist');
678
679
  },
679
680
 
680
681
  clickOnRetakeButton: () => {
681
682
  drawingResponsePage.retakeButton()
682
- .should('be.visible')
683
- .click();
683
+ .should('exist')
684
+ .click({ force: true });
684
685
  },
685
686
 
686
687
  clickOnSaveButton: () => {
687
688
  drawingResponsePage.saveButton()
688
- .should('be.visible')
689
- .click();
689
+ .should('exist')
690
+ .click({ force: true });
690
691
  },
691
692
 
692
693
  verifyCameraIsVisible: () => {
693
694
  drawingResponsePage.cameraIsVisible()
694
- .should('be.visible');
695
+ .should('exist');
695
696
  },
696
697
 
697
698
  verifyCaptureAndCancelButtonIsVisible: () => {
698
699
  drawingResponsePage.captureImageButton()
699
- .should('be.visible');
700
+ .should('exist');
700
701
  drawingResponsePage.captureCancelImageIcon()
701
- .should('be.visible');
702
+ .should('exist');
702
703
  },
703
704
  /**
704
705
  * @param {string} fileName name of the file being uploaded
@@ -3,7 +3,6 @@ import utilities from "../support/helpers/utilities";
3
3
  const css = Cypress.env('css');
4
4
  import { createQuestionBasePage, optionsWrapperComponent, autoScoredScoringPreviewTab, scoringSectionBaseEditTab, questionInputFieldComponent, fillInTheGapsDragAndDropCommonComponents, correctIncorrectAnswerLabelComponent, questionInstructionsComponent, autoScoredStudentViewSettings, ckEditorToolbar, equationEditorFlyout, draggableOptionContainer, autoScoredScoringSectionMultiResponseType, autoScoredSpecifyCorrectAnswerSection, commonComponents, draggableOptionsSectionComponent, studentViewSettingsLabelComponent, randomizeOptionsComponent, enableOuterBorderComponent, allowMultipleInstancesOfSameDraggableOptionComponent, additionalSettingsPanel, responseAreaSettingsPopupComponent, gradingViewEnumerationComponent, ariaLabelSectionComponent, styleAndLayoutCustomizationAccordionComponent, figCommonStyleAndLayoutComponent, draggableOptionsStyleAndLayoutComponent } from "./components"
5
5
  import { createItemPage } from "./createItemPage";
6
- import { dialogBoxBase } from "./dialogBoxBase";
7
6
 
8
7
  //TODO update option container selectors when https://redmine.zeuslearning.com/issues/563159 is resolved
9
8
  const selectors = {
@@ -92,7 +91,7 @@ const steps = {
92
91
  ...styleAndLayoutCustomizationAccordionComponent.steps,
93
92
  ...figCommonStyleAndLayoutComponent.steps,
94
93
  ...draggableOptionsStyleAndLayoutComponent.steps,
95
- ...createItemPage.steps,
94
+ ...createItemPage.steps,
96
95
  /**
97
96
  * Sets options in dropzone in the Preview Tab based on the provided optionsObject.
98
97
  * @param {Object} optionsObject - An object where keys are option texts and values are dropzone indices.
@@ -1041,72 +1040,6 @@ const tests = {
1041
1040
  ...styleAndLayoutCustomizationAccordionComponent.tests,
1042
1041
  ...figCommonStyleAndLayoutComponent.tests,
1043
1042
  ...draggableOptionsStyleAndLayoutComponent.tests,
1044
- //TODO need to remove once Save as you go is available for all questions
1045
- /**
1046
- * @description Verifies the behavior of the 'Add alternative answer' button, warning popups, and validation error messages
1047
- * in the 'Specify correct answer' section for alternative answers in auto-scored questions.
1048
- * @param {string|null} questionType - The type of the question (e.g., 'list ordering'). Pass `null` if not applicable.
1049
- * @example - verifyAutoScoredAddAlternativeAnswerButtonAndValidation();
1050
- */
1051
- verifyAutoScoredAddAlternativeAnswerButtonAndValidation: (questionType = null) => {
1052
- it('\'+ Add alternative answer\' button should be present', () => {
1053
- utilities.verifyInnerText(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton(), 'Add alternative answer');
1054
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton(), 'visible');
1055
- autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton()
1056
- .verifyPseudoClassBeforeProperty('content', '""');
1057
- });
1058
-
1059
- it('CSS of \'Add Alternative answer\' button', { tags: 'css' }, () => {
1060
- utilities.verifyCSS(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton().find('p'), {
1061
- 'color': css.color.activeButtons,
1062
- 'font-size': css.fontSize.default,
1063
- 'font-weight': css.fontWeight.regular
1064
- });
1065
- autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton()
1066
- .verifyPseudoClassBeforeProperty('color', css.color.activeButtons);
1067
- });
1068
-
1069
- it('If user has not selected correct answer in the correct accordion, then the Add alternative answer button should be in enabled state', () => {
1070
- utilities.verifyElementNotDisabled(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton());
1071
- autoScoredSpecifyCorrectAnswerSection.steps.clickOnAddAlternativeAnswerButton();
1072
- });
1073
-
1074
- it('CSS of warning popup', { tags: 'css' }, () => {
1075
- utilities.verifyCSS(dialogBoxBase.dialogBoxTitle(), {
1076
- 'color': css.color.flyoutTitle,
1077
- 'font-size': css.fontSize.heading,
1078
- 'font-weight': css.fontWeight.semibold
1079
- });
1080
- utilities.verifyCSS(dialogBoxBase.dialogBoxContent(), {
1081
- 'color': css.color.labels,
1082
- 'font-size': css.fontSize.default,
1083
- 'font-weight': css.fontWeight.regular
1084
- });
1085
- utilities.verifyCSS(dialogBoxBase.buttonClose().find('svg'), {
1086
- 'fill': css.color.closeIcon
1087
- });
1088
- });
1089
-
1090
- it('Accessibility of warning popup', { tags: 'a11y' }, () => {
1091
- cy.checkAccessibility(dialogBoxBase.dialogBox());
1092
- dialogBoxBase.steps.closeWarningPopup();
1093
- });
1094
- },
1095
-
1096
- //TODO need to remove once Save as you go is available for all questions
1097
- verifyWarningPopupAndAccordionNavigationWhenNoPointsAddedInAlternativeAccordion: () => {
1098
- it('When user tries to expand correct accordion when all the mandatory fields are not filled in the alternative accordion, then a warning popup should be displayed and on closing the popup, alternative 2 accordion should be in expanded state', () => {
1099
- autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
1100
- .click();
1101
- dialogBoxBase.steps.closeWarningPopup();
1102
- //TODO: Need to add error message according to question types
1103
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'exist');
1104
- autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
1105
- .eq(1)
1106
- .should('have.attr', 'aria-expanded', 'true');
1107
- });
1108
- },
1109
-
1110
1043
  verifyContentsOfSpecifyCorrectAnswerSection: () => {
1111
1044
  it('When user selects a scoring type then in the \'Correct\' accordion, all the contents should be displayed', () => {
1112
1045
  utilities.verifyElementCount(fillInTheGapsDragAndDropPage.dropzoneSpecifyCorrectAnswerSection(), 3);
@@ -1279,18 +1279,18 @@ const tests = {
1279
1279
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0 });
1280
1280
  });
1281
1281
 
1282
- it(`When the user has removed all the options from the dropzone in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
1282
+ it(`When the user has removed all the options from the dropzone in the ${accordionName} accordion, 'Error: Please set a correct answer.' error message should be thrown along with an error icon on the '${accordionName}' accordion`, () => {
1283
1283
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInOptionsContainerInSpecifyCorrectAnswerSection('Petals');
1284
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible');
1284
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
1285
1285
  if (accordionName == 'Correct') {
1286
1286
  autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
1287
1287
  .within(() => {
1288
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
1288
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
1289
1289
  });
1290
1290
  } else {
1291
1291
  autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
1292
1292
  .within(() => {
1293
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
1293
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
1294
1294
  });
1295
1295
  };
1296
1296
  });
@@ -288,7 +288,7 @@ const steps = {
288
288
 
289
289
  verifyNoImageAlternativeTextPresentInPreviewTab: () => {
290
290
  imageCanvasComponent.canvasImageInPreviewTab()
291
- .should('have.attr', 'alt', 'highlightImage.jpg');
291
+ .should('have.attr', 'alt', 'highlightImage');
292
292
  },
293
293
  /**
294
294
  * @param {string} element denotes element
@@ -15,6 +15,14 @@ const steps = {
15
15
  gradingViewPage.scoredPointsInputField()
16
16
  .should('have.value', scoredPoints);
17
17
  utilities.verifyTextContent(gradingViewPage.TotalPoints(), `/ ${TotalPoints} points`)
18
+ },
19
+
20
+ /**
21
+ * @description Verify that scores are not displayed in grading view for non scored questions
22
+ */
23
+ verifyScoresNotVisibleForNonScoredQuestions: () => {
24
+ utilities.verifyElementVisibilityState(gradingViewPage.scoredPointsInputField(),'notExist'),
25
+ utilities.verifyElementVisibilityState(gradingViewPage.TotalPoints(),'notExist')
18
26
  }
19
27
  }
20
28
 
@@ -1806,29 +1806,26 @@ const tests = {
1806
1806
  graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
1807
1807
  });
1808
1808
 
1809
- it(`When the user resets the graph in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
1809
+ it(`When the user resets the graph in the ${accordionName} accordion, error message not should be thrown`, () => {
1810
1810
  graphingPage.graphControlOptionSpecifyCorrectAnswer('Reset')
1811
1811
  .click();
1812
1812
  graphingPage.resetPopupConfirmResetButton()
1813
1813
  .click();
1814
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible')
1815
- utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
1814
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist')
1816
1815
  if (accordionName == 'Correct') {
1817
1816
  autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
1818
1817
  .within(() => {
1819
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
1818
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
1820
1819
  });
1821
1820
  } else {
1822
1821
  autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
1823
1822
  .within(() => {
1824
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
1823
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
1825
1824
  });
1826
1825
  };
1827
1826
  });
1828
1827
 
1829
- autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredCorrectAnswerErrorMessageCSSAndA11y();
1830
-
1831
- it('When the user plots on the graph then the error message should disappear', () => {
1828
+ it('User should be able to plot on the graph', () => {
1832
1829
  graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Circle');
1833
1830
  graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
1834
1831
  graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
@@ -2917,25 +2917,25 @@ const tests = {
2917
2917
  'background-color': css.color.gridCellHoverStateBg
2918
2918
  });
2919
2919
  utilities.hoverAwayFromElement(utilities.getNthElement(gridFillPage.cellInSpecifyCorrectAnswerSection(), 9));
2920
+ utilities.triggerMouseout(utilities.getNthElement(gridFillPage.cellInSpecifyCorrectAnswerSection(), 9));
2920
2921
  });
2921
2922
 
2922
2923
  it('User should be able to select the cells of the grid by clicking on them', () => {
2923
2924
  gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
2924
2925
  });
2925
2926
 
2926
- it(`When user deselect all the cells in the grid in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
2927
+ it(`When user deselect all the cells in the grid in the ${accordionName} accordion, error message and error icons should not be displayed on \'${accordionName}\' accordion`, () => {
2927
2928
  gridFillPage.steps.deselectCellSpecifyCorrectAnswerSection(0, 0);
2928
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible')
2929
- utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
2929
+ gridFillPage.steps.verifyErrorMessageIsNotDisplayed();
2930
2930
  if (accordionName == 'Correct') {
2931
2931
  autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
2932
2932
  .within(() => {
2933
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
2933
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
2934
2934
  });
2935
2935
  } else {
2936
2936
  autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
2937
2937
  .within(() => {
2938
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
2938
+ utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'notExist');
2939
2939
  });
2940
2940
  };
2941
2941
  });
@@ -2980,10 +2980,9 @@ const tests = {
2980
2980
  utilities.verifyInputFieldValue(gridFillPage.cellShadeCountInputField(), '6');
2981
2981
  });
2982
2982
 
2983
- it(`When user clears the value in \'Cell shade count\' input field, then \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
2983
+ it(`When user clears the value in \'Cell shade count\' input field, then error message should not be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
2984
2984
  gridFillPage.steps.clearCellShadeCountInputField();
2985
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible')
2986
- utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
2985
+ gridFillPage.steps.verifyErrorMessageIsNotDisplayed();
2987
2986
  });
2988
2987
 
2989
2988
  it('CSS of \'Cell shade count\' input field error message', { tags: 'css' }, () => {
@@ -1,7 +1,6 @@
1
1
  import utilities from "../support/helpers/utilities";
2
2
  import { additionalSettingsAccessibilitySectionComponent, additionalSettingsPanel, autoScoredScoringPreviewTab, autoScoredScoringSectionMultiResponseType, autoScoredSpecifyCorrectAnswerSection, autoScoredStudentViewSettings, backgroundImageUploadComponent, commonComponents, createQuestionBasePage, enableOuterBorderComponent, gradingViewEnumerationComponent, imageActionsComponent, imageCanvasComponent, questionInstructionsComponent, scoringSectionBaseEditTab, showAvailableOptionsToStudents, showStudentMaximumNumberOfPossibleSelections, singleMultipleSelectionModeComponent, colorPopupComponent } from "./components";
3
3
  import { createItemPage } from "./createItemPage";
4
- import { dialogBoxBase } from "./dialogBoxBase";
5
4
  const css = Cypress.env('css');
6
5
  let imageWidth = 768;
7
6
  let imageHeight = 432;
@@ -1555,71 +1554,6 @@ const tests = {
1555
1554
  ...additionalSettingsPanel.tests,
1556
1555
  ...gradingViewEnumerationComponent.tests,
1557
1556
  ...additionalSettingsAccessibilitySectionComponent.tests,
1558
- //TODO need to remove once Save as you go is available for all questions
1559
- /**
1560
- * @description Verifies the behavior of the 'Add alternative answer' button, warning popups, and validation error messages
1561
- * in the 'Specify correct answer' section for alternative answers in auto-scored questions.
1562
- * @param {string|null} questionType - The type of the question (e.g., 'list ordering'). Pass `null` if not applicable.
1563
- * @example - verifyAutoScoredAddAlternativeAnswerButtonAndValidation();
1564
- */
1565
- verifyAutoScoredAddAlternativeAnswerButtonAndValidation: (questionType = null) => {
1566
- it('\'+ Add alternative answer\' button should be present', () => {
1567
- utilities.verifyInnerText(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton(), 'Add alternative answer');
1568
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton(), 'visible');
1569
- autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton()
1570
- .verifyPseudoClassBeforeProperty('content', '""');
1571
- });
1572
-
1573
- it('CSS of \'Add Alternative answer\' button', { tags: 'css' }, () => {
1574
- utilities.verifyCSS(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton().find('p'), {
1575
- 'color': css.color.activeButtons,
1576
- 'font-size': css.fontSize.default,
1577
- 'font-weight': css.fontWeight.regular
1578
- });
1579
- autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton()
1580
- .verifyPseudoClassBeforeProperty('color', css.color.activeButtons);
1581
- });
1582
-
1583
- it('If user has not selected correct answer in the correct accordion, then the Add alternative answer button should be in enabled state', () => {
1584
- utilities.verifyElementNotDisabled(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton());
1585
- autoScoredSpecifyCorrectAnswerSection.steps.clickOnAddAlternativeAnswerButton();
1586
- });
1587
-
1588
- it('CSS of warning popup', { tags: 'css' }, () => {
1589
- utilities.verifyCSS(dialogBoxBase.dialogBoxTitle(), {
1590
- 'color': css.color.flyoutTitle,
1591
- 'font-size': css.fontSize.heading,
1592
- 'font-weight': css.fontWeight.semibold
1593
- });
1594
- utilities.verifyCSS(dialogBoxBase.dialogBoxContent(), {
1595
- 'color': css.color.labels,
1596
- 'font-size': css.fontSize.default,
1597
- 'font-weight': css.fontWeight.regular
1598
- });
1599
- utilities.verifyCSS(dialogBoxBase.buttonClose().find('svg'), {
1600
- 'fill': css.color.closeIcon
1601
- });
1602
- });
1603
-
1604
- it('Accessibility of warning popup', { tags: 'a11y' }, () => {
1605
- cy.checkAccessibility(dialogBoxBase.dialogBox());
1606
- dialogBoxBase.steps.closeWarningPopup();
1607
- });
1608
- },
1609
-
1610
- //TODO need to remove once Save as you go is available for all questions
1611
- verifyWarningPopupAndAccordionNavigationWhenNoPointsAddedInAlternativeAccordion: () => {
1612
- it('When user tries to expand correct accordion when all the mandatory fields are not filled in the alternative accordion, then a warning popup should be displayed and on closing the popup, alternative 2 accordion should be in expanded state', () => {
1613
- autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
1614
- .click();
1615
- dialogBoxBase.steps.closeWarningPopup();
1616
- //TODO: Need to add error message according to question types
1617
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'exist');
1618
- autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
1619
- .eq(1)
1620
- .should('have.attr', 'aria-expanded', 'true');
1621
- });
1622
- },
1623
1557
 
1624
1558
  /**
1625
1559
  * @param {string} scoringType scoring type 'All or nothing| Partial equal weights| Partial different weights'
@@ -30,6 +30,8 @@ export * from './correctAnswerViewPage';
30
30
  export * from './rulerPage';
31
31
  export * from './desmosToolPage';
32
32
  export * from './desmosGraphingPage';
33
+ export * from './desmos3DGraphingPage';
34
+ export * from './desmosGeometryPage';
33
35
  export * from './drawingResponsePage';
34
36
  export * from './protractorPage';
35
37
  export * from './textEntryMathPage';
@@ -43,6 +45,7 @@ export * from './gridFillPage';
43
45
  export * from './geoGebraToolsPage';
44
46
  export * from './matchingPage';
45
47
  export * from './brainingCampManipulativePage';
48
+ export * from './thinkSpherePage';
46
49
  export * from './numberLinePage';
47
50
  export * from './textSelectionPage';
48
51
  export * from './chartsBarPage';
@@ -51,4 +54,3 @@ export * from './numberLineLabelPage';
51
54
  export * from './chartsDotPlotPage';
52
55
  export * from './imageHighlightPage';
53
56
  export * from './compassPage';
54
- export * from './menuBarPage';
@@ -184,8 +184,7 @@ const steps = {
184
184
 
185
185
  verifyCorrectAnswerSectionNotExist: () => {
186
186
  multipleSelectionGridPage.correctAnswerSection()
187
- .should('not.exist');
188
- },
187
+ .should('not.exist');},
189
188
  /**
190
189
  * Verifies the contents of option fields within the options section.
191
190
  * @param {Array<string>} optionsTextArray - An array of strings representing the expected text content for each option field.
@@ -213,72 +212,6 @@ const tests = {
213
212
  ...additionalSettingsPanel.tests,
214
213
  ...additionalSettingsAccessibilitySectionComponent.tests,
215
214
  ...styleAndLayoutCustomizationAccordionComponent.tests,
216
- //TODO need to remove once Save as you go is available for all questions
217
- /**
218
- * @description Verifies the behavior of the 'Add alternative answer' button, warning popups, and validation error messages
219
- * in the 'Specify correct answer' section for alternative answers in auto-scored questions.
220
- * @param {string|null} questionType - The type of the question (e.g., 'list ordering'). Pass `null` if not applicable.
221
- * @example - verifyAutoScoredAddAlternativeAnswerButtonAndValidation();
222
- */
223
- verifyAutoScoredAddAlternativeAnswerButtonAndValidation: (questionType = null) => {
224
- it('\'+ Add alternative answer\' button should be present', () => {
225
- utilities.verifyInnerText(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton(), 'Add alternative answer');
226
- utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton(), 'visible');
227
- autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton()
228
- .verifyPseudoClassBeforeProperty('content', '""');
229
- });
230
-
231
- it('CSS of \'Add Alternative answer\' button', { tags: 'css' }, () => {
232
- utilities.verifyCSS(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton().find('p'), {
233
- 'color': css.color.activeButtons,
234
- 'font-size': css.fontSize.default,
235
- 'font-weight': css.fontWeight.regular
236
- });
237
- autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton()
238
- .verifyPseudoClassBeforeProperty('color', css.color.activeButtons);
239
- });
240
-
241
- it('If user has not selected correct answer in the correct accordion, then the Add alternative answer button should be in enabled state', () => {
242
- utilities.verifyElementNotDisabled(autoScoredSpecifyCorrectAnswerSection.alternativeAnswerButton());
243
- autoScoredSpecifyCorrectAnswerSection.steps.clickOnAddAlternativeAnswerButton();
244
- });
245
-
246
- it('CSS of warning popup', { tags: 'css' }, () => {
247
- utilities.verifyCSS(dialogBoxBase.dialogBoxTitle(), {
248
- 'color': css.color.flyoutTitle,
249
- 'font-size': css.fontSize.heading,
250
- 'font-weight': css.fontWeight.semibold
251
- });
252
- utilities.verifyCSS(dialogBoxBase.dialogBoxContent(), {
253
- 'color': css.color.labels,
254
- 'font-size': css.fontSize.default,
255
- 'font-weight': css.fontWeight.regular
256
- });
257
- utilities.verifyCSS(dialogBoxBase.buttonClose().find('svg'), {
258
- 'fill': css.color.closeIcon
259
- });
260
- });
261
-
262
- it('Accessibility of warning popup', { tags: 'a11y' }, () => {
263
- cy.checkAccessibility(dialogBoxBase.dialogBox());
264
- dialogBoxBase.steps.closeWarningPopup();
265
- });
266
- },
267
-
268
- //TODO need to remove once Save as you go is available for all questions
269
- verifyWarningPopupAndAccordionNavigationWhenNoPointsAddedInAlternativeAccordion: () => {
270
- it('When user tries to expand correct accordion when all the mandatory fields are not filled in the alternative accordion, then a warning popup should be displayed and on closing the popup, alternative 2 accordion should be in expanded state', () => {
271
- autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
272
- .click();
273
- dialogBoxBase.steps.closeWarningPopup();
274
- //TODO: Need to add error message according to question types
275
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'exist');
276
- autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
277
- .eq(1)
278
- .should('have.attr', 'aria-expanded', 'true');
279
- });
280
- },
281
-
282
215
  /**
283
216
  * Verifies the contents and functionality of the 'Specify correct answer' accordion for multiple selection questions.
284
217
  * @param {{'Correct' | 'Alternative'}} accordionName - The name of the accordion to be used in the validation.