itemengine-cypress-automation 1.0.284-IEI-4866-bc2c255.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 (204) hide show
  1. package/cypress/e2e/Gzip/gzip.js +7 -7
  2. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +36 -26
  3. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +14 -4
  4. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  5. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
  6. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +10 -0
  7. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +10 -1
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  10. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
  11. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
  12. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  13. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
  14. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +17 -8
  15. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  16. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
  17. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +10 -1
  18. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +10 -1
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +6 -7
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
  27. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  28. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +35 -21
  29. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  44. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +15 -6
  45. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
  46. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  47. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
  55. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
  56. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
  57. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +14 -5
  58. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  59. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
  60. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
  61. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
  62. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
  63. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
  64. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +13 -4
  65. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
  66. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
  67. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
  68. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +14 -5
  69. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +15 -5
  70. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
  71. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
  72. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +12 -3
  73. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  74. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  75. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  76. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  77. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  78. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  79. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  80. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  81. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  82. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  83. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  84. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  85. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  86. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +14 -5
  87. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
  88. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
  89. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  90. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  91. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  92. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  93. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  94. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  95. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  99. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  100. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  101. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +14 -5
  102. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
  103. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
  104. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
  105. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  106. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
  107. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
  108. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  109. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  110. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
  111. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  112. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  113. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +14 -5
  114. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
  115. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
  116. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  117. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  118. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  119. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +10 -1
  120. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +10 -1
  121. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +10 -1
  122. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
  123. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +14 -6
  124. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +10 -1
  125. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
  126. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
  127. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  128. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
  129. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  130. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
  131. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
  132. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  133. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
  134. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  135. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  136. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  137. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  138. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
  139. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  140. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  141. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
  142. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +13 -4
  143. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
  144. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  145. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +12 -3
  146. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +12 -3
  147. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
  148. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
  149. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
  150. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  151. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
  152. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
  153. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +18 -9
  154. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  155. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
  156. package/cypress/e2e/applitools.config.js +14 -0
  157. package/cypress/pages/audioPlayerPage.js +4 -4
  158. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
  159. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  160. package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
  161. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  162. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
  163. package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
  164. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  165. package/cypress/pages/createItemPage.js +1 -38
  166. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  167. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
  168. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
  169. package/cypress/pages/listOrderingPage.js +1 -1
  170. package/cypress/pages/matchingPage.js +7 -34
  171. package/cypress/pages/multipleSelectionPage.js +2 -17
  172. package/cypress/pages/numberLineLabelPage.js +3 -3
  173. package/cypress/pages/readingRulerPage.js +3 -5
  174. package/cypress/pages/singleSelectionPage.js +2 -5
  175. package/cypress/pages/textEntryMathPage.js +5 -19
  176. package/cypress/pages/textSelectionPage.js +1 -1
  177. package/cypress/support/commands.js +11 -0
  178. package/cypress/support/e2e.js +1 -0
  179. package/package.json +4 -1
  180. package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
  181. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
  182. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
  183. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
  184. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
  185. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
  186. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
  187. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
  188. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
  189. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
  190. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
  191. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
  192. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
  193. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
  194. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
  195. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
  196. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
  197. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
  198. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
  199. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
  200. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
  201. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
  202. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
  203. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
  204. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -11,6 +11,14 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
+ beforeEach(() => {
15
+ cy.startApplitools();
16
+ });
17
+
18
+ afterEach(() => {
19
+ cy.eyesClose();
20
+ });
21
+
14
22
  views.forEach((view) => {
15
23
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
16
24
  abortEarlySetup();
@@ -77,12 +85,13 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
77
85
  }
78
86
  });
79
87
 
80
- it('Question instructions should be visible', () => {
88
+ it(`DND into categories: ${view} Question instructions should be visible`, () => {
81
89
  utilities.verifyInnerText(dragAndDropIntoCategoriesPage.questionInstructionsText(), 'Drag and drop options in correct categories');
82
90
  utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.questionInstructionsText(), 'visible');
91
+ cy.eyesCheckWindow(`DND into categories: ${view} Default question state`);
83
92
  });
84
93
 
85
- it(`The category table as set by the user should be displayed in the ${view}`, () => {
94
+ it(`DND into categories: The category table as set by the user should be displayed in the ${view}`, () => {
86
95
  dragAndDropIntoCategoriesPage.steps.verifyTableCellPropertyPreviewTab(0, 'None');
87
96
  utilities.verifyInnerText(utilities.getNthElement(dragAndDropIntoCategoriesPage.cellContainerPreviewTab(), 0), '');
88
97
  dragAndDropIntoCategoriesPage.steps.verifyTableCellPropertyPreviewTab(1, 'Heading');
@@ -107,7 +116,7 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
107
116
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionPreviewTab(5, 'Eagle');
108
117
  });
109
118
 
110
- it(`User should able to drag and drop options in the ${view}`, () => {
119
+ it(`DND into categories: User should able to drag and drop options in the ${view}`, () => {
111
120
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Eagle': 1, 'Bat': 0 });
112
121
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(0, ['Bat']);
113
122
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Eagle']);
@@ -13,6 +13,14 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
+ beforeEach(() => {
17
+ cy.startApplitools();
18
+ });
19
+
20
+ afterEach(() => {
21
+ cy.eyesClose();
22
+ });
23
+
16
24
  if (views.includes('Grading view')) {
17
25
  describe('Grading view contents', { tags: 'smoke' }, () => {
18
26
  abortEarlySetup();
@@ -50,10 +58,11 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
50
58
  utilities.verifyElementVisibilityState(drawingResponsePage.questionInstructionsText(), 'visible');
51
59
  });
52
60
 
53
- it('A preview of the canvas along with the play button should be displayed and user should be able to click on the play button', () => {
61
+ it('Drawing response: A preview of the canvas along with the play button should be displayed and user should be able to click on the play button', () => {
54
62
  utilities.verifyElementVisibilityState(drawingResponsePage.gradingViewPlayFeatureButton(), 'visible');
55
63
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabLowerCanvas(), 'visible');
56
64
  drawingResponsePage.steps.clickOnPlayButtonInGradingView();
65
+ cy.eyesCheckWindow(`${view} Checking grading view for drawing response`);
57
66
  });
58
67
 
59
68
  it('Empty score input field and total score should be displayed', () => {
@@ -91,9 +100,10 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
91
100
  utilities.verifyElementVisibilityState(correctAnswerViewPage.correctAnswerViewQuestionInstructions(), 'visible');
92
101
  });
93
102
 
94
- it('\'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
103
+ it('Drawing response: \'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
95
104
  utilities.verifyTextContent(correctAnswerViewPage.manualScoredQuestionHelpText(), 'This is a manual scored question.');
96
105
  utilities.verifyElementVisibilityState(correctAnswerViewPage.manualScoredQuestionHelpText(), 'visible');
106
+ cy.eyesCheckWindow(`${view} Checking correct answer view for drawing response`);
97
107
  });
98
108
 
99
109
  it('The points alloted to the question should be displayed', () => {
@@ -19,6 +19,14 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
19
19
  cy.loginAs('admin');
20
20
  });
21
21
 
22
+ beforeEach(() => {
23
+ cy.startApplitools();
24
+ });
25
+
26
+ afterEach(() => {
27
+ cy.eyesClose();
28
+ });
29
+
22
30
  views.forEach((view) => {
23
31
  describe(`Primary toolbar options for ${view}`, { tags: 'smoke' }, () => {
24
32
  abortEarlySetup();
@@ -76,7 +84,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
76
84
  });
77
85
 
78
86
  //Will not be able to cover image options as they will open the windows explorer popup and closing the popup is not possible
79
- it('When user clicks on the drawing toolbar options, then the option name and its respective secondary toolbar options should be displayed in the secondary toolbar', () => {
87
+ it(`When user clicks on the drawing toolbar options, then the option name and its respective secondary toolbar options should be displayed in the secondary toolbar`, () => {
80
88
  drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions.forEach((toolbarOption) => {
81
89
  if (toolbarOption.secondaryToolbarOptions !== undefined) {
82
90
  drawingResponsePage.steps.selectPreviewTabToolbarOption(toolbarOption.displayName);
@@ -135,7 +143,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
135
143
  drawingResponsePage.steps.switchToPreviewTab();
136
144
  });
137
145
 
138
- it('User should be able to upload an image', () => {
146
+ it(`User should be able to upload an image`, () => {
139
147
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
140
148
  drawingResponsePage.steps.uploadFile('uploads/image.png');
141
149
  });
@@ -145,14 +153,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
145
153
  drawingResponsePage.steps.verifyInsertImageContainerNotExist();
146
154
  });
147
155
 
148
- it('User should be able to attach multiple files at once among the supported file types', () => {
149
- drawingResponsePage.steps.resetQuestionPreview();
156
+ it(`User should be able to attach multiple files at once among the supported file types`, () => {
150
157
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
151
158
  drawingResponsePage.steps.uploadFile(['uploads/sample.jpg', 'uploads/sample.gif']);
152
159
  drawingResponsePage.steps.verifyInsertImageContainerNotExist();
153
160
  });
154
161
 
155
- it('When the user tries to upload an image an image more than 5mb then an error should be displayed \'The following files were rejected *filename* is too large. The maximum file size is 5MB\'', () => {
162
+ it(`When the user tries to upload an image more than 5mb then an error should be displayed 'The following files were rejected *filename* is too large. The maximum file size is 5MB'`, () => {
156
163
  drawingResponsePage.steps.resetQuestionPreview();
157
164
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
158
165
  drawingResponsePage.steps.uploadFile('uploads/20mbFile.png');
@@ -194,7 +201,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
194
201
  });
195
202
  });
196
203
 
197
- it('When user clicks on \'Special characters\' secondary toolbar option, then the \'Special characters\' popup should be displayed with \'Special characters\' title and a \'Close\' button', () => {
204
+ it(`When user clicks on 'Special characters' secondary toolbar option, then the 'Special characters' popup should be displayed with 'Special characters' title and a 'Close' button`, () => {
198
205
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]);
199
206
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
200
207
  drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]);
@@ -207,7 +214,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
207
214
  });
208
215
  });
209
216
 
210
- it('All categories and accordions should be displayed in the popup', () => {
217
+ it(`All categories and accordions should be displayed in the popup`, () => {
211
218
  drawingResponsePage.steps.verifySpecialCharactersPopupCategoryTitlesAndAccordions(specialCharacters);
212
219
  });
213
220
 
@@ -242,7 +249,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
242
249
  drawingResponsePage.steps.verifySpecialCharactersPopupCategoryAccordionIsExpanded(2);
243
250
  });
244
251
 
245
- it('When user clicks on any category icon, then the category flyout should stay open', () => {
252
+ it(`When user clicks on any category icon, then the category flyout should stay open`, () => {
246
253
  drawingResponsePage.steps.clickOnCharacterPopupSymbol('Iuml');
247
254
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
248
255
  });
@@ -282,19 +289,20 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
282
289
  cy.barsPreLoaderWait();
283
290
  });
284
291
 
285
- it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should not be displayed`, () => {
292
+ it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should not be displayed`, () => {
286
293
  drawingResponsePage.steps.switchToPreviewTab();
287
294
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
288
295
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), 'notExist');
289
296
  });
290
297
 
291
- it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should be displayed`, () => {
298
+ it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should be displayed`, () => {
292
299
  drawingResponsePage.steps.switchToEditTab();
293
300
  drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
294
301
  drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[1]}`]);
295
302
  drawingResponsePage.steps.switchToPreviewTab();
296
303
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
297
304
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), 'visible');
305
+ cy.eyesCheckWindow(`Math characters popup should be displayed`);
298
306
  });
299
307
 
300
308
  it('By default the \'Math characters\' secondary toolbar option should be in deselected state', () => {
@@ -307,7 +315,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
307
315
  });
308
316
  });
309
317
 
310
- it('When user clicks on \'Math characters\' secondary toolbar option, then the \'Math characters\' popup should be displayed with \'Math characters\' title and a \'Close\' button', () => {
318
+ it(`${view} When user clicks on \'Math characters\' secondary toolbar option, then the \'Math characters\' popup should be displayed with \'Math characters\' title and a \'Close\' button`, () => {
311
319
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]);
312
320
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
313
321
  drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]);
@@ -361,20 +369,20 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
361
369
  cy.barsPreLoaderWait();
362
370
  });
363
371
 
364
-
365
- it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should not be displayed`, () => {
372
+ it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should not be displayed`, () => {
366
373
  drawingResponsePage.steps.switchToPreviewTab();
367
374
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
368
375
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), 'notExist');
369
376
  });
370
377
 
371
- it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should be displayed`, () => {
378
+ it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should be displayed`, () => {
372
379
  drawingResponsePage.steps.switchToEditTab();
373
380
  drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
374
381
  drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[2]}`]);
375
382
  drawingResponsePage.steps.switchToPreviewTab();
376
383
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
377
384
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), 'visible');
385
+ cy.eyesCheckWindow(`Font size popup should be displayed`);
378
386
  });
379
387
 
380
388
  it('By default the \'Font size\' secondary toolbar option should be in deselected state', () => {
@@ -391,7 +399,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
391
399
  cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
392
400
  });
393
401
 
394
- it('When user clicks on \'Font size\' secondary toolbar option, then the \'Font size\' popup should be displayed', () => {
402
+ it(`${view} When user clicks on \'Font size\' secondary toolbar option, then the \'Font size\' popup should be displayed`, () => {
395
403
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]);
396
404
  });
397
405
 
@@ -463,9 +471,10 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
463
471
  cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
464
472
  });
465
473
 
466
- it('When user clicks on \'Opacity\' secondary toolbar option, then the \'Opacity\' popup should be displayed and \'Opacity\' secondary toolbar option should be in selected state', () => {
474
+ it(`${view} When user clicks on \'Opacity\' secondary toolbar option, then the \'Opacity\' popup should be displayed and \'Opacity\' secondary toolbar option should be in selected state`, () => {
467
475
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]);
468
476
  drawingResponsePage.steps.verifySecondaryPopupExist();
477
+ cy.eyesCheckWindow(`Opacity popup displayed`);
469
478
  //Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
470
479
  });
471
480
 
@@ -481,12 +490,12 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
481
490
  drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(100);
482
491
  });
483
492
 
484
- it('When the user changes value in the opacity input field, the slider value should also change accordingly', () => {
493
+ it(`When the user changes value in the opacity input field, the slider value should also change accordingly`, () => {
485
494
  drawingResponsePage.steps.enterValueInOpacityInputFieldValue(10);
486
495
  drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(10);
487
496
  });
488
497
 
489
- it('When the user changes the opacity slider value, value in the opacity input field should also change', () => {
498
+ it(`When the user changes the opacity slider value, value in the opacity input field should also change`, () => {
490
499
  drawingResponsePage.steps.clickOnSecondaryPopupSlider();
491
500
  drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(51);
492
501
  drawingResponsePage.steps.verifySecondaryPopupOpacityInputFieldValue(51);
@@ -566,9 +575,10 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
566
575
  cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
567
576
  });
568
577
 
569
- it('When user clicks on \'Stroke thickness\' secondary toolbar option, then the \'Stroke thickness\' popup should be displayed and \'Stroke thickness\' secondary toolbar option should be in selected state', () => {
578
+ it(`When user clicks on 'Stroke thickness' secondary toolbar option, then the 'Stroke thickness' popup should be displayed and 'Stroke thickness' secondary toolbar option should be in selected state`, () => {
570
579
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]);
571
580
  drawingResponsePage.steps.verifySecondaryPopupExist();
581
+ cy.eyesCheckWindow(`Stroke thickness popup displayed`);
572
582
  //Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
573
583
  });
574
584
 
@@ -632,13 +642,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
632
642
  cy.barsPreLoaderWait();
633
643
  });
634
644
 
635
- it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should not be displayed`, () => {
645
+ it(`${view} -When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should not be displayed`, () => {
636
646
  drawingResponsePage.steps.switchToPreviewTab();
637
647
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
638
648
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]), 'notExist');
639
649
  });
640
650
 
641
- it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should be displayed`, () => {
651
+ it(`${view} -When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should be displayed`, () => {
642
652
  drawingResponsePage.steps.switchToEditTab();
643
653
  drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
644
654
  drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[3]}`]);
@@ -646,6 +656,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
646
656
  drawingResponsePage.steps.switchToPreviewTab();
647
657
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
648
658
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]), 'visible');
659
+ cy.eyesCheckWindow(`Text color popup is displayed`);
649
660
  });
650
661
 
651
662
  it('By default the \'Text color\' secondary toolbar option should be in deselected state', () => {
@@ -809,6 +820,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
809
820
  drawingResponsePage.steps.switchToPreviewTab();
810
821
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName);
811
822
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]), 'visible');
823
+ cy.eyesCheckWindow(`Fill color popup is displayed`);
812
824
  });
813
825
 
814
826
  it('The \'Stroke color\' secondary toolbar option should be in deselected state', () => {
@@ -1170,6 +1182,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
1170
1182
  lineTypeOptions.forEach((thickness, index) => {
1171
1183
  drawingResponsePage.steps.verifySecondaryPopupLineType(thickness, index);
1172
1184
  });
1185
+ cy.eyesCheckWindow(`Line type options displayed`);
1173
1186
  });
1174
1187
 
1175
1188
  it('Line option should be selected by default', () => {
@@ -1245,6 +1258,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
1245
1258
  it('When user clicks on \'Eraser thickness\' secondary toolbar option, then the \'Eraser thickness\' popup should be displayed and \'Eraser thickness\' secondary toolbar option should be in selected state', () => {
1246
1259
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].secondaryToolbarOptions[0]);
1247
1260
  drawingResponsePage.steps.verifySecondaryPopupExist();
1261
+ cy.eyesCheckWindow(`Eraser thickness popup displayed`);
1248
1262
  //Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
1249
1263
  });
1250
1264
 
@@ -11,6 +11,14 @@ describe('Create question page - Essay Response: Equation Editor functionality',
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
  describe('Preview tab \'Equation Editor\' flyout', { tags: 'smoke' }, () => {
15
23
  abortEarlySetup();
16
24
  before(() => {
@@ -54,7 +54,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
54
54
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Branch': 2 });
55
55
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
56
56
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
57
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
57
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
58
58
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
59
59
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
60
60
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
@@ -62,7 +62,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
62
62
  /*cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the dropzone incorrect response and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
63
63
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
64
64
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
65
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
65
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
66
66
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
67
67
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
68
68
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -73,7 +73,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
73
73
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 1, 'Stem': 2 })
74
74
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
75
75
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
76
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
76
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
77
77
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
78
78
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
79
79
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -81,7 +81,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
81
81
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
82
82
  /*cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete and clicks on \'Check answer\' button, then no icon should be displayed besides the incomplete and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
83
83
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
84
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
84
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
85
85
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
86
86
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
87
87
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -22,7 +22,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
22
22
  fillInTheGapsDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
23
23
  fillInTheGapsDragAndDropPage.steps.allotPoints(20);
24
24
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
25
- //fillInTheGapsDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
25
+ //fillInTheGapsDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
26
26
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
27
27
  });
28
28
 
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
79
79
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
80
80
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
81
81
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
82
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
82
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
83
83
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
84
84
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
85
85
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
87
87
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
88
88
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
89
89
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
90
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
90
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
91
91
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
92
92
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
93
93
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -99,7 +99,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
99
99
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
100
100
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
101
101
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
102
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
102
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
103
103
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
104
104
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
105
105
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -107,7 +107,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
107
107
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
108
108
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
109
109
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
110
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
110
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
111
111
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
112
112
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
113
113
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -121,7 +121,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
121
121
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
122
122
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
123
123
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
124
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
124
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
125
125
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
126
126
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
127
127
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -129,7 +129,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
129
129
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
130
130
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
131
131
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
132
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
132
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
133
133
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
134
134
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
135
135
  });
@@ -160,16 +160,16 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
160
160
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
161
161
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
162
162
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
163
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
164
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
163
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
164
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
165
165
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
166
166
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
167
167
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
168
168
  /*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 for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
169
169
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
170
170
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
171
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
172
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
171
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
172
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
173
173
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
174
174
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
175
175
  });
@@ -180,16 +180,16 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
180
180
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
181
181
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
182
182
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
183
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
184
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
183
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
184
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
185
185
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
186
186
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
187
187
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
188
188
  /*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 for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
189
189
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
190
190
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
191
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
192
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
191
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
192
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
193
193
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
194
194
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
195
195
  });
@@ -78,7 +78,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
78
78
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
79
79
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
80
80
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
81
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
81
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
82
82
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
83
83
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
84
84
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -86,7 +86,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
86
86
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
87
87
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct 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 with text \'Your answer is incorrect\' and correct answer section should not be displayed')
88
88
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
89
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
89
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
90
90
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
91
91
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
92
92
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -98,7 +98,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
98
98
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
99
99
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
100
100
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
101
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
101
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
102
102
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
103
103
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
104
104
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -106,7 +106,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
106
106
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
107
107
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the 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 with text \'Your answer is incorrect\' and correct answer section should not be displayed')
108
108
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
109
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
109
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
110
110
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
111
111
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
112
112
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -120,7 +120,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
120
120
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
121
121
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
122
122
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
123
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
123
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
124
124
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
125
125
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
126
126
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -128,7 +128,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
128
128
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
129
129
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
130
130
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
131
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
131
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
132
132
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
133
133
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
134
134
  });
@@ -159,16 +159,16 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
159
159
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
160
160
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
161
161
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
162
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
163
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
162
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
163
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
164
164
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
165
165
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
166
166
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
167
167
  /*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 with text \'Your answer is incorrect\' and correct answer section should not be displayed')
168
168
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
169
169
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
170
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
171
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
170
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
171
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
172
172
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
173
173
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
174
174
  });
@@ -179,16 +179,16 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
179
179
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
180
180
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
181
181
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
182
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
183
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
182
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
183
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
184
184
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
185
185
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
186
186
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
187
187
  /*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, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
188
188
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
189
189
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
190
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
191
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
190
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
191
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
192
192
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
193
193
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
194
194
  });