itemengine-cypress-automation 1.0.284-RepoUpdate13thJan-c7ac0b4.0 → 1.0.284-applitools-38637bb.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +36 -26
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +14 -4
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
  5. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +10 -0
  6. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +10 -1
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
  10. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
  11. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  12. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
  13. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +17 -8
  14. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  15. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
  16. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +10 -1
  17. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +10 -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 +6 -7
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
  26. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +35 -21
  28. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
  29. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +15 -6
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
  45. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  46. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
  54. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
  55. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
  56. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +14 -5
  57. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  58. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
  59. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
  60. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
  61. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
  62. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
  63. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +13 -4
  64. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
  65. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
  66. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
  67. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +14 -5
  68. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +15 -5
  69. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
  70. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
  71. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +12 -3
  72. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  73. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  74. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  75. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  76. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  77. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  78. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  79. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  80. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  81. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  82. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  83. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  84. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  85. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +14 -5
  86. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
  87. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
  88. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  89. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  90. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  91. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  92. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  93. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  94. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  95. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  100. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +14 -5
  101. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
  102. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
  103. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
  104. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  105. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
  106. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
  107. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  108. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  109. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
  110. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  111. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  112. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +14 -5
  113. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
  114. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
  115. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  116. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  117. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  118. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +10 -1
  119. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +10 -1
  120. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +10 -1
  121. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
  122. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +14 -6
  123. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +10 -1
  124. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
  125. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
  126. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  127. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
  128. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  129. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
  130. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
  131. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  132. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
  133. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  134. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  135. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  136. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  137. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
  138. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  139. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  140. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
  141. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +13 -4
  142. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
  143. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  144. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +12 -3
  145. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +12 -3
  146. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
  147. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
  148. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
  149. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  150. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
  151. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
  152. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +18 -9
  153. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  154. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
  155. package/cypress/e2e/applitools.config.js +14 -0
  156. package/cypress/pages/audioPlayerPage.js +4 -4
  157. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
  158. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  159. package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
  160. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  161. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
  162. package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
  163. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  164. package/cypress/pages/createItemPage.js +1 -38
  165. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  166. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
  167. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
  168. package/cypress/pages/listOrderingPage.js +1 -1
  169. package/cypress/pages/matchingPage.js +7 -34
  170. package/cypress/pages/multipleSelectionPage.js +2 -17
  171. package/cypress/pages/numberLineLabelPage.js +3 -3
  172. package/cypress/pages/readingRulerPage.js +3 -5
  173. package/cypress/pages/singleSelectionPage.js +2 -5
  174. package/cypress/pages/textEntryMathPage.js +5 -19
  175. package/cypress/pages/textSelectionPage.js +1 -1
  176. package/cypress/support/commands.js +11 -0
  177. package/cypress/support/e2e.js +1 -0
  178. package/package.json +4 -1
  179. package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
  180. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
  181. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
  182. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
  183. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
  184. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
  185. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
  186. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
  187. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
  188. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
  189. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
  190. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
  191. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
  192. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
  193. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
  194. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
  195. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
  196. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
  197. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
  198. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
  199. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
  200. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
  201. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
  202. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
  203. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial different weights', () => {
91
91
  matchingPage.steps.checkAnswer();
92
92
  matchingPage.steps.verifyCorrectOptionIcon(0);
93
93
  matchingPage.steps.verifyCorrectOptionIcon(1);
94
- matchingPage.steps.verifyIncorrectOptionIcon(2);
94
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
95
95
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
96
96
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
97
97
  });
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial different weights', () => {
111
111
  matchingPage.steps.checkAnswer();
112
112
  matchingPage.steps.verifyCorrectOptionIcon(0);
113
113
  matchingPage.steps.verifyCorrectOptionIcon(1);
114
- matchingPage.steps.verifyIncorrectOptionIcon(2);
114
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
115
115
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
116
116
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
117
117
  });
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial different weights', () => {
130
130
  /*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, status message and correct answer section should not be displayed')
131
131
  matchingPage.steps.checkAnswer();
132
132
  matchingPage.steps.verifyCorrectOptionIcon(0);
133
- matchingPage.steps.verifyIncorrectOptionIcon(1);
133
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
134
134
  matchingPage.steps.verifyCorrectOptionIcon(2);
135
135
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
136
136
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -189,8 +189,8 @@ describe('Create item page - Matching: Partial different weights', () => {
189
189
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
190
190
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
191
191
  matchingPage.steps.checkAnswer();
192
- matchingPage.steps.verifyIncorrectOptionIcon(0);
193
- matchingPage.steps.verifyIncorrectOptionIcon(1);
192
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
193
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
194
194
  matchingPage.steps.verifyCorrectOptionIcon(2);
195
195
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
196
196
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -210,8 +210,8 @@ describe('Create item page - Matching: Partial different weights', () => {
210
210
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
211
211
  matchingPage.steps.checkAnswer();
212
212
  matchingPage.steps.verifyIncorrectOptionIcon(0);
213
- matchingPage.steps.verifyIncorrectOptionIcon(1);
214
- matchingPage.steps.verifyIncorrectOptionIcon(2);
213
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
214
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
215
215
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
216
216
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
217
217
  });
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial different weights', () => {
91
91
  matchingPage.steps.checkAnswer();
92
92
  matchingPage.steps.verifyCorrectOptionIcon(0);
93
93
  matchingPage.steps.verifyCorrectOptionIcon(1);
94
- matchingPage.steps.verifyIncorrectOptionIcon(2);
94
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
95
95
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
96
96
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
97
97
  });
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial different weights', () => {
111
111
  matchingPage.steps.checkAnswer();
112
112
  matchingPage.steps.verifyCorrectOptionIcon(0);
113
113
  matchingPage.steps.verifyCorrectOptionIcon(1);
114
- matchingPage.steps.verifyIncorrectOptionIcon(2);
114
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
115
115
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
116
116
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
117
117
  });
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial different weights', () => {
130
130
  /*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
131
131
  matchingPage.steps.checkAnswer();
132
132
  matchingPage.steps.verifyCorrectOptionIcon(0);
133
- matchingPage.steps.verifyIncorrectOptionIcon(1);
133
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
134
134
  matchingPage.steps.verifyCorrectOptionIcon(2)
135
135
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
136
136
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -189,8 +189,8 @@ describe('Create item page - Matching: Partial different weights', () => {
189
189
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
190
190
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
191
191
  matchingPage.steps.checkAnswer();
192
- matchingPage.steps.verifyIncorrectOptionIcon(0);
193
- matchingPage.steps.verifyIncorrectOptionIcon(1);
192
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
193
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
194
194
  matchingPage.steps.verifyCorrectOptionIcon(2);
195
195
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
196
196
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -210,8 +210,8 @@ describe('Create item page - Matching: Partial different weights', () => {
210
210
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
211
211
  matchingPage.steps.checkAnswer();
212
212
  matchingPage.steps.verifyIncorrectOptionIcon(0);
213
- matchingPage.steps.verifyIncorrectOptionIcon(1);
214
- matchingPage.steps.verifyIncorrectOptionIcon(2);
213
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
214
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
215
215
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
216
216
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
217
217
  });
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial different weights', () => {
91
91
  matchingPage.steps.checkAnswer();
92
92
  matchingPage.steps.verifyCorrectOptionIcon(0);
93
93
  matchingPage.steps.verifyCorrectOptionIcon(1);
94
- matchingPage.steps.verifyIncorrectOptionIcon(2);
94
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
95
95
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
96
96
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
97
97
  });
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial different weights', () => {
111
111
  matchingPage.steps.checkAnswer();
112
112
  matchingPage.steps.verifyCorrectOptionIcon(0);
113
113
  matchingPage.steps.verifyCorrectOptionIcon(1);
114
- matchingPage.steps.verifyIncorrectOptionIcon(2);
114
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
115
115
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
116
116
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
117
117
  });
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial different weights', () => {
130
130
  /*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
131
131
  matchingPage.steps.checkAnswer();
132
132
  matchingPage.steps.verifyCorrectOptionIcon(0);
133
- matchingPage.steps.verifyIncorrectOptionIcon(1);
133
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
134
134
  matchingPage.steps.verifyCorrectOptionIcon(2)
135
135
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
136
136
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -189,8 +189,8 @@ describe('Create item page - Matching: Partial different weights', () => {
189
189
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
190
190
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
191
191
  matchingPage.steps.checkAnswer();
192
- matchingPage.steps.verifyIncorrectOptionIcon(0);
193
- matchingPage.steps.verifyIncorrectOptionIcon(1);
192
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
193
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
194
194
  matchingPage.steps.verifyCorrectOptionIcon(2);
195
195
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
196
196
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -210,8 +210,8 @@ describe('Create item page - Matching: Partial different weights', () => {
210
210
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
211
211
  matchingPage.steps.checkAnswer();
212
212
  matchingPage.steps.verifyIncorrectOptionIcon(0);
213
- matchingPage.steps.verifyIncorrectOptionIcon(1);
214
- matchingPage.steps.verifyIncorrectOptionIcon(2);
213
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
214
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
215
215
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
216
216
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
217
217
  });
@@ -48,8 +48,8 @@ describe('Create item page - Matching: Partial equal weights', () => {
48
48
  /*cy.log('When user clicks on Check answer button after he attempts the question incorrectly incorrect icons should be displayed besides all incorrect responses, status message and correct answer section should not be displayed')
49
49
  matchingPage.steps.checkAnswer();
50
50
  matchingPage.steps.verifyIncorrectOptionIcon(0);
51
- matchingPage.steps.verifyIncorrectOptionIcon(1);
52
- matchingPage.steps.verifyIncorrectOptionIcon(2);
51
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
52
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
53
53
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
54
54
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
55
55
  });
@@ -68,7 +68,7 @@ describe('Create item page - Matching: Partial equal weights', () => {
68
68
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct, some incomplete, some incorrect options, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
69
69
  matchingPage.steps.checkAnswer();
70
70
  matchingPage.steps.verifyCorrectOptionIcon(0);
71
- matchingPage.steps.verifyIncorrectOptionIcon(1);
71
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
72
72
  matchingPage.steps.verifyIncorrectOptionIcon(2);
73
73
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
74
74
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -87,7 +87,7 @@ describe('Create item page - Matching: Partial equal weights', () => {
87
87
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
88
88
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
89
89
  matchingPage.steps.checkAnswer();
90
- matchingPage.steps.verifyIncorrectOptionIcon(0);
90
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
91
91
  matchingPage.steps.verifyCorrectOptionIcon(1);
92
92
  matchingPage.steps.verifyCorrectOptionIcon(2);
93
93
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -83,7 +83,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
83
83
  matchingPage.steps.switchToGradingView();
84
84
  matchingPage.steps.verifyCorrectOptionIcon(0);
85
85
  matchingPage.steps.verifyCorrectOptionIcon(1);
86
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
86
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
87
87
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
89
89
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
91
91
  matchingPage.steps.checkAnswer();
92
92
  matchingPage.steps.verifyCorrectOptionIcon(0);
93
93
  matchingPage.steps.verifyCorrectOptionIcon(1);
94
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
94
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
95
95
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
96
96
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
97
97
  });
@@ -103,7 +103,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
103
103
  matchingPage.steps.switchToGradingView();
104
104
  matchingPage.steps.verifyCorrectOptionIcon(0);
105
105
  matchingPage.steps.verifyCorrectOptionIcon(1);
106
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
106
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
107
107
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
109
109
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
111
111
  matchingPage.steps.checkAnswer();
112
112
  matchingPage.steps.verifyCorrectOptionIcon(0);
113
113
  matchingPage.steps.verifyCorrectOptionIcon(1);
114
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
114
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
115
115
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
116
116
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
117
117
  });
@@ -122,7 +122,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
122
122
  matchingPage.steps.verifyPreviewScore(10, 15);
123
123
  matchingPage.steps.switchToGradingView();
124
124
  matchingPage.steps.verifyCorrectOptionIcon(0);
125
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
125
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
126
126
  matchingPage.steps.verifyCorrectOptionIcon(2);
127
127
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
130
130
  /*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion, and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
131
131
  matchingPage.steps.checkAnswer();
132
132
  matchingPage.steps.verifyCorrectOptionIcon(0);
133
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
133
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
134
134
  matchingPage.steps.verifyCorrectOptionIcon(2);
135
135
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
136
136
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -161,16 +161,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
161
161
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
162
162
  matchingPage.steps.verifyPreviewScore(5, 15);
163
163
  matchingPage.steps.switchToGradingView();
164
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
165
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
164
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
165
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
166
166
  matchingPage.steps.verifyCorrectOptionIcon(2);
167
167
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
169
169
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
170
170
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
171
171
  matchingPage.steps.checkAnswer();
172
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
173
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
172
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
173
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
174
174
  matchingPage.steps.verifyCorrectOptionIcon(2);
175
175
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
176
176
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -182,16 +182,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
182
182
  matchingPage.steps.verifyPreviewScore(0, 15);
183
183
  matchingPage.steps.switchToGradingView();
184
184
  matchingPage.steps.verifyIncorrectOptionIcon(0);
185
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
186
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
185
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
187
187
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
189
189
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
190
190
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
191
191
  matchingPage.steps.checkAnswer();
192
192
  matchingPage.steps.verifyIncorrectOptionIcon(0);
193
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
194
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
193
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
194
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
195
195
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
196
196
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
197
197
  });
@@ -83,7 +83,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
83
83
  matchingPage.steps.switchToGradingView();
84
84
  matchingPage.steps.verifyCorrectOptionIcon(0);
85
85
  matchingPage.steps.verifyCorrectOptionIcon(1);
86
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
86
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
87
87
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
89
89
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
91
91
  matchingPage.steps.checkAnswer();
92
92
  matchingPage.steps.verifyCorrectOptionIcon(0);
93
93
  matchingPage.steps.verifyCorrectOptionIcon(1);
94
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
94
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
95
95
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
96
96
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
97
97
  });
@@ -103,7 +103,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
103
103
  matchingPage.steps.switchToGradingView();
104
104
  matchingPage.steps.verifyCorrectOptionIcon(0);
105
105
  matchingPage.steps.verifyCorrectOptionIcon(1);
106
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
106
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
107
107
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
109
109
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
111
111
  matchingPage.steps.checkAnswer();
112
112
  matchingPage.steps.verifyCorrectOptionIcon(0);
113
113
  matchingPage.steps.verifyCorrectOptionIcon(1);
114
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
114
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
115
115
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
116
116
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
117
117
  });
@@ -122,7 +122,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
122
122
  matchingPage.steps.verifyPreviewScore(10, 15);
123
123
  matchingPage.steps.switchToGradingView();
124
124
  matchingPage.steps.verifyCorrectOptionIcon(0);
125
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
125
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
126
126
  matchingPage.steps.verifyCorrectOptionIcon(2);
127
127
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
130
130
  /*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
131
131
  matchingPage.steps.checkAnswer();
132
132
  matchingPage.steps.verifyCorrectOptionIcon(0);
133
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
133
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
134
134
  matchingPage.steps.verifyCorrectOptionIcon(2);
135
135
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
136
136
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -161,16 +161,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
161
161
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
162
162
  matchingPage.steps.verifyPreviewScore(5, 15);
163
163
  matchingPage.steps.switchToGradingView();
164
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
165
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
164
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
165
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
166
166
  matchingPage.steps.verifyCorrectOptionIcon(2);
167
167
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
169
169
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
170
170
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
171
171
  matchingPage.steps.checkAnswer();
172
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
173
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
172
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
173
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
174
174
  matchingPage.steps.verifyCorrectOptionIcon(2);
175
175
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
176
176
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -182,16 +182,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
182
182
  matchingPage.steps.verifyPreviewScore(0, 15);
183
183
  matchingPage.steps.switchToGradingView();
184
184
  matchingPage.steps.verifyIncorrectOptionIcon(0);
185
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
186
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
185
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
187
187
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
189
189
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
190
190
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
191
191
  matchingPage.steps.checkAnswer();
192
192
  matchingPage.steps.verifyIncorrectOptionIcon(0);
193
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
194
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
193
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
194
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
195
195
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
196
196
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
197
197
  });
@@ -83,7 +83,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
83
83
  matchingPage.steps.switchToGradingView();
84
84
  matchingPage.steps.verifyCorrectOptionIcon(0);
85
85
  matchingPage.steps.verifyCorrectOptionIcon(1);
86
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
86
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
87
87
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
89
89
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
91
91
  matchingPage.steps.checkAnswer();
92
92
  matchingPage.steps.verifyCorrectOptionIcon(0);
93
93
  matchingPage.steps.verifyCorrectOptionIcon(1);
94
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
94
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
95
95
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
96
96
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
97
97
  });
@@ -103,7 +103,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
103
103
  matchingPage.steps.switchToGradingView();
104
104
  matchingPage.steps.verifyCorrectOptionIcon(0);
105
105
  matchingPage.steps.verifyCorrectOptionIcon(1);
106
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
106
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
107
107
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
109
109
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
111
111
  matchingPage.steps.checkAnswer();
112
112
  matchingPage.steps.verifyCorrectOptionIcon(0);
113
113
  matchingPage.steps.verifyCorrectOptionIcon(1);
114
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
114
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
115
115
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
116
116
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
117
117
  });
@@ -122,7 +122,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
122
122
  matchingPage.steps.verifyPreviewScore(6, 15);
123
123
  matchingPage.steps.switchToGradingView();
124
124
  matchingPage.steps.verifyCorrectOptionIcon(0);
125
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
125
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
126
126
  matchingPage.steps.verifyCorrectOptionIcon(2);
127
127
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
130
130
  /*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
131
131
  matchingPage.steps.checkAnswer();
132
132
  matchingPage.steps.verifyCorrectOptionIcon(0);
133
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
133
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
134
134
  matchingPage.steps.verifyCorrectOptionIcon(2);
135
135
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
136
136
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -161,16 +161,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
161
161
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
162
162
  matchingPage.steps.verifyPreviewScore(5, 15);
163
163
  matchingPage.steps.switchToGradingView();
164
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
165
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
164
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
165
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
166
166
  matchingPage.steps.verifyCorrectOptionIcon(2);
167
167
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
169
169
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
170
170
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
171
171
  matchingPage.steps.checkAnswer();
172
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
173
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
172
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
173
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
174
174
  matchingPage.steps.verifyCorrectOptionIcon(2);
175
175
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
176
176
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -182,16 +182,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
182
182
  matchingPage.steps.verifyPreviewScore(0, 15);
183
183
  matchingPage.steps.switchToGradingView();
184
184
  matchingPage.steps.verifyIncorrectOptionIcon(0);
185
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
186
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
185
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
187
187
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
189
189
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
190
190
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
191
191
  matchingPage.steps.checkAnswer();
192
192
  matchingPage.steps.verifyIncorrectOptionIcon(0);
193
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
194
- matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
193
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
194
+ matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
195
195
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
196
196
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
197
197
  });
@@ -14,6 +14,14 @@ describe('Create item page - Matching: All or nothing ', () => {
14
14
  cy.loginAs('admin');
15
15
  });
16
16
 
17
+ beforeEach(() => {
18
+ cy.startApplitools();
19
+ });
20
+
21
+ afterEach(() => {
22
+ cy.eyesClose();
23
+ });
24
+
17
25
  if (!grepTags || !grepTags.includes('smoke')) {
18
26
  describe('Question preview modes: Student view and Grading view', () => {
19
27
  abortEarlySetup();
@@ -97,7 +105,7 @@ describe('Create item page - Matching: All or nothing ', () => {
97
105
  });
98
106
  };
99
107
 
100
- it('When the user selects \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
108
+ it(`${view}: Matching - When the user selects \'Grading\' view without attempting the question, dropzone numeration should be displayed, then correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration`, () => {
101
109
  if (view === 'Grading view') {
102
110
  studentViewPage.steps.submitResponse();
103
111
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -116,7 +124,7 @@ describe('Create item page - Matching: All or nothing ', () => {
116
124
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
117
125
  });
118
126
 
119
- it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
127
+ it(`${view}:Matching - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
120
128
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 1 }, { optionText: 'Fish', dropzoneIndex: 2 }]);
121
129
  if (view === 'Grading view') {
122
130
  studentViewPage.steps.submitResponse();
@@ -135,7 +143,7 @@ describe('Create item page - Matching: All or nothing ', () => {
135
143
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
136
144
  });
137
145
 
138
- it('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
146
+ it(`${view}: Matching - When the user attempts the question partially correct with some correct, some incomplete, some incorrect options then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
139
147
  if (view === 'Grading view') {
140
148
  studentViewPage.steps.clearResponses();
141
149
  };
@@ -157,7 +165,7 @@ describe('Create item page - Matching: All or nothing ', () => {
157
165
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
158
166
  });
159
167
 
160
- it('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
168
+ it(`${view}: Matching - When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
161
169
  if (view === 'Grading view') {
162
170
  studentViewPage.steps.clearResponses();
163
171
  };
@@ -179,7 +187,7 @@ describe('Create item page - Matching: All or nothing ', () => {
179
187
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
180
188
  });
181
189
 
182
- it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
190
+ it(`${view}: Matching - When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed`, () => {
183
191
  if (view === 'Grading view') {
184
192
  studentViewPage.steps.clearResponses();
185
193
  };
@@ -200,6 +208,7 @@ describe('Create item page - Matching: All or nothing ', () => {
200
208
  matchingPage.steps.verifyCorrectOptionIcon(2);
201
209
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
202
210
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();
211
+ cy.eyesCheckWindow(`Matching ${view} - Attempting the question correctly`);
203
212
  });
204
213
  });
205
214
  });
@@ -11,6 +11,14 @@ describe('Create item page - Matching - Preview contents in all views', () => {
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
+ beforeEach(() => {
15
+ cy.startApplitools();
16
+ });
17
+
18
+ afterEach(() => {
19
+ cy.eyesClose();
20
+ });
21
+
14
22
  views.forEach((view) => {
15
23
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
16
24
  abortEarlySetup();
@@ -89,15 +97,16 @@ describe('Create item page - Matching - Preview contents in all views', () => {
89
97
  }
90
98
  });
91
99
 
92
- it('Question instructions should be visible', () => {
100
+ it(`Question instructions should be visible`, () => {
93
101
  utilities.verifyInnerText(matchingPage.questionInstructionsText(), 'Fill the categories with the right answer.');
94
102
  utilities.verifyElementVisibilityState(matchingPage.questionInstructionsText(), 'visible');
95
103
  });
96
104
 
97
- it('The prompt should have image, equation, bold text displayed', () => {
105
+ it(`Matching - ${view} - The prompt should have image, equation, bold text displayed`, () => {
98
106
  matchingPage.steps.verifyPromptWithImageInPreviewTab(0);
99
107
  matchingPage.steps.verifyPromptWithBoldTextInPreviewTab(1);
100
108
  matchingPage.steps.verifyPromptWithEquationTextInPreviewTab(2);
109
+ cy.eyesCheckWindow(`Matching - ${view} - Prompt with image, equation, bold text`);
101
110
  });
102
111
 
103
112
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -110,7 +119,7 @@ describe('Create item page - Matching - Preview contents in all views', () => {
110
119
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(2, '');
111
120
  });
112
121
 
113
- it('User should be able to drag and drop image, bold text and equation options in the dropzone', () => {
122
+ it(`User should be able to drag and drop image, bold text and equation options in the dropzone`, () => {
114
123
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fox', dropzoneIndex: 0 }, { optionText: 'This is a bold option', dropzoneIndex: 1 }, { optionText: 'Solve the following', dropzoneIndex: 2 }]);
115
124
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(0, 'Fox');
116
125
  matchingPage.steps.verifyDropzoneWithImageInPreviewTab(0);
@@ -135,7 +144,7 @@ describe('Create item page - Matching - Preview contents in all views', () => {
135
144
  matchingPage.steps.verifyGradingViewOptionDisabled([{ optionText: 'Elephant', dropzoneIndex: 0 }]);
136
145
  });
137
146
  } else {
138
- it('The dropzone should be displayed filled with answers', () => {
147
+ it(`The dropzone should be displayed filled with answers`, () => {
139
148
  utilities.verifyElementCount(matchingPage.dropzonePreviewTab(), 3);
140
149
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(0, 'Fox');
141
150
  matchingPage.steps.verifyDropzoneWithImageInPreviewTab(0);