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
@@ -11,14 +11,6 @@ describe('Create item page - Charts - Bar: 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();
@@ -113,7 +105,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
113
105
  };
114
106
 
115
107
  //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
116
- it.skip(`${view} - Charts bar: Vertical - When the user selects 'Grading' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed`, () => {
108
+ 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 correct/incorrect status message should not be displayed', () => {
117
109
  if (view === 'Grading view') {
118
110
  studentViewPage.steps.submitResponse();
119
111
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -136,7 +128,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
136
128
  });
137
129
 
138
130
  //Fully incorrect case
139
- it(`${view} - Charts bar: Vertical - 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`, () => {
131
+ 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', () => {
140
132
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 5, range: 10 });
141
133
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 2, range: 10 });
142
134
  if (view === 'Grading view') {
@@ -162,7 +154,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
162
154
  });
163
155
 
164
156
  //Partially correct cases
165
- it(`${view} - Charts bar: Vertical - 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`, () => {
157
+ 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', () => {
166
158
  if (view === 'Grading view') {
167
159
  studentViewPage.steps.clearResponses();
168
160
  }
@@ -189,7 +181,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
189
181
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
190
182
  });
191
183
 
192
- it(`${view} - Charts bar: Vertical - 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`, () => {
184
+ 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', () => {
193
185
  if (view === 'Grading view') {
194
186
  studentViewPage.steps.clearResponses();
195
187
  }
@@ -216,7 +208,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
216
208
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
217
209
  });
218
210
 
219
- it(`${view} - Charts bar: Vertical - 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`, () => {
211
+ 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', () => {
220
212
  if (view === 'Grading view') {
221
213
  studentViewPage.steps.clearResponses();
222
214
  }
@@ -243,7 +235,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
243
235
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
244
236
  });
245
237
 
246
- it(`${view} - Charts bar: Vertical - 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`, () => {
238
+ 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', () => {
247
239
  if (view === 'Grading view') {
248
240
  studentViewPage.steps.clearResponses();
249
241
  }
@@ -270,7 +262,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
270
262
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
271
263
  });
272
264
 
273
- it(`${view} - Charts bar: Vertical - 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`, () => {
265
+ 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', () => {
274
266
  if (view === 'Grading view') {
275
267
  studentViewPage.steps.clearResponses();
276
268
  }
@@ -298,7 +290,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
298
290
  });
299
291
 
300
292
  //Fully correct
301
- it(`${view} - Charts bar: Vertical - Charts bar: Vertical - 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`, () => {
293
+ 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', () => {
302
294
  if (view === 'Grading view') {
303
295
  studentViewPage.steps.clearResponses();
304
296
  }
@@ -320,7 +312,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
320
312
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
321
313
  chartsBarPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
322
314
  chartsBarPage.steps.verifyCorrectAnswerSectionNotExist();
323
- cy.eyesCheckWindow(`${view} - Fully correct case`);
324
315
  });
325
316
  });
326
317
  });
@@ -14,14 +14,6 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
14
14
  cy.loginAs('admin');
15
15
  });
16
16
 
17
- beforeEach(() => {
18
- cy.startApplitools();
19
- });
20
-
21
- afterEach(() => {
22
- cy.eyesClose();
23
- });
24
-
25
17
  if (views.includes('Grading view')) {
26
18
  describe('Grading view contents', { tags: 'smoke' }, () => {
27
19
  abortEarlySetup();
@@ -115,7 +107,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
115
107
  utilities.verifyElementVisibilityState(chartsBarPage.correctAnswersLabel(), 'visible');
116
108
  });
117
109
 
118
- it('Charts bar: Vertical - Correct answer should be displayed in the correct answer section', () => {
110
+ it('Correct answer should be displayed in the correct answer section', () => {
119
111
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 0, barValue: 2, range: 20 });
120
112
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 20 });
121
113
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 20 });
@@ -129,7 +121,6 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
129
121
  chartsBarPage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
130
122
  chartsBarPage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
131
123
  chartsBarPage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
132
- cy.eyesCheckWindow('Charts bar: Vertical - Grading view contents');
133
124
  });
134
125
 
135
126
  it('Points and the total score should be displayed', () => {
@@ -229,7 +220,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
229
220
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolBarWrapper(), 'notExist');
230
221
  });
231
222
 
232
- it('Charts bar: Verical - The correct answer set by user should be displayed in the correct answer view', () => {
223
+ it('The correct answer set by user should be displayed in the correct answer view', () => {
233
224
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 2, range: 20 });
234
225
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
235
226
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 5, range: 20 });
@@ -241,7 +232,6 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
241
232
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
242
233
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
243
234
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
244
- cy.eyesCheckWindow('Charts bar: Verical - Correct answer view contents')
245
235
  });
246
236
 
247
237
  it('The points alloted to the question should be displayed', () => {
@@ -13,14 +13,6 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
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();
@@ -88,7 +80,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
88
80
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
89
81
  });
90
82
 
91
- it(`${view} - Charts bar: Vertical The graph title, Y axis label, X axis label and bar labels should be displayed`, () => {
83
+ it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
92
84
  utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
93
85
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
94
86
  utilities.verifyInnerText(chartsBarPage.previewTabYAxisLabelButton(), 'Profit');
@@ -152,10 +144,9 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
152
144
 
153
145
  chartsBarPage.tests.verifyBarTooltipContentsCSSAndA11yInPreviewTab('3', barBackgroundColor[3], 'Bar 4');
154
146
 
155
- it(`${view} - Charts bar: Vertical User should be able to edit the label a bar`, () => {
147
+ it('User should be able to edit the label a bar', () => {
156
148
  chartsBarPage.steps.editBarLabelInPreviewTab(0, '2000');
157
149
  chartsBarPage.steps.editBarLabelInPreviewTab(1, '2001');
158
- cy.eyesCheckWindow(`${view} - Charts bar: Vertical after editing the bar height and labels`);
159
150
  });
160
151
 
161
152
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -321,7 +312,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
321
312
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
322
313
  });
323
314
 
324
- it(`${view} Charts bar - Vertical: 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`, () => {
315
+ 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', () => {
325
316
  chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
326
317
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
327
318
  });
@@ -375,13 +366,13 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
375
366
  });
376
367
 
377
368
  //Bar labels
378
- it(`${view} - Charts bar: Vertical When user updates a bar label, then the undo and reset button should be displayed in enabled state`, () => {
369
+ it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
379
370
  chartsBarPage.steps.editBarLabelInPreviewTab(0, 'Edited bar 1');
380
371
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
381
372
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
382
373
  });
383
374
 
384
- it(`When user hovers on the enabled undo and reset button, then tooltips 'Undo' and 'Reset' should be displayed`, () => {
375
+ it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
385
376
  chartsBarPage.previewTabToolsUndoButton()
386
377
  .verifyTooltip('Undo');
387
378
  chartsBarPage.previewTabToolsResetButton()
@@ -603,7 +594,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
603
594
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
604
595
  });
605
596
 
606
- it(`${view}: Charts bar: Vertical - 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`, () => {
597
+ 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', () => {
607
598
  chartsBarPage.steps.clickOnResetButtonPreviewTab();
608
599
  chartsBarPage.steps.confirmReset();
609
600
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
@@ -102,7 +102,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
102
102
  });
103
103
  };
104
104
  //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
105
- it.skip(`${view}: Charts Line - When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed`, () => {
105
+ 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 correct/incorrect status message should not be displayed', () => {
106
106
  if (view === 'Grading view') {
107
107
  studentViewPage.steps.submitResponse();
108
108
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -126,7 +126,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
126
126
  });
127
127
 
128
128
  //Fully incorrect case
129
- it(`${view}: Charts Line - When the user incorrectly sets a point 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 points and correct answer section should be displayed with the correct answers`, () => {
129
+ it('When the user incorrectly sets a point 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 points and correct answer section should be displayed with the correct answers', () => {
130
130
  chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 0, value: 5, range: 10 });
131
131
  chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 4, value: 2, range: 10 });
132
132
  if (view === 'Grading view') {
@@ -152,7 +152,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
152
152
  });
153
153
 
154
154
  //Partially correct cases
155
- it(`${view}: Charts Line - When the user incorrectly sets a point 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 points and correct answer section should be displayed with the correct answers`, () => {
155
+ it('When the user incorrectly sets a point 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 points and correct answer section should be displayed with the correct answers', () => {
156
156
  if (view === 'Grading view') {
157
157
  studentViewPage.steps.clearResponses();
158
158
  }
@@ -179,7 +179,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
179
179
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
180
180
  });
181
181
 
182
- it(`${view}: Charts Line - When the user attempts the question partially correct by incorrectly setting a point 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 points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
182
+ it('When the user attempts the question partially correct by incorrectly setting a point 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 points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
183
183
  if (view === 'Grading view') {
184
184
  studentViewPage.steps.clearResponses();
185
185
  }
@@ -206,7 +206,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
206
206
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
207
207
  });
208
208
 
209
- it(`${view}: Charts Line - When the user attempts the question partially correct by incorrectly setting a point 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 points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
209
+ it('When the user attempts the question partially correct by incorrectly setting a point 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 points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
210
210
  if (view === 'Grading view') {
211
211
  studentViewPage.steps.clearResponses();
212
212
  }
@@ -233,7 +233,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
233
233
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
234
234
  });
235
235
 
236
- it(`${view}: Charts Line - When the user attempts the question partially correct by incorrectly setting a point 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 points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
236
+ it('When the user attempts the question partially correct by incorrectly setting a point 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 points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
237
237
  if (view === 'Grading view') {
238
238
  studentViewPage.steps.clearResponses();
239
239
  }
@@ -260,7 +260,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
260
260
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
261
261
  });
262
262
 
263
- it(`${view}: Charts Line - When the user attempts the question partially correct by setting all points 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 points and incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
263
+ it('When the user attempts the question partially correct by setting all points 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 points and incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
264
264
  if (view === 'Grading view') {
265
265
  studentViewPage.steps.clearResponses();
266
266
  }
@@ -288,7 +288,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
288
288
  });
289
289
 
290
290
  //Fully correct
291
- it(`${view}: Charts Line - 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 points and the correct answer section graph should not be displayed`, () => {
291
+ 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 points and the correct answer section graph should not be displayed', () => {
292
292
  if (view === 'Grading view') {
293
293
  studentViewPage.steps.clearResponses();
294
294
  }
@@ -13,14 +13,6 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
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
  if (views.includes('Grading view')) {
25
17
  describe('Grading view contents', { tags: 'smoke' }, () => {
26
18
  abortEarlySetup();
@@ -114,7 +106,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
114
106
  utilities.verifyElementVisibilityState(chartsLinePage.correctAnswersLabel(), 'visible');
115
107
  });
116
108
 
117
- it('Charts Line - Correct answer should be displayed in the correct answer section', () => {
109
+ it('Correct answer should be displayed in the correct answer section', () => {
118
110
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 0, value: 2, range: 20 });
119
111
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 1, value: 2, range: 20 });
120
112
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 2, value: 5, range: 20 });
@@ -128,7 +120,6 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
128
120
  chartsLinePage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
129
121
  chartsLinePage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
130
122
  chartsLinePage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
131
- cy.eyesCheckWindow('Charts Line - Grading view contents');
132
123
  });
133
124
 
134
125
  it('Points and the total score should be displayed', () => {
@@ -229,7 +220,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
229
220
  utilities.verifyElementVisibilityState(chartsLinePage.previewTabToolBarWrapper(), 'notExist');
230
221
  });
231
222
 
232
- it('Charts Line - The correct answer set by user should be displayed in the correct answer view', () => {
223
+ it('The correct answer set by user should be displayed in the correct answer view', () => {
233
224
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 0, value: 2, range: 20 });
234
225
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 1, value: 2, range: 20 });
235
226
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 2, value: 5, range: 20 });
@@ -241,7 +232,6 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
241
232
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(2, 'correct');
242
233
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(3, 'correct');
243
234
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
244
- cy.eyesCheckWindow('Charts Line - Correct answer view contents');
245
235
  });
246
236
 
247
237
  it('The points alloted to the question should be displayed', () => {
@@ -12,14 +12,6 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
- beforeEach(() => {
16
- cy.startApplitools();
17
- });
18
-
19
- afterEach(() => {
20
- cy.eyesClose();
21
- });
22
-
23
15
  views.forEach((view) => {
24
16
  describe(`Preview tab contents - Edit line graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
25
17
  abortEarlySetup();
@@ -101,7 +93,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
101
93
  utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 3), 'Point 4');
102
94
  });
103
95
 
104
- it(`${view} - Charts line: The graph max value should be as set in the Max Y input field and it should affect the chart division`, () => {
96
+ it('The graph max value should be as set in the Max Y input field and it should affect the chart division', () => {
105
97
  utilities.verifyTextContent(utilities.getNthElement(chartsLinePage.previewTabYAxisCoordinate(), 0), 20);
106
98
  utilities.verifyElementCount(chartsLinePage.previewTabChartRowHeaderContainer(), 21);
107
99
  });
@@ -150,7 +142,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
150
142
 
151
143
  chartsLinePage.tests.verifyPointTooltipContentsCSSAndA11yInPreviewTab('0', 'Point 1');
152
144
 
153
- it(`${view} - Charts line: User should be able to edit the point label`, () => {
145
+ it('User should be able to edit the point label', () => {
154
146
  chartsLinePage.steps.editPointLabelInPreviewTab(0, '2000');
155
147
  });
156
148
 
@@ -285,11 +277,10 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
285
277
  cy.checkAccessibility(chartsLinePage.previewTabGraphTitle().parents('[class*="ChartsPreviewstyles__PreviewWrapper"]'));
286
278
  });
287
279
 
288
- it(`${view}: Charts line - When user deletes a point, then that point should be deleted and the add point button should be enabled again`, () => {
280
+ it('When user deletes a point, then that point should be deleted and the add point button should be enabled again', () => {
289
281
  chartsLinePage.steps.deletePointInPreviewTab(3);
290
282
  utilities.verifyElementCount(chartsLinePage.previewTabPoint(), 3);
291
283
  utilities.verifyElementVisibilityState(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 4), 'notExist');
292
- cy.eyesCheckWindow(`${view} - Charts Line: Charts bar after adding and deleting points`);
293
284
  });
294
285
  });
295
286
  });
@@ -342,7 +333,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
342
333
  });
343
334
 
344
335
  //Point labels
345
- it(`${view}: Charts line - When user updates a point label, then the undo and reset button should be displayed in enabled state`, () => {
336
+ it('When user updates a point label, then the undo and reset button should be displayed in enabled state', () => {
346
337
  chartsLinePage.steps.editPointLabelInPreviewTab(0, 'Edited point 1');
347
338
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsUndoButton());
348
339
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsResetButton());
@@ -570,7 +561,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
570
561
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 3, value: 6, range: 10 });
571
562
  });
572
563
 
573
- it(`${view}: Charts line - 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`, () => {
564
+ 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', () => {
574
565
  chartsLinePage.steps.clickOnResetButtonPreviewTab();
575
566
  chartsLinePage.steps.confirmReset();
576
567
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsAddBarOrPointButton());
@@ -61,7 +61,7 @@ describe('Preview tab contents for all views', () => {
61
61
  compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Show');
62
62
  });
63
63
 
64
- it(`${view} When user clicks on \'Show compass\' button then \'Compass\' should be displayed and \'Show compass\' button should change to \'Hide compass\'`, () => {
64
+ it('When user clicks on \'Show compass\' button then \'Compass\' should be displayed and \'Show compass\' button should change to \'Hide compass\'', () => {
65
65
  compassPage.steps.clickOnCompassToolVisibilityButton();
66
66
  compassPage.steps.verifyCompassToolIsVisible();
67
67
  compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Hide');
@@ -68,7 +68,7 @@ describe('Preview tab contents for all views', () => {
68
68
  utilities.verifyElementVisibilityState(contentBlocksPage.subTitleLabelPreviewTab(), 'visible');
69
69
  });
70
70
 
71
- it(`${view} - Text block, solid group divider and subtitle text should be displayed`, () => {
71
+ it('Text block, solid group divider and subtitle text should be displayed', () => {
72
72
  utilities.verifyInnerText(contentBlocksPage.textBlockPreviewTab(), 'This is text block text');
73
73
  utilities.verifyElementVisibilityState(contentBlocksPage.textBlockPreviewTab(), 'visible');
74
74
  utilities.verifyElementVisibilityState(contentBlocksPage.groupDividerPreviewTab(), 'visible');
@@ -135,15 +135,15 @@ describe('Create item page - Drag and drop into categories: All or nothing with
135
135
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Eagle': 1, 'Peacock': 1, 'Platypus': 4 });
136
136
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
137
137
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
138
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
138
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
139
139
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
140
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
141
- dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(2);
140
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
141
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
142
142
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
143
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
143
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(3);
144
144
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
145
145
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
146
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], [], []], ['1', '2', '4', '5', '3', '6']);
146
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
147
147
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
148
148
  /*cy.log('When the user has attempted the question with partially correct with all the cells correct as per the alternative accordion but one cell incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
149
149
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -160,14 +160,14 @@ describe('Create item page - Drag and drop into categories: All or nothing with
160
160
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Ostrich': 3, 'Platypus': 4 });
161
161
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
162
162
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
163
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
164
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
163
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
165
164
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(1);
166
- dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(2);
167
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
165
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
166
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
167
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
168
168
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
169
169
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
170
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], [], []], ['1', '2', '4', '5', '3', '6']);
170
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
171
171
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
172
172
  /*cy.log('When the user has attempted the question with partially correct with more number of options exclusively from the alternative accordion but with one option common across both accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the responses from the alternative accordion response as well as common response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
173
173
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -183,15 +183,15 @@ describe('Create item page - Drag and drop into categories: All or nothing with
183
183
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Eagle': 1, 'Peacock': 1, 'Ostrich': 3, 'Platypus': 4, 'Whale': 5 });
184
184
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
185
185
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
186
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
186
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
187
187
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
188
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
189
- dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(2);
188
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
189
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
190
190
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
191
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(4);
191
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(4);
192
192
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(5);
193
193
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
194
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], [], []], ['1', '2', '4', '5', '3', '6']);
194
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
195
195
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
196
196
  /*cy.log('When the user has attempted the question with partially correct with all the cells correctly attempted as per the alternative accordion but with an extra incorrect option and clicks on \'Check answer\' button, then correct icon should be displayed besides the responses from the alternative accordion response as well as common response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
197
197
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -210,15 +210,15 @@ describe('Create item page - Drag and drop into categories: All or nothing with
210
210
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Bat': 0, 'Peacock': 1, 'Platypus': 4 });
211
211
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
212
212
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
213
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
214
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(1);
215
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
216
- dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(2);
213
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
214
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
215
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
216
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
217
217
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
218
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
218
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(3);
219
219
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
220
220
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
221
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], [], []], ['1', '2', '4', '5', '3', '6']);
221
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
222
222
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
223
223
  /*cy.log('When the user has attempted the question with partially correct such that more number of correct options are exclusively from the alternative accordion but with one option exclusively from the correct accordion in the same cell and clicks on \'Check answer\' button, then correct icon should be displayed besides the responses from the alternative accordions, incorrect icon should be displayed besides the responses from the correct accordion, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
224
224
  dragAndDropIntoCategoriesPage.steps.checkAnswer();