itemengine-cypress-automation 1.0.284-applitools-38637bb.0 → 1.0.285

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. package/cypress/e2e/Gzip/gzip.js +7 -7
  2. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -36
  3. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -14
  4. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  5. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
  6. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
  7. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -17
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  10. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -14
  11. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -17
  12. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  13. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -15
  14. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -17
  15. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  16. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -14
  17. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
  18. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
  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 +7 -6
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -15
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  28. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -35
  29. package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
  30. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
  31. package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +1 -0
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  45. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  46. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  47. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -15
  48. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -13
  49. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -13
  50. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -14
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +5 -14
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -13
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -13
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
  61. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
  62. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -13
  63. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
  64. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -14
  65. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  66. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
  67. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -16
  68. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
  69. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -15
  70. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
  71. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -13
  72. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
  73. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -11
  74. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -13
  75. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -14
  76. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
  77. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
  78. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -14
  79. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -12
  80. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  81. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  82. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  83. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  84. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
  85. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  86. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  87. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  88. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  89. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  90. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  91. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  92. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  93. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  94. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -14
  95. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +6 -14
  96. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  100. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
  101. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  102. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  103. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  104. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  105. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  106. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  107. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  108. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  109. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  110. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -14
  111. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
  112. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -19
  113. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
  114. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
  115. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
  116. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
  117. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -14
  118. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  119. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  120. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +6 -14
  121. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  122. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  123. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +6 -14
  124. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +1 -10
  125. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
  126. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  127. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  128. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  129. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
  130. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
  131. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
  132. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -12
  133. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +16 -0
  134. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -14
  135. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
  136. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -12
  137. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
  138. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
  139. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
  140. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
  141. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
  142. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
  143. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
  144. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
  145. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
  146. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
  147. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
  148. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
  149. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
  150. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
  151. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
  152. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
  153. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
  154. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
  155. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  156. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
  157. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -23
  158. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -5
  159. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  160. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
  161. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  162. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  163. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -2
  164. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  165. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
  166. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  167. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  168. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
  169. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -13
  170. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -16
  171. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  172. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -12
  173. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -12
  174. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
  175. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
  176. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -16
  177. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  178. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
  179. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
  180. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -18
  181. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  182. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -13
  183. package/cypress/pages/audioPlayerPage.js +4 -4
  184. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
  185. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  186. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
  187. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  188. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
  189. package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
  190. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  191. package/cypress/pages/createItemPage.js +38 -1
  192. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  193. package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
  194. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
  195. package/cypress/pages/graphingPage.js +3 -0
  196. package/cypress/pages/listOrderingPage.js +1 -1
  197. package/cypress/pages/matchingPage.js +34 -7
  198. package/cypress/pages/multipleSelectionPage.js +17 -2
  199. package/cypress/pages/numberLineLabelPage.js +3 -3
  200. package/cypress/pages/readingRulerPage.js +5 -3
  201. package/cypress/pages/singleSelectionPage.js +5 -2
  202. package/cypress/pages/studentViewPage.js +4 -4
  203. package/cypress/pages/textEntryMathPage.js +19 -5
  204. package/cypress/pages/textSelectionPage.js +1 -1
  205. package/cypress/support/commands.js +0 -11
  206. package/cypress/support/e2e.js +0 -1
  207. package/package.json +1 -4
  208. 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,
@@ -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(`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', () => {
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(`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', () => {
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(`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', () => {
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(`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', () => {
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(`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', () => {
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,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,7 +260,7 @@ 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]);
@@ -292,7 +284,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
292
284
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
293
285
  });
294
286
 
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', () => {
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', () => {
296
288
  textSelectionPage.steps.resetQuestionPreview();
297
289
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
298
290
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
@@ -316,13 +308,12 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
316
308
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
317
309
  });
318
310
 
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', () => {
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', () => {
320
312
  textSelectionPage.steps.resetQuestionPreview();
321
313
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
322
314
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[1]);
323
315
  textSelectionPage.steps.verifyPreviewScore(20, 20);
324
316
  textSelectionPage.steps.switchToGradingView();
325
- cy.eyesCheckWindow('Text selection: Grading view - correct attempt');
326
317
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[0]);
327
318
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[1]);
328
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') {
@@ -164,7 +155,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
164
155
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
165
156
  });
166
157
 
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`, () => {
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', () => {
168
159
  if (view === 'Grading view') {
169
160
  studentViewPage.steps.clearResponses();
170
161
  };
@@ -188,7 +179,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
188
179
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
189
180
  });
190
181
 
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`, () => {
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', () => {
192
183
  if (view === 'Grading view') {
193
184
  studentViewPage.steps.clearResponses();
194
185
  };
@@ -213,7 +204,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
213
204
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
214
205
  });
215
206
 
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`, () => {
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', () => {
217
208
  if (view === 'Grading view') {
218
209
  studentViewPage.steps.clearResponses();
219
210
  };
@@ -235,7 +226,6 @@ describe('Create item page - Text selection: All or nothing ', () => {
235
226
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(paragraphTextArray[3]);
236
227
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
237
228
  utilities.verifyElementVisibilityState(textSelectionPage.correctAnswerSection(), 'notExist');
238
- cy.eyesCheckWindow(`Text selection - ${view} - Correct attempt`);
239
229
  });
240
230
  });
241
231
  });
@@ -82,12 +82,12 @@ describe('Create item page - Text selection : Preview contents', () => {
82
82
  });
83
83
  });
84
84
 
85
- 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', () => {
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,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', () => {