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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -36
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -14
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
  5. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
  6. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -18
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -16
  10. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -18
  11. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  12. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -17
  13. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -18
  14. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  15. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -16
  16. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
  17. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -16
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
  26. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -35
  28. package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
  29. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  45. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -16
  46. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +3 -12
  47. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -14
  48. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -15
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +4 -13
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -14
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -14
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
  59. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
  60. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -14
  61. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
  62. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -15
  63. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  64. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
  65. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -17
  66. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
  67. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -16
  68. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
  69. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -14
  70. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
  71. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -13
  72. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -14
  73. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
  74. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -16
  75. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
  76. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -15
  77. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -12
  78. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  79. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  80. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  81. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  82. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
  83. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  84. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  85. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  86. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  87. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  88. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  89. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  90. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  91. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  92. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -15
  93. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +4 -13
  94. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
  95. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  100. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  101. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  102. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  103. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  104. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  105. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  106. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  107. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  108. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -15
  109. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
  110. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -20
  111. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
  112. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
  113. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -15
  114. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
  115. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -15
  116. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  117. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  118. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -15
  119. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  120. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  121. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -15
  122. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +0 -10
  123. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
  124. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -15
  125. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  126. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -10
  127. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
  128. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
  129. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
  130. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -13
  131. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -14
  132. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
  133. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -13
  134. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
  135. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
  136. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -15
  137. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
  138. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
  139. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
  140. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
  141. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
  142. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
  143. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
  144. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
  145. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
  146. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
  147. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
  148. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
  149. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
  150. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
  151. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
  152. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  153. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
  154. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -24
  155. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -15
  156. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  157. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
  158. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  159. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  160. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  161. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  162. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
  163. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  164. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +12 -22
  165. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
  166. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -14
  167. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -17
  168. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -17
  169. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -12
  170. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -12
  171. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
  172. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
  173. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -17
  174. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -12
  175. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
  176. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
  177. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -19
  178. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  179. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -14
  180. package/cypress/pages/audioPlayerPage.js +4 -4
  181. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
  182. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  183. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
  184. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  185. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
  186. package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
  187. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  188. package/cypress/pages/createItemPage.js +38 -1
  189. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  190. package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
  191. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
  192. package/cypress/pages/listOrderingPage.js +1 -1
  193. package/cypress/pages/matchingPage.js +34 -7
  194. package/cypress/pages/multipleSelectionPage.js +17 -2
  195. package/cypress/pages/numberLineLabelPage.js +3 -3
  196. package/cypress/pages/readingRulerPage.js +5 -3
  197. package/cypress/pages/singleSelectionPage.js +5 -2
  198. package/cypress/pages/textEntryMathPage.js +19 -5
  199. package/cypress/pages/textSelectionPage.js +1 -1
  200. package/cypress/support/commands.js +0 -11
  201. package/cypress/support/e2e.js +0 -1
  202. package/package.json +1 -4
  203. package/cypress/e2e/applitools.config.js +0 -14
@@ -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();
78
+ textEntryMathPage.steps.clickOnAddEvaluationButton(0);
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();
93
+ textEntryMathPage.steps.clickOnAddEvaluationButton(1);
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);
108
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[4].name, 4);
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) => {
265
+ evaluationMethods.forEach((evaluationMethod, index) => {
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);
268
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethod.name, index);
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);
460
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[1].name, 1);
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);
477
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[3].name, 1);
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);
504
+ textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[6].name, 6);
505
505
  utilities.verifyCSS(textEntryMathPage.typeOfExpressionLabel(), {
506
506
  'color': css.color.labels,
507
507
  'font-size': css.fontSize.normal,
@@ -12,14 +12,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
- beforeEach(() => {
16
- cy.startApplitools();
17
- });
18
-
19
- afterEach(() => {
20
- cy.eyesClose();
21
- });
22
-
23
15
  if (!grepTags || !grepTags.includes('smoke')) {
24
16
  describe('Question preview modes: Student view and Grading view', () => {
25
17
  abortEarlySetup();
@@ -129,7 +121,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
129
121
  });
130
122
  };
131
123
 
132
- 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`, () => {
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', () => {
133
125
  if (view === 'Grading view') {
134
126
  studentViewPage.steps.submitResponse();
135
127
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -150,15 +142,15 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
150
142
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
151
143
  });
152
144
 
153
- 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`, () => {
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', () => {
154
146
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
155
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '13');
147
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '13');
156
148
  equationEditorFlyout.steps.clickOnOkButton();
157
149
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
158
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(1, '14');
150
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 1, '14');
159
151
  equationEditorFlyout.steps.clickOnOkButton();
160
152
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
161
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(2, '15');
153
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 2, '15');
162
154
  equationEditorFlyout.steps.clickOnOkButton();
163
155
  if (view === 'Grading view') {
164
156
  studentViewPage.steps.submitResponse();
@@ -170,7 +162,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
170
162
  textEntryMathWithImagePage.steps.verifyPreviewScore(0, 20);
171
163
  textEntryMathWithImagePage.steps.switchToGradingView();
172
164
  }
173
- cy.eyesCheckWindow(`TEM Image ${view} - Incorrect attempt`);
174
165
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(0);
175
166
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(1);
176
167
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(2);
@@ -181,17 +172,17 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
181
172
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
182
173
  });
183
174
 
184
- 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`, () => {
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', () => {
185
176
  if (view === 'Grading view') {
186
177
  studentViewPage.steps.clearResponses();
187
178
  }
188
179
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
189
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
180
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
190
181
  equationEditorFlyout.steps.clickOnOkButton();
191
182
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
192
183
  equationEditorFlyout.steps.enterQuadraticEquation();
193
184
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
194
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(2, '13');
185
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 2, '13');
195
186
  equationEditorFlyout.steps.clickOnOkButton();
196
187
  if (view === 'Grading view') {
197
188
  studentViewPage.steps.submitResponse();
@@ -213,12 +204,12 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
213
204
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
214
205
  });
215
206
 
216
- 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`, () => {
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', () => {
217
208
  if (view === 'Grading view') {
218
209
  studentViewPage.steps.clearResponses();
219
210
  }
220
211
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
221
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
212
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
222
213
  equationEditorFlyout.steps.clickOnOkButton();
223
214
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
224
215
  equationEditorFlyout.steps.enterQuadraticEquation();
@@ -242,12 +233,12 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
242
233
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
243
234
  });
244
235
 
245
- 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`, () => {
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', () => {
246
237
  if (view === 'Grading view') {
247
238
  studentViewPage.steps.clearResponses();
248
239
  }
249
240
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
250
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
241
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
251
242
  equationEditorFlyout.steps.clickOnOkButton();
252
243
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
253
244
  equationEditorFlyout.steps.enterQuadraticEquation();
@@ -263,7 +254,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
263
254
  textEntryMathWithImagePage.steps.verifyPreviewScore(20, 20);
264
255
  textEntryMathWithImagePage.steps.switchToGradingView();
265
256
  }
266
- cy.eyesCheckWindow(`TEM Image ${view} - Correct attempt`);
267
257
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(0);
268
258
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(1);
269
259
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(2);
@@ -12,14 +12,6 @@ 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
-
23
15
  views.forEach((view) => {
24
16
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
25
17
  abortEarlySetup();
@@ -84,6 +76,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
84
76
  utilities.verifyElementVisibilityState(textEntryMathWithImagePage.questionInstructionsText(), 'visible');
85
77
  });
86
78
 
79
+
87
80
  it('The text area should be displayed on the image canvas', () => {
88
81
  textEntryMathWithImagePage.steps.verifyTextInTextAreaPreviewTab('This is a text area');
89
82
  });
@@ -93,13 +86,13 @@ describe('Create item page - Text entry math: Preview contents', () => {
93
86
  });
94
87
 
95
88
  if (view !== 'Grading view' && view !== 'Correct answer view') {
96
- it(`Two empty response fields should be disabled ${view}`, () => {
89
+ it(`The two empty response fields should be disabled ${view}`, () => {
97
90
  utilities.verifyTextContent(textEntryMathWithImagePage.responseFieldPreviewTab(), '')
98
91
  utilities.verifyElementVisibilityState(textEntryMathWithImagePage.responseFieldPreviewTab(), 'visible');
99
92
  utilities.verifyElementCount(textEntryMathWithImagePage.responseFieldPreviewTab(), '2');
100
93
  });
101
94
 
102
- it(`TEM Image ${view} User should able to enter answers in the response fields for ${view}`, () => {
95
+ it(`User should able to enter answers in the response fields for ${view}`, () => {
103
96
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
104
97
  textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
105
98
  equationEditorFlyout.steps.clickOnOkButton();
@@ -107,17 +100,16 @@ describe('Create item page - Text entry math: Preview contents', () => {
107
100
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
108
101
  equationEditorFlyout.steps.enterQuadraticEquation();
109
102
  textEntryMathWithImagePage.steps.verifyResponseAreaContainsTextPreviewTab(1, '2x2y2+4xy+4');
110
- cy.eyesCheckWindow(`TEM Image ${view} Verify response fields with answers`);
111
103
  });
112
104
  } else if (view === 'Grading view') {
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`, () => {
105
+ it(`The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
114
106
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(0, '12');
115
107
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
116
108
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
117
109
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
118
110
  });
119
111
  } else {
120
- it(`TEM Image The responses should be displayed filled with correct answers`, () => {
112
+ it(`The response input fields should be displayed filled with correct answers`, () => {
121
113
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(0, '12');
122
114
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
123
115
  });
@@ -250,15 +250,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
250
250
  textSelectionPage.steps.switchToPreviewTab();
251
251
  });
252
252
 
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', () => {
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', () => {
262
254
  textSelectionPage.steps.verifyPreviewScore(0, 20);
263
255
  textSelectionPage.steps.switchToGradingView();
264
256
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[0]);
@@ -268,13 +260,12 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
268
260
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
269
261
  });
270
262
 
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', () => {
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', () => {
272
264
  textSelectionPage.steps.resetQuestionPreview();
273
265
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
274
266
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[3]);
275
267
  textSelectionPage.steps.verifyPreviewScore(0, 20);
276
268
  textSelectionPage.steps.switchToGradingView();
277
- cy.eyesCheckWindow('Text selection: Grading view - incorrect attempt');
278
269
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[0]);
279
270
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[1]);
280
271
  textSelectionPage.steps.verifyIncorrectIconForOption(sentenceTextArray[2]);
@@ -293,7 +284,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
293
284
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
294
285
  });
295
286
 
296
- 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', () => {
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', () => {
297
288
  textSelectionPage.steps.resetQuestionPreview();
298
289
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
299
290
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
@@ -317,13 +308,12 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
317
308
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
318
309
  });
319
310
 
320
- 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', () => {
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', () => {
321
312
  textSelectionPage.steps.resetQuestionPreview();
322
313
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
323
314
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[1]);
324
315
  textSelectionPage.steps.verifyPreviewScore(20, 20);
325
316
  textSelectionPage.steps.switchToGradingView();
326
- cy.eyesCheckWindow('Text selection: Grading view - correct attempt');
327
317
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[0]);
328
318
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[1]);
329
319
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(sentenceTextArray[2]);
@@ -57,15 +57,6 @@ 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
-
69
60
  before(() => {
70
61
  switch (view) {
71
62
  case 'Question preview':
@@ -121,7 +112,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
121
112
  });
122
113
  };
123
114
 
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`, () => {
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', () => {
125
116
  if (view === 'Grading view') {
126
117
  studentViewPage.steps.submitResponse();
127
118
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -141,8 +132,8 @@ describe('Create item page - Text selection: All or nothing ', () => {
141
132
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
142
133
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
143
134
  });
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`, () => {
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', () => {
146
137
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
147
138
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
148
139
  if (view === 'Grading view') {
@@ -162,10 +153,9 @@ describe('Create item page - Text selection: All or nothing ', () => {
162
153
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
163
154
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
164
155
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
165
- cy.eyesCheckWindow(`Text selection - ${view} - Incorrect attempt`);
166
156
  });
167
157
 
168
- 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`, () => {
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', () => {
169
159
  if (view === 'Grading view') {
170
160
  studentViewPage.steps.clearResponses();
171
161
  };
@@ -189,7 +179,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
189
179
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
190
180
  });
191
181
 
192
- 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`, () => {
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', () => {
193
183
  if (view === 'Grading view') {
194
184
  studentViewPage.steps.clearResponses();
195
185
  };
@@ -214,7 +204,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
214
204
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
215
205
  });
216
206
 
217
- 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`, () => {
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', () => {
218
208
  if (view === 'Grading view') {
219
209
  studentViewPage.steps.clearResponses();
220
210
  };
@@ -236,7 +226,6 @@ describe('Create item page - Text selection: All or nothing ', () => {
236
226
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(paragraphTextArray[3]);
237
227
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
238
228
  utilities.verifyElementVisibilityState(textSelectionPage.correctAnswerSection(), 'notExist');
239
- cy.eyesCheckWindow(`Text selection - ${view} - Correct attempt`);
240
229
  });
241
230
  });
242
231
  });
@@ -13,14 +13,6 @@ describe('Create item page - Text selection : Preview contents', () => {
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
- beforeEach(() => {
17
- cy.startApplitools();
18
- });
19
-
20
- afterEach(() => {
21
- cy.eyesClose();
22
- });
23
-
24
16
  views.forEach((view) => {
25
17
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
26
18
  abortEarlySetup();
@@ -90,13 +82,12 @@ describe('Create item page - Text selection : Preview contents', () => {
90
82
  });
91
83
  });
92
84
 
93
- it(`Text selection - ${view} - The text which is not available as option should not be interactive in preview tab`, () => {
85
+ it('The text which is not available as option should not be interactive in preview tab', () => {
94
86
  textSelectionPage.steps.verifyNonOptionTextIsNotInteractiveInPreviewTab(paragraphTextArray[3]);
95
- cy.eyesCheckWindow(`Text selection - ${view} - Default state`);
96
87
  });
97
88
 
98
89
  if (view !== 'Grading view' && view !== 'Correct answer view') {
99
- 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', () => {
100
91
  for (let index = 0; index < 3; index++) {
101
92
  utilities.verifyInnerText(utilities.getNthElement(textSelectionPage.optionPreviewTab(), index), paragraphTextArray[index]);
102
93
  utilities.verifyElementVisibilityState(utilities.getNthElement(textSelectionPage.optionPreviewTab(), index), 'visible');
@@ -105,34 +96,34 @@ describe('Create item page - Text selection : Preview contents', () => {
105
96
  utilities.verifyElementCount(textSelectionPage.optionPreviewTab(), 3);
106
97
  });
107
98
 
108
- 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', () => {
109
100
  for (let index = 0; index < 3; index++) {
110
101
  textSelectionPage.steps.verifyHoverStateOfOptionInPreviewTab(paragraphTextArray[index], "blue");
111
102
  };
112
103
  });
113
104
 
114
- 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', () => {
115
106
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
116
107
  textSelectionPage.steps.verifySelectedStateOptionInPreviewTab(paragraphTextArray[0], "blue");
117
108
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
118
109
  textSelectionPage.steps.verifySelectedStateOptionInPreviewTab(paragraphTextArray[1], "blue");
119
110
  });
120
111
 
121
- 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', () => {
122
113
  textSelectionPage.steps.deselectOptionInPreviewTab(paragraphTextArray[0]);
123
114
  textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[0]);
124
115
  });
125
116
  } else if (view === 'Grading view') {
126
- 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', () => {
127
118
  textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[1]);
128
119
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
129
120
  });
130
121
 
131
- it(`The submitted answer options should not be editable`, () => {
122
+ it('The submitted answer options should not be editable', () => {
132
123
  textSelectionPage.steps.verifyAnswerSectionNotEditableInPreviewTab();
133
124
  });
134
125
  } else {
135
- 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', () => {
136
127
  for (let index = 0; index < 2; index++) {
137
128
  textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[index]);
138
129
  };
@@ -12,14 +12,6 @@ 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
-
23
15
  //failing in student view due to https://redmine.zeuslearning.com/issues/568592
24
16
  views.forEach((view) => {
25
17
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
@@ -68,7 +60,7 @@ describe('Preview tab contents for all views', () => {
68
60
  }
69
61
  });
70
62
 
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`, () => {
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', () => {
72
64
  utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'visible');
73
65
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'visible');
74
66
  utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'visible');
@@ -80,7 +72,6 @@ describe('Preview tab contents for all views', () => {
80
72
  utilities.verifyInnerText(audioPlayerPage.playbackTotalTime(), '00:00');
81
73
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackSpeedButton(), 'visible');
82
74
  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`);
84
75
  });
85
76
 
86
77
  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.', () => {
@@ -97,7 +88,7 @@ describe('Preview tab contents for all views', () => {
97
88
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'notExist');
98
89
  });
99
90
 
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.`, () => {
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.', () => {
101
92
  audioPlayerPage.steps.startPlayback();
102
93
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'visible');
103
94
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'notExist');
@@ -109,7 +100,7 @@ describe('Preview tab contents for all views', () => {
109
100
  audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
110
101
  });
111
102
 
112
- it(`${view} view - Tool audio player: When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button`, () => {
103
+ it('When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button', () => {
113
104
  audioPlayerPage.steps.verifyAudioPlaybackTimer('00:45', '00:45');
114
105
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'visible');
115
106
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'notExist');
@@ -15,21 +15,13 @@ 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
-
26
18
  views.forEach((view) => {
27
19
  describe(`Preview tab contents : Single tool selected - ${view}`, { tags: 'smoke' }, () => {
28
20
  abortEarlySetup();
29
21
  before(() => {
30
22
  switch (view) {
31
23
  case 'Question preview':
32
- cy.log('Navigating to multiple selection response question type');
24
+ cy.log('Navigating to short text response question type');
33
25
  multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection');
34
26
  cy.barsPreLoaderWait();
35
27
  multipleSelectionPage.steps.addTextInQuestionInstructionsInputField('Text');
@@ -82,7 +74,7 @@ describe('Tool settings content for all views', () => {
82
74
  rulerPage.steps.verifyRulerNotVisible();
83
75
  });
84
76
 
85
- it(`When user clicks on 'Show ruler' button in ${view}, then ruler should be displayed and its button should change to 'Hide ruler'`, () => {
77
+ it('When user clicks on \'Show ruler\' button, then ruler should be displayed and its button should change to \'Hide ruler\'', () => {
86
78
  rulerPage.steps.clickOnRulerVisibilityButton();
87
79
  rulerPage.steps.verifyRulerVisible();
88
80
  rulerPage.steps.verifyPreviewTabRulerVisibilityButtonLabel('Hide');
@@ -185,10 +177,9 @@ describe('Tool settings content for all views', () => {
185
177
  protractorPage.steps.verifyPreviewTabProtractorVisibilityButtonLabel('Hide');
186
178
  });
187
179
 
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`, () => {
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', () => {
189
181
  rulerPage.steps.verifyRulerVisible();
190
182
  protractorPage.steps.verifyProtractorVisibleInPreviewTab();
191
- cy.eyesCheckWindow(`${view} - Protractor and Ruler visibility`);
192
183
  });
193
184
 
194
185
  it('CSS of the \'Hide ruler\' and \'Hide protractor\' button', { tags: 'css' }, () => {
@@ -12,14 +12,6 @@ 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
-
23
15
  if (views.includes('Grading view')) {
24
16
  describe('Grading view contents', { tags: 'smoke' }, () => {
25
17
  abortEarlySetup();
@@ -58,7 +50,6 @@ describe('Create item page - Upload response: Grading view, Correct answer view
58
50
 
59
51
  it('Empty score input field and total score should be displayed', () => {
60
52
  gradingViewPage.steps.verifyGradingViewScore('', 10);
61
- cy.eyesCheckWindow('Grading view - Uploaded file and score');
62
53
  });
63
54
 
64
55
  it('Accessibility of uploaded file', { tags: 'a11y' }, () => {
@@ -67,7 +58,7 @@ describe('Create item page - Upload response: Grading view, Correct answer view
67
58
 
68
59
  //Adding skip as this does not work on spinnaker
69
60
  it.skip('On clicking on the file name, user should be able to download the file', () => {
70
- cy.verifyUploadFilePreviewDownload('highlightImage.jpg');
61
+ cy.verifyUploadFilePreviewDownload('highlightImage.jpg');
71
62
  });
72
63
  });
73
64
  }
@@ -99,7 +90,6 @@ describe('Create item page - Upload response: Grading view, Correct answer view
99
90
  it('\'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
100
91
  utilities.verifyTextContent(correctAnswerViewPage.manualScoredQuestionHelpText(), 'This is a manual scored question.');
101
92
  utilities.verifyElementVisibilityState(correctAnswerViewPage.manualScoredQuestionHelpText(), 'visible');
102
- cy.eyesCheckWindow('Grading view - question instructions and help text');
103
93
  });
104
94
 
105
95
  it('The points alloted to the question should be displayed', () => {