itemengine-cypress-automation 1.0.285-applitools-da9f1a8.0 → 1.0.286-fixesE2E24thJan-7a46dd4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. package/cypress/e2e/Gzip/gzip.js +7 -7
  2. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
  3. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
  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/previewTabContent.smoke.js +1 -1
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -17
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -14
  10. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -17
  11. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  12. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -15
  13. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
  14. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  15. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -14
  16. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
  17. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +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 -15
  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 -19
  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/FeedbackScaleNew/previewContentsForAllViews.smoke.js +1 -0
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  45. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  46. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -15
  47. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -13
  48. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -13
  49. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -14
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +5 -14
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -13
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -13
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
  60. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
  61. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -13
  62. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
  63. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -5
  64. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  65. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
  66. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -16
  67. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
  68. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -15
  69. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
  70. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
  71. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
  72. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -11
  73. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -13
  74. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
  75. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -6
  76. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
  77. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -14
  78. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -3
  79. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  80. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  81. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  82. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  83. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
  84. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  85. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  86. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  87. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  88. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  89. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  90. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  91. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  92. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  93. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -14
  94. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +6 -14
  95. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
  100. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  101. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  102. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  103. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  104. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  105. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  106. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  107. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  108. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  109. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
  110. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
  111. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -19
  112. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
  113. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
  114. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
  115. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
  116. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  117. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  118. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
  119. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +6 -5
  120. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -3
  121. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
  122. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +6 -5
  123. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +1 -10
  124. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
  125. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  126. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  127. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  128. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
  129. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
  130. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
  131. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -12
  132. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +16 -0
  133. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -5
  134. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
  135. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -12
  136. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
  137. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
  138. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
  139. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
  140. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
  141. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
  142. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
  143. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
  144. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
  145. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
  146. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
  147. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
  148. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
  149. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
  150. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
  151. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
  152. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
  153. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
  154. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  155. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
  156. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -23
  157. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -5
  158. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  159. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
  160. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  161. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  162. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -2
  163. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  164. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
  165. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  166. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  167. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
  168. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
  169. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -16
  170. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  171. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
  172. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
  173. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
  174. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
  175. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -16
  176. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  177. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
  178. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
  179. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
  180. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  181. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -13
  182. package/cypress/pages/audioPlayerPage.js +4 -4
  183. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
  184. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  185. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
  186. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  187. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
  188. package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
  189. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  190. package/cypress/pages/createItemPage.js +38 -1
  191. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  192. package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
  193. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
  194. package/cypress/pages/graphingPage.js +3 -0
  195. package/cypress/pages/listOrderingPage.js +1 -1
  196. package/cypress/pages/matchingPage.js +34 -7
  197. package/cypress/pages/multipleSelectionPage.js +17 -2
  198. package/cypress/pages/numberLineLabelPage.js +3 -3
  199. package/cypress/pages/readingRulerPage.js +5 -3
  200. package/cypress/pages/singleSelectionPage.js +5 -2
  201. package/cypress/pages/studentViewPage.js +4 -4
  202. package/cypress/pages/textEntryMathPage.js +19 -5
  203. package/cypress/pages/textSelectionPage.js +1 -1
  204. package/cypress/support/commands.js +0 -11
  205. package/cypress/support/e2e.js +0 -1
  206. package/package.json +1 -4
  207. package/cypress/e2e/applitools.config.js +0 -14
@@ -1,8 +1,8 @@
1
- // Command for execution - npx cypress run --headed --browser chrome --env fileConfig=ilqa,assetVersion=1.0.409,CKEditorVersion=4.14.0.98 --spec "cypress\e2e\Gzip\gzip.js"
2
- //assetVersion, CKEditorVersion should be updated according to the current version
1
+ // Command for execution - npx cypress run --headed --browser chrome --env fileConfig=ilqa,assetVersion=1.0.409,environment=qa --spec "cypress\e2e\Gzip\gzip.js"
2
+ //assetVersion, environment should be updated according to the current version
3
3
 
4
4
  const assetVersion = Cypress.env('assetVersion');
5
- const CKEditorVersion = Cypress.env('CKEditorVersion');
5
+ const environment = Cypress.env('environment');
6
6
 
7
7
  describe('Assets GZIP compression', () => {
8
8
  before(() => {
@@ -91,21 +91,21 @@ describe('CKEditor GZIP compression', () => {
91
91
  });
92
92
 
93
93
  it('Verifying ngckeditor/ngckeditor.js gzip', () => {
94
- steps.verifyGzipCompression(`https://media.wne-cdn.com/static/itemengine-ckeditor/${CKEditorVersion}/ngckeditor/ngckeditor.js`);
94
+ steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/ngckeditor.js`);
95
95
  });
96
96
 
97
97
  //.css
98
98
  it('Verifying custom_item_engine.css gzip', () => {
99
- steps.verifyGzipCompression(`https://media.wne-cdn.com/static/itemengine-ckeditor/${CKEditorVersion}/ngckeditor/css/custom_item_engine.css`)
99
+ steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/css/custom_item_engine.css`)
100
100
  });
101
101
 
102
102
  //externalPlugins
103
103
  it('Verifying externalPlugins/nextGenEqnEditor/plugin.js gzip', () => {
104
- steps.verifyGzipCompression(`https://media.wne-cdn.com/static/itemengine-ckeditor/${CKEditorVersion}/ngckeditor/externalPlugins/nextGenEqnEditor/plugin.js`)
104
+ steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/externalPlugins/nextGenEqnEditor/plugin.js`)
105
105
  });
106
106
 
107
107
  it('Verifying externalPlugins/nextGenAudioPlayer/plugin.js gzip', () => {
108
- steps.verifyGzipCompression(`https://media.wne-cdn.com/static/itemengine-ckeditor/${CKEditorVersion}/ngckeditor/externalPlugins/nextGenAudioPlayer/plugin.js`)
108
+ steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/externalPlugins/nextGenAudioPlayer/plugin.js`)
109
109
  });
110
110
  });
111
111
 
@@ -19,7 +19,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
19
19
  audioResponsePage.steps.switchToPreviewTab();
20
20
  });
21
21
 
22
- it(`Audio response - By default: Mic icon, \'Allow microphone access\' help text should be displayed in \'bar audio recorder\'. Maximum recording length should be displayed in minutes(mm:ss) format.`, () => {
22
+ it('By default: Mic icon, \'Allow microphone access\' help text should be displayed in \'bar audio recorder\'. Maximum recording length should be displayed in minutes(mm:ss) format.', () => {
23
23
  utilities.verifyInnerText(audioResponsePage.barPreviewStartRecordingButton(), 'REC');
24
24
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStartRecordingButton(), 'visible');
25
25
  utilities.verifyElementVisibilityState(audioResponsePage.microphoneIcon(), 'visible');
@@ -52,7 +52,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
52
52
  });
53
53
  });
54
54
 
55
- it(`Audio response - When the user clicks on the \'Start recording\' button, a countdown should begin and help text "Preparing to record" should be displayed. The recording should start after the countdown, a beep sound should play and the help text should change to "Recording...". User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. Pause recording and Stop recording buttons should be displayed in record player. Start recording button should not be displayed.`, () => {
55
+ it('When the user clicks on the \'Start recording\' button, a countdown should begin and help text "Preparing to record" should be displayed. The recording should start after the countdown, a beep sound should play and the help text should change to "Recording...". User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. Pause recording and Stop recording buttons should be displayed in record player. Start recording button should not be displayed.', () => {
56
56
  audioResponsePage.steps.startRecordingBarPreview();
57
57
  utilities.verifyInnerText(audioResponsePage.recordingStatusText(), 'Preparing to record 3');
58
58
  utilities.verifyElementVisibilityState(audioResponsePage.recordingStatusIcon(), 'visible');
@@ -170,13 +170,13 @@ describe('Preview of Audio response for bar audio recorder style', () => {
170
170
  cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
171
171
  });
172
172
 
173
- it(`Audio response -When the recorder is in paused state and the user clicks on the \'Resume recording\' button, recording should get resumed. The help text should update to "Recording...". Progress bar should display the elapsed time and the remaining time until recording is in progress. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. Pause recording and stop recording icon should be displayed. Start recording button should not be displayed`, () => {
173
+ it('When the recorder is in paused state and the user clicks on the \'Resume recording\' button, recording should get resumed. The help text should update to "Recording...". Progress bar should display the elapsed time and the remaining time until recording is in progress. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. Pause recording and stop recording icon should be displayed. Start recording button should not be displayed', () => {
174
174
  audioResponsePage.steps.resumeRecordingBarPreview();
175
175
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStartRecordingButton(), 'notExist');
176
176
  utilities.verifyInnerText(audioResponsePage.recordingStatusText(), 'Recording...');
177
177
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPauseRecordingButton(), 'visible');
178
178
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStopRecordingButton(), 'visible');
179
- audioResponsePage.steps.verifyRecordingLengthAfterResumingBarPreview();
179
+ audioResponsePage.steps.verifyRecordingLengthAfterResumingBarPreview();
180
180
  });
181
181
 
182
182
  it('When the user hovers on \'Stop recording\' button, \'Stop recording\' text should be displayed in tooltip', () => {
@@ -213,7 +213,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
213
213
  cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
214
214
  });
215
215
 
216
- it(`Audio response -When the user stops paused recording, recording should stop, recorded audio response should be saved. Progress bar and start recording button should be displayed on bar player. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs)\'. Play button should be displayed. Stop recording button should not be displayed`, () => {
216
+ it('When the user stops paused recording, recording should stop, recorded audio response should be saved. Progress bar and start recording button should be displayed on bar player. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs)\'. Play button should be displayed. Stop recording button should not be displayed', () => {
217
217
  audioResponsePage.steps.resetQuestionPreview();
218
218
  audioResponsePage.steps.startRecordingBarPreview();
219
219
  audioResponsePage.steps.waitForRecordingToStartBarPreview();
@@ -226,7 +226,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
226
226
  audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:00', '00:04');
227
227
  });
228
228
 
229
- it(`Audio response -When recording is inprogress and user has reached maximum recorder length, Retake and Play icon should be displayed along with progress bar. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs)\'.`, () => {
229
+ it('When recording is inprogress and user has reached maximum recorder length, Retake and Play icon should be displayed along with progress bar. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs)\'.', () => {
230
230
  audioResponsePage.steps.switchToEditTab();
231
231
  audioResponsePage.steps.setMaximumRecorderLength(10);
232
232
  audioResponsePage.steps.switchToPreviewTab();
@@ -252,7 +252,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
252
252
  audioResponsePage.steps.recordAndSaveAudioBarPreview(5000);
253
253
  });
254
254
 
255
- it(`Audio response -A playback player with audio wave form, Volume meter, Retake recording and Play buttons, Volume control and playback speed buttons, Progress bar and time in (mm:ss / mm:ss) format should be displayed`, () => {
255
+ it('A playback player with audio wave form, Volume meter, Retake recording and Play buttons, Volume control and playback speed buttons, Progress bar and time in (mm:ss / mm:ss) format should be displayed', () => {
256
256
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewRetakeButton(), 'visible');
257
257
  utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
258
258
  utilities.verifyElementVisibilityState(audioResponsePage.volumeControlButton(), 'visible');
@@ -317,23 +317,23 @@ describe('Preview of Audio response for bar audio recorder style', () => {
317
317
  audioResponsePage.steps.switchToPreviewTab();
318
318
  audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
319
319
  });
320
-
320
+
321
321
  it('When the user hovers over the \'Play\' button, a tooltip \'Play\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
322
322
  audioResponsePage.playbackPlayButton()
323
323
  .verifyTooltip('Play');
324
324
  });
325
-
325
+
326
326
  it('When the user clicks on \'Play\' button, then the audio should start playing. Timer should display the amount of audio that has been played and the total audio length in (mm:ss)/(mm:ss) format.', () => {
327
327
  audioResponsePage.steps.startPlayback();
328
328
  audioResponsePage.steps.waitForPlaybackToBeginBarPreview();
329
329
  audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:03', '00:10');
330
330
  });
331
-
331
+
332
332
  it('When the user hovers over the \'Pause\' button, a tooltip \'Pause\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
333
333
  audioResponsePage.playbackPauseButton()
334
334
  .verifyTooltip('Pause');
335
335
  });
336
-
336
+
337
337
  it('CSS of \'Preview\' section if playback is initiated', { tags: 'css' }, () => {
338
338
  utilities.verifyCSS(audioResponsePage.barPreviewPlaybackTime(), {
339
339
  'color': css.color.liText,
@@ -347,11 +347,11 @@ describe('Preview of Audio response for bar audio recorder style', () => {
347
347
  'stroke': css.color.secondaryBtnActive
348
348
  });
349
349
  });
350
-
350
+
351
351
  it('Accessibility of \'Preview\' section if playback is initiated', { tags: 'a11y' }, () => {
352
352
  cy.checkAccessibility(audioResponsePage.barPreviewPlaybackWrapper());
353
353
  });
354
-
354
+
355
355
  it('When the audio player is in playback state and the user clicks on \'Pause\' button, then playback should get paused. Progress bar and timer should not update further and the \'Pause\' button should get replaced with \'Play\' button', () => {
356
356
  audioResponsePage.steps.resetQuestionPreview();
357
357
  audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
@@ -363,7 +363,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
363
363
  utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
364
364
  utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'notExist');
365
365
  });
366
-
366
+
367
367
  it('CSS of \'Preview\' section if playback is paused', { tags: 'css' }, () => {
368
368
  utilities.verifyCSS(audioResponsePage.playbackPlayButton().find('svg rect'), {
369
369
  'fill': css.color.secondaryBtnBg
@@ -372,36 +372,36 @@ describe('Preview of Audio response for bar audio recorder style', () => {
372
372
  'stroke': css.color.secondaryBtnActive
373
373
  });
374
374
  });
375
-
375
+
376
376
  it('Accessibility of \'Preview\' section if if playback is paused', { tags: 'a11y' }, () => {
377
377
  cy.checkAccessibility(audioResponsePage.barPreviewPlaybackWrapper());
378
378
  });
379
-
379
+
380
380
  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.', () => {
381
381
  audioResponsePage.steps.startPlayback();
382
382
  utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'visible');
383
383
  utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'notExist');
384
384
  });
385
-
385
+
386
386
  it('When the user seeks the progress bar slider while the audio is playing, then the audio should continue to play from the position where the slider is seeked', () => {
387
387
  audioResponsePage.steps.seekProgressBarSliderToCenter();
388
388
  audioResponsePage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
389
389
  });
390
-
390
+
391
391
  it('When the user seeks the progress bar slider while the audio is paused, then the audio playback should be in paused state and on playing the audio, then the audio should play from the position where the slider is seeked', () => {
392
392
  audioResponsePage.steps.pausePlayback();
393
393
  audioResponsePage.steps.seekProgressBarSliderToCenter();
394
394
  audioResponsePage.steps.startPlayback();
395
395
  audioResponsePage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
396
396
  });
397
-
397
+
398
398
  it('When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button', () => {
399
399
  audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:10', '00:10');
400
400
  utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
401
401
  utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'notExist');
402
402
  audioResponsePage.steps.verifyProgressBarSliderPosition(99);
403
403
  });
404
-
404
+
405
405
  it('CSS of progress bar in hover state', { tags: 'css' }, () => {
406
406
  audioResponsePage.steps.hoverOnProgressBarSlider();
407
407
  utilities.verifyCSS(audioResponsePage.progressBarSlider().parents('span[class*="MuiSlider-thumb"]'), {
@@ -409,7 +409,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
409
409
  });
410
410
  });
411
411
  });
412
-
412
+
413
413
  describe('Playback player : Volume control', () => {
414
414
  abortEarlySetup();
415
415
  before(() => {
@@ -419,10 +419,10 @@ describe('Preview of Audio response for bar audio recorder style', () => {
419
419
  audioResponsePage.steps.switchToPreviewTab();
420
420
  audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
421
421
  });
422
-
422
+
423
423
  audioResponsePage.tests.verifyVolumeControlFunctionality();
424
424
  });
425
-
425
+
426
426
  describe('Playback player : Playback speed', () => {
427
427
  const playbackSpeedOptions = ['1', '1.25', '1.5', '2'];
428
428
  abortEarlySetup();
@@ -433,9 +433,9 @@ describe('Preview of Audio response for bar audio recorder style', () => {
433
433
  audioResponsePage.steps.switchToPreviewTab();
434
434
  audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
435
435
  });
436
-
436
+
437
437
  audioResponsePage.tests.verifyPlaybackSpeedContents(playbackSpeedOptions);
438
-
438
+
439
439
  for (let index = 0; index < playbackSpeedOptions.length; index++) {
440
440
  it(`When the user selects playback speed option ${playbackSpeedOptions[index]}x, the audio playback speed should be changed accordingly`, () => {
441
441
  audioResponsePage.steps.resetQuestionPreview();
@@ -450,7 +450,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
450
450
  });
451
451
  };
452
452
  });
453
-
453
+
454
454
  describe('Playback player : Retake my audio response', () => {
455
455
  abortEarlySetup();
456
456
  before(() => {
@@ -19,7 +19,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
19
19
  audioResponsePage.steps.switchToPreviewTab();
20
20
  });
21
21
 
22
- it(`Audio response - If user selects \'Compact\' option from \'Audio recorder style\' toggle buttons, then \'Record\' button and \'Click the button to start recording...\' help text should be displayed in the preview tab`, () => {
22
+ it('If user selects \'Compact\' option from \'Audio recorder style\' toggle buttons, then \'Record\' button and \'Click the button to start recording...\' help text should be displayed in the preview tab', () => {
23
23
  utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewRecordButton(), 'visible');
24
24
  utilities.verifyInnerText(audioResponsePage.compactPreviewRecordButton(), 'Record');
25
25
  utilities.verifyInnerText(audioResponsePage.compactPreviewRecordingHelpText(), 'Click the button to start recording...');
@@ -140,7 +140,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
140
140
  cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
141
141
  });
142
142
 
143
- it(`Audio response - When the recorder is in paused state and the user clicks on the \'Resume recording\' button the recording should get resumed from where it was paused. Resume recording button should update to Pause button and the help text should update to "Recording...". The volume meter should also detect the sound levels during recording. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. Stop button should be displayed in preview tab.`, () => {
143
+ it('When the recorder is in paused state and the user clicks on the \'Resume recording\' button the recording should get resumed from where it was paused. Resume recording button should update to Pause button and the help text should update to "Recording...". The volume meter should also detect the sound levels during recording. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. Stop button should be displayed in preview tab.', () => {
144
144
  audioResponsePage.steps.resumeRecordingCompactPreview();
145
145
  utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewResumeRecordingButton(), 'notExist');
146
146
  utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPauseRecordingButton(), 'visible');
@@ -185,7 +185,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
185
185
  cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
186
186
  });
187
187
 
188
- it(`Audio response - When recording is paused and the user clicks on \'Stop\' button, recording should stop and \'Your response has been recorded\' help text message should be displayed in preview. Stop button should get replaced with Playback button and Playback button should be enabled. Overlay should not be displayed in player`, () => {
188
+ it('When recording is paused and the user clicks on \'Stop\' button, recording should stop and \'Your response has been recorded\' help text message should be displayed in preview. Stop button should get replaced with Playback button and Playback button should be enabled. Overlay should not be displayed in player', () => {
189
189
  cy.log('Pre-step: Resetting question preview and start recording again')
190
190
  audioResponsePage.steps.resetQuestionPreview();
191
191
  audioResponsePage.steps.startRecordingCompactPreview();
@@ -215,7 +215,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
215
215
  utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPlaybackPlayButton(), 'visible');
216
216
  });
217
217
 
218
- it(`Audio response - When the user updates maximum recorder length the recording should stop at the updated recorder length`, () => {
218
+ it('When the user updates maximum recorder length the recording should stop at the updated recorder length', () => {
219
219
  cy.log('Pre-step : Switching to edit tab, updating maximum recorder length and switching back to preview tab to reset the recording');
220
220
  audioResponsePage.steps.switchToEditTab();
221
221
  audioResponsePage.steps.setMaximumRecorderLength(5);
@@ -11,14 +11,6 @@ describe('Create item page - audio response: Grading view, Correct answer view c
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
- beforeEach(() => {
15
- cy.startApplitools();
16
- });
17
-
18
- afterEach(() => {
19
- cy.eyesClose();
20
- });
21
-
22
14
  if (views.includes('Grading view')) {
23
15
  describe('Grading view contents', { tags: 'smoke' }, () => {
24
16
  let actualAudioSeekedInPercent = 50
@@ -82,9 +74,8 @@ describe('Create item page - audio response: Grading view, Correct answer view c
82
74
  audioResponsePage.steps.verifyProgressBarSliderPosition(99);
83
75
  });
84
76
 
85
- it('Audio response - A download button should be displayed in the playback player', () => {
77
+ it('A download button should be displayed in the playback player', () => {
86
78
  utilities.verifyElementVisibilityState(audioResponsePage.downloadAudioButton(), 'visible');
87
- cy.eyesCheckWindow(`Audio response: Grading view - Verify download button is displayed in the playback player.`);
88
79
  });
89
80
 
90
81
  it('Empty score input field and total score should be displayed', () => {
@@ -134,9 +125,8 @@ describe('Create item page - audio response: Grading view, Correct answer view c
134
125
 
135
126
  correctAnswerViewPage.tests.verifyManualScoredQuestionHelpTextCorrectAnswerPage();
136
127
 
137
- it('Audio response: The points alloted to the question should be displayed', () => {
128
+ it('The points alloted to the question should be displayed', () => {
138
129
  correctAnswerViewPage.steps.verifyAvailablePoints(10);
139
- cy.eyesCheckWindow('Audio response: Correct answer view contents');
140
130
  });
141
131
  });
142
132
  }
@@ -11,14 +11,6 @@ describe('Create item page - Audio response: Preview contents', () => {
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
- beforeEach(() => {
15
- cy.startApplitools();
16
- });
17
-
18
- afterEach(() => {
19
- cy.eyesClose();
20
- });
21
-
22
14
  views.forEach((view) => {
23
15
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
24
16
  abortEarlySetup();
@@ -57,7 +49,7 @@ describe('Create item page - Audio response: Preview contents', () => {
57
49
  utilities.verifyElementVisibilityState(audioResponsePage.questionInstructionsText(), 'visible');
58
50
  });
59
51
 
60
- it(`${view} - Audio response - When the user switches to preview tab, \'Click the button to start recording...\' help text message, rec button, mic icon, \'Allow microphone access\' help text should be displayed in \'Standard audio recorder\'. Maximum recording length should be displayed in minutes(mm:ss) format.`, () => {
52
+ it('When the user switches to preview tab, \'Click the button to start recording...\' help text message, rec button, mic icon, \'Allow microphone access\' help text should be displayed in \'Standard audio recorder\'. Maximum recording length should be displayed in minutes(mm:ss) format.', () => {
61
53
  utilities.verifyInnerText(audioResponsePage.standardPreviewRecorderHelpText(), 'Click the button to start recording...');
62
54
  utilities.verifyElementVisibilityState(audioResponsePage.standardPreviewRecorderHelpText(), 'visible');
63
55
  utilities.verifyInnerText(audioResponsePage.standardPreviewStartRecordingButton(), 'REC');
@@ -114,7 +106,7 @@ describe('Create item page - Audio response: Preview contents', () => {
114
106
  utilities.verifyElementVisibilityState(audioResponsePage.previewVolumeMeter(), 'visible');
115
107
  });
116
108
 
117
- it(`${view} - Audio response - When the user clicks on the stop recording button, the recording should stop and the recording should get saved`, () => {
109
+ it('When the user clicks on the stop recording button, the recording should stop and the recording should get saved', () => {
118
110
  audioResponsePage.steps.stopRecordingStandardPreview();
119
111
  utilities.verifyInnerText(audioResponsePage.savingStatusText(), 'Saving');
120
112
  utilities.verifyElementVisibilityState(audioResponsePage.savingStatusText(), 'visible');
@@ -124,7 +116,6 @@ describe('Create item page - Audio response: Preview contents', () => {
124
116
  utilities.verifyElementVisibilityState(audioResponsePage.previewVolumeMeter(), 'visible');
125
117
  utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
126
118
  audioResponsePage.steps.verifyResponseIsRecordedHelpText();
127
- cy.eyesCheckWindow(`${view} - Audio response - Verify recording stops and is saved when the Stop recording button is clicked`);
128
119
  });
129
120
  });
130
121
  });
@@ -52,7 +52,7 @@ describe('Create item page - Brainingcamp manipulative: Preview contents', () =>
52
52
  utilities.verifyElementVisibilityState(brainingCampManipulativePage.questionInstructionsText(), 'visible');
53
53
  });
54
54
 
55
- it(`${view} view: Brainingcamp manipulative - The brainingcamp manipulative resource should be displayed`, () => {
55
+ it('The brainingcamp manipulative resource should be displayed', () => {
56
56
  utilities.verifyElementVisibilityState(brainingCampManipulativePage.previewTabCanvas(), 'visible');
57
57
  });
58
58
 
@@ -11,14 +11,6 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
- beforeEach(() => {
15
- cy.startApplitools();
16
- });
17
-
18
- afterEach(() => {
19
- cy.eyesClose();
20
- });
21
-
22
14
  if (!grepTags || !grepTags.includes('smoke')) {
23
15
  describe('Question preview modes: Student view and Grading view', () => {
24
16
  abortEarlySetup();
@@ -115,7 +107,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
115
107
  };
116
108
 
117
109
  //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
118
- it.skip(`${view} - Charts bar: Horizontal - When the user selects 'Grading' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed`, () => {
110
+ it.skip('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed', () => {
119
111
  if (view === 'Grading view') {
120
112
  studentViewPage.steps.submitResponse();
121
113
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -138,7 +130,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
138
130
  });
139
131
 
140
132
  //Fully incorrect case
141
- it(`${view} - Charts bar: Horizontal - When the user incorrectly sets a bar which was correct by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
133
+ it('When the user incorrectly sets a bar which was correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
142
134
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 5, range: 10 }, 'horizontal');
143
135
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 2, range: 10 }, 'horizontal');
144
136
  if (view === 'Grading view') {
@@ -164,7 +156,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
164
156
  });
165
157
 
166
158
  //Partially correct cases
167
- it(`${view} - Charts bar: Horizontal - When the user incorrectly sets a bar which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
159
+ it('When the user incorrectly sets a bar which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
168
160
  if (view === 'Grading view') {
169
161
  studentViewPage.steps.clearResponses();
170
162
  }
@@ -191,7 +183,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
191
183
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
192
184
  });
193
185
 
194
- it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
186
+ it('When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
195
187
  if (view === 'Grading view') {
196
188
  studentViewPage.steps.clearResponses();
197
189
  }
@@ -218,7 +210,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
218
210
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
219
211
  });
220
212
 
221
- it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
213
+ it('When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
222
214
  if (view === 'Grading view') {
223
215
  studentViewPage.steps.clearResponses();
224
216
  }
@@ -245,7 +237,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
245
237
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
246
238
  });
247
239
 
248
- it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
240
+ it('When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
249
241
  if (view === 'Grading view') {
250
242
  studentViewPage.steps.clearResponses();
251
243
  }
@@ -272,7 +264,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
272
264
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
273
265
  });
274
266
 
275
- it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
267
+ it('When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
276
268
  if (view === 'Grading view') {
277
269
  studentViewPage.steps.clearResponses();
278
270
  }
@@ -300,7 +292,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
300
292
  });
301
293
 
302
294
  //Fully correct
303
- it(`${view} - Charts bar: Horizontal - When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view 'Your answer is correct' should be displayed, correct icons should be displayed on the correctly attempted bars and the correct answer section graph should not be displayed`, () => {
295
+ it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed, correct icons should be displayed on the correctly attempted bars and the correct answer section graph should not be displayed', () => {
304
296
  if (view === 'Grading view') {
305
297
  studentViewPage.steps.clearResponses();
306
298
  }
@@ -322,7 +314,6 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
322
314
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
323
315
  chartsBarPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
324
316
  chartsBarPage.steps.verifyCorrectAnswerSectionNotExist();
325
- cy.eyesCheckWindow(`${view} - Fully correct case`);
326
317
  });
327
318
  });
328
319
  });
@@ -96,7 +96,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
96
96
  });
97
97
 
98
98
  it('All the bar graphs in grading view should be non-editable', () => {
99
- chartsBarPage.steps.verifyDragHandleNotVisible();
99
+ chartsBarPage.steps.verifyDragHandleNotVisible();
100
100
  for (let index = 0; index < 5; index++) {
101
101
  utilities.triggerMouseover(utilities.getNthElement(chartsBarPage.previewTabBar(), index));
102
102
  utilities.verifyElementVisibilityState(chartsBarPage.barAndPointTooltipWrapper(), 'notExist');
@@ -108,7 +108,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
108
108
  utilities.verifyElementVisibilityState(chartsBarPage.correctAnswersLabel(), 'visible');
109
109
  });
110
110
 
111
- it('Charts bar: Horizontal - Correct answer should be displayed in the correct answer section', () => {
111
+ it('Correct answer should be displayed in the correct answer section', () => {
112
112
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 0, barValue: 2, range: 20 });
113
113
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 20 });
114
114
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 20 });
@@ -222,7 +222,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
222
222
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolBarWrapper(), 'notExist');
223
223
  });
224
224
 
225
- it('Charts bar: Horizontal - The correct answer set by user should be displayed in the correct answer view', () => {
225
+ it('The correct answer set by user should be displayed in the correct answer view', () => {
226
226
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 2, range: 20 });
227
227
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
228
228
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 5, range: 20 });
@@ -13,14 +13,6 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
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 - Edit bar graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
26
18
  abortEarlySetup();
@@ -89,7 +81,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
89
81
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
90
82
  });
91
83
 
92
- it(`${view} - Charts bar: Horizontal -The graph title, Y axis label, X axis label and bar labels should be displayed`, () => {
84
+ it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
93
85
  utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
94
86
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
95
87
  utilities.verifyInnerText(chartsBarPage.previewTabXAxisLabelButton(), 'Profit');
@@ -150,10 +142,9 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
150
142
 
151
143
  chartsBarPage.tests.verifyBarTooltipContentsCSSAndA11yInPreviewTab('3', barBackgroundColor[3], 'Bar 4');
152
144
 
153
- it(`${view} - Charts bar: Horizontal: User should be able to edit the label a bar`, () => {
145
+ it('User should be able to edit the label a bar', () => {
154
146
  chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(0, '2000');
155
147
  chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(3, '2004');
156
- cy.eyesCheckWindow(`${view} - Charts bar after editing the bar height and labels`);
157
148
  });
158
149
 
159
150
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -319,7 +310,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
319
310
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
320
311
  });
321
312
 
322
- it(`${view} Charts bar - Horizontal: When user adds a bar again and the number of extra bars reaches the maximum set value i.e. 1, then the add bar button should be disabled`, () => {
313
+ it('When user adds a bar again and the number of extra bars reaches the maximum set value i.e. 1, then the add bar button should be disabled', () => {
323
314
  chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
324
315
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
325
316
  });
@@ -374,7 +365,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
374
365
  });
375
366
 
376
367
  //Bar labels
377
- it(`${view} - Charts bar: Horizontal When user updates a bar label, then the undo and reset button should be displayed in enabled state`, () => {
368
+ it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
378
369
  chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(0, 'Edited bar 1');
379
370
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
380
371
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
@@ -602,7 +593,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
602
593
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
603
594
  });
604
595
 
605
- it(`${view}: Charts bar: Horizontal - When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state`, () => {
596
+ it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state', () => {
606
597
  chartsBarPage.steps.clickOnResetButtonPreviewTab();
607
598
  chartsBarPage.steps.confirmReset();
608
599
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());