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.
Files changed (260) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
  2. package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
  3. package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +398 -0
  4. package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +329 -0
  5. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +260 -0
  6. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +368 -0
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -2
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  11. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  12. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  13. package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
  14. package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
  15. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
  16. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  17. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  18. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  19. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  20. package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
  21. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  22. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +0 -2
  23. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  24. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  25. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +1 -1
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +3 -3
  27. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
  28. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  29. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  30. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  31. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  32. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  33. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  34. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  35. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
  36. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  37. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  38. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +29 -25
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
  43. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +201 -0
  44. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  45. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
  46. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -1
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +18 -20
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +1 -0
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +21 -30
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +211 -0
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +23 -30
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +1 -1
  64. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +25 -30
  65. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  66. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -10
  67. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -0
  68. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  69. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  70. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  71. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  72. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  73. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  74. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  75. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  76. package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
  77. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  78. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  79. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +5 -6
  80. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  81. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  82. package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
  83. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  84. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  85. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  86. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  87. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  88. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  89. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  90. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  91. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  92. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
  93. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
  94. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
  95. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
  96. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
  97. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
  98. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  99. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +1 -1
  100. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  101. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
  102. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  103. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +6 -10
  104. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
  105. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  106. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +2 -1
  107. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  108. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +35 -9
  109. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  110. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  111. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  112. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  113. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  114. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  115. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  116. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +35 -1
  117. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  118. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  119. package/cypress/e2e/ILC/Matching/clickAndDrop.js +3 -5
  120. package/cypress/e2e/ILC/Matching/draggableOptions.js +4 -0
  121. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  122. package/cypress/e2e/ILC/Matching/headerSection.js +36 -11
  123. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  124. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +226 -0
  125. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  126. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  127. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
  128. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  129. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  130. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  131. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
  132. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  133. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  134. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
  135. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +4 -2
  136. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  137. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  138. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  139. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  140. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  141. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  142. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  143. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  144. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  145. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  146. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  147. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  148. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  149. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  150. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  151. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  152. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +31 -48
  153. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  154. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  155. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  156. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  157. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  158. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  159. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  160. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  161. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  162. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +84 -0
  163. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +84 -0
  164. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +63 -0
  165. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -1
  166. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +2 -2
  167. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
  168. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -3
  169. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +62 -0
  170. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +62 -0
  171. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +63 -0
  172. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -4
  173. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -8
  174. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  175. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  176. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  177. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  178. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  179. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -2
  180. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  181. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +8 -6
  182. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
  183. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
  184. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  185. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +52 -0
  186. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +112 -0
  187. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +561 -0
  188. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +185 -0
  189. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  190. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +289 -0
  191. package/cypress/e2e/ILC/ThinkSphere/headerSection.js +53 -0
  192. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +581 -0
  193. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  194. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +296 -0
  195. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +1 -1
  196. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  197. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  198. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  199. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  200. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  201. package/cypress/e2e/Sessions/scores.js +9 -5
  202. package/cypress/e2e/applitools.config.js +3 -3
  203. package/cypress/fixtures/theme/ilc.json +14 -1
  204. package/cypress/fixtures/uploads/sample.webm +0 -0
  205. package/cypress/fixtures/uploads/sample.wmv +0 -0
  206. package/cypress/fixtures/uploads/sample20MB.mp4 +0 -0
  207. package/cypress/fixtures/uploads/sample2MB.mp4 +0 -0
  208. package/cypress/fixtures/uploads/sample2MB_2.mp4 +0 -0
  209. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  210. package/cypress/pages/audioPlayerPage.js +22 -22
  211. package/cypress/pages/chartsBarPage.js +20 -0
  212. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  213. package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
  214. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  215. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +16 -28
  216. package/cypress/pages/components/backgroundImageUploadComponent.js +32 -25
  217. package/cypress/pages/components/browseItemsPage.js +998 -7
  218. package/cypress/pages/components/ckEditorAudioPlayerComponent.js +1 -1
  219. package/cypress/pages/components/ckEditorEquationEditorComponent.js +4 -4
  220. package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
  221. package/cypress/pages/components/ckEditorLinkComponent.js +3 -3
  222. package/cypress/pages/components/commonComponents.js +8 -1
  223. package/cypress/pages/components/createQuestionBasePage.js +8 -1
  224. package/cypress/pages/components/defaultToolDropdown.js +7 -6
  225. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  226. package/cypress/pages/components/equationEditorSectionCommonComponent.js +13 -26
  227. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -3
  228. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -35
  229. package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
  230. package/cypress/pages/components/imageCanvasComponent.js +7 -6
  231. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  232. package/cypress/pages/components/questionInstructionsComponent.js +7 -0
  233. package/cypress/pages/components/scoringSectionBaseEditTab.js +6 -4
  234. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  235. package/cypress/pages/desmosGeometryPage.js +184 -4
  236. package/cypress/pages/dialogBoxBase.js +2 -1
  237. package/cypress/pages/drawingResponsePage.js +16 -15
  238. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  239. package/cypress/pages/gradingViewPage.js +8 -0
  240. package/cypress/pages/graphingPage.js +27 -8
  241. package/cypress/pages/gridFillPage.js +15 -6
  242. package/cypress/pages/index.js +2 -1
  243. package/cypress/pages/listOrderingPage.js +32 -1
  244. package/cypress/pages/matchingPage.js +26 -7
  245. package/cypress/pages/multipleSelectionPage.js +10 -39
  246. package/cypress/pages/numberLineLabelPage.js +31 -8
  247. package/cypress/pages/numberLinePage.js +19 -7
  248. package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
  249. package/cypress/pages/singleSelectionPage.js +0 -37
  250. package/cypress/pages/textEntryMathPage.js +21 -0
  251. package/cypress/pages/thinkSpherePage.js +1874 -0
  252. package/cypress/pages/uploadResponsePage.js +2 -1
  253. package/cypress/pages/videoResponsePage.js +3 -0
  254. package/cypress/support/commands.js +7 -4
  255. package/cypress/support/e2e.js +1 -0
  256. package/cypress/support/helpers/createItem.js +1181 -1
  257. package/cypress/support/helpers/utilities.js +75 -1
  258. package/package.json +4 -4
  259. package/scripts/dataApi.mjs +3 -0
  260. package/scripts/sorry-cypress.mjs +13 -0
@@ -227,4 +227,47 @@ describe('Create Item page - Number line: All or nothing with alternative answer
227
227
  numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();*/
228
228
  });
229
229
  });
230
+
231
+ describe('Question Preview: AutoScored - All or Nothing with blank scoring: When correct answer points are greater than alternative answer points', () => {
232
+ abortEarlySetup();
233
+ before(() => {
234
+ numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
235
+ cy.barsPreLoaderWait();
236
+ numberLineLabelPage.steps.navigateToLabelNumberLineTab();
237
+ numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot labels on the number line');
238
+ numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3']);
239
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 1);
240
+ numberLineLabelPage.steps.allotPoints(21);
241
+ numberLineLabelPage.steps.addAlternativeAnswerAccordion(1);
242
+ numberLineLabelPage.steps.allotPoints(12);
243
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 1);
244
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 2', 'horizontal', range, 2);
245
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 3', 'horizontal', range, 3);
246
+ numberLineLabelPage.steps.expandCorrectAnswerAccordion();
247
+ numberLineLabelPage.steps.clickAndDropLabelInContainerSpecifyCorrectAnswer('Label 1');
248
+ numberLineLabelPage.steps.switchToPreviewTab();
249
+ });
250
+
251
+ it('When user attempts the question with responses from the correct accordion i.e select and resets an option, then the user should be awarded points specified for correct points accordion (full points) and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
252
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'horizontal', range, 0);
253
+ numberLineLabelPage.steps.clickAndDropLabelInContainerPreviewTab('Label 1');
254
+ numberLineLabelPage.steps.verifyPreviewScore(21, 21);
255
+ numberLineLabelPage.steps.switchToGradingView();
256
+ numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
257
+ numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
258
+ numberLineLabelPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
259
+ });
260
+
261
+ it('When user attempts the question with responses from the alternative accordion then less than full score should be awarded', () => {
262
+ numberLineLabelPage.steps.resetQuestionPreview();
263
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'horizontal', range, 1);
264
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 2', 'horizontal', range, 2);
265
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'horizontal', range, 3);
266
+ numberLineLabelPage.steps.verifyPreviewScore(12, 21);
267
+ numberLineLabelPage.steps.switchToGradingView();
268
+ numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
269
+ numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
270
+ numberLineLabelPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
271
+ });
272
+ });
230
273
  });
@@ -0,0 +1,76 @@
1
+ import { numberLineLabelPage } from "../../../../pages";
2
+ import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
+ const range = 22.18;
4
+
5
+ describe('Create Item page - Number line', () => {
6
+ before(() => {
7
+ cy.loginAs('admin');
8
+ });
9
+ describe('Question Preview: Auto Scored With Points', () => {
10
+ abortEarlySetup();
11
+ before(() => {
12
+ numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
13
+ cy.barsPreLoaderWait();
14
+ numberLineLabelPage.steps.navigateToLabelNumberLineTab();
15
+ numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3']);
16
+ numberLineLabelPage.steps.switchToPreviewTab();
17
+ });
18
+ it('In Preview tab, when an answer is not set then manually scored scoring label should be displayed', () => {
19
+ numberLineLabelPage.steps.checkManuallyScoredScoringLabel();
20
+ });
21
+ it('In Preview tab, when user switches to grading view then no banner and correct answer should be displayed', () => {
22
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'horizontal', range, 0);
23
+ numberLineLabelPage.steps.switchToGradingView();
24
+ numberLineLabelPage.steps.verifyAnswerStatusBannerNotExist();
25
+ numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
26
+ });
27
+ it('When user allocates points to the question then the scoring label should be displayed as manually scored and banner and correct answer status should not exist', () => {
28
+ numberLineLabelPage.steps.switchToEditTab();
29
+ numberLineLabelPage.steps.allotPoints(10);
30
+ numberLineLabelPage.steps.switchToPreviewTab();
31
+ numberLineLabelPage.steps.checkManuallyScoredScoringLabel();
32
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'horizontal', range, 0);
33
+ numberLineLabelPage.steps.switchToGradingView();
34
+ numberLineLabelPage.steps.verifyAnswerStatusBannerNotExist();
35
+ numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
36
+ });
37
+ });
38
+ describe('Question Preview: Auto Scored Without Points', () => {
39
+ abortEarlySetup();
40
+ before(() => {
41
+ numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
42
+ cy.barsPreLoaderWait();
43
+ numberLineLabelPage.steps.navigateToLabelNumberLineTab();
44
+ numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3']);
45
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 0);
46
+ numberLineLabelPage.steps.switchToPreviewTab();
47
+ });
48
+ it('In Preview tab, when points are not set then manually scored scoring label should be displayed', () => {
49
+ numberLineLabelPage.steps.checkManuallyScoredScoringLabel();
50
+ });
51
+ it('In Preview tab, when user switches to grading view then banner and correct answer should be displayed', () => {
52
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'horizontal', range, 6);
53
+ numberLineLabelPage.steps.switchToGradingView();
54
+ numberLineLabelPage.steps.verifyAnswerStatusBannerExist();
55
+ numberLineLabelPage.steps.verifyCorrectAnswerSectionExist();
56
+ });
57
+ });
58
+ describe('Question Preview: Non Scored', () => {
59
+ abortEarlySetup();
60
+ before(() => {
61
+ numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
62
+ cy.barsPreLoaderWait();
63
+ numberLineLabelPage.steps.navigateToLabelNumberLineTab();
64
+ numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3']);
65
+ });
66
+ it('When the user selects \'Grading\' view without setting the answer, correct answers section and answer status banner should not be displayed', () => {
67
+ numberLineLabelPage.steps.expandScoringTypeDropdown();
68
+ numberLineLabelPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
69
+ numberLineLabelPage.steps.switchToPreviewTab();
70
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 1', 'horizontal', range, 6);
71
+ numberLineLabelPage.steps.switchToGradingView();
72
+ numberLineLabelPage.steps.verifyAnswerStatusBannerNotExist();
73
+ numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
74
+ });
75
+ });
76
+ });
@@ -66,8 +66,8 @@ describe('Create Item page -numberLine : Additional settings', () => {
66
66
  before(() => {
67
67
  numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
68
68
  cy.barsPreLoaderWait();
69
- numberLineLabelPage.steps.navigateToLabelNumberLineTab();
70
69
  numberLineLabelPage.steps.addTextInQuestionInstructionsInputField('Plot label on the number line');
70
+ numberLineLabelPage.steps.navigateToLabelNumberLineTab();
71
71
  numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3']);
72
72
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 0);
73
73
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [0]);
@@ -0,0 +1,34 @@
1
+ import { numberLineLabelPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+
4
+ const range = 22.18;
5
+ describe('Create question page - Graphing', () => {
6
+ before(() => {
7
+ cy.loginAs('admin');
8
+ });
9
+
10
+ describe('Check Alternative Answer Button', () => {
11
+ abortEarlySetup();
12
+ before(() => {
13
+ numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
14
+ numberLineLabelPage.steps.navigateToLabelNumberLineTab();
15
+ numberLineLabelPage.steps.enterTextInMultipleLabelInputFields(['Label 1', 'Label 2', 'Label 3']);
16
+ cy.barsPreLoaderWait();
17
+ });
18
+
19
+ it('When correct answer is not set then alternative answer should be disabled', () => {
20
+ numberLineLabelPage.steps.checkAlternativeButtonDisabled();
21
+ });
22
+
23
+ it('When correct answer is set then alternative answer should be enabled', () => {
24
+ numberLineLabelPage.steps.allotPoints(10);
25
+ numberLineLabelPage.steps.clickAndDropLabelOnNumberLineSpecifyCorrectAnswer('Label 1', 'horizontal', range, 0);
26
+ numberLineLabelPage.steps.checkAlternativeButtonEnabled();
27
+ });
28
+
29
+ it('User should be able to add \'Alternative\' answer using the \'Add alternative\' button, when user has not set any answer in the \'Alternative\' accordion and clicks on the \'Correct\' accordion then \'Correct\' accordion should be expanded', () => {
30
+ numberLineLabelPage.steps.clickOnAddAlternativeAnswerButton();
31
+ numberLineLabelPage.steps.expandCorrectAnswerAccordion();
32
+ });
33
+ });
34
+ });
@@ -0,0 +1,38 @@
1
+ import { numberLineLabelPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+
4
+ describe('Create item page - Number Line', () => {
5
+ before(() => {
6
+ cy.loginAs('admin');
7
+ });
8
+
9
+ describe('User should be able to edit incomplete authored question', () => {
10
+ abortEarlySetup();
11
+ before(() => {
12
+ numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
13
+ cy.barsPreLoaderWait();
14
+ numberLineLabelPage.steps.saveAQuestionWithIncompleteAuthoring();
15
+ numberLineLabelPage.steps.editItem();
16
+ });
17
+
18
+ it('Warning icons should be displayed on the required input fields', () => {
19
+ numberLineLabelPage.steps.verifyWarningIconOnRequiredFields([
20
+ 'Please set points',
21
+ ]);
22
+ });
23
+
24
+ it('When required input fields are filled then warning icons should disappear', () => {
25
+ numberLineLabelPage.steps.allotPoints(10);
26
+ numberLineLabelPage.steps.verifyErrorMessageIsNotDisplayed();
27
+ numberLineLabelPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
28
+ });
29
+
30
+ it('Clicking on Save Question button the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
31
+ numberLineLabelPage.steps.saveAQuestionAndVerifySnackbar();
32
+ });
33
+
34
+ it('Warning icon should not be visible', () => {
35
+ numberLineLabelPage.steps.verifyWarningIconNotExist();
36
+ });
37
+ });
38
+ });
@@ -1,7 +1,9 @@
1
1
  import abortEarlySetup from "../../../support/helpers/abortEarly";
2
- import { dialogBoxBase, numberLineLabelPage } from "../../../pages";
2
+ import { dialogBoxBase, numberLineLabelPage, itemPreviewPage } from "../../../pages";
3
+ import { browseItemsPage } from "../../../pages/components";
3
4
  import utilities from "../../../support/helpers/utilities";
4
5
  const range = 20.75;
6
+ var itemReferenceID = "";
5
7
 
6
8
  describe('Create item page - Number line: Header section and saving question', () => {
7
9
  before(() => {
@@ -46,16 +48,16 @@ describe('Create item page - Number line: Header section and saving question', (
46
48
  numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
47
49
  cy.barsPreLoaderWait();
48
50
  numberLineLabelPage.steps.navigateToLabelNumberLineTab();
51
+ cy.wait(1000);
49
52
  });
50
53
 
51
54
  describe('Validation error messages', () => {
52
- dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
55
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please enter all label values', 'Please set points']);
53
56
 
54
57
  it('Validation error messages should be displayed below required input fields', () => {
55
58
  numberLineLabelPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
56
- utilities.verifyInnerText(utilities.getNthElement(numberLineLabelPage.errorMessage(), 1), 'Error: Label is required.');
57
- utilities.verifyInnerText(utilities.getNthElement(numberLineLabelPage.errorMessage(), 3), 'Error: Please set a correct answer.');
58
- numberLineLabelPage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
59
+ numberLineLabelPage.steps.verifyWarningIconOnRequiredFields(['Please enter all label values', 'Please set points']);
60
+ numberLineLabelPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
59
61
  });
60
62
 
61
63
  it('Validation error messages should disappear when required input fields are filled', () => {
@@ -77,5 +79,35 @@ describe('Create item page - Number line: Header section and saving question', (
77
79
 
78
80
  numberLineLabelPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
79
81
  });
82
+
83
+ describe('Saving a question with incomplete authoring', () => {
84
+ abortEarlySetup();
85
+ before(() => {
86
+ numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
87
+ cy.barsPreLoaderWait();
88
+ numberLineLabelPage.steps.navigateToLabelNumberLineTab();
89
+ });
90
+ 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', () => {
91
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points']);
92
+ numberLineLabelPage.steps.saveAQuestionWithIncompleteAuthoring();
93
+ });
94
+ numberLineLabelPage.tests.verifySavedSuccessfullySnackbarCSSAndA11y();
95
+ });
96
+
97
+ describe('Save as you go - Browse item page contents', () => {
98
+ abortEarlySetup();
99
+ before(() => {
100
+ numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
101
+ cy.barsPreLoaderWait();
102
+ numberLineLabelPage.steps.navigateToLabelNumberLineTab();
103
+ numberLineLabelPage.steps.saveAQuestionWithIncompleteAuthoring();
104
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
105
+ itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
106
+ browseItemsPage.steps.navigateToBrowseItemsPage();
107
+ });
108
+ it('When user saves an incompletely authored question then a warning icon should be visible in browse items page', () => {
109
+ browseItemsPage.steps.verifyWarningIconInBrowseItemPage(`${itemReferenceID}`);
110
+ });
111
+ });
80
112
  });
81
113
  });
@@ -46,8 +46,9 @@ describe('Create Item page - Number line: Scoring cases', () => {
46
46
  describe('Non scored scoring - Scoring section', () => {
47
47
  abortEarlySetup();
48
48
  before(() => {
49
- numberLineLabelPage.steps.navigateToCreateQuestion('matching');
49
+ numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
50
50
  cy.barsPreLoaderWait();
51
+ numberLineLabelPage.steps.navigateToLabelNumberLineTab();
51
52
  });
52
53
 
53
54
  it('User should be able to select \'Non scored\' scoring type from scoring type dropdown', () => {
@@ -84,55 +84,46 @@ describe('Create question page - Short text response: Question Instructions, Set
84
84
  shortTextResponsePage.steps.setMaximumLimit(500);
85
85
  });
86
86
 
87
- it('When the user clears the minimum character limit input field and focuses out of it, then error message \'Error: Minimum character limit is required\' should be displayed below the input field', () => {
87
+ it('When the user clears the minimum character limit input field and focuses out of it, then error message should not be displayed', () => {
88
88
  shortTextResponsePage.steps.clearAndFocusOutOfMinimumLimitInputField();
89
- utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Minimum character limit is required.');
90
- utilities.verifyElementVisibilityState(shortTextResponsePage.errorMessage(), 'visible');
89
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
91
90
  });
92
91
 
93
- shortTextResponsePage.tests.verifyErrorMessageCSSAndA11y();
94
-
95
- it('When the user enters value in minimum character limit input field then the error message should disappear', () => {
92
+ it('When the user enters a value in the minimum character limit input field, it should be accepted', () => {
96
93
  shortTextResponsePage.steps.setMinimumLimit(0);
97
- shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
98
94
  });
99
95
 
100
- it('When the user clears the maximum character limit input field and focuses out of it, then error message \'Error: Maximum character limit is required.\' should be displayed below the input field', () => {
96
+ it('When the user clears the maximum character limit input field and focuses out of it, the error message should not be displayed', () => {
101
97
  shortTextResponsePage.steps.clearAndFocusOutOfMaximumLimitInputField();
102
- utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Maximum character limit is required.');
103
- utilities.verifyElementVisibilityState(shortTextResponsePage.errorMessage(), 'visible');
98
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
104
99
  });
105
100
 
106
- it('When the user enters value in maximum character limit input field then the error message should disappear', () => {
101
+ it('When the user enters a value in the maximum character limit input field, it should be accepted', () => {
107
102
  shortTextResponsePage.steps.setMaximumLimit(500);
108
103
  shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
109
104
  });
110
105
 
111
- it('When the user sets minimum limit input field value greater than maximum limit input field value then error message \'Error: Minimum limit must be less than or equal to maximum limit.\' and \'Error: Maximum limit must be greater than or equal to minimum limit.\'should be displayed below the minimum and maximum input field respectively', () => {
106
+ it('When the user sets the minimum limit input field value greater than the maximum limit input field value, error message should not be displayed', () => {
112
107
  shortTextResponsePage.steps.setMinimumLimit(700);
113
- shortTextResponsePage.steps.verifyMaximumLimitErrorMessage();
114
- shortTextResponsePage.steps.verifyMinimumLimitErrorMessage();
108
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
115
109
  });
116
110
 
117
- shortTextResponsePage.tests.verifyErrorMessageCSSAndA11y();
118
-
119
- it('When the user sets minimum limit input field value less than or equal to maximum limit input field value then error message should disappear', () => {
111
+ it('When the user sets the minimum limit input field value less than or equal to the maximum limit input field value, the error message should disappear', () => {
120
112
  shortTextResponsePage.steps.setMinimumLimit(500);
121
113
  shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
122
114
  });
123
115
 
124
- it('When the user sets maximum limit input field value less than minimum limit input field value then error message \'Error: Minimum limit must be less than or equal to maximum limit.\' and \'Error: Maximum limit must be greater than or equal to minimum limit.\'should be displayed below the minimum and maximum input field respectively', () => {
116
+ it('When the user sets the maximum limit input field value less than the minimum limit input field value, error messages should be displayed below the respective input fields', () => {
125
117
  shortTextResponsePage.steps.setMaximumLimit(400);
126
- shortTextResponsePage.steps.verifyMaximumLimitErrorMessage();
127
- shortTextResponsePage.steps.verifyMinimumLimitErrorMessage();
118
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
128
119
  });
129
120
 
130
- it('When the user sets maximum limit input field value greater than or equal to minimum limit input field value then error message should disappear', () => {
121
+ it('When the user sets the maximum limit input field value greater than or equal to the minimum limit input field value, the error message should not be displayed', () => {
131
122
  shortTextResponsePage.steps.setMaximumLimit(800);
132
123
  shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
133
124
  });
134
125
 
135
- it('\'Always show maximum limit\' and \'Always show minimum limit\' labels and checkbox should be displayed and by default \'Always show maximum limit\' should be checked', () => {
126
+ it('\'Always show maximum limit\' and \'Always show minimum limit\' labels and checkboxes should be displayed, and by default, \'Always show maximum limit\' should be checked', () => {
136
127
  utilities.verifyInnerText(shortTextResponsePage.alwaysShowMaxLimitLabel(), 'Always show maximum limit');
137
128
  utilities.verifyElementVisibilityState(shortTextResponsePage.alwaysShowMaxLimitLabel(), 'visible');
138
129
  utilities.verifyInnerText(shortTextResponsePage.alwaysShowMinLimitLabel(), 'Always show minimum limit');
@@ -141,7 +132,7 @@ describe('Create question page - Short text response: Question Instructions, Set
141
132
  // shortTextResponsePage.steps.verifyAlwaysShowMaximumLimitCheckboxIsChecked();
142
133
  });
143
134
 
144
- it('When the user selects \'Word\' radio button then labels should change to \'Minimum word limit\' and \'Maximum word limit\'', () => {
135
+ it('When the user selects \'Word\' radio button, the labels should change to \'Minimum word limit\' and \'Maximum word limit\'', () => {
145
136
  shortTextResponsePage.steps.selectWordRadioButton();
146
137
  utilities.verifyInnerText(shortTextResponsePage.minimumLimitLabel(), 'Minimum word limit');
147
138
  utilities.verifyInnerText(shortTextResponsePage.maximumLimitLabel(), 'Maximum word limit');
@@ -152,33 +143,27 @@ describe('Create question page - Short text response: Question Instructions, Set
152
143
  shortTextResponsePage.steps.verifyMaximumLimitInputField(20);
153
144
  });
154
145
 
155
- it('User should be able to update values in both the input fields', () => {
146
+ it('The user should be able to update values in both the input fields', () => {
156
147
  shortTextResponsePage.steps.setMinimumLimit(75);
157
148
  shortTextResponsePage.steps.setMaximumLimit(120);
158
149
  });
159
150
 
160
- it('When the user clears the minimum word limit input field and focuses out of it, then error message \'Error: Minimum word limit is required\' should be displayed below the input field', () => {
151
+ it('When the user clears the minimum word limit input field and focuses out of it, an error message should not be displayed', () => {
161
152
  shortTextResponsePage.steps.clearAndFocusOutOfMinimumLimitInputField();
162
- utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Minimum word limit is required.');
163
- utilities.verifyElementVisibilityState(shortTextResponsePage.errorMessage(), 'visible');
153
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
164
154
  });
165
155
 
166
- shortTextResponsePage.tests.verifyErrorMessageCSSAndA11y();
167
-
168
- it('When the user enters value in minimum word limit input field then the error message should disappear', () => {
156
+ it('When the user enters a value in the minimum word limit input field it should be accepted', () => {
169
157
  shortTextResponsePage.steps.setMinimumLimit(0);
170
- shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
171
158
  });
172
159
 
173
- it('When the user clears the maximum word limit input field and focuses out of it, then error message \'Error: Maximum word limit is required.\' should be displayed below the input field', () => {
160
+ it('When the user clears the maximum word limit input field and focuses out of it, an error message should not be displayed', () => {
174
161
  shortTextResponsePage.steps.clearAndFocusOutOfMaximumLimitInputField();
175
- utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Maximum word limit is required.');
176
- utilities.verifyElementVisibilityState(shortTextResponsePage.errorMessage(), 'visible');
162
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
177
163
  });
178
164
 
179
- it('When the user enters value in maximum word limit input field then the error message should disappear', () => {
165
+ it('When the user enters a value in the maximum word limit input field it should be accepted', () => {
180
166
  shortTextResponsePage.steps.setMaximumLimit(500);
181
- shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
182
167
  });
183
168
 
184
169
  it('CSS of \'Set limit\' sections', { tags: 'css' }, () => {
@@ -272,25 +257,23 @@ describe('Create question page - Short text response: Question Instructions, Set
272
257
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('Lorem');
273
258
  });
274
259
 
275
- it('When the user reaches the character limit, then the warning message \'Maximum # characters have been entered\' should be displayed', () => {
260
+ it('When the user reaches the character limit, then the warning message should notv be displayed', () => {
276
261
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Correct');
277
262
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('Corre');
278
- shortTextResponsePage.steps.verifyWarningMessage('Error: Maximum 5 characters have been entered.');
263
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
279
264
  });
280
265
 
281
- shortTextResponsePage.tests.verifyErrorMessageCSSAndA11y();
282
-
283
266
  it('When the user removes/deletes some characters, the warning message should disappear', () => {
284
267
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('{backspace}');
285
268
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('');
286
269
  shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
287
270
  });
288
271
 
289
- it('When the user sets 3 as minimum character limit and enters the character less than the minimum character limit value set and focus out of response field, then the warning message \'Minimum 3 characters are required\' should be displayed', () => {
272
+ it('When the user sets 3 as minimum character limit and enters the character less than the minimum character limit value set and focus out of response field, then the warning message should not be displayed', () => {
290
273
  shortTextResponsePage.steps.setMinimumLimit(3);
291
274
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Lo');
292
275
  shortTextResponsePage.steps.focusOutOfSpecifyCorrectAnswerInputField();
293
- shortTextResponsePage.steps.verifyWarningMessage('Error: Minimum 3 characters are required.');
276
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
294
277
  });
295
278
 
296
279
  it('When the user enters the character greater than the minimum character limit value set by the user, then the warning message should disappear', () => {
@@ -314,10 +297,10 @@ describe('Create question page - Short text response: Question Instructions, Set
314
297
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('The elephant played piano under the sunshine');
315
298
  });
316
299
 
317
- it('When the user reaches the word limit, then the warning message \'Maximum # words have been entered\' should be displayed', () => {
300
+ it('When the user reaches the word limit, then the warning message should not be displayed', () => {
318
301
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('The elephant played piano under the sunshine while riding a bicycle');
319
302
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('The elephant played piano under the sunshinewhileridingabicycle');
320
- shortTextResponsePage.steps.verifyWarningMessage('Error: Maximum 7 words have been entered.');
303
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
321
304
  });
322
305
 
323
306
  it('When the user removes/deletes some words, the warning message should disappear', () => {
@@ -326,10 +309,10 @@ describe('Create question page - Short text response: Question Instructions, Set
326
309
  shortTextResponsePage.steps.verifyWarningMessageNotExist();
327
310
  });
328
311
 
329
- it('When the user enters the word less than the minimum word limit value set by the user and focus out of response field, then the warning message \'Minimum # words are required\' should be displayed', () => {
312
+ it('When the user enters the word less than the minimum word limit value set by the user and focus out of response field, then the warning message should not be displayed', () => {
330
313
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('abc abc');
331
314
  shortTextResponsePage.steps.focusOutOfSpecifyCorrectAnswerInputField();
332
- shortTextResponsePage.steps.verifyWarningMessage('Error: Minimum 3 words are required.');
315
+ shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
333
316
  });
334
317
 
335
318
  it('When the user enters the word greater than the minimum word limit value set by the user, then the warning message should disappear', () => {
@@ -432,7 +415,7 @@ describe('Create question page - Short text response: Question Instructions, Set
432
415
 
433
416
  it('When the user enters the character less than the minimum character limit value set by the user and focus out of response field, then the warning message \'Minimum # characters are required\' should be displayed', () => {
434
417
  shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Lo');
435
- shortTextResponsePage.steps.focusOutOfSpecifyCorrectAnswerInputField();
418
+ shortTextResponsePage.steps.focusOutOfResponseInputFieldPreviewTab();
436
419
  shortTextResponsePage.steps.verifyWarningMessagePreviewTab('Minimum 3 characters are required.');
437
420
  });
438
421
 
@@ -493,7 +476,7 @@ describe('Create question page - Short text response: Question Instructions, Set
493
476
  it('When the user enters the word less than the minimum word limit value set by the user and focus out of response field, then the warning message \'Minimum 3 words are required\' should be displayed', () => {
494
477
  cy.log('Pre-step: Clearing the response field');
495
478
  shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('abc abc');
496
- shortTextResponsePage.steps.focusOutOfSpecifyCorrectAnswerInputField();
479
+ shortTextResponsePage.steps.focusOutOfResponseInputFieldPreviewTab();
497
480
  shortTextResponsePage.steps.verifyWarningMessagePreviewTab('Minimum 3 words are required.');
498
481
  });
499
482
 
@@ -45,13 +45,11 @@ describe('Create item page - Short text response - text: Header section and savi
45
45
  });
46
46
 
47
47
  describe('Validation error messages', () => {
48
- dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
48
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points']);
49
49
 
50
50
  it('Validation error messages should be displayed below required input fields', () => {
51
51
  shortTextResponsePage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
52
- utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Answer is required.');
53
- shortTextResponsePage.steps.verifyPointsFieldErrorMessageIsNotDisplayed();
54
- shortTextResponsePage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
52
+ shortTextResponsePage.steps.verifyWarningIconOnRequiredFields(['Please set points'])
55
53
  });
56
54
 
57
55
  it('Validation error messages should disappear when required input fields are filled', () => {