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
@@ -15,6 +15,14 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
15
15
  cy.loginAs('admin');
16
16
  });
17
17
 
18
+ beforeEach(() => {
19
+ cy.startApplitools();
20
+ });
21
+
22
+ afterEach(() => {
23
+ cy.eyesClose();
24
+ });
25
+
18
26
  views.forEach((view) => {
19
27
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
20
28
  abortEarlySetup();
@@ -86,14 +94,14 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
86
94
  graphingPage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
87
95
  });
88
96
 
89
- it('By default, the move control should be in enabled state and all other controls should be disabled', () => {
97
+ it(`By default, the move control should be in enabled state and all other controls should be disabled`, () => {
90
98
  utilities.verifyElementNotDisabled(graphingPage.graphControlOptionPreviewTab('Move'));
91
99
  controlOptions.splice(1, controlOptions.length).forEach((controlOption) => {
92
100
  utilities.verifyElementDisabled(graphingPage.graphControlOptionPreviewTab(controlOption));
93
101
  });
94
102
  });
95
103
 
96
- it('User should be able to plot points using the \'Point\' tool options', () => {
104
+ it(`User should be able to plot points using the \'Point\' tool options`, () => {
97
105
  graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -4, xRange: 20, y: -4, yRange: 20 }]);
98
106
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -4, xRange: 20, y: -4, yRange: 20 }]);
99
107
  });
@@ -162,11 +170,12 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
162
170
  utilities.verifyElementCount(graphingPage.graphSineAndParabolaPreviewTab(), 2);
163
171
  });
164
172
 
165
- it('User should be able to draw a polygon using the \'Polygon\' tool option', () => {
173
+ it(`${view} - Graphing - User should be able to draw a polygon using the \'Polygon\' tool option`, () => {
166
174
  graphingPage.steps.selectGraphToolOptionPreviewTab('Polygon');
167
175
  graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }]);
168
176
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }]);
169
177
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
178
+ cy.eyesCheckWindow(`${view} - Graphing - Plotted points using all tools`);
170
179
  });
171
180
 
172
181
  it('When the user clicks on the \'Undo\' control option then the latest action should be reversed', () => {
@@ -179,7 +188,7 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
179
188
  utilities.verifyElementVisibilityState(graphingPage.graphPolygonPreviewTab(), 'visible');
180
189
  });
181
190
 
182
- it('When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset', () => {
191
+ it(`When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset`, () => {
183
192
  graphingPage.steps.selectGraphControlOptionPreviewTab('Reset');
184
193
  graphingPage.steps.confirmReset();
185
194
  utilities.verifyElementVisibilityState(graphingPage.graphPolygonPreviewTab(), 'notExist');
@@ -13,6 +13,15 @@ describe('Create item page - Grid fill: 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
+
24
+
16
25
  if (!grepTags || !grepTags.includes('smoke')) {
17
26
  describe('Question preview modes: Student view and Grading view', () => {
18
27
  abortEarlySetup();
@@ -91,7 +100,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
91
100
  });
92
101
  };
93
102
  //Failed due to https://redmine.zeuslearning.com/issues/565569
94
- it('When the user selects \'Grading\' view without attempting the question, correct answer tick should be displayed in correct answer cell and correct/incorrect status message should not be displayed', () => {
103
+ it(`${view}: Grid fill - When the user selects \'Grading\' view without attempting the question, correct answer tick should be displayed in correct answer cell and correct/incorrect status message should not be displayed`, () => {
95
104
  if (view === 'Grading view') {
96
105
  studentViewPage.steps.submitResponse();
97
106
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'exist');
@@ -109,7 +118,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
109
118
  gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
110
119
  });
111
120
 
112
- 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 in the incorrect cell, incorrect answer border around incorrect cell and correct icon should be displayed in the correct cell, correct answer border around correct cell and a status message with text \'Your answer is incorrect\' in question preview', () => {
121
+ it(`${view}: Grid fill - 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 in the incorrect cell, incorrect answer border around incorrect cell and correct icon should be displayed in the correct cell, correct answer border around correct cell and a status message with text \'Your answer is incorrect\' in question preview`, () => {
113
122
  gridFillPage.steps.selectCellPreviewTab(0, 3);
114
123
  if (view === 'Grading view') {
115
124
  studentViewPage.steps.submitResponse();
@@ -128,7 +137,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
128
137
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
129
138
  });
130
139
 
131
- it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct answer responses, incorrect icon should be displayed in incorrect answer response, a status message with text \'Your answer is incorrect\' should be displayed', () => {
140
+ it(`${view}: Grid fill - When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct answer responses, incorrect icon should be displayed in incorrect answer response, a status message with text \'Your answer is incorrect\' should be displayed`, () => {
132
141
  if (view === 'Grading view') {
133
142
  studentViewPage.steps.clearResponses();
134
143
  };
@@ -150,7 +159,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
150
159
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
151
160
  });
152
161
 
153
- it('When the user attempts the question with one correct and one incorrect, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct answer responses, incorrect icon should be displayed in incorrect answer response, a status message with text \'Your answer is incorrect\' should be displayed', () => {
162
+ it(`${view}: Grid fill - When the user attempts the question partially correct with one correct and one incorrect response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct answer responses, incorrect icon should be displayed in incorrect answer response, a status message with text \'Your answer is incorrect\' should be displayed`, () => {
154
163
  if (view === 'Grading view') {
155
164
  studentViewPage.steps.clearResponses();
156
165
  };
@@ -173,7 +182,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
173
182
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
174
183
  });
175
184
 
176
- it('When the user attempts the question by selecting all the correct cells with one incorrect cell, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct answer responses, incorrect icon should be displayed in incorrect answer response, a status message with text \'Your answer is incorrect\' should be displayed', () => {
185
+ it(`${view}: Grid fill - When the user attempts the question partially correct by selecting all the correct cells with one incorrect cell, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct answer responses, incorrect icon should be displayed in incorrect answer response, a status message with text \'Your answer is incorrect\' should be displayed`, () => {
177
186
  if (view === 'Grading view') {
178
187
  studentViewPage.steps.clearResponses();
179
188
  };
@@ -198,7 +207,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
198
207
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
199
208
  });
200
209
 
201
- 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 in the correct cell, correct answer border around correct cell and a status message with text \'Your answer is correct\' should be displayed in the question preview', () => {
210
+ it(`${view}: Grid fill - 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 in the correct cell, correct answer border around correct cell and a status message with text \'Your answer is correct\' should be displayed in the question preview`, () => {
202
211
  if (view === 'Grading view') {
203
212
  studentViewPage.steps.clearResponses();
204
213
  };
@@ -217,6 +226,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
217
226
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
218
227
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
219
228
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
229
+ cy.eyesCheckWindow(`Grid fill - ${view} view - Attempting the question correctly`);
220
230
  });
221
231
  });
222
232
  });
@@ -11,6 +11,14 @@ describe('Create item page - Grid fill : 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();
@@ -74,6 +82,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
74
82
  gridFillPage.steps.verifyRowsCountPreviewTab(4);
75
83
  gridFillPage.steps.verifyColumnsCountPreviewTab(6);
76
84
  gridFillPage.steps.getCellCountInGridPreviewTab(24);
85
+ cy.eyesCheckWindow(`Grid fill - ${view} - Grid matrix`);
77
86
  });
78
87
 
79
88
  it('Cell with \'Hide\' customization should be displayed', () => {
@@ -81,7 +90,6 @@ describe('Create item page - Grid fill : Preview contents', () => {
81
90
  });
82
91
 
83
92
  if (view !== 'Grading view' && view !== 'Correct answer view') {
84
-
85
93
  it('Cell with \'Shade\' customization should be displayed', () => {
86
94
  gridFillPage.steps.verifyCellSelectedPreviewTab(0, 0);
87
95
  });
@@ -16,6 +16,14 @@ describe('Create item page - Image highlight: All or nothing ', () => {
16
16
  cy.loginAs('admin');
17
17
  });
18
18
 
19
+ beforeEach(() => {
20
+ cy.startApplitools();
21
+ });
22
+
23
+ afterEach(() => {
24
+ cy.eyesClose();
25
+ });
26
+
19
27
  if (!grepTags || !grepTags.includes('smoke')) {
20
28
  describe('Question preview modes: Student view and Grading view', () => {
21
29
  abortEarlySetup();
@@ -107,7 +115,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
107
115
  });
108
116
  };
109
117
 
110
- it('When the user selects \'Grading\' view without attempting the question, highlight numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
118
+ it(`${view}: Image highlight - When the user selects \'Grading\' view without attempting the question, highlight numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration`, () => {
111
119
  if (view === 'Grading view') {
112
120
  studentViewPage.steps.submitResponse();
113
121
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -125,9 +133,10 @@ describe('Create item page - Image highlight: All or nothing ', () => {
125
133
  imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
126
134
  utilities.verifyInnerText(imageHighlightPage.correctAnswersLabel(), 'Correct answers');
127
135
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
136
+
128
137
  });
129
138
 
130
- 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 all correct answers along with numeration should be displayed', () => {
139
+ it(`${view}: Image highlight - 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 all correct answers along with numeration should be displayed`, () => {
131
140
  imageHighlightPage.steps.highlightARegionInPreviewTab(1);
132
141
  if (view === 'Grading view') {
133
142
  studentViewPage.steps.submitResponse();
@@ -147,7 +156,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
147
156
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
148
157
  });
149
158
 
150
- it('When the user attempts the question partially correct then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
159
+ it(`${view}: Image highlight - When the user attempts the question partially correct then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
151
160
  if (view === 'Grading view') {
152
161
  studentViewPage.steps.clearResponses();
153
162
  };
@@ -170,7 +179,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
170
179
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
171
180
  });
172
181
 
173
- it('When the user attempts the question correct with an incorrect response, 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 all correct answers along with numeration should be displayed', () => {
182
+ it(`${view}: Image highlight - When the user attempts the question correct with an incorrect response, 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 all correct answers along with numeration should be displayed`, () => {
174
183
  if (view === 'Grading view') {
175
184
  studentViewPage.steps.clearResponses();
176
185
  };
@@ -195,7 +204,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
195
204
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
196
205
  });
197
206
 
198
- 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', () => {
207
+ it(`${view}: Image highlight - 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`, () => {
199
208
  if (view === 'Grading view') {
200
209
  studentViewPage.steps.clearResponses();
201
210
  };
@@ -218,6 +227,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
218
227
  imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
219
228
  imageHighlightPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
220
229
  imageHighlightPage.steps.verifyCorrectAnswerSectionNotExists();
230
+ cy.eyesCheckWindow(`Image highlight: ${view} view - Attempting the question correctly`);
221
231
  });
222
232
  });
223
233
  });
@@ -15,6 +15,14 @@ describe('Create item page - Image highlight - Preview contents in all views', (
15
15
  cy.loginAs('admin');
16
16
  });
17
17
 
18
+ beforeEach(() => {
19
+ cy.startApplitools();
20
+ });
21
+
22
+ afterEach(() => {
23
+ cy.eyesClose();
24
+ });
25
+
18
26
  views.forEach((view) => {
19
27
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
20
28
  abortEarlySetup();
@@ -74,15 +82,16 @@ describe('Create item page - Image highlight - Preview contents in all views', (
74
82
  utilities.verifyElementVisibilityState(imageHighlightPage.questionInstructionsText(), 'visible');
75
83
  });
76
84
 
77
- it('The uploaded image should be displayed in the preview tab', () => {
85
+ it(`${view} - Image highlight The uploaded image should be displayed in the preview tab`, () => {
78
86
  imageHighlightPage.steps.verifyImageUploadedPreviewTab();
79
87
  imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(3);
80
88
  imageHighlightPage.steps.verifyImageUploadedAltTextPreviewTab('Image alternative text');
81
89
  imageHighlightPage.steps.verifyImageUploadedWidthAndHeightPreviewTab('768', '432');
90
+ cy.eyesCheckWindow(`Image highlight - ${view} - Uploaded image displayed`);
82
91
  });
83
92
 
84
93
  if (view !== 'Grading view' && view !== 'Correct answer view') {
85
- it('The highlighted regions should be displayed', () => {
94
+ it(`The highlighted regions should be displayed`, () => {
86
95
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
87
96
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, branchesHighlightRegion);
88
97
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, leafHighlightRegion);
@@ -110,7 +119,7 @@ describe('Create item page - Image highlight - Preview contents in all views', (
110
119
  imageHighlightPage.steps.removeHighlightOfARegionInPreviewTab(1);
111
120
  });
112
121
  } else if (view === 'Grading view') {
113
- it('The highlighted regions should be displayed', () => {
122
+ it(`The highlighted regions should be displayed`, () => {
114
123
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
115
124
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, leafHighlightRegion);
116
125
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, branchesHighlightRegion);
@@ -138,7 +147,7 @@ describe('Create item page - Image highlight - Preview contents in all views', (
138
147
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, branchesHighlightRegion);
139
148
  });
140
149
 
141
- it('The highlight regions should be displayed with correct answers', () => {
150
+ it(`The highlight regions should be displayed with correct answers`, () => {
142
151
  imageHighlightPage.steps.verifyCorrectHighlightRegion(0);
143
152
  imageHighlightPage.steps.verifyCorrectHighlightRegion(1);
144
153
  });
@@ -14,6 +14,14 @@ describe('Create item page - List ordering: All or nothing ', () => {
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();
@@ -92,7 +100,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
92
100
  });
93
101
  };
94
102
 
95
- it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons should not be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
103
+ it(`${view}: List ordering dropdown - When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons should not be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
96
104
  if (view === 'Grading view') {
97
105
  utilities.verifyElementDisabledClass(studentViewPage.submitButton());
98
106
  };
@@ -110,7 +118,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
110
118
  };
111
119
  });
112
120
 
113
- 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 all correct answers along with numeration should be displayed', () => {
121
+ it(`${view}: List ordering dropdown - 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 all correct answers along with numeration should be displayed`, () => {
114
122
  listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '1' }, { optionIndex: 1, position: '2' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }]);
115
123
  if (view === 'Grading view') {
116
124
  studentViewPage.steps.submitResponse();
@@ -130,7 +138,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
130
138
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
131
139
  });
132
140
 
133
- it('When the user attempts the question partially correct, 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 all correct answers along with numeration should be displayed', () => {
141
+ it(`${view}: List ordering dropdown - When the user attempts the question partially correct, 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 all correct answers along with numeration should be displayed`, () => {
134
142
  if (view === 'Grading view') {
135
143
  studentViewPage.steps.clearResponses();
136
144
  };
@@ -153,7 +161,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
153
161
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
154
162
  });
155
163
 
156
- 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', () => {
164
+ it(`${view}: List ordering dropdown - 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`, () => {
157
165
  if (view === 'Grading view') {
158
166
  studentViewPage.steps.clearResponses();
159
167
  };
@@ -175,6 +183,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
175
183
  listOrderingPage.steps.verifyCorrectOptionIconDropdownLayout(3);
176
184
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
177
185
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
186
+ cy.eyesCheckWindow(`List ordering dropdown - ${view} view - Attempting the question correctly`);
178
187
  });
179
188
  });
180
189
  });
@@ -12,6 +12,14 @@ describe('Create item page - List ordering - 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();
@@ -77,10 +85,11 @@ describe('Create item page - List ordering - Preview contents in all views', ()
77
85
  it('Question instructions should be visible', () => {
78
86
  utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
79
87
  utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
88
+ cy.eyesCheckWindow(`List ordering: dropdown - ${view} - Options with image, bold text, and equation`);
80
89
  });
81
90
 
82
91
  if (view !== 'Grading view' && view !== 'Correct answer view') {
83
- it(`When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container in ${view}`, () => {
92
+ it(`List ordering: dropdown When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container in ${view}`, () => {
84
93
  listOrderingPage.steps.verifyOptionWithImageInPreviewTab(0);
85
94
  listOrderingPage.steps.verifyOptionWithBoldTextInPreviewTab(1);
86
95
  listOrderingPage.steps.verifyOptionWithEquationTextInPreviewTab(2);
@@ -105,7 +114,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
105
114
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '');
106
115
  });
107
116
 
108
- it('User should be able to reorder options containing image, bold text and equation options in the list using position dropdowns. On setting position for all options, the alert message should get removed', () => {
117
+ it(`User should be able to reorder options containing image, bold text and equation options in the list using position dropdowns. On setting position for all options, the alert message should get removed`, () => {
109
118
  listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '2' }, { optionIndex: 1, position: '1' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }])
110
119
  listOrderingPage.steps.verifyAlertMessageNotExists();
111
120
  });
@@ -128,7 +137,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
128
137
  utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), 2), '3');
129
138
  });
130
139
  } else {
131
- it('The order of the options should be as per the correct answer order', () => {
140
+ it(`The order of the options should be as per the correct answer order`, () => {
132
141
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '2');
133
142
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(1, '1');
134
143
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(2, '3');
@@ -14,6 +14,14 @@ describe('Create item page - List ordering - Preview contents in all views', ()
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
  views.forEach((view) => {
18
26
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
19
27
  abortEarlySetup();
@@ -80,6 +88,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
80
88
  it('Question instructions should be visible', () => {
81
89
  utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
82
90
  utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
91
+ cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Default question view`);
83
92
  });
84
93
 
85
94
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -89,7 +98,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
89
98
  listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(2);
90
99
  });
91
100
 
92
- it('User should be able to reorder options containing image, bold text and equation options in the list', () => {
101
+ it(`${view} - List ordering: Horizontal orientationUser should be able to reorder options containing image, bold text and equation options in the list`, () => {
93
102
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('This is a bold option', 0);
94
103
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('Solve the following', 1);
95
104
  listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('This is a bold option', 0);
@@ -99,7 +108,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
99
108
  listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('alpha', 3);
100
109
  });
101
110
  } else if (view === 'Grading view') {
102
- it(`The order of the responses should be as per the submitted response`, () => {
111
+ it(`${view} - List ordering: Horizontal orientation The order of the responses should be as per the submitted response`, () => {
103
112
  listOrderingPage.steps.verifyHorizontalOptionWithBoldTextInPreviewTab(0);
104
113
  listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(1);
105
114
  listOrderingPage.steps.verifyHorizontalOptionWithImageInPreviewTab(2);
@@ -14,6 +14,14 @@ describe('Create item page - List ordering: All or nothing ', () => {
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();
@@ -96,7 +104,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
96
104
  });
97
105
  };
98
106
 
99
- it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
107
+ it(`${view}: List ordering - When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed`, () => {
100
108
  if (view === 'Grading view') {
101
109
  studentViewPage.steps.submitResponse();
102
110
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -114,7 +122,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
114
122
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
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 all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
125
+ it(`${view}: List ordering - 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 all correct answers should be displayed`, () => {
118
126
  listOrderingPage.steps.clickAndReorderOptionInPreviewTab('sprout', 3);
119
127
  listOrderingPage.steps.clickAndReorderOptionInPreviewTab('flower', 0);
120
128
  if (view === 'Grading view') {
@@ -135,7 +143,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
135
143
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
136
144
  });
137
145
 
138
- it('When the user attempts the question partially correct, 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 all correct answers should be displayed', () => {
146
+ it(`${view}: List ordering - When the user attempts the question partially correct, 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 all correct answers should be displayed`, () => {
139
147
  if (view === 'Grading view') {
140
148
  studentViewPage.steps.clearResponses();
141
149
  };
@@ -159,7 +167,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
159
167
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
160
168
  });
161
169
 
162
- 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', () => {
170
+ it(`${view}: List ordering - 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`, () => {
163
171
  if (view === 'Grading view') {
164
172
  studentViewPage.steps.clearResponses();
165
173
  };
@@ -182,6 +190,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
182
190
  listOrderingPage.steps.verifyCorrectOptionIcon('flower');
183
191
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
184
192
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
193
+ cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question correctly`);
185
194
  });
186
195
  });
187
196
  });
@@ -14,8 +14,16 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
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
  views.forEach((view) => {
18
- describe(`${view}: Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
26
+ describe(`${view}: List ordering: Horizontal orientation - Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
19
27
  abortEarlySetup();
20
28
  before(() => {
21
29
  switch (view) {
@@ -66,7 +74,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
66
74
  });
67
75
  };
68
76
 
69
- it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
77
+ it(`${view}: List ordering: Horizontal orientation - When the user selects 'Grading' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed`, () => {
70
78
  if (view === 'Grading view') {
71
79
  utilities.verifyElementVisibilityState(studentViewPage.submitButton(), 'visible');
72
80
  studentViewPage.steps.submitResponse();
@@ -85,7 +93,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
85
93
  listOrderingPage.steps.verifyCorrectOptionIconsCorrectAnswerSection();
86
94
  });
87
95
 
88
- 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 all correct answers should be displayed', () => {
96
+ it(`${view}: List ordering: Horizontal orientation - 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 all correct answers should be displayed`, () => {
89
97
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('sprout', 3);
90
98
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('flower', 0);
91
99
  if (view === 'Grading view') {
@@ -106,7 +114,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
106
114
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
107
115
  });
108
116
 
109
- it('When the user attempts the question partially correct, 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 all correct answers should be displayed', () => {
117
+ it(`${view}: List ordering: Horizontal orientation - When the user attempts the question partially correct, 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 all correct answers should be displayed`, () => {
110
118
  if (view === 'Grading view') {
111
119
  studentViewPage.steps.clearResponses();
112
120
  };
@@ -132,7 +140,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
132
140
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
133
141
  });
134
142
 
135
- 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', () => {
143
+ it(`${view}: List ordering: Horizontal orientation - 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`, () => {
136
144
  if (view === 'Grading view') {
137
145
  studentViewPage.steps.clearResponses();
138
146
  };
@@ -157,6 +165,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
157
165
  listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('flower');
158
166
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
159
167
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
168
+ cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Correct attempt`);
160
169
  });
161
170
  });
162
171
  });