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
@@ -75,7 +75,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
75
75
  });
76
76
 
77
77
  it('When user clicks on \'Add evaluation\' button, then a tab \'Evaluation 2\' should be added in the response accordion', () => {
78
- textEntryMathPage.steps.clickOnAddEvaluationButton(0);
78
+ textEntryMathPage.steps.clickOnAddEvaluationButton();
79
79
  utilities.verifyInnerText(utilities.getNthElement(textEntryMathPage.evaluationTab(), 1), 'Evaluation 2');
80
80
  utilities.verifyElementCount(textEntryMathPage.evaluationTab(), 2);
81
81
  utilities.verifyElementVisibilityState(utilities.getNthElement(textEntryMathPage.evaluationTab(), 1), 'visible');
@@ -90,7 +90,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
90
90
  textEntryMathPage.tests.verifyEvaluationTabEvaluationMethodContainers();
91
91
 
92
92
  it('User should be able to add another evaluation method for the response using \'Add evaluation\' button and the name for this new evaluation tab should be \'Evaluation 3\'', () => {
93
- textEntryMathPage.steps.clickOnAddEvaluationButton(1);
93
+ textEntryMathPage.steps.clickOnAddEvaluationButton();
94
94
  utilities.verifyInnerText(utilities.getNthElement(textEntryMathPage.evaluationTab(), 2), 'Evaluation 3');
95
95
  utilities.verifyElementCount(textEntryMathPage.evaluationTab(), 3);
96
96
  });
@@ -105,7 +105,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
105
105
 
106
106
  it('When user selects a new evaluation method in \'Evaluation 2\' tab and switches to \'Evaluation 1\' tab then in \'Evaluation 1\' tab the previously selected evaluation method should persist', () => {
107
107
  textEntryMathPage.steps.navigateToEvaluationTab(1);
108
- textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[4].name, 4);
108
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[4].name);
109
109
  textEntryMathPage.steps.navigateToEvaluationTab(0);
110
110
  textEntryMathPage.steps.verifyEvaluationMethodActiveState(evaluationMethods[1].name);
111
111
  });
@@ -262,10 +262,10 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
262
262
  textEntryMathPage.steps.verifyCustomSettingsAccordionIsCollapsed();
263
263
  });
264
264
 
265
- evaluationMethods.forEach((evaluationMethod, index) => {
265
+ evaluationMethods.forEach((evaluationMethod) => {
266
266
  it(`When user clicks on the custom settings accordion for ${evaluationMethod.name}, then the custom settings accordion should be expanded`, () => {
267
267
  cy.log(`Pre-step: Selecting ${evaluationMethod.name} evaluation method`);
268
- textEntryMathPage.steps.selectEvaluationMethod(evaluationMethod.name, index);
268
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethod.name);
269
269
  textEntryMathPage.steps.clickOnCustomSettingsAccordion();
270
270
  textEntryMathPage.steps.verifyCustomSettingsAccordionIsExpanded();
271
271
  });
@@ -457,7 +457,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
457
457
  'fill': css.color.activeButtons
458
458
  });
459
459
  cy.log('Pre-step: Selecting \'Value is equivalent\' evaluation method');
460
- textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[1].name, 1);
460
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[1].name);
461
461
  utilities.verifyCSS(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.caseSensitive).find('[class*="MuiFormControlLabel-label"]'), {
462
462
  'color': css.color.checkboxLabel,
463
463
  'font-size': css.fontSize.normal,
@@ -474,7 +474,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
474
474
  'font-weight': css.fontWeight.regular,
475
475
  });
476
476
  cy.log('Pre-step: Selecting \'Equivalent structure\' evaluation method');
477
- textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[3].name, 1);
477
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[3].name);
478
478
  utilities.verifyCSS(textEntryMathPage.syntaxLabel(), {
479
479
  'color': css.color.labels,
480
480
  'font-size': css.fontSize.normal,
@@ -501,7 +501,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
501
501
  cy.log('Post-step: Collapse dropdown');
502
502
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Number');
503
503
  cy.log('Pre-step: Selecting \'Factored form\' evaluation method');
504
- textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[6].name, 6);
504
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[6].name);
505
505
  utilities.verifyCSS(textEntryMathPage.typeOfExpressionLabel(), {
506
506
  'color': css.color.labels,
507
507
  'font-size': css.fontSize.normal,
@@ -46,7 +46,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
46
46
 
47
47
  it('When the user attempts question in preview tab and switches to edit tab, then on re-switching to the preview tab, users response should not persist', () => {
48
48
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
49
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
49
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
50
50
  equationEditorFlyout.steps.clickOnOkButton();
51
51
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
52
52
  equationEditorFlyout.steps.enterQuadraticEquation();
@@ -121,7 +121,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
121
121
  });
122
122
  };
123
123
 
124
- it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed', () => {
124
+ it(`TEM Image ${view} - When the user selects 'Grading' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
125
125
  if (view === 'Grading view') {
126
126
  studentViewPage.steps.submitResponse();
127
127
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -142,15 +142,15 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
142
142
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
143
143
  });
144
144
 
145
- 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, and \'Your answer is incorrect\' label should be displayed', () => {
145
+ it(`TEM Image ${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, and 'Your answer is incorrect' label should be displayed`, () => {
146
146
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
147
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '13');
147
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '13');
148
148
  equationEditorFlyout.steps.clickOnOkButton();
149
149
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
150
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 1, '14');
150
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(1, '14');
151
151
  equationEditorFlyout.steps.clickOnOkButton();
152
152
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
153
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 2, '15');
153
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(2, '15');
154
154
  equationEditorFlyout.steps.clickOnOkButton();
155
155
  if (view === 'Grading view') {
156
156
  studentViewPage.steps.submitResponse();
@@ -172,17 +172,17 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
172
172
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
173
173
  });
174
174
 
175
- it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
175
+ it(`TEM Image ${view} - When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to 'Grading' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and 'Your answer is incorrect' label should be displayed`, () => {
176
176
  if (view === 'Grading view') {
177
177
  studentViewPage.steps.clearResponses();
178
178
  }
179
179
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
180
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
180
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
181
181
  equationEditorFlyout.steps.clickOnOkButton();
182
182
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
183
183
  equationEditorFlyout.steps.enterQuadraticEquation();
184
184
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
185
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 2, '13');
185
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(2, '13');
186
186
  equationEditorFlyout.steps.clickOnOkButton();
187
187
  if (view === 'Grading view') {
188
188
  studentViewPage.steps.submitResponse();
@@ -204,12 +204,12 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
204
204
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
205
205
  });
206
206
 
207
- it('When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed', () => {
207
+ it(`TEM Image ${view} - When the user attempts the question partially correct with an incomplete response, then the user should be awarded 0 points and on switching to 'Grading' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, 'Your answer is incorrect' should be displayed`, () => {
208
208
  if (view === 'Grading view') {
209
209
  studentViewPage.steps.clearResponses();
210
210
  }
211
211
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
212
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
212
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
213
213
  equationEditorFlyout.steps.clickOnOkButton();
214
214
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
215
215
  equationEditorFlyout.steps.enterQuadraticEquation();
@@ -233,12 +233,12 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
233
233
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
234
234
  });
235
235
 
236
- 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, and \'Your answer is correct\' should be displayed', () => {
236
+ it(`TEM Image ${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, and 'Your answer is correct' should be displayed`, () => {
237
237
  if (view === 'Grading view') {
238
238
  studentViewPage.steps.clearResponses();
239
239
  }
240
240
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
241
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
241
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
242
242
  equationEditorFlyout.steps.clickOnOkButton();
243
243
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
244
244
  equationEditorFlyout.steps.enterQuadraticEquation();
@@ -303,10 +303,10 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
303
303
  it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
304
304
  textEntryMathWithImagePage.steps.resetQuestionPreview();
305
305
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
306
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '13');
306
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '13');
307
307
  equationEditorFlyout.steps.clickOnOkButton();
308
308
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
309
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 1, '13');
309
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(1, '13');
310
310
  equationEditorFlyout.steps.clickOnOkButton();
311
311
  textEntryMathWithImagePage.steps.verifyPreviewScore(2, 20);
312
312
  textEntryMathWithImagePage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -326,10 +326,10 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
326
326
  it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
327
327
  textEntryMathWithImagePage.steps.resetQuestionPreview();
328
328
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
329
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '13');
329
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '13');
330
330
  equationEditorFlyout.steps.clickOnOkButton();
331
331
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
332
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 1, '14');
332
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(1, '14');
333
333
  equationEditorFlyout.steps.clickOnOkButton();
334
334
  textEntryMathWithImagePage.steps.verifyPreviewScore(2, 20);
335
335
  });
@@ -12,6 +12,14 @@ describe('Create item page - Text entry math: 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();
@@ -76,7 +84,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
76
84
  utilities.verifyElementVisibilityState(textEntryMathWithImagePage.questionInstructionsText(), 'visible');
77
85
  });
78
86
 
79
-
80
87
  it('The text area should be displayed on the image canvas', () => {
81
88
  textEntryMathWithImagePage.steps.verifyTextInTextAreaPreviewTab('This is a text area');
82
89
  });
@@ -86,13 +93,13 @@ describe('Create item page - Text entry math: Preview contents', () => {
86
93
  });
87
94
 
88
95
  if (view !== 'Grading view' && view !== 'Correct answer view') {
89
- it(`The two empty response fields should be disabled ${view}`, () => {
96
+ it(`Two empty response fields should be disabled ${view}`, () => {
90
97
  utilities.verifyTextContent(textEntryMathWithImagePage.responseFieldPreviewTab(), '')
91
98
  utilities.verifyElementVisibilityState(textEntryMathWithImagePage.responseFieldPreviewTab(), 'visible');
92
99
  utilities.verifyElementCount(textEntryMathWithImagePage.responseFieldPreviewTab(), '2');
93
100
  });
94
101
 
95
- it(`User should able to enter answers in the response fields for ${view}`, () => {
102
+ it(`TEM Image ${view} User should able to enter answers in the response fields for ${view}`, () => {
96
103
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
97
104
  textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
98
105
  equationEditorFlyout.steps.clickOnOkButton();
@@ -100,16 +107,17 @@ describe('Create item page - Text entry math: Preview contents', () => {
100
107
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
101
108
  equationEditorFlyout.steps.enterQuadraticEquation();
102
109
  textEntryMathWithImagePage.steps.verifyResponseAreaContainsTextPreviewTab(1, '2x2y2+4xy+4');
110
+ cy.eyesCheckWindow(`TEM Image ${view} Verify response fields with answers`);
103
111
  });
104
112
  } else if (view === 'Grading view') {
105
- it(`The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
113
+ it(`TEM Image The response fields should be filled with the submitted responses and user should not be able to edit them in the grading view`, () => {
106
114
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(0, '12');
107
115
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
108
116
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
109
117
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
110
118
  });
111
119
  } else {
112
- it(`The response input fields should be displayed filled with correct answers`, () => {
120
+ it(`TEM Image The responses should be displayed filled with correct answers`, () => {
113
121
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(0, '12');
114
122
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
115
123
  });
@@ -250,7 +250,15 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
250
250
  textSelectionPage.steps.switchToPreviewTab();
251
251
  });
252
252
 
253
- it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
253
+ beforeEach(() => {
254
+ cy.startApplitools();
255
+ });
256
+
257
+ afterEach(() => {
258
+ cy.eyesClose();
259
+ });
260
+
261
+ it('Text selection: When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
254
262
  textSelectionPage.steps.verifyPreviewScore(0, 20);
255
263
  textSelectionPage.steps.switchToGradingView();
256
264
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[0]);
@@ -260,7 +268,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
260
268
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
261
269
  });
262
270
 
263
- 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', () => {
271
+ it('Text selection: 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', () => {
264
272
  textSelectionPage.steps.resetQuestionPreview();
265
273
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
266
274
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[3]);
@@ -284,7 +292,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
284
292
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
285
293
  });
286
294
 
287
- it('When the user attempts the question partially correct with some correct and some incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
295
+ it('Text selection: When the user attempts the question partially correct with some correct and some incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
288
296
  textSelectionPage.steps.resetQuestionPreview();
289
297
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
290
298
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
@@ -308,12 +316,13 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
308
316
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
309
317
  });
310
318
 
311
- it('When the user attempts the question correctly then the user should be awarded full 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 correct\' should be displayed and correct answer section should not be displayed', () => {
319
+ it('Text selection: When the user attempts the question correctly then the user should be awarded full 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 correct\' should be displayed and correct answer section should not be displayed', () => {
312
320
  textSelectionPage.steps.resetQuestionPreview();
313
321
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
314
322
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[1]);
315
323
  textSelectionPage.steps.verifyPreviewScore(20, 20);
316
324
  textSelectionPage.steps.switchToGradingView();
325
+ cy.eyesCheckWindow('Text selection: Grading view - correct attempt');
317
326
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[0]);
318
327
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[1]);
319
328
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(sentenceTextArray[2]);
@@ -57,6 +57,15 @@ describe('Create item page - Text selection: All or nothing ', () => {
57
57
  views.forEach((view) => {
58
58
  describe(`${view}: Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
59
59
  abortEarlySetup();
60
+
61
+ beforeEach(() => {
62
+ cy.startApplitools();
63
+ });
64
+
65
+ afterEach(() => {
66
+ cy.eyesClose();
67
+ });
68
+
60
69
  before(() => {
61
70
  switch (view) {
62
71
  case 'Question preview':
@@ -112,7 +121,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
112
121
  });
113
122
  };
114
123
 
115
- it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
124
+ it(`Text selection - ${view} - When the user selects 'Grading' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers`, () => {
116
125
  if (view === 'Grading view') {
117
126
  studentViewPage.steps.submitResponse();
118
127
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -132,8 +141,8 @@ describe('Create item page - Text selection: All or nothing ', () => {
132
141
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
133
142
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
134
143
  });
135
-
136
- 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', () => {
144
+
145
+ it(`Text 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 all incorrect responses, a status message with text 'Your answer is incorrect' and correct answer section with all correct answers should be displayed`, () => {
137
146
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
138
147
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
139
148
  if (view === 'Grading view') {
@@ -155,7 +164,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
155
164
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
156
165
  });
157
166
 
158
- it('When the user attempts the question partially correct with some correct then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
167
+ it(`Text selection - ${view} - When the user attempts the question partially correct with some correct then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer response, a status message with text 'Your answer is incorrect' and correct answer section with all correct answers should be displayed`, () => {
159
168
  if (view === 'Grading view') {
160
169
  studentViewPage.steps.clearResponses();
161
170
  };
@@ -179,7 +188,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
179
188
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
180
189
  });
181
190
 
182
- it('When the user attempts the question partially correct with some correct and some incorrect answers then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
191
+ it(`Text selection - ${view} - When the user attempts the question partially correct with some correct and some incorrect answers then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response a status message with text 'Your answer is incorrect' and correct answer section with all correct answers should be displayed`, () => {
183
192
  if (view === 'Grading view') {
184
193
  studentViewPage.steps.clearResponses();
185
194
  };
@@ -204,7 +213,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
204
213
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
205
214
  });
206
215
 
207
- it('When the user attempts the question correct then the user should be awarded full 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 correct\' should be displayed and correct answer section should not be displayed', () => {
216
+ it(`Text selection - ${view} - When the user attempts the question correct then the user should be awarded full 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 correct' should be displayed and correct answer section should not be displayed`, () => {
208
217
  if (view === 'Grading view') {
209
218
  studentViewPage.steps.clearResponses();
210
219
  };
@@ -226,6 +235,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
226
235
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(paragraphTextArray[3]);
227
236
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
228
237
  utilities.verifyElementVisibilityState(textSelectionPage.correctAnswerSection(), 'notExist');
238
+ cy.eyesCheckWindow(`Text selection - ${view} - Correct attempt`);
229
239
  });
230
240
  });
231
241
  });
@@ -82,12 +82,12 @@ describe('Create item page - Text selection : Preview contents', () => {
82
82
  });
83
83
  });
84
84
 
85
- it('The text which is not available as option should not be interactive in preview tab', () => {
85
+ it(`Text selection - ${view} - The text which is not available as option should not be interactive in preview tab`, () => {
86
86
  textSelectionPage.steps.verifyNonOptionTextIsNotInteractiveInPreviewTab(paragraphTextArray[3]);
87
87
  });
88
88
 
89
89
  if (view !== 'Grading view' && view !== 'Correct answer view') {
90
- it('The selected options in specify possible options section should be displayed and by default all options should not be selected', () => {
90
+ it(`The selected options in specify possible options section should be displayed and by default all options should not be selected`, () => {
91
91
  for (let index = 0; index < 3; index++) {
92
92
  utilities.verifyInnerText(utilities.getNthElement(textSelectionPage.optionPreviewTab(), index), paragraphTextArray[index]);
93
93
  utilities.verifyElementVisibilityState(utilities.getNthElement(textSelectionPage.optionPreviewTab(), index), 'visible');
@@ -96,34 +96,34 @@ describe('Create item page - Text selection : Preview contents', () => {
96
96
  utilities.verifyElementCount(textSelectionPage.optionPreviewTab(), 3);
97
97
  });
98
98
 
99
- it('When user hovers on the available options, then those options should be displayed in hover state highlight', () => {
99
+ it(`When user hovers on the available options, then those options should be displayed in hover state highlight`, () => {
100
100
  for (let index = 0; index < 3; index++) {
101
101
  textSelectionPage.steps.verifyHoverStateOfOptionInPreviewTab(paragraphTextArray[index], "blue");
102
102
  };
103
103
  });
104
104
 
105
- it('When user selects an option, then that option should be displayed in selected state', () => {
105
+ it(`When user selects an option, then that option should be displayed in selected state`, () => {
106
106
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
107
107
  textSelectionPage.steps.verifySelectedStateOptionInPreviewTab(paragraphTextArray[0], "blue");
108
108
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
109
109
  textSelectionPage.steps.verifySelectedStateOptionInPreviewTab(paragraphTextArray[1], "blue");
110
110
  });
111
111
 
112
- it('When user clicks on a selected option, then that option should be deselected', () => {
112
+ it(`When user clicks on a selected option, then that option should be deselected`, () => {
113
113
  textSelectionPage.steps.deselectOptionInPreviewTab(paragraphTextArray[0]);
114
114
  textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[0]);
115
115
  });
116
116
  } else if (view === 'Grading view') {
117
- it('The question text should be displayed with the selected correct options and status message \' Your answer is incorrect\' should be displayed', () => {
117
+ it(`The question text should be displayed with the selected correct options and status message 'Your answer is incorrect' should be displayed`, () => {
118
118
  textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[1]);
119
119
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
120
120
  });
121
121
 
122
- it('The submitted answer options should not be editable', () => {
122
+ it(`The submitted answer options should not be editable`, () => {
123
123
  textSelectionPage.steps.verifyAnswerSectionNotEditableInPreviewTab();
124
124
  });
125
125
  } else {
126
- it('The question text should be displayed with the selected correct options', () => {
126
+ it(`The question text should be displayed with the selected correct options`, () => {
127
127
  for (let index = 0; index < 2; index++) {
128
128
  textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[index]);
129
129
  };
@@ -12,6 +12,14 @@ describe('Preview tab contents for all views', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
+ beforeEach(() => {
16
+ cy.startApplitools();
17
+ });
18
+
19
+ afterEach(() => {
20
+ cy.eyesClose();
21
+ });
22
+
15
23
  //failing in student view due to https://redmine.zeuslearning.com/issues/568592
16
24
  views.forEach((view) => {
17
25
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
@@ -60,7 +68,7 @@ describe('Preview tab contents for all views', () => {
60
68
  }
61
69
  });
62
70
 
63
- it('When the user switches to preview tab, \'Backward\', \'Play\', \'Forward\', \'Volume control\', \'Elapsed time\', \'Progress bar\', \'Total time\', \'Playback speed\' and \'Add pin\' buttons should be displayed', () => {
71
+ it(`${view} view - Tool audio player: When the user switches to preview tab, \'Backward\', \'Play\', \'Forward\', \'Volume control\', \'Elapsed time\', \'Progress bar\', \'Total time\', \'Playback speed\' and \'Add pin\' buttons should be displayed`, () => {
64
72
  utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'visible');
65
73
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'visible');
66
74
  utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'visible');
@@ -72,6 +80,7 @@ describe('Preview tab contents for all views', () => {
72
80
  utilities.verifyInnerText(audioPlayerPage.playbackTotalTime(), '00:00');
73
81
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackSpeedButton(), 'visible');
74
82
  utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'visible');
83
+ cy.eyesCheckWindow(`${view} view - Tool audio player: Backward, Play, Forward, Volume control, Elapsed time, Progress bar, Total time, Playback speed and Add pin buttons`);
75
84
  });
76
85
 
77
86
  it('When the user clicks on \'Play\' button, then the audio file should load and the user should be able to play the audio. Timer should display the amount of audio that has been played and the total audio length in (mm:ss)/(mm:ss) format.', () => {
@@ -88,7 +97,7 @@ describe('Preview tab contents for all views', () => {
88
97
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'notExist');
89
98
  });
90
99
 
91
- it('When audio player is in paused state and user clicks on \'Play\' button, then playback should get resumed and \'Play\' button should get replaced with \'Pause\' button.', () => {
100
+ it(`${view} view - Tool audio player: When audio player is in paused state and user clicks on \'Play\' button, then playback should get resumed and \'Play\' button should get replaced with \'Pause\' button.`, () => {
92
101
  audioPlayerPage.steps.startPlayback();
93
102
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'visible');
94
103
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'notExist');
@@ -100,7 +109,7 @@ describe('Preview tab contents for all views', () => {
100
109
  audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
101
110
  });
102
111
 
103
- it('When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button', () => {
112
+ it(`${view} view - Tool audio player: When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button`, () => {
104
113
  audioPlayerPage.steps.verifyAudioPlaybackTimer('00:45', '00:45');
105
114
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'visible');
106
115
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'notExist');
@@ -15,13 +15,21 @@ describe('Tool settings content for 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 : Single tool selected - ${view}`, { tags: 'smoke' }, () => {
20
28
  abortEarlySetup();
21
29
  before(() => {
22
30
  switch (view) {
23
31
  case 'Question preview':
24
- cy.log('Navigating to short text response question type');
32
+ cy.log('Navigating to multiple selection response question type');
25
33
  multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection');
26
34
  cy.barsPreLoaderWait();
27
35
  multipleSelectionPage.steps.addTextInQuestionInstructionsInputField('Text');
@@ -74,7 +82,7 @@ describe('Tool settings content for all views', () => {
74
82
  rulerPage.steps.verifyRulerNotVisible();
75
83
  });
76
84
 
77
- it('When user clicks on \'Show ruler\' button, then ruler should be displayed and its button should change to \'Hide ruler\'', () => {
85
+ it(`When user clicks on 'Show ruler' button in ${view}, then ruler should be displayed and its button should change to 'Hide ruler'`, () => {
78
86
  rulerPage.steps.clickOnRulerVisibilityButton();
79
87
  rulerPage.steps.verifyRulerVisible();
80
88
  rulerPage.steps.verifyPreviewTabRulerVisibilityButtonLabel('Hide');
@@ -177,9 +185,10 @@ describe('Tool settings content for all views', () => {
177
185
  protractorPage.steps.verifyPreviewTabProtractorVisibilityButtonLabel('Hide');
178
186
  });
179
187
 
180
- it('When user has clicked visibility buttons for both the ruler and protractor tools, both tools should be displayed simultaneously in the preview tab', () => {
188
+ it(`When user has clicked visibility buttons for both the ruler and protractor tools in ${view}, both tools should be displayed simultaneously in the preview tab`, () => {
181
189
  rulerPage.steps.verifyRulerVisible();
182
190
  protractorPage.steps.verifyProtractorVisibleInPreviewTab();
191
+ cy.eyesCheckWindow(`${view} - Protractor and Ruler visibility`);
183
192
  });
184
193
 
185
194
  it('CSS of the \'Hide ruler\' and \'Hide protractor\' button', { tags: 'css' }, () => {
@@ -12,6 +12,14 @@ describe('Create item page - Upload response: Grading view, Correct answer view
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 (views.includes('Grading view')) {
16
24
  describe('Grading view contents', { tags: 'smoke' }, () => {
17
25
  abortEarlySetup();
@@ -50,6 +58,7 @@ describe('Create item page - Upload response: Grading view, Correct answer view
50
58
 
51
59
  it('Empty score input field and total score should be displayed', () => {
52
60
  gradingViewPage.steps.verifyGradingViewScore('', 10);
61
+ cy.eyesCheckWindow('Grading view - Uploaded file and score');
53
62
  });
54
63
 
55
64
  it('Accessibility of uploaded file', { tags: 'a11y' }, () => {
@@ -58,7 +67,7 @@ describe('Create item page - Upload response: Grading view, Correct answer view
58
67
 
59
68
  //Adding skip as this does not work on spinnaker
60
69
  it.skip('On clicking on the file name, user should be able to download the file', () => {
61
- cy.verifyUploadFilePreviewDownload('highlightImage.jpg');
70
+ cy.verifyUploadFilePreviewDownload('highlightImage.jpg');
62
71
  });
63
72
  });
64
73
  }
@@ -90,6 +99,7 @@ describe('Create item page - Upload response: Grading view, Correct answer view
90
99
  it('\'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
91
100
  utilities.verifyTextContent(correctAnswerViewPage.manualScoredQuestionHelpText(), 'This is a manual scored question.');
92
101
  utilities.verifyElementVisibilityState(correctAnswerViewPage.manualScoredQuestionHelpText(), 'visible');
102
+ cy.eyesCheckWindow('Grading view - question instructions and help text');
93
103
  });
94
104
 
95
105
  it('The points alloted to the question should be displayed', () => {