itemengine-cypress-automation 1.0.284-IEI-4866-bc2c255.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 (204) hide show
  1. package/cypress/e2e/Gzip/gzip.js +7 -7
  2. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +36 -26
  3. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +14 -4
  4. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  5. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
  6. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +10 -0
  7. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +10 -1
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  10. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
  11. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
  12. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  13. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
  14. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +17 -8
  15. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  16. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
  17. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +10 -1
  18. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +10 -1
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +6 -7
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  28. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +35 -21
  29. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
  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/manuallyAndNonScored.js +4 -4
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +15 -6
  45. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
  46. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  47. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
  55. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
  56. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
  57. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +14 -5
  58. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  59. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
  60. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
  61. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
  62. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
  63. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
  64. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +13 -4
  65. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
  66. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
  67. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
  68. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +14 -5
  69. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +15 -5
  70. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
  71. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
  72. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +12 -3
  73. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  74. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  75. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  76. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  77. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  78. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  79. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  80. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  81. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  82. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  83. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  84. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  85. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  86. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +14 -5
  87. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
  88. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
  89. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  90. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  91. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  92. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  93. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  94. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  95. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  100. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  101. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +14 -5
  102. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
  103. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
  104. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
  105. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  106. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
  107. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
  108. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  109. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  110. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
  111. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  112. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  113. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +14 -5
  114. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
  115. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
  116. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  117. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  118. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  119. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +10 -1
  120. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +10 -1
  121. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +10 -1
  122. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
  123. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +14 -6
  124. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +10 -1
  125. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
  126. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
  127. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  128. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
  129. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  130. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
  131. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
  132. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  133. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
  134. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  135. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  136. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  137. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  138. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
  139. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  140. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  141. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
  142. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +13 -4
  143. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
  144. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  145. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +12 -3
  146. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +12 -3
  147. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
  148. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
  149. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
  150. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  151. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
  152. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
  153. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +18 -9
  154. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  155. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
  156. package/cypress/e2e/applitools.config.js +14 -0
  157. package/cypress/pages/audioPlayerPage.js +4 -4
  158. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
  159. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  160. package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
  161. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  162. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
  163. package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
  164. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  165. package/cypress/pages/createItemPage.js +1 -38
  166. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  167. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
  168. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
  169. package/cypress/pages/listOrderingPage.js +1 -1
  170. package/cypress/pages/matchingPage.js +7 -34
  171. package/cypress/pages/multipleSelectionPage.js +2 -17
  172. package/cypress/pages/numberLineLabelPage.js +3 -3
  173. package/cypress/pages/readingRulerPage.js +3 -5
  174. package/cypress/pages/singleSelectionPage.js +2 -5
  175. package/cypress/pages/textEntryMathPage.js +5 -19
  176. package/cypress/pages/textSelectionPage.js +1 -1
  177. package/cypress/support/commands.js +11 -0
  178. package/cypress/support/e2e.js +1 -0
  179. package/package.json +4 -1
  180. package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
  181. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
  182. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
  183. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
  184. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
  185. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
  186. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
  187. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
  188. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
  189. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
  190. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
  191. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
  192. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
  193. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
  194. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
  195. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
  196. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
  197. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
  198. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
  199. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
  200. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
  201. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
  202. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
  203. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
  204. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -12,6 +12,14 @@ describe('Create Item page - Number line label: 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
+
15
23
  if (!grepTags || !grepTags.includes('smoke')) {
16
24
  describe('Question preview modes: Student view and Grading view', () => {
17
25
  abortEarlySetup();
@@ -105,7 +113,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
105
113
  });
106
114
  };
107
115
 
108
- it('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(`${view}: Number line Label Horizontal - 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');
@@ -123,7 +131,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
123
131
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
124
132
  });
125
133
 
126
- 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 graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
134
+ it(`${view}: Number line Label Horizontal - 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 graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
127
135
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 4', 'horizontal', range, 0);
128
136
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [0]);
129
137
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'horizontal', range, 4);
@@ -145,7 +153,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
145
153
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
146
154
  });
147
155
 
148
- it('When the user attempts the question partially correct 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 graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
156
+ it(`${view}: Number line Label Horizontal - When the user attempts the question partially correct 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 graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph`, () => {
149
157
  if (view === 'Grading view') {
150
158
  studentViewPage.steps.clearResponses();
151
159
  }
@@ -173,7 +181,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
173
181
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
174
182
  });
175
183
 
176
- it('When the user attempts the question partially correct with an incorrect response 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 graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
184
+ it(`${view}: Number line Label Horizontal - When the user attempts the question partially correct with an incorrect response 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 graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
177
185
  if (view === 'Grading view') {
178
186
  studentViewPage.steps.clearResponses();
179
187
  }
@@ -204,7 +212,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
204
212
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
205
213
  });
206
214
 
207
- 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
215
+ it(`${view}: Number line Label Horizontal - 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
208
216
  if (view === 'Grading view') {
209
217
  studentViewPage.steps.clearResponses();
210
218
  }
@@ -228,6 +236,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
228
236
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
229
237
  numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
230
238
  numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
239
+ cy.eyesCheckWindow(`Number line horizontal - ${view} - Attempting the question correctly`);
231
240
  });
232
241
  });
233
242
  });
@@ -13,6 +13,14 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
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();
@@ -67,6 +75,7 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
67
75
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
68
76
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
69
77
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
78
+ cy.eyesCheckWindow(`Number line label Horizontal - Grading view contents`);
70
79
  });
71
80
 
72
81
  it('The unattempted labels should be displayed in disabled state', () => {
@@ -140,6 +149,7 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
140
149
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
141
150
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 2', range, 9);
142
151
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 3', range, -9);
152
+ cy.eyesCheckWindow(`Number line label Horizontal - Correct answer view contents`);
143
153
  });
144
154
 
145
155
  it('The points alloted to the question should be displayed', () => {
@@ -12,6 +12,14 @@ describe('Create item page: Number line label - 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 - ${view}`, { tags: 'smoke' }, () => {
17
25
  abortEarlySetup();
@@ -98,10 +106,11 @@ describe('Create item page: Number line label - Preview contents in all views',
98
106
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [-9]);
99
107
  });
100
108
 
101
- it('The user should be able to change the plotted label on the number line', () => {
109
+ it(`${view} view - Number line label Horizontal: The user should be able to change the plotted label on the number line`, () => {
102
110
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('This is a bold option', 'horizontal', range, -8);
103
111
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [-8]);
104
112
  numberLineLabelPage.steps.verifyPointsNotExistOnNumberLinePreviewTab(range, [-9]);
113
+ cy.eyesCheckWindow(`${view} view - Number line label Horizontal: Preview contents`);
105
114
  });
106
115
 
107
116
  it('CSS of number line label', { tags: 'css' }, () => {
@@ -105,7 +105,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
105
105
  });
106
106
  };
107
107
 
108
- it('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed', () => {
108
+ it(`${view}: Number line Label Vertical - When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed`, () => {
109
109
  if (view === 'Grading view') {
110
110
  studentViewPage.steps.submitResponse();
111
111
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -123,7 +123,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
123
123
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
124
124
  });
125
125
 
126
- 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 graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
126
+ it(`${view}: Number line Label Vertical - 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 graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
127
127
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 4', 'vertical', range, 0);
128
128
  numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [0]);
129
129
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'vertical', range, 4);
@@ -145,7 +145,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
145
145
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
146
146
  });
147
147
 
148
- it('When the user attempts the question partially correct 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 graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
148
+ it(`${view}: Number line Label Vertical - When the user attempts the question partially correct 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 graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph`, () => {
149
149
  if (view === 'Grading view') {
150
150
  studentViewPage.steps.clearResponses();
151
151
  }
@@ -173,7 +173,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
173
173
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
174
174
  });
175
175
 
176
- it('When the user attempts the question partially correct with an incorrect response 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 graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
176
+ it(`${view}: Number line Label Vertical - When the user attempts the question partially correct with an incorrect response 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 graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
177
177
  if (view === 'Grading view') {
178
178
  studentViewPage.steps.clearResponses();
179
179
  }
@@ -204,7 +204,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
204
204
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
205
205
  });
206
206
 
207
- 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
207
+ it(`${view}: Number line Label 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
208
208
  if (view === 'Grading view') {
209
209
  studentViewPage.steps.clearResponses();
210
210
  }
@@ -61,7 +61,7 @@ describe('Create item page - Number line label - vertical: Grading view, Correct
61
61
  utilities.verifyElementVisibilityState(numberLineLabelPage.correctAnswersLabel(), 'visible');
62
62
  });
63
63
 
64
- it('Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
64
+ it('Number line label Vertical: Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
65
65
  numberLineLabelPage.steps.verifyVerticalIncorrectResponseOnNumberLinePreviewTab('Label 3', range, -8);
66
66
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 2', range, 9);
67
67
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
@@ -138,7 +138,7 @@ describe('Create item page - Number line label - vertical: Grading view, Correct
138
138
  utilities.verifyElementVisibilityState(numberLineLabelPage.questionInstructionsText(), 'visible');
139
139
  });
140
140
 
141
- it('The correct answer set by user should be displayed in the correct answer view', () => {
141
+ it('Number line label Vertical: The correct answer set by user should be displayed in the correct answer view', () => {
142
142
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerView('Label 1', 316);
143
143
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerView('Label 2', 59);
144
144
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerView('Label 3', 573);
@@ -90,7 +90,7 @@ describe('Create item page: Number line label - Preview contents in all views',
90
90
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('This is a bold option', 'vertical', range, -9);
91
91
  });
92
92
 
93
- it('The user should be able to change the plotted label on the number line', () => {
93
+ it(`${view} view - Number line label Vertical: The user should be able to change the plotted label on the number line`, () => {
94
94
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Solve the following', 'vertical', range, 5);
95
95
  numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [5]);
96
96
  });
@@ -11,6 +11,14 @@ describe('Preview tab contents for all views', () => {
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
  views.forEach((view) => {
15
23
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
16
24
  abortEarlySetup();
@@ -60,11 +68,12 @@ describe('Preview tab contents for all views', () => {
60
68
  }
61
69
  });
62
70
 
63
- it('\'Protractor\' should be displayed with \'Acute\' angle, \'30 percent\' opacity, \'Alternative text\' and in \'Orange\' color', () => {
71
+ it(`${view} - \'Protractor\' should be displayed with \'Acute\' angle, \'30 percent\' opacity, \'Alternative text\' and in \'Orange\' color`, () => {
64
72
  protractorPage.steps.verifyAcuteAngleTypeInPreviewTab();
65
73
  protractorPage.steps.verifyPreviewTabColorAndOpacityOfProtractor(3, 0.3);
66
74
  protractorPage.steps.verifyAlternativeTextInPreviewTab('Measuring tool');
67
75
  protractorPage.steps.verifyRotationButtonVisibleInPreviewTab();
76
+ cy.eyesCheckWindow(`${view} - Protractor visibility`);
68
77
  });
69
78
  });
70
79
  });
@@ -11,6 +11,14 @@ describe('Preview tab contents for all views', () => {
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
  views.forEach((view) => {
15
23
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
16
24
  abortEarlySetup();
@@ -58,11 +66,12 @@ describe('Preview tab contents for all views', () => {
58
66
  }
59
67
  });
60
68
 
61
- it('\'Reading ruler\' should be displayed with \'30 percent\' opacity and in \'Blue\' color', () => {
69
+ it(`${view} \'Reading ruler\' should be displayed with \'30 percent\' opacity and in \'Blue\' color`, () => {
62
70
  readingRulerPage.steps.verifyReadingRulerExistInPreviewTab();
63
71
  readingRulerPage.steps.verifyReadingRulerOpacityInPreviewTab('0.3');
64
72
  readingRulerPage.steps.verifyReadingRulerColorInPreviewTab(2);
65
73
  readingRulerPage.steps.verifySizeOfReadingRulerInPreviewTab('Line focus', 5);
74
+ cy.eyesCheckWindow(`${view} - Reading ruler visibility`);
66
75
  });
67
76
  });
68
77
  });
@@ -11,6 +11,14 @@ describe('Preview tab contents for all views', () => {
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
  views.forEach((view) => {
15
23
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
16
24
  abortEarlySetup();
@@ -59,11 +67,12 @@ describe('Preview tab contents for all views', () => {
59
67
  }
60
68
  });
61
69
 
62
- it('\'Ruler\' should be displayed with \'6 in\' length and in \'Orange\' color', () => {
70
+ it(`${view} \'Ruler\' should be displayed with \'6 in\' length and in \'Orange\' color`, () => {
63
71
  rulerPage.steps.verifyLengthOfRulerInPreview('6in');
64
72
  rulerPage.steps.verifyRotationButtonVisibleInPreviewTab();
65
73
  rulerPage.steps.verifyColorOfRulerInPreview(3);
66
74
  rulerPage.steps.verifyRulerOpacityInPreview('0.5');
75
+ cy.eyesCheckWindow(`${view} - Ruler visibility`);
67
76
  });
68
77
  });
69
78
  });
@@ -13,6 +13,14 @@ describe('Create item page - Short text response: All or nothing', () => {
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 (!grepTags || !grepTags.includes('smoke')) {
17
25
  describe('Question preview modes: Student view and Grading view', () => {
18
26
  abortEarlySetup();
@@ -89,7 +97,7 @@ describe('Create item page - Short text response: All or nothing', () => {
89
97
  });
90
98
  };
91
99
 
92
- it('When the user selects \'Grading\' view without attempting the question, correct/incorret border should not be displayed and correct answer should be displayed below response field', () => {
100
+ it(`Short text response - ${view} - When the user selects 'Grading' view without attempting the question, correct/incorret border should not be displayed and correct answer should be displayed below response field`, () => {
93
101
  if (view === 'Grading view') {
94
102
  studentViewPage.steps.submitResponse();
95
103
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -105,7 +113,7 @@ describe('Create item page - Short text response: All or nothing', () => {
105
113
  shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Buildings');
106
114
  });
107
115
 
108
- it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icon should be displayed besides incorrect response, incorrect answer border around response field and correct answer should be displayed in the question preview', () => {
116
+ it(`Short text response - ${view} - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to 'Grading' view, incorrect icon should be displayed besides incorrect response, incorrect answer border around response field and correct answer should be displayed in the question preview`, () => {
109
117
  shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Text');
110
118
  if (view === 'Grading view') {
111
119
  studentViewPage.steps.submitResponse();
@@ -122,7 +130,7 @@ describe('Create item page - Short text response: All or nothing', () => {
122
130
  shortTextResponsePage.steps.verifyIncorrectIcon();
123
131
  });
124
132
 
125
- it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icon should be displayed beside the correct response, correct answer border around response field should be displayed the question preview', () => {
133
+ it(`Short text response - ${view} - When user attempts the question correctly, the user should be awarded full points and on switching to 'Grading' view, then correct icon should be displayed beside the correct response, correct answer border around response field should be displayed the question preview`, () => {
126
134
  if (view === 'Grading view') {
127
135
  studentViewPage.steps.clearResponses();
128
136
  };
@@ -139,6 +147,7 @@ describe('Create item page - Short text response: All or nothing', () => {
139
147
  }
140
148
  shortTextResponsePage.steps.verifyCorrectAttemptBorder();
141
149
  shortTextResponsePage.steps.verifyCorrectIcon();
150
+ cy.eyesCheckWindow(`Short text response - ${view} - Correct attempt`);
142
151
  });
143
152
  });
144
153
  });
@@ -11,6 +11,14 @@ describe('Create item page - Short text response : Preview contents', () => {
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
  views.forEach((view) => {
15
23
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
16
24
  abortEarlySetup();
@@ -57,23 +65,23 @@ describe('Create item page - Short text response : Preview contents', () => {
57
65
  }
58
66
  });
59
67
 
60
- it('Question instructions should be visible', () => {
68
+ it(`${view} - Short text response - Question instructions should be visible`, () => {
61
69
  utilities.verifyInnerText(shortTextResponsePage.questionInstructionsText(), 'Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
62
70
  utilities.verifyElementVisibilityState(shortTextResponsePage.questionInstructionsText(), 'visible');
71
+ cy.eyesCheckWindow(`Short text response - ${view} - Answer input field visible and empty`);
63
72
  });
64
73
 
65
74
  if (view !== 'Grading view' && view !== 'Correct answer view') {
66
- it('Answer input field should be visible and by default it should be empty', () => {
75
+ it(`Answer input field should be visible and by default it should be empty`, () => {
67
76
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('');
68
- utilities.verifyElementVisibilityState(shortTextResponsePage.previewTabResponseField(), 'visible')
77
+ utilities.verifyElementVisibilityState(shortTextResponsePage.previewTabResponseField(), 'visible');
69
78
  });
70
79
 
71
- it('User should be able to enter text in answer input field', () => {
80
+ it(`User should be able to enter text in answer input field`, () => {
72
81
  shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('The quick brown fox');
73
82
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('The quick brown fox');
74
83
  });
75
- }
76
- else {
84
+ } else {
77
85
  it(`The response field should be displayed filled with correct answer`, () => {
78
86
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('The quick brown fox');
79
87
  utilities.verifyElementDisabled(shortTextResponsePage.previewTabResponseField());
@@ -12,6 +12,14 @@ describe('Preview tab contents for all views for Simple calculator', () => {
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();
@@ -83,7 +91,7 @@ describe('Preview tab contents for all views for Simple calculator', () => {
83
91
  utilities.verifyElementVisibilityState(simpleCalculatorPage.nineButton(), 'visible');
84
92
  });
85
93
 
86
- it('The user should be able to perform basic mathematical operations', () => {
94
+ it(`${view} The user should be able to perform basic mathematical operations`, () => {
87
95
  simpleCalculatorPage.steps.clickOnACalculatorButton('one');
88
96
  simpleCalculatorPage.steps.clickOnACalculatorButton('addition');
89
97
  simpleCalculatorPage.steps.clickOnACalculatorButton('two');
@@ -91,6 +99,7 @@ describe('Preview tab contents for all views for Simple calculator', () => {
91
99
  simpleCalculatorPage.steps.clickOnACalculatorButton('equal to');
92
100
  simpleCalculatorPage.steps.verifyCalculatorDisplayInputEquationValue('1+2 =');
93
101
  simpleCalculatorPage.steps.verifyCalculatorDisplayResultValue('3');
102
+ cy.eyesCheckWindow(`${view} - Compass visibility`);
94
103
  });
95
104
 
96
105
  it('CSS of preview contents', { tags: 'css' }, () => {
@@ -14,6 +14,14 @@ describe('Create Item page - Single Selection: Scoring cases', () => {
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 (!grepTags || !grepTags.includes('smoke')) {
18
26
  describe('Question preview modes: Student view and Grading view', () => {
19
27
  abortEarlySetup();
@@ -93,7 +101,7 @@ describe('Create Item page - Single Selection: Scoring cases', () => {
93
101
  });
94
102
  };
95
103
 
96
- it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides responses, correct answer label and border should not be displayed and correct answer should be displayed in correct answer section', () => {
104
+ it(`Single selection ${view} - When the user selects 'Grading' view without attempting the question, no icons should be displayed besides responses, correct answer label and border should not be displayed and correct answer should be displayed in correct answer section`, () => {
97
105
  if (view === 'Grading view') {
98
106
  studentViewPage.steps.submitResponse();
99
107
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -114,7 +122,7 @@ describe('Create Item page - Single Selection: Scoring cases', () => {
114
122
  singleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
115
123
  });
116
124
 
117
- it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides incorrect responses, no icons should be displayed besides unattempted responses, incorrect answer border and label should not be displayed below the question preview and correct answer should be displayed in correct answer section', () => {
125
+ it(`Single selection ${view} - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to 'Grading' view, incorrect icons should be displayed besides incorrect responses, no icons should be displayed besides unattempted responses, incorrect answer border and label should not be displayed below the question preview and correct answer should be displayed in correct answer section`, () => {
118
126
  singleSelectionPage.steps.checkOptionInPreviewTab(2);
119
127
  if (view === 'Grading view') {
120
128
  studentViewPage.steps.submitResponse();
@@ -136,7 +144,7 @@ describe('Create Item page - Single Selection: Scoring cases', () => {
136
144
  singleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
137
145
  });
138
146
 
139
- it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct answer border and a label should not be displayed below the question preview and correct answer section should not be displayed', () => {
147
+ it(`Single selection ${view} - When user attempts the question correctly, the user should be awarded full points and on switching to 'Grading' view, then correct icons should be displayed beside all the correct responses, correct answer border and a label should not be displayed below the question preview and correct answer section should not be displayed`, () => {
140
148
  singleSelectionPage.steps.checkOptionInPreviewTab(1);
141
149
  if (view === 'Grading view') {
142
150
  studentViewPage.steps.submitResponse();
@@ -155,6 +163,7 @@ describe('Create Item page - Single Selection: Scoring cases', () => {
155
163
  singleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
156
164
  singleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
157
165
  singleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
166
+ cy.eyesCheckWindow(`Single selection ${view} - Correct attempt`);
158
167
  });
159
168
  });
160
169
  });
@@ -12,6 +12,14 @@ describe('Create item page - Single selection: Preview contents', () => {
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();
@@ -79,11 +87,12 @@ describe('Create item page - Single selection: Preview contents', () => {
79
87
  utilities.verifyElementVisibilityState(singleSelectionPage.questionInstructionsText(), 'visible');
80
88
  });
81
89
 
82
- it(`When the user has added image, equation, bold text and link to the options input they should be displayed in the ${view}`, () => {
90
+ it(`Single selection - ${view} - When the user has added image, equation, bold text and link to the options input they should be displayed in the ${view}`, () => {
83
91
  singleSelectionPage.steps.verifyImageInPreviewTab(0);
84
92
  singleSelectionPage.steps.verifyLinkTextInPreviewTab(1);
85
93
  singleSelectionPage.steps.verifyBoldTextInPreviewTab(2);
86
94
  singleSelectionPage.steps.verifyEquationTextInPreviewTab(3);
95
+ cy.eyesCheckWindow(`Single selection - ${view} - Options with image, equation, bold text, and link`);
87
96
  });
88
97
 
89
98
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -11,6 +11,14 @@ describe('Create item page - Single selection grid: 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();
@@ -93,7 +101,7 @@ describe('Create item page - Single selection grid: All or nothing ', () => {
93
101
  });
94
102
  };
95
103
 
96
- it('When the user selects \'Grading\' view without attempting the question, correct answers section with a label \'Correct answers\' should be displayed with a preview of the entire grid with correct answers and correct/incorrect status message should not be displayed', () => {
104
+ it(`Single selection - grid ${view} - When the user selects 'Grading' view without attempting the question, correct answers section with a label 'Correct answers' should be displayed with a preview of the entire grid with correct answers and correct/incorrect status message should not be displayed`, () => {
97
105
  if (view === 'Grading view') {
98
106
  studentViewPage.steps.submitResponse();
99
107
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -109,7 +117,7 @@ describe('Create item page - Single selection grid: All or nothing ', () => {
109
117
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
110
118
  });
111
119
 
112
- it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with a preview of the entire grid with correct answers should be displayed', () => {
120
+ it(`Single selection - grid ${view} - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to 'Grading' view, incorrect icons should be displayed besides all incorrect responses, a status message with text 'Your answer is incorrect' and correct answer section with a preview of the entire grid with correct answers should be displayed`, () => {
113
121
  singleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }, { row: 2, column: 0 }]);
114
122
  if (view === 'Grading view') {
115
123
  studentViewPage.steps.submitResponse();
@@ -127,7 +135,7 @@ describe('Create item page - Single selection grid: All or nothing ', () => {
127
135
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
128
136
  });
129
137
 
130
- it('When the user attempts the question partially correct with incorrect responses, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with a preview of the entire grid with correct answers should be displayed', () => {
138
+ it(`Single selection - grid ${view} - When the user attempts the question partially correct with incorrect responses, then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text 'Your answer is incorrect' and correct answer section with a preview of the entire grid with correct answers should be displayed`, () => {
131
139
  if (view === 'Grading view') {
132
140
  studentViewPage.steps.clearResponses();
133
141
  };
@@ -150,7 +158,7 @@ describe('Create item page - Single selection grid: All or nothing ', () => {
150
158
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
151
159
  });
152
160
 
153
- it('When the user attempts the question partially correct with incomplete responses, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, no icons should be displayed besides unattempted responses, a status message with text \'Your answer is incorrect\' and correct answer section with a preview of the entire grid with correct answers should be displayed', () => {
161
+ it(`Single selection - grid ${view} - When the user attempts the question partially correct with incomplete responses, then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer responses, no icons should be displayed besides unattempted responses, a status message with text 'Your answer is incorrect' and correct answer section with a preview of the entire grid with correct answers should be displayed`, () => {
154
162
  if (view === 'Grading view') {
155
163
  studentViewPage.steps.clearResponses();
156
164
  };
@@ -174,7 +182,7 @@ describe('Create item page - Single selection grid: All or nothing ', () => {
174
182
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
175
183
  });
176
184
 
177
- it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
185
+ it(`Single selection - grid ${view} - When user attempts the question correctly, the user should be awarded full points and on switching to 'Grading' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text 'Your answer is correct' and correct answer section should not be displayed`, () => {
178
186
  if (view === 'Grading view') {
179
187
  studentViewPage.steps.clearResponses();
180
188
  };
@@ -196,6 +204,7 @@ describe('Create item page - Single selection grid: All or nothing ', () => {
196
204
  singleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
197
205
  singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
198
206
  singleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExists();
207
+ cy.eyesCheckWindow(`Single selection - grid ${view} - Correct responses displayed`);
199
208
  });
200
209
  });
201
210
  });
@@ -11,6 +11,14 @@ describe('Create item page - Single selection grid: Preview contents', () => {
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
  views.forEach((view) => {
15
23
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
16
24
  abortEarlySetup();
@@ -82,7 +90,7 @@ describe('Create item page - Single selection grid: Preview contents', () => {
82
90
  utilities.verifyElementVisibilityState(singleSelectionGridPage.questionInstructionsText(), 'visible');
83
91
  });
84
92
 
85
- it(`The question grid as set by the user should be displayed in the ${view}`, () => {
93
+ it(`Single selection - grid ${view} - The question grid as set by the user should be displayed in the ${view}`, () => {
86
94
  singleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 0, column: 0 }, 'None');
87
95
  singleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 0, column: 1 }, 'Heading');
88
96
  singleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 0, column: 2 }, 'Heading');
@@ -93,6 +101,7 @@ describe('Create item page - Single selection grid: Preview contents', () => {
93
101
  singleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 3, column: 0 }, 'Text');
94
102
  singleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 3, column: 1 }, 'No radio button');
95
103
  singleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 4, column: 2 }, 'No radio button');
104
+ cy.eyesCheckWindow(`Single selection - grid ${view} - Question grid displayed`);
96
105
  });
97
106
 
98
107
  if (view !== 'Grading view' && view !== 'Correct answer view') {