itemengine-cypress-automation 1.0.283-applitools-caab082.0 → 1.0.283

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -36
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -14
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
  5. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
  6. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -18
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -16
  10. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -18
  11. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  12. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -17
  13. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -18
  14. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  15. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -16
  16. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
  17. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -16
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
  26. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -35
  28. package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
  29. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  45. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -16
  46. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +3 -12
  47. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -14
  48. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -15
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +4 -13
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -14
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -14
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
  59. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
  60. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -14
  61. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
  62. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -15
  63. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  64. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
  65. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -17
  66. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
  67. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -16
  68. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
  69. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -14
  70. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
  71. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -13
  72. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -14
  73. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
  74. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -16
  75. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
  76. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -15
  77. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -12
  78. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  79. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  80. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  81. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  82. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
  83. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  84. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  85. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  86. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  87. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  88. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  89. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  90. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  91. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  92. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -15
  93. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +4 -13
  94. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
  95. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  100. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  101. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  102. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  103. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  104. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  105. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  106. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  107. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  108. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -15
  109. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
  110. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -20
  111. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
  112. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
  113. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -15
  114. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
  115. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -15
  116. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  117. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  118. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -15
  119. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  120. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  121. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -15
  122. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +0 -10
  123. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
  124. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -15
  125. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  126. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -10
  127. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
  128. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
  129. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
  130. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -13
  131. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -14
  132. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
  133. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -13
  134. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
  135. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
  136. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -15
  137. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
  138. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
  139. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
  140. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
  141. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
  142. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
  143. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
  144. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
  145. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
  146. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
  147. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
  148. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
  149. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
  150. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
  151. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
  152. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  153. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
  154. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -24
  155. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -15
  156. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  157. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
  158. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  159. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  160. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  161. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  162. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
  163. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  164. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +12 -22
  165. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
  166. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -14
  167. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -17
  168. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -17
  169. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -12
  170. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -12
  171. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
  172. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
  173. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -17
  174. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -12
  175. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
  176. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
  177. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -19
  178. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  179. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -14
  180. package/cypress/pages/audioPlayerPage.js +4 -4
  181. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
  182. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  183. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
  184. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  185. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
  186. package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
  187. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  188. package/cypress/pages/createItemPage.js +38 -1
  189. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  190. package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
  191. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
  192. package/cypress/pages/listOrderingPage.js +1 -1
  193. package/cypress/pages/matchingPage.js +34 -7
  194. package/cypress/pages/multipleSelectionPage.js +17 -2
  195. package/cypress/pages/numberLineLabelPage.js +3 -3
  196. package/cypress/pages/readingRulerPage.js +5 -3
  197. package/cypress/pages/singleSelectionPage.js +5 -2
  198. package/cypress/pages/textEntryMathPage.js +19 -5
  199. package/cypress/pages/textSelectionPage.js +1 -1
  200. package/cypress/support/commands.js +0 -11
  201. package/cypress/support/e2e.js +0 -1
  202. package/package.json +1 -4
  203. package/cypress/e2e/applitools.config.js +0 -14
@@ -14,14 +14,6 @@ describe('Create item page - Upload response : Preview contents', () => {
14
14
  cy.loginAs('admin');
15
15
  });
16
16
 
17
- beforeEach(() => {
18
- cy.startApplitools();
19
- });
20
-
21
- afterEach(() => {
22
- cy.eyesClose();
23
- });
24
-
25
17
  views.forEach((view) => {
26
18
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
27
19
  abortEarlySetup();
@@ -62,7 +54,7 @@ describe('Create item page - Upload response : Preview contents', () => {
62
54
  utilities.verifyElementVisibilityState(uploadResponsePage.questionInstructionsText(), 'visible');
63
55
  });
64
56
 
65
- it(`${view} - Upload response area should have a Cloud icon and text 'Drag & Drop files here 'or browse files on your device, or capture an image' should be displayed`, () => {
57
+ it('Upload response area should have a Cloud icon and text \'Drag & Drop files here \'or browse files on your device, or capture an image\' should be displayed', () => {
66
58
  utilities.verifyElementVisibilityState(uploadResponsePage.uploadCloudIcon(), 'visible');
67
59
  utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
68
60
  utilities.verifyTextContent(uploadResponsePage.fileUploadOptionsLabel(), 'or browse files on your device or capture an image');
@@ -90,7 +82,7 @@ describe('Create item page - Upload response : Preview contents', () => {
90
82
  uploadResponsePage.steps.verifyUploadedFileLimitCount(0, 3);
91
83
  });
92
84
 
93
- it(`${view} - When user uploads file, then uploaded file name should be displayed and file count should get updated`, () => {
85
+ it('When user uploads file, then uploaded file name should be displayed and file count should get updated', () => {
94
86
  uploadResponsePage.steps.uploadFile('uploads/highlightImage.jpg');
95
87
  uploadResponsePage.steps.uploadedFileContentsPreviewTab(0, 'highlightImage.jpg');
96
88
  uploadResponsePage.steps.verifyUploadedFileLimitCount(1, 3);
@@ -111,14 +103,13 @@ describe('Create item page - Upload response : Preview contents', () => {
111
103
  utilities.verifyElementCount(uploadResponsePage.fileName(), 2);
112
104
  });
113
105
 
114
- it(`${view} - When user edits the name of uploaded file, then edited name should be visible`, () => {
106
+ it('When user edits the name of uploaded file, then edited name should be visible', () => {
115
107
  uploadResponsePage.steps.clickOnEditDisplayTextIcon(0);
116
108
  utilities.verifyElementVisibilityState(uploadResponsePage.dialogBox(), 'exist');
117
109
  uploadResponsePage.steps.enterTextInEditDisplayTextPopupInputField('image.csv');
118
110
  uploadResponsePage.steps.verifyTextInEditDisplayTextPopupInputField('image.csv');
119
111
  uploadResponsePage.steps.clickAcceptButtonInPopup();
120
112
  uploadResponsePage.steps.verifyUploadedFileName(0, 'image.csv');
121
- cy.eyesCheckWindow(`${view} - Uploaded file name edited`);
122
113
  });
123
114
 
124
115
  it('CSS of Preview tab', { tags: 'css' }, () => {
@@ -167,12 +158,12 @@ describe('Create item page - Upload response : Preview contents', () => {
167
158
  });
168
159
 
169
160
  //Failed due to https://redmine.zeuslearning.com/issues/563182
170
- it(`${view} - When user uploads file type which is not selected from the 'Supported file types' accordion menu, then file upload error message - 'The file type is not supported. Please upload files with the following supported formats: *file format separated by commas*' should be displayed`, () => {
161
+ it('When user uploads file type which is not selected from the \'Supported file types\' accordion menu, then file upload error message - \'The file type is not supported. Please upload files with the following supported formats: *file format separated by commas*\' should be displayed', () => {
171
162
  uploadResponsePage.steps.uploadFile('uploads/sample.heif');
172
163
  uploadResponsePage.steps.verifyWarningMessage('The file type is not supported. Please upload files with the following supported formats: CSV, Excel, GIF, JPG, Open Office, PDF, PNG, Powerpoint, Publisher, RTF, TXT, Word, XPS, ZIP.');
173
164
  });
174
165
 
175
- it(`${view} - When user tries to upload files more than the limit, then warning message 'You have reached the maximum number of files that can be uploaded.' should be displayed`, () => {
166
+ it('When user tries to upload files more than the limit, then warning message \'You have reached the maximum number of files that can be uploaded.\' should be displayed', () => {
176
167
  uploadResponsePage.steps.uploadFile('uploads/highlightImage.jpg');
177
168
  uploadResponsePage.steps.uploadFile('uploads/image.png');
178
169
  uploadResponsePage.steps.verifyWarningMessage('You have reached the maximum number of files that can be uploaded.');
@@ -1,4 +1,4 @@
1
- import { uploadResponsePage, itemPreviewPage } from "../../../pages";
1
+ import { uploadResponsePage, itemPreviewPage} from "../../../pages";
2
2
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
3
  import utilities from "../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
@@ -13,14 +13,6 @@ describe('Create item page - Upload response : Preview contents', () => {
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
- beforeEach(() => {
17
- cy.startApplitools();
18
- });
19
-
20
- afterEach(() => {
21
- cy.eyesClose();
22
- });
23
-
24
16
  views.forEach((view) => {
25
17
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
26
18
  abortEarlySetup();
@@ -64,13 +56,12 @@ describe('Create item page - Upload response : Preview contents', () => {
64
56
  utilities.verifyElementVisibilityState(uploadResponsePage.questionInstructionsText(), 'visible');
65
57
  });
66
58
 
67
- it(`${view} - When user uploads file, then uploaded file name should be displayed, file count should get updated and thumb nail of the image should be visible`, () => {
59
+ it('When user uploads file, then uploaded file name should be displayed, file count should get updated and thumb nail of the image should be visible', () => {
68
60
  uploadResponsePage.steps.uploadFile('uploads/highlightImage.jpg');
69
61
  uploadResponsePage.steps.verifyThumbNailExistOrNotExist('highlightImage.jpg', 'visible');
70
- cy.eyesCheckWindow(`${view} - Uploaded file name`);
71
62
  });
72
63
 
73
- it(`${view} - CSS of Thumb nail and File name in preview tab`, { tags: 'css' }, () => {
64
+ it('CSS of Thumb nail and File name in preview tab', { tags: 'css' }, () => {
74
65
  utilities.verifyCSS(uploadResponsePage.imageThumbNail(), {
75
66
  'box-sizing': 'border-box',
76
67
  'min-height': 'auto',
@@ -88,11 +79,9 @@ describe('Create item page - Upload response : Preview contents', () => {
88
79
  cy.checkAccessibility(uploadResponsePage.questionWrapperPreviewTab());
89
80
  });
90
81
 
91
- it(`${view} - When user clicks on the thumbnail then popup should open, and on clicking the close button the popup should close and the uploaded files should be displayed`, () => {
92
- utilities.verifyElementCount(uploadResponsePage.imageThumbNail(), 2);
82
+ it('When user clicks on the thumbnail then popup should open, and on clicking the close button the popup should close and the uploaded files should be displayed', () => {
93
83
  uploadResponsePage.steps.clickOnImageThumbNail();
94
84
  uploadResponsePage.steps.verifyImagePopUpDetail();
95
- cy.eyesCheckWindow(`${view} - Thumbnail popup`);
96
85
  uploadResponsePage.steps.closeImagePopup();
97
86
  uploadResponsePage.steps.verifyThumbNailExistOrNotExist('highlightImage.jpg', 'visible');
98
87
  utilities.verifyElementCount(uploadResponsePage.fileName(), 1);
@@ -106,7 +95,7 @@ describe('Create item page - Upload response : Preview contents', () => {
106
95
  utilities.verifyElementCount(uploadResponsePage.fileName(), 1);
107
96
  });
108
97
 
109
- it(`${view} - When user uploads different file types then only image files should be displayed with thumbnail`, () => {
98
+ it('When user uploads different file types then only image files should be displayed with thumbnail', () => {
110
99
  for (let number = 0; number < 13; number++) {
111
100
  uploadResponsePage.steps.deleteFile();
112
101
  uploadResponsePage.steps.clickAcceptButtonInPopup();
@@ -115,7 +104,7 @@ describe('Create item page - Upload response : Preview contents', () => {
115
104
  }
116
105
  });
117
106
 
118
- it(`${view} - When user uploads a file in .heif or .heic format then and info icon with tool tip should be present and image thumb nail should not be present`, () => {
107
+ it('When user uploads a file in .heif or .heic format then and info icon with tool tip should be present and image thumb nail should not be present', () => {
119
108
  for (let number = 13; number < 15; number++) {
120
109
  uploadResponsePage.steps.deleteFile();
121
110
  uploadResponsePage.steps.clickAcceptButtonInPopup();
@@ -19,20 +19,11 @@ describe('Preview of Video response for compact recorder style', () => {
19
19
  videoResponsePage.steps.switchToPreviewTab();
20
20
  });
21
21
 
22
- beforeEach(() => {
23
- cy.startApplitools();
24
- });
25
-
26
- afterEach(() => {
27
- cy.eyesClose();
28
- });
29
-
30
- it(`Video response : If user selects \'Compact\' option from \'video recorder style\' toggle buttons, then \'Record\' button and \'Click the button to start recording...\' help text should be displayed in the preview tab`, () => {
22
+ it('If user selects \'Compact\' option from \'video recorder style\' toggle buttons, then \'Record\' button and \'Click the button to start recording...\' help text should be displayed in the preview tab', () => {
31
23
  utilities.verifyElementVisibilityState(videoResponsePage.recordButtonCompactPreview(), 'visible');
32
24
  utilities.verifyInnerText(videoResponsePage.recordButtonCompactPreview(), 'Record');
33
25
  utilities.verifyInnerText(videoResponsePage.recordingHelpTextCompactPreview(), 'Click the button to start recording...');
34
26
  utilities.verifyElementVisibilityState(videoResponsePage.recordingHelpTextCompactPreview(), 'visible');
35
- cy.eyesCheckWindow(`Video response : Compact video recorder style`);
36
27
  });
37
28
 
38
29
  it('CSS of Preview section', { tags: 'css' }, () => {
@@ -148,7 +139,7 @@ describe('Preview of Video response for compact recorder style', () => {
148
139
  cy.checkAccessibility(videoResponsePage.previewTabQuestionWrapper());
149
140
  });
150
141
 
151
- it(`Video response: When the recorder is in paused state and the user clicks on the \'Resume recording\' button the recording should get resumed from where it was paused. Resume recording button should update to Pause button and the help text should update to "Recording...". Resume icon button should get replaced with Pause icon button in the flyout, user should be able to view the duration of their recorded video in minutes, displayed as \'(min:secs / min:sec)\'. Stop button should be displayed in preview tab.`, () => {
142
+ it('When the recorder is in paused state and the user clicks on the \'Resume recording\' button the recording should get resumed from where it was paused. Resume recording button should update to Pause button and the help text should update to "Recording...". Resume icon button should get replaced with Pause icon button in the flyout, user should be able to view the duration of their recorded video in minutes, displayed as \'(min:secs / min:sec)\'. Stop button should be displayed in preview tab.', () => {
152
143
  videoResponsePage.steps.resumeRecordingCompactPreview();
153
144
  utilities.verifyElementVisibilityState(videoResponsePage.resumeRecordingButtonCompactPreview(), 'notExist');
154
145
  utilities.verifyElementVisibilityState(videoResponsePage.pauseRecordingButtonCompactPreview(), 'visible');
@@ -205,7 +196,7 @@ describe('Preview of Video response for compact recorder style', () => {
205
196
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackButtonCompactPreview(), 'visible');
206
197
  });
207
198
 
208
- it(`Video response : When recording is inprogress, recording should stop at maximum recording duration and \'Stop\' button should get replaced with Retake button. Playback button should be displayed in enabled state.`, () => {
199
+ it('When recording is inprogress, recording should stop at maximum recording duration and \'Stop\' button should get replaced with Retake button. Playback button should be displayed in enabled state.', () => {
209
200
  cy.log('Pre-step: Switch to edit tab and set maximum recording duration to 10 secs')
210
201
  videoResponsePage.steps.switchToEditTab();
211
202
  videoResponsePage.steps.setMaximumRecordingDuration(40);
@@ -14,14 +14,6 @@ describe('Create item page - Video response: Grading view, Correct answer view c
14
14
  cy.loginAs('admin');
15
15
  });
16
16
 
17
- beforeEach(() => {
18
- cy.startApplitools();
19
- });
20
-
21
- afterEach(() => {
22
- cy.eyesClose();
23
- });
24
-
25
17
  if (views.includes('Grading view')) {
26
18
  describe('Grading view contents', { tags: 'smoke' }, () => {
27
19
  let actualVideoSeekedInPercent = 50
@@ -51,10 +43,9 @@ describe('Create item page - Video response: Grading view, Correct answer view c
51
43
  utilities.verifyElementVisibilityState(videoResponsePage.questionInstructionsText(), 'visible');
52
44
  });
53
45
 
54
- it('Video response : The response submitted by the student should be visible in the playback player of the grading view.', () => {
46
+ it('The response submitted by the student should be visible in the playback player of the grading view.', () => {
55
47
  utilities.verifyElementVisibilityState(videoResponsePage.standardPreviewPlaybackWrapper(), 'visible');
56
48
  videoResponsePage.steps.verifyVideoPlaybackTimer('0:00', '0:12');
57
- cy.eyesCheckWindow(`Video response - Grading view contents`);
58
49
  });
59
50
 
60
51
  it('When the user clicks on \'Play\' button, then the video should start playing. Timer should display the amount of video that has been played and the total video length in (mm:ss)/(mm:ss) format.', () => {
@@ -63,7 +54,7 @@ describe('Create item page - Video response: Grading view, Correct answer view c
63
54
  videoResponsePage.steps.verifyVideoPlaybackTimer('0:03', '0:12');
64
55
  });
65
56
 
66
- it('Video response : When the video player is in playback state and the user clicks on \'Pause\' button, then playback should get paused. Progress bar and timer should not update further and the \'Pause\' button should get replaced with \'Play\' button', () => {
57
+ it('When the video player is in playback state and the user clicks on \'Pause\' button, then playback should get paused. Progress bar and timer should not update further and the \'Pause\' button should get replaced with \'Play\' button', () => {
67
58
  videoResponsePage.steps.verifyVideoPlaybackTimer('0:05', '0:12');
68
59
  videoResponsePage.steps.pauseAndVerifyProgressBarSliderPosition();
69
60
  videoResponsePage.steps.verifyVideoPlaybackTimer('0:05', '0:12');
@@ -130,7 +121,7 @@ describe('Create item page - Video response: Grading view, Correct answer view c
130
121
  });
131
122
  }
132
123
 
133
- it('Video response : A download button should be displayed in the playback player', () => {
124
+ it('A download button should be displayed in the playback player', () => {
134
125
  utilities.verifyElementVisibilityState(videoResponsePage.downloadVideoButton(), 'visible');
135
126
  });
136
127
 
@@ -179,9 +170,8 @@ describe('Create item page - Video response: Grading view, Correct answer view c
179
170
 
180
171
  correctAnswerViewPage.tests.verifyManualScoredQuestionHelpTextCorrectAnswerPage();
181
172
 
182
- it('Video response: The points alloted to the question should be displayed', () => {
173
+ it('The points alloted to the question should be displayed', () => {
183
174
  correctAnswerViewPage.steps.verifyAvailablePoints(10);
184
- cy.eyesCheckWindow('Video response: Correct answer view contents');
185
175
  });
186
176
  });
187
177
  }
@@ -13,14 +13,6 @@ describe('Create item page - Video response: Preview contents', () => {
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
- beforeEach(() => {
17
- cy.startApplitools();
18
- });
19
-
20
- afterEach(() => {
21
- cy.eyesClose();
22
- });
23
-
24
16
  views.forEach((view) => {
25
17
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
26
18
  abortEarlySetup();
@@ -67,7 +59,7 @@ describe('Create item page - Video response: Preview contents', () => {
67
59
  utilities.verifyElementVisibilityState(videoResponsePage.startRecordingText(), 'visible');
68
60
  });
69
61
 
70
- it(`${view} view - Video response: When the user has not started recording, a status message: \'Allow camera and microphone access.\' along with a microphone icon should be displayed on the recording interface`, () => {
62
+ it('When the user has not started recording, a status message: \'Allow camera and microphone access.\' along with a microphone icon should be displayed on the recording interface', () => {
71
63
  videoResponsePage.steps.verifyRecordingStatus('Allow camera and microphone access.');
72
64
  });
73
65
 
@@ -154,14 +146,13 @@ describe('Create item page - Video response: Preview contents', () => {
154
146
  utilities.verifyElementVisibilityState(videoResponsePage.stopButton(), 'visible');
155
147
  });
156
148
 
157
- it(`${view} view - Video response: When a recording is in progress and the user first pauses the recording and then stops recording, then the recording should stop, recorded video response should be saved. User should be able to view the duration of their recorded video in minutes, displayed as \'(min:secs)\'.`, () => {
149
+ it('When a recording is in progress and the user first pauses the recording and then stops recording, then the recording should stop, recorded video response should be saved. User should be able to view the duration of their recorded video in minutes, displayed as \'(min:secs)\'.', () => {
158
150
  videoResponsePage.steps.resetQuestionPreview();
159
151
  videoResponsePage.steps.startRecording();
160
152
  videoResponsePage.steps.waitForRecordingToStart();
161
153
  videoResponsePage.steps.addWaitToRecord(9000);
162
154
  videoResponsePage.steps.pauseRecording();
163
155
  videoResponsePage.steps.stopAndVerifySavingAndRecordingLength();
164
- cy.eyesCheckWindow(`${view} view - Video response: Duration of their recorded video in minutes`);
165
156
  });
166
157
  } else {
167
158
  it('When a recording is in progress and the user clicks on the \'Pause recording\' button, recording should pause and the status message should update to \'Recording paused\'. User should be able to view the duration of their recorded video in minutes, displayed as \'(min:secs/min:sec)\'. \'Pause recording\' button should get replaced with \'Resume recording\' button. \'Stop recording\' button should be displayed beside resume recording button', () => {
@@ -191,7 +182,7 @@ describe('Create item page - Video response: Preview contents', () => {
191
182
  utilities.verifyInnerText(videoResponsePage.savedResponseText(), 'Your response has been recorded.');
192
183
  });
193
184
 
194
- it(`${view} view - Video response: When the video player is in playback state and the user clicks on \'Pause\' button, then playback should get paused. Progress bar and timer should not update further and the \'Pause\' button should get replaced with \'Play\' button`, () => {
185
+ it('When the video player is in playback state and the user clicks on \'Pause\' button, then playback should get paused. Progress bar and timer should not update further and the \'Pause\' button should get replaced with \'Play\' button', () => {
195
186
  videoResponsePage.steps.pauseAndVerifyProgressBarSliderPosition();
196
187
  utilities.verifyElementVisibilityState(videoResponsePage.playbackPlayButton(), 'visible');
197
188
  utilities.verifyElementVisibilityState(videoResponsePage.playbackPauseButton(), 'notExist');
@@ -12,14 +12,6 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
- beforeEach(() => {
16
- cy.startApplitools();
17
- });
18
-
19
- afterEach(() => {
20
- cy.eyesClose();
21
- });
22
-
23
15
  if (!grepTags || !grepTags.includes('smoke')) {
24
16
  describe('Question preview modes: Student view and Grading view', () => {
25
17
  abortEarlySetup();
@@ -52,7 +44,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
52
44
  };
53
45
 
54
46
  views.forEach((view) => {
55
- describe(`Charts - Dot: All or nothing scoring - ${view}`, { tags: 'smoke' }, () => {
47
+ describe(` Charts - Dot: All or nothing scoring - ${view}`, { tags: 'smoke' }, () => {
56
48
  abortEarlySetup();
57
49
  before(() => {
58
50
  switch (view) {
@@ -124,7 +116,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
124
116
  };
125
117
 
126
118
  //Note: Remove comment after https://redmine.zeuslearning.com/issues/570904 is resolved
127
- it.skip(`${view} - Charts Dot - When the user selects \'Grading\' view without attempting the question, then by default correct dot column should have correct icons, incorrect dot column should have incorrect icons, the correct answer should be displayed in the correct answer section number line axis and correct/incorrect status message should not be displayed`, () => {
119
+ it.skip('When the user selects \'Grading\' view without attempting the question, then by default correct dot column should have correct icons, incorrect dot column should have incorrect icons, the correct answer should be displayed in the correct answer section number line axis and correct/incorrect status message should not be displayed', () => {
128
120
  if (view === 'Grading view') {
129
121
  studentViewPage.steps.submitResponse();
130
122
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -149,7 +141,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
149
141
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
150
142
  });
151
143
 
152
- it(`${view} - Charts Dot - When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
144
+ it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
153
145
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 4, min: 1, interval: 1 });
154
146
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 6, min: 1, interval: 1, defaultDots: 0 });
155
147
  if (view === 'Grading view') {
@@ -176,10 +168,9 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
176
168
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
177
169
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
178
170
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
179
- cy.eyesCheckWindow(`${view} view - Charts Dot - Attempting the question incorrectly`);
180
171
  });
181
172
 
182
- it(`${view} - Charts Dot - When the user attempts the question by adding more dots than required in the dot columns having dots by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
173
+ it('When the user attempts the question by adding more dots than required in the dot columns having dots by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
183
174
  if (view === 'Grading view') {
184
175
  studentViewPage.steps.clearResponses();
185
176
  };
@@ -210,7 +201,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
210
201
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
211
202
  });
212
203
 
213
- it(`${view} - Charts Dot - When the user attempts the question by setting fewer dots than required in the dot columns having dots by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
204
+ it('When the user attempts the question by setting fewer dots than required in the dot columns having dots by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
214
205
  if (view === 'Grading view') {
215
206
  studentViewPage.steps.clearResponses();
216
207
  };
@@ -242,7 +233,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
242
233
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
243
234
  });
244
235
 
245
- it(`${view} - Charts Dot - When the user attempts the question by removing all the dots to dot column that is not supposed to be empty, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
236
+ it('When the user attempts the question by removing all the dots to dot column that is not supposed to be empty, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
246
237
  if (view === 'Grading view') {
247
238
  studentViewPage.steps.clearResponses();
248
239
  };
@@ -274,7 +265,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
274
265
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
275
266
  });
276
267
 
277
- it(`${view} - Charts Dot - When the user attempts the question by adding dots to the dot columns that is supposed to be empty, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis`, () => {
268
+ it('When the user attempts the question by adding dots to the dot columns that is supposed to be empty, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect and the correct answer should be displayed in the correct answer section number line axis', () => {
278
269
  if (view === 'Grading view') {
279
270
  studentViewPage.steps.clearResponses();
280
271
  };
@@ -306,7 +297,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
306
297
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
307
298
  });
308
299
 
309
- it(`${view} - Charts Dot - When the user attempts the question by changing number of dots in the dot columns which have the correct number of dots by default and setting a dot column correctly, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the incorrectly attempted dot column should be displayed incorrect, correctly attempted dot column should be displayed correct, and the correct answer should be displayed in the correct answer section number line axis`, () => {
300
+ it('When the user attempts the question by changing number of dots in the dot columns which have the correct number of dots by default and setting a dot column correctly, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the incorrectly attempted dot column should be displayed incorrect, correctly attempted dot column should be displayed correct, and the correct answer should be displayed in the correct answer section number line axis', () => {
310
301
  if (view === 'Grading view') {
311
302
  studentViewPage.steps.clearResponses();
312
303
  };
@@ -339,7 +330,7 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
339
330
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
340
331
  });
341
332
 
342
- it(`${view} - Charts Dot - When the user attempts the question correctly, the user should be awarded with full points and on switching to grading view, \'Your answer is correct\' should be displayed and correct answer section should not be displayed`, () => {
333
+ it('When the user attempts the question correctly, the user should be awarded with full points and on switching to grading view, \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
343
334
  if (view === 'Grading view') {
344
335
  studentViewPage.steps.clearResponses();
345
336
  };
@@ -362,7 +353,6 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
362
353
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
363
354
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
364
355
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
365
- cy.eyesCheckWindow(`${view} view - Charts Dot - Attempting the question correctly`);
366
356
  });
367
357
 
368
358
  });
@@ -11,14 +11,6 @@ describe('Create item page - Dot plot charts : Grading view, Correct answer view
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
- beforeEach(() => {
15
- cy.startApplitools();
16
- });
17
-
18
- afterEach(() => {
19
- cy.eyesClose();
20
- });
21
-
22
14
  if (views.includes('Grading view')) {
23
15
  describe('Grading view contents', { tags: 'smoke' }, () => {
24
16
  abortEarlySetup();
@@ -96,14 +88,13 @@ describe('Create item page - Dot plot charts : Grading view, Correct answer view
96
88
  chartsDotPlotPage.steps.verifyDotCountCorrectAnswerSection(2, { point: 1, min: 1, interval: 0.25 });
97
89
  });
98
90
 
99
- it('Charts Dot - Correct answer section along with dot plot attempted by the user should be displayed', () => {
91
+ it('Correct answer section along with dot plot attempted by the user should be displayed', () => {
100
92
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 0.25 });
101
93
  chartsDotPlotPage.steps.verifyCorrectDotPreviewTab({ point: 3, min: 1, interval: 0.25 });
102
94
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 0.25 });
103
95
  chartsDotPlotPage.steps.verifyIncorrectDotPreviewTab({ point: 2, min: 1, interval: 0.25 });
104
96
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 0.25 });
105
97
  chartsDotPlotPage.steps.verifyCorrectDotCorrectAnswerSection({ point: 3, min: 1, interval: 0.25 });
106
- cy.eyesCheckWindow('Charts Dot - Grading view contents');
107
98
  });
108
99
 
109
100
  it('Points and the total score should be displayed', () => {
@@ -190,9 +181,8 @@ describe('Create item page - Dot plot charts : Grading view, Correct answer view
190
181
  chartsDotPlotPage.steps.verifyCorrectDotPreviewTab({ point: 3, min: 1, interval: 0.25 });
191
182
  });
192
183
 
193
- it('Charts Dot - The points alloted to the question should be displayed', () => {
184
+ it('The points alloted to the question should be displayed', () => {
194
185
  correctAnswerViewPage.steps.verifyAvailablePoints(10);
195
- cy.eyesCheckWindow('Charts Dot- Correct answer view contents');
196
186
  });
197
187
 
198
188
  it('CSS of correct answer section', { tags: 'css' }, () => {
@@ -13,14 +13,6 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
- beforeEach(() => {
17
- cy.startApplitools();
18
- });
19
-
20
- afterEach(() => {
21
- cy.eyesClose();
22
- });
23
-
24
16
  views.forEach((view) => {
25
17
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
26
18
  abortEarlySetup();
@@ -79,13 +71,13 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
79
71
  utilities.verifyElementVisibilityState(chartsDotPlotPage.previewTabXAxisLabelButton(), 'visible');
80
72
  });
81
73
 
82
- it(`${view} - Charts Dot - The number line axis should be displayed with labels from 1 to 6 with 20 divisions`, () => {
74
+ it('The number line axis should be displayed with labels from 1 to 6 with 20 divisions', () => {
83
75
  utilities.verifyElementVisibilityState(chartsDotPlotPage.numberLineAxisPreviewTab(), 'exist');
84
76
  chartsDotPlotPage.steps.verifyDivisionsOnNumberLineAxisPreviewTab({ min: 1, max: 6, interval: 0.25 });
85
77
  chartsDotPlotPage.steps.verifyLabelsOnNumberLineAxisPreviewTab(1, 6, 4);
86
78
  });
87
79
 
88
- it(`${view} - Charts Dot - User should be able to edit the X axis labels in preview tab`, () => {
80
+ it('User should be able to edit the X axis labels in preview tab', () => {
89
81
  chartsDotPlotPage.steps.editXAxisLabelInPreviewTab('Numbers of days');
90
82
  utilities.verifyInnerText(chartsDotPlotPage.previewTabXAxisLabelButton(), 'Numbers of days');
91
83
  });
@@ -172,7 +164,7 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
172
164
  chartsDotPlotPage.steps.unselectDotColumnInPreviewTab({ point: 4, min: 1, interval: 0.25 });
173
165
  });
174
166
 
175
- it(`${view} - Charts Dot - When user removes dots from dot column having 10 dots then \'Add dot\' button should be in enabled state`, () => {
167
+ it('When user removes dots from dot column having 10 dots then \'Add dot\' button should be in enabled state', () => {
176
168
  //using minus button
177
169
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(9, { point: 5, min: 1, interval: 0.25 });
178
170
  chartsDotPlotPage.steps.selectDotColumnInPreviewTab({ point: 5, min: 1, interval: 0.25 });
@@ -182,7 +174,6 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
182
174
  chartsDotPlotPage.steps.decreaseDotInDotColumnUsingKeyboardPreviewTab(1, { point: 4, min: 1, interval: 0.25 });
183
175
  utilities.verifyElementNotDisabled(chartsDotPlotPage.addButtonPreviewTab());
184
176
  chartsDotPlotPage.steps.unselectDotColumnInPreviewTab({ point: 4, min: 1, interval: 0.25 });
185
- cy.eyesCheckWindow(`${view} - Charts Dot - Charts Dot: After Adding/Removing dots`);
186
177
  });
187
178
 
188
179
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -379,7 +370,7 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
379
370
  utilities.verifyElementNotDisabled(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[0]));
380
371
  });
381
372
 
382
- it(`${view} - Charts Dot - When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state and control options should be in disabled state`, () => {
373
+ it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state and control options should be in disabled state', () => {
383
374
  chartsDotPlotPage.steps.selectControlOptionPreviewTab(controlOptions[2]);
384
375
  chartsDotPlotPage.steps.confirmReset();
385
376
  chartsDotPlotPage.steps.verifyDotColumnIsLockedInPreviewTab({ point: 1, min: 1, interval: 0.25 });
@@ -388,7 +379,6 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
388
379
  utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[0]));
389
380
  utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[1]));
390
381
  utilities.verifyElementDisabled(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[2]));
391
- cy.eyesCheckWindow(`${view} - Charts Dot: Chart reset to default state`);
392
382
  });
393
383
 
394
384
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -788,14 +788,14 @@ const steps = {
788
788
  audioPlayerPage.audioOverviewInputField()
789
789
  .find('[data-widget="ngie_equation"]')
790
790
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
791
- // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
791
+ // .contains(constants.CKEditorInputFieldEnteredEquationText);
792
792
  },
793
793
 
794
794
  verifyEquationInAudioOverviewPreviewTab: () => {
795
795
  audioPlayerPage.audioOverviewPreviewTab()
796
796
  .find('[role="math"]')
797
797
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
798
- // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
798
+ // .contains(constants.CKEditorInputFieldEnteredEquationText);
799
799
  },
800
800
 
801
801
  verifyLinkInAudioOverviewInputField: () => {
@@ -897,14 +897,14 @@ const steps = {
897
897
  audioPlayerPage.transcriptInputField()
898
898
  .find('[data-widget="ngie_equation"]')
899
899
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
900
- // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
900
+ // .contains(constants.CKEditorInputFieldEnteredEquationText);
901
901
  },
902
902
 
903
903
  verifyEquationInTranscriptPreviewTab: () => {
904
904
  audioPlayerPage.transcriptContentPreviewTab()
905
905
  .find('[role="math"]')
906
906
  .should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
907
- // .contains(constants.CKEditorInputFieldEnteredEquationText); ;
907
+ // .contains(constants.CKEditorInputFieldEnteredEquationText);
908
908
  },
909
909
 
910
910
  verifyLinkInTranscriptInputField: () => {
@@ -90,6 +90,23 @@ const steps = {
90
90
  .should('be.visible');
91
91
  },
92
92
 
93
+ /**
94
+ * @description type in the tolerance input field
95
+ * @param {string} text - text to be entered in the input field
96
+ */
97
+ enterTextInToleranceInputField: (text: string) => {
98
+ customSettingsSeparatorComponent.toleranceInputField()
99
+ .type(text);
100
+ },
101
+
102
+ /**
103
+ * @description clear the tolerance input field
104
+ */
105
+ clearTextInToleranceInputField: () => {
106
+ customSettingsSeparatorComponent.toleranceInputField()
107
+ .clear();
108
+ },
109
+
93
110
  /**
94
111
  * Verifies the selected state of decimal separator toggle options.
95
112
  * @param {string} option - The aria-label of the option to be verified.
@@ -221,7 +221,7 @@ const steps = {
221
221
  * @description Select category and enter the equations in equation editor input field
222
222
  * @param {Object[]} responses - An array of objects containing the categoryName and symbolName
223
223
  * @param {string} responses[].categoryName Name of the category
224
- * @param {string} responses[].symbolName Name of the symbol from the selected category
224
+ * @param {string[]} responses[].symbolName Name of the symbol from the selected category
225
225
  */
226
226
  enterEquation: (responses) => {
227
227
  responses.forEach(({ categoryName, symbolName }) => {
@@ -363,7 +363,6 @@ const tests = {
363
363
  equationEditorSectionCommonComponent.steps.focusInResponseAnswerInputFieldPreviewTab(0);
364
364
  }
365
365
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'visible');
366
- cy.eyesCheckWindow('Equation Editor flyout in preview tab');
367
366
  });
368
367
 
369
368
  it('\'Done\'button should be displayed at the bottom of the flyout', () => {
@@ -431,12 +430,11 @@ const tests = {
431
430
  cy.checkAccessibility(equationEditorFlyout.dialogBox());
432
431
  });
433
432
 
434
- it(`${questionType} Cancel button should be displayed in the flyout and when user clicks the 'Cancel' button then the flyout should close`, () => {
433
+ it('Cancel button should be displayed in the flyout and when user clicks the \'Cancel\' button then the flyout should close', () => {
435
434
  utilities.verifyElementVisibilityState(equationEditorFlyout.buttonCancel(), 'visible');
436
435
  utilities.verifyInnerText(equationEditorFlyout.buttonCancel(), 'Cancel');
437
436
  equationEditorFlyout.steps.clickOnEquationEditorCancelButton();
438
437
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
439
- cy.eyesCheckWindow(`${questionType} Equation Editor flyout should not be displayed`);
440
438
  });
441
439
  },
442
440
 
@@ -11,7 +11,7 @@ const selectors = {
11
11
  specifyPointsForEachIncorrectDropzoneRadioButton: () => cy.get('input[aria-label*="Specify points for each incorrect"]'),
12
12
 
13
13
  correctAnswersNumeration: () => cy.get('[class*="__AnswerCell"] .answer-numeration-number-box'),
14
- correctAnswersOptions: () => cy.get('[class*="__AnswerWrapper"] .question-text-wrapper'),
14
+ correctAnswersOptions: () => cy.get('[class*="__AnswerWrapper"]'),
15
15
  correctAnswersLabel: () => cy.get('.correct-answers-label'),
16
16
  tickIconWrapper: () => cy.get('.tick-icon-wrapper'),
17
17
  correctAnswerContainer: () => cy.get('.dnd-correct-answer-wrapper'),
@@ -248,6 +248,10 @@ const steps = {
248
248
  utilities.verifyElementDisabledClass(utilities.getNthElement(fillInTheGapsDropdownCommonComponent.dropdownPreviewTab(), dropdownIndex));
249
249
  },
250
250
 
251
+ verifyVisibilityOfCorrectAnswerLabel: ()=>{
252
+ utilities.verifyInnerText(fillInTheGapsOverImageDropdownPage.correctAnswersLabel(), 'Correct answers');
253
+ },
254
+
251
255
  /**
252
256
  * @param {string[]} dropdownOptionsArray Array of dropdown options
253
257
  * @description Verify the options displayed in dropdown
@@ -752,7 +756,7 @@ const tests = {
752
756
  });
753
757
 
754
758
  //Note: the expand and close dropdown does not work hence selecting one option here, the error message appears
755
- it('When user expands and collapses the dropdown without selecting any option, \'Error: Please set a correct answer.\' error message should not be displayed', () => {
759
+ it('When user expands and collapses the dropdown without selecting any option, \'Error: Please set a correct answer.\' error message should be displayed', () => {
756
760
  fillInTheGapsDropdownCommonComponent.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, 'Flower');
757
761
  utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'exist');
758
762
  });