itemengine-cypress-automation 1.0.284-RepoUpdate13thJan-c7ac0b4.0 → 1.0.284-applitools-38637bb.0

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 +36 -26
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +14 -4
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
  5. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +10 -0
  6. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +10 -1
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
  10. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
  11. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  12. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
  13. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +17 -8
  14. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  15. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
  16. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +10 -1
  17. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +10 -1
  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 +6 -7
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
  26. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +35 -21
  28. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
  29. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +15 -6
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
  45. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  46. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
  54. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
  55. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
  56. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +14 -5
  57. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  58. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
  59. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
  60. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
  61. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
  62. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
  63. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +13 -4
  64. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
  65. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
  66. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
  67. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +14 -5
  68. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +15 -5
  69. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
  70. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
  71. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +12 -3
  72. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  73. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  74. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  75. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  76. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  77. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  78. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  79. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  80. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  81. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  82. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  83. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  84. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  85. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +14 -5
  86. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
  87. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
  88. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  89. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  90. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  91. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  92. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  93. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  94. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  95. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  100. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +14 -5
  101. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
  102. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
  103. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
  104. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  105. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
  106. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
  107. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  108. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  109. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
  110. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  111. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  112. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +14 -5
  113. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
  114. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
  115. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  116. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  117. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  118. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +10 -1
  119. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +10 -1
  120. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +10 -1
  121. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
  122. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +14 -6
  123. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +10 -1
  124. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
  125. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
  126. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  127. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
  128. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  129. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
  130. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
  131. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  132. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
  133. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  134. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  135. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  136. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  137. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
  138. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  139. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  140. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
  141. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +13 -4
  142. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
  143. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  144. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +12 -3
  145. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +12 -3
  146. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
  147. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
  148. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
  149. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  150. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
  151. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
  152. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +18 -9
  153. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  154. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
  155. package/cypress/e2e/applitools.config.js +14 -0
  156. package/cypress/pages/audioPlayerPage.js +4 -4
  157. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
  158. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  159. package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
  160. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  161. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
  162. package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
  163. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  164. package/cypress/pages/createItemPage.js +1 -38
  165. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  166. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
  167. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
  168. package/cypress/pages/listOrderingPage.js +1 -1
  169. package/cypress/pages/matchingPage.js +7 -34
  170. package/cypress/pages/multipleSelectionPage.js +2 -17
  171. package/cypress/pages/numberLineLabelPage.js +3 -3
  172. package/cypress/pages/readingRulerPage.js +3 -5
  173. package/cypress/pages/singleSelectionPage.js +2 -5
  174. package/cypress/pages/textEntryMathPage.js +5 -19
  175. package/cypress/pages/textSelectionPage.js +1 -1
  176. package/cypress/support/commands.js +11 -0
  177. package/cypress/support/e2e.js +1 -0
  178. package/package.json +4 -1
  179. package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
  180. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
  181. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
  182. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
  183. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
  184. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
  185. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
  186. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
  187. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
  188. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
  189. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
  190. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
  191. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
  192. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
  193. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
  194. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
  195. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
  196. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
  197. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
  198. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
  199. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
  200. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
  201. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
  202. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
  203. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -13,6 +13,14 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
+ beforeEach(() => {
17
+ cy.startApplitools();
18
+ });
19
+
20
+ afterEach(() => {
21
+ cy.eyesClose();
22
+ });
23
+
16
24
  views.forEach((view) => {
17
25
  describe(`Preview tab contents - Edit bar graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
18
26
  abortEarlySetup();
@@ -81,7 +89,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
81
89
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
82
90
  });
83
91
 
84
- it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
92
+ it(`${view} - Charts bar: Horizontal -The graph title, Y axis label, X axis label and bar labels should be displayed`, () => {
85
93
  utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
86
94
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
87
95
  utilities.verifyInnerText(chartsBarPage.previewTabXAxisLabelButton(), 'Profit');
@@ -142,9 +150,10 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
142
150
 
143
151
  chartsBarPage.tests.verifyBarTooltipContentsCSSAndA11yInPreviewTab('3', barBackgroundColor[3], 'Bar 4');
144
152
 
145
- it('User should be able to edit the label a bar', () => {
153
+ it(`${view} - Charts bar: Horizontal: User should be able to edit the label a bar`, () => {
146
154
  chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(0, '2000');
147
155
  chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(3, '2004');
156
+ cy.eyesCheckWindow(`${view} - Charts bar after editing the bar height and labels`);
148
157
  });
149
158
 
150
159
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -310,7 +319,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
310
319
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
311
320
  });
312
321
 
313
- it('When user adds a bar again and the number of extra bars reaches the maximum set value i.e. 1, then the add bar button should be disabled', () => {
322
+ it(`${view} Charts bar - Horizontal: When user adds a bar again and the number of extra bars reaches the maximum set value i.e. 1, then the add bar button should be disabled`, () => {
314
323
  chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
315
324
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
316
325
  });
@@ -365,7 +374,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
365
374
  });
366
375
 
367
376
  //Bar labels
368
- it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
377
+ it(`${view} - Charts bar: Horizontal When user updates a bar label, then the undo and reset button should be displayed in enabled state`, () => {
369
378
  chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(0, 'Edited bar 1');
370
379
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
371
380
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
@@ -593,7 +602,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
593
602
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
594
603
  });
595
604
 
596
- 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', () => {
605
+ it(`${view}: Charts bar: Horizontal - 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`, () => {
597
606
  chartsBarPage.steps.clickOnResetButtonPreviewTab();
598
607
  chartsBarPage.steps.confirmReset();
599
608
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
@@ -11,6 +11,14 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
+ beforeEach(() => {
15
+ cy.startApplitools();
16
+ });
17
+
18
+ afterEach(() => {
19
+ cy.eyesClose();
20
+ });
21
+
14
22
  if (!grepTags || !grepTags.includes('smoke')) {
15
23
  describe('Question preview modes: Student view and Grading view', () => {
16
24
  abortEarlySetup();
@@ -105,7 +113,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
105
113
  };
106
114
 
107
115
  //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
108
- it.skip('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
116
+ it.skip(`${view} - Charts bar: Vertical - When the user selects 'Grading' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed`, () => {
109
117
  if (view === 'Grading view') {
110
118
  studentViewPage.steps.submitResponse();
111
119
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -128,7 +136,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
128
136
  });
129
137
 
130
138
  //Fully incorrect case
131
- it('When the user incorrectly sets a bar which was correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
139
+ it(`${view} - Charts bar: Vertical - When the user incorrectly sets a bar which was correct by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
132
140
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 5, range: 10 });
133
141
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 2, range: 10 });
134
142
  if (view === 'Grading view') {
@@ -154,7 +162,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
154
162
  });
155
163
 
156
164
  //Partially correct cases
157
- it('When the user incorrectly sets a bar which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
165
+ it(`${view} - Charts bar: Vertical - When the user incorrectly sets a bar which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
158
166
  if (view === 'Grading view') {
159
167
  studentViewPage.steps.clearResponses();
160
168
  }
@@ -181,7 +189,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
181
189
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
182
190
  });
183
191
 
184
- it('When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
192
+ it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
185
193
  if (view === 'Grading view') {
186
194
  studentViewPage.steps.clearResponses();
187
195
  }
@@ -208,7 +216,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
208
216
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
209
217
  });
210
218
 
211
- it('When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
219
+ it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
212
220
  if (view === 'Grading view') {
213
221
  studentViewPage.steps.clearResponses();
214
222
  }
@@ -235,7 +243,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
235
243
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
236
244
  });
237
245
 
238
- it('When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
246
+ it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
239
247
  if (view === 'Grading view') {
240
248
  studentViewPage.steps.clearResponses();
241
249
  }
@@ -262,7 +270,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
262
270
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
263
271
  });
264
272
 
265
- it('When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
273
+ it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
266
274
  if (view === 'Grading view') {
267
275
  studentViewPage.steps.clearResponses();
268
276
  }
@@ -290,7 +298,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
290
298
  });
291
299
 
292
300
  //Fully correct
293
- it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed, correct icons should be displayed on the correctly attempted bars and the correct answer section graph should not be displayed', () => {
301
+ it(`${view} - Charts bar: Vertical - Charts bar: Vertical - When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view 'Your answer is correct' should be displayed, correct icons should be displayed on the correctly attempted bars and the correct answer section graph should not be displayed`, () => {
294
302
  if (view === 'Grading view') {
295
303
  studentViewPage.steps.clearResponses();
296
304
  }
@@ -312,6 +320,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
312
320
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
313
321
  chartsBarPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
314
322
  chartsBarPage.steps.verifyCorrectAnswerSectionNotExist();
323
+ cy.eyesCheckWindow(`${view} - Fully correct case`);
315
324
  });
316
325
  });
317
326
  });
@@ -14,6 +14,14 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
14
14
  cy.loginAs('admin');
15
15
  });
16
16
 
17
+ beforeEach(() => {
18
+ cy.startApplitools();
19
+ });
20
+
21
+ afterEach(() => {
22
+ cy.eyesClose();
23
+ });
24
+
17
25
  if (views.includes('Grading view')) {
18
26
  describe('Grading view contents', { tags: 'smoke' }, () => {
19
27
  abortEarlySetup();
@@ -107,7 +115,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
107
115
  utilities.verifyElementVisibilityState(chartsBarPage.correctAnswersLabel(), 'visible');
108
116
  });
109
117
 
110
- it('Correct answer should be displayed in the correct answer section', () => {
118
+ it('Charts bar: Vertical - Correct answer should be displayed in the correct answer section', () => {
111
119
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 0, barValue: 2, range: 20 });
112
120
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 20 });
113
121
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 20 });
@@ -121,6 +129,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
121
129
  chartsBarPage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
122
130
  chartsBarPage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
123
131
  chartsBarPage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
132
+ cy.eyesCheckWindow('Charts bar: Vertical - Grading view contents');
124
133
  });
125
134
 
126
135
  it('Points and the total score should be displayed', () => {
@@ -220,7 +229,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
220
229
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolBarWrapper(), 'notExist');
221
230
  });
222
231
 
223
- it('The correct answer set by user should be displayed in the correct answer view', () => {
232
+ it('Charts bar: Verical - The correct answer set by user should be displayed in the correct answer view', () => {
224
233
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 2, range: 20 });
225
234
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
226
235
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 5, range: 20 });
@@ -232,6 +241,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
232
241
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
233
242
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
234
243
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
244
+ cy.eyesCheckWindow('Charts bar: Verical - Correct answer view contents')
235
245
  });
236
246
 
237
247
  it('The points alloted to the question should be displayed', () => {
@@ -13,6 +13,14 @@ describe('Create item page: Charts - Bar - 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
+
16
24
  views.forEach((view) => {
17
25
  describe(`Preview tab contents - Edit bar graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
18
26
  abortEarlySetup();
@@ -80,7 +88,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
80
88
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
81
89
  });
82
90
 
83
- it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
91
+ it(`${view} - Charts bar: Vertical The graph title, Y axis label, X axis label and bar labels should be displayed`, () => {
84
92
  utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
85
93
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
86
94
  utilities.verifyInnerText(chartsBarPage.previewTabYAxisLabelButton(), 'Profit');
@@ -144,9 +152,10 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
144
152
 
145
153
  chartsBarPage.tests.verifyBarTooltipContentsCSSAndA11yInPreviewTab('3', barBackgroundColor[3], 'Bar 4');
146
154
 
147
- it('User should be able to edit the label a bar', () => {
155
+ it(`${view} - Charts bar: Vertical User should be able to edit the label a bar`, () => {
148
156
  chartsBarPage.steps.editBarLabelInPreviewTab(0, '2000');
149
157
  chartsBarPage.steps.editBarLabelInPreviewTab(1, '2001');
158
+ cy.eyesCheckWindow(`${view} - Charts bar: Vertical after editing the bar height and labels`);
150
159
  });
151
160
 
152
161
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -312,7 +321,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
312
321
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
313
322
  });
314
323
 
315
- it('When user adds a bar again and the number of extra bars reaches the maximum set value i.e. 1, then the add bar button should be disabled', () => {
324
+ it(`${view} Charts bar - Vertical: When user adds a bar again and the number of extra bars reaches the maximum set value i.e. 1, then the add bar button should be disabled`, () => {
316
325
  chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
317
326
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
318
327
  });
@@ -366,13 +375,13 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
366
375
  });
367
376
 
368
377
  //Bar labels
369
- it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
378
+ it(`${view} - Charts bar: Vertical When user updates a bar label, then the undo and reset button should be displayed in enabled state`, () => {
370
379
  chartsBarPage.steps.editBarLabelInPreviewTab(0, 'Edited bar 1');
371
380
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
372
381
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
373
382
  });
374
383
 
375
- it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
384
+ it(`When user hovers on the enabled undo and reset button, then tooltips 'Undo' and 'Reset' should be displayed`, () => {
376
385
  chartsBarPage.previewTabToolsUndoButton()
377
386
  .verifyTooltip('Undo');
378
387
  chartsBarPage.previewTabToolsResetButton()
@@ -594,7 +603,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
594
603
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
595
604
  });
596
605
 
597
- 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', () => {
606
+ it(`${view}: Charts bar: Vertical - 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`, () => {
598
607
  chartsBarPage.steps.clickOnResetButtonPreviewTab();
599
608
  chartsBarPage.steps.confirmReset();
600
609
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
@@ -11,6 +11,14 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
+ beforeEach(() => {
15
+ cy.startApplitools();
16
+ });
17
+
18
+ afterEach(() => {
19
+ cy.eyesClose();
20
+ });
21
+
14
22
  if (!grepTags || !grepTags.includes('smoke')) {
15
23
  describe('Question preview modes: Student view and Grading view', () => {
16
24
  abortEarlySetup();
@@ -102,7 +110,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
102
110
  });
103
111
  };
104
112
  //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
105
- it.skip('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
113
+ it.skip(`${view}: Charts Line - When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed`, () => {
106
114
  if (view === 'Grading view') {
107
115
  studentViewPage.steps.submitResponse();
108
116
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -126,7 +134,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
126
134
  });
127
135
 
128
136
  //Fully incorrect case
129
- it('When the user incorrectly sets a point which was correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
137
+ it(`${view}: Charts Line - When the user incorrectly sets a point which was correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
130
138
  chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 0, value: 5, range: 10 });
131
139
  chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 4, value: 2, range: 10 });
132
140
  if (view === 'Grading view') {
@@ -152,7 +160,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
152
160
  });
153
161
 
154
162
  //Partially correct cases
155
- it('When the user incorrectly sets a point which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
163
+ it(`${view}: Charts Line - When the user incorrectly sets a point which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
156
164
  if (view === 'Grading view') {
157
165
  studentViewPage.steps.clearResponses();
158
166
  }
@@ -179,7 +187,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
179
187
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
180
188
  });
181
189
 
182
- it('When the user attempts the question partially correct by incorrectly setting a point which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
190
+ it(`${view}: Charts Line - When the user attempts the question partially correct by incorrectly setting a point which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
183
191
  if (view === 'Grading view') {
184
192
  studentViewPage.steps.clearResponses();
185
193
  }
@@ -206,7 +214,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
206
214
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
207
215
  });
208
216
 
209
- it('When the user attempts the question partially correct by incorrectly setting a point to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
217
+ it(`${view}: Charts Line - When the user attempts the question partially correct by incorrectly setting a point to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
210
218
  if (view === 'Grading view') {
211
219
  studentViewPage.steps.clearResponses();
212
220
  }
@@ -233,7 +241,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
233
241
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
234
242
  });
235
243
 
236
- it('When the user attempts the question partially correct by incorrectly setting a point which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
244
+ it(`${view}: Charts Line - When the user attempts the question partially correct by incorrectly setting a point which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
237
245
  if (view === 'Grading view') {
238
246
  studentViewPage.steps.clearResponses();
239
247
  }
@@ -260,7 +268,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
260
268
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
261
269
  });
262
270
 
263
- it('When the user attempts the question partially correct by setting all points correctly except 1 then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points and incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
271
+ it(`${view}: Charts Line - When the user attempts the question partially correct by setting all points correctly except 1 then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points and incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
264
272
  if (view === 'Grading view') {
265
273
  studentViewPage.steps.clearResponses();
266
274
  }
@@ -288,7 +296,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
288
296
  });
289
297
 
290
298
  //Fully correct
291
- it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed, correct icons should be displayed on the correctly attempted points and the correct answer section graph should not be displayed', () => {
299
+ it(`${view}: Charts Line - When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed, correct icons should be displayed on the correctly attempted points and the correct answer section graph should not be displayed`, () => {
292
300
  if (view === 'Grading view') {
293
301
  studentViewPage.steps.clearResponses();
294
302
  }
@@ -310,6 +318,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
310
318
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
311
319
  chartsLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
312
320
  chartsLinePage.steps.verifyCorrectAnswerSectionNotExist();
321
+ cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question correctly`);
313
322
  });
314
323
  });
315
324
  });
@@ -13,6 +13,14 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
+ beforeEach(() => {
17
+ cy.startApplitools();
18
+ });
19
+
20
+ afterEach(() => {
21
+ cy.eyesClose();
22
+ });
23
+
16
24
  if (views.includes('Grading view')) {
17
25
  describe('Grading view contents', { tags: 'smoke' }, () => {
18
26
  abortEarlySetup();
@@ -106,7 +114,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
106
114
  utilities.verifyElementVisibilityState(chartsLinePage.correctAnswersLabel(), 'visible');
107
115
  });
108
116
 
109
- it('Correct answer should be displayed in the correct answer section', () => {
117
+ it('Charts Line - Correct answer should be displayed in the correct answer section', () => {
110
118
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 0, value: 2, range: 20 });
111
119
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 1, value: 2, range: 20 });
112
120
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 2, value: 5, range: 20 });
@@ -120,6 +128,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
120
128
  chartsLinePage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
121
129
  chartsLinePage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
122
130
  chartsLinePage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
131
+ cy.eyesCheckWindow('Charts Line - Grading view contents');
123
132
  });
124
133
 
125
134
  it('Points and the total score should be displayed', () => {
@@ -220,7 +229,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
220
229
  utilities.verifyElementVisibilityState(chartsLinePage.previewTabToolBarWrapper(), 'notExist');
221
230
  });
222
231
 
223
- it('The correct answer set by user should be displayed in the correct answer view', () => {
232
+ it('Charts Line - The correct answer set by user should be displayed in the correct answer view', () => {
224
233
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 0, value: 2, range: 20 });
225
234
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 1, value: 2, range: 20 });
226
235
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 2, value: 5, range: 20 });
@@ -232,6 +241,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
232
241
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(2, 'correct');
233
242
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(3, 'correct');
234
243
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
244
+ cy.eyesCheckWindow('Charts Line - Correct answer view contents');
235
245
  });
236
246
 
237
247
  it('The points alloted to the question should be displayed', () => {
@@ -12,6 +12,14 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
+ beforeEach(() => {
16
+ cy.startApplitools();
17
+ });
18
+
19
+ afterEach(() => {
20
+ cy.eyesClose();
21
+ });
22
+
15
23
  views.forEach((view) => {
16
24
  describe(`Preview tab contents - Edit line graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
17
25
  abortEarlySetup();
@@ -93,7 +101,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
93
101
  utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 3), 'Point 4');
94
102
  });
95
103
 
96
- it('The graph max value should be as set in the Max Y input field and it should affect the chart division', () => {
104
+ it(`${view} - Charts line: The graph max value should be as set in the Max Y input field and it should affect the chart division`, () => {
97
105
  utilities.verifyTextContent(utilities.getNthElement(chartsLinePage.previewTabYAxisCoordinate(), 0), 20);
98
106
  utilities.verifyElementCount(chartsLinePage.previewTabChartRowHeaderContainer(), 21);
99
107
  });
@@ -142,7 +150,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
142
150
 
143
151
  chartsLinePage.tests.verifyPointTooltipContentsCSSAndA11yInPreviewTab('0', 'Point 1');
144
152
 
145
- it('User should be able to edit the point label', () => {
153
+ it(`${view} - Charts line: User should be able to edit the point label`, () => {
146
154
  chartsLinePage.steps.editPointLabelInPreviewTab(0, '2000');
147
155
  });
148
156
 
@@ -277,10 +285,11 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
277
285
  cy.checkAccessibility(chartsLinePage.previewTabGraphTitle().parents('[class*="ChartsPreviewstyles__PreviewWrapper"]'));
278
286
  });
279
287
 
280
- it('When user deletes a point, then that point should be deleted and the add point button should be enabled again', () => {
288
+ it(`${view}: Charts line - When user deletes a point, then that point should be deleted and the add point button should be enabled again`, () => {
281
289
  chartsLinePage.steps.deletePointInPreviewTab(3);
282
290
  utilities.verifyElementCount(chartsLinePage.previewTabPoint(), 3);
283
291
  utilities.verifyElementVisibilityState(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 4), 'notExist');
292
+ cy.eyesCheckWindow(`${view} - Charts Line: Charts bar after adding and deleting points`);
284
293
  });
285
294
  });
286
295
  });
@@ -333,7 +342,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
333
342
  });
334
343
 
335
344
  //Point labels
336
- it('When user updates a point label, then the undo and reset button should be displayed in enabled state', () => {
345
+ it(`${view}: Charts line - When user updates a point label, then the undo and reset button should be displayed in enabled state`, () => {
337
346
  chartsLinePage.steps.editPointLabelInPreviewTab(0, 'Edited point 1');
338
347
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsUndoButton());
339
348
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsResetButton());
@@ -561,7 +570,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
561
570
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 3, value: 6, range: 10 });
562
571
  });
563
572
 
564
- 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', () => {
573
+ it(`${view}: Charts line - 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`, () => {
565
574
  chartsLinePage.steps.clickOnResetButtonPreviewTab();
566
575
  chartsLinePage.steps.confirmReset();
567
576
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsAddBarOrPointButton());
@@ -12,6 +12,14 @@ describe('Preview tab contents for all views', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
+ beforeEach(() => {
16
+ cy.startApplitools();
17
+ });
18
+
19
+ afterEach(() => {
20
+ cy.eyesClose();
21
+ });
22
+
15
23
  views.forEach((view) => {
16
24
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
17
25
  abortEarlySetup();
@@ -61,11 +69,12 @@ describe('Preview tab contents for all views', () => {
61
69
  compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Show');
62
70
  });
63
71
 
64
- it('When user clicks on \'Show compass\' button then \'Compass\' should be displayed and \'Show compass\' button should change to \'Hide compass\'', () => {
72
+ it(`${view} When user clicks on \'Show compass\' button then \'Compass\' should be displayed and \'Show compass\' button should change to \'Hide compass\'`, () => {
65
73
  compassPage.steps.clickOnCompassToolVisibilityButton();
66
74
  compassPage.steps.verifyCompassToolIsVisible();
67
75
  compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Hide');
68
76
  compassPage.steps.clickOnCompassToolVisibilityButton();
77
+ cy.eyesCheckWindow(`${view} - Check compass visibility`);
69
78
  });
70
79
 
71
80
  it('CSS of preview tab basic section', { tags: 'css' }, () => {
@@ -12,6 +12,14 @@ describe('Preview tab contents for all views', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
+ beforeEach(() => {
16
+ cy.startApplitools();
17
+ });
18
+
19
+ afterEach(() => {
20
+ cy.eyesClose();
21
+ });
22
+
15
23
  views.forEach((view) => {
16
24
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
17
25
  abortEarlySetup();
@@ -68,12 +76,13 @@ describe('Preview tab contents for all views', () => {
68
76
  utilities.verifyElementVisibilityState(contentBlocksPage.subTitleLabelPreviewTab(), 'visible');
69
77
  });
70
78
 
71
- it('Text block, solid group divider and subtitle text should be displayed', () => {
79
+ it(`${view} - Text block, solid group divider and subtitle text should be displayed`, () => {
72
80
  utilities.verifyInnerText(contentBlocksPage.textBlockPreviewTab(), 'This is text block text');
73
81
  utilities.verifyElementVisibilityState(contentBlocksPage.textBlockPreviewTab(), 'visible');
74
82
  utilities.verifyElementVisibilityState(contentBlocksPage.groupDividerPreviewTab(), 'visible');
75
83
  utilities.verifyInnerText(contentBlocksPage.bodySubTitlePreviewTab(), 'This is body subtitle text');
76
84
  utilities.verifyElementVisibilityState(contentBlocksPage.bodySubTitlePreviewTab(), 'visible');
85
+ cy.eyesCheckWindow(`${view} - Title, text block, solid group divider and subtitle text should be displayed`);
77
86
  });
78
87
 
79
88
  it('CSS of Preview tab', { tags: 'css' }, () => {