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
@@ -78,7 +78,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
78
78
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
79
79
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(6, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -86,7 +86,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
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, a status message should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -98,7 +98,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
98
98
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
99
99
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(10, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -106,7 +106,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
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 should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -120,7 +120,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
120
120
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
121
121
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
122
122
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
123
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
123
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
124
124
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
125
125
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
126
126
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -128,7 +128,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
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.verifyCorrectIncorrectStatusMessageNotExists();
133
133
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
134
134
  });
@@ -159,16 +159,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
159
159
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(5, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
165
165
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
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 should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
173
173
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
174
174
  });
@@ -179,16 +179,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
179
179
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
185
185
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
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, no icon should be displayed beside unattempted response a status message should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
193
193
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
194
194
  });
@@ -78,7 +78,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
78
78
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
79
79
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(10, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -86,7 +86,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
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, a status message should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -98,7 +98,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
98
98
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
99
99
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(10, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -106,7 +106,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
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 should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -120,7 +120,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
120
120
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
121
121
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
122
122
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
123
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
123
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
124
124
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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: Partial equal
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.verifyCorrectIncorrectStatusMessageNotExists();
133
133
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
134
134
  });
@@ -159,16 +159,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
159
159
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(5, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
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 should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
173
173
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
174
174
  });
@@ -179,16 +179,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
179
179
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
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, no icon should be displayed beside unattempted response a status message should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
193
193
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
194
194
  });
@@ -78,7 +78,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
78
78
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
79
79
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(10, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -86,7 +86,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
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, a status message should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -98,7 +98,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
98
98
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
99
99
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(6, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -106,7 +106,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
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 should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -120,7 +120,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
120
120
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
121
121
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
122
122
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
123
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
123
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
124
124
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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: Partial equal
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.verifyCorrectIncorrectStatusMessageNotExists();
133
133
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
134
134
  });
@@ -159,16 +159,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
159
159
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(5, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
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 should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
173
173
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
174
174
  });
@@ -179,16 +179,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
179
179
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
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, no icon should be displayed beside unattempted response a status message should not be displayed 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.verifyCorrectIncorrectStatusMessageNotExists();
193
193
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
194
194
  });
@@ -41,7 +41,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Response level
41
41
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
42
42
  /*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' button, incorrect icon should be displayed besides the incorrect response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
43
43
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
44
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
44
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
45
45
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
46
46
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
47
47
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -11,6 +11,14 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
+ beforeEach(() => {
15
+ cy.startApplitools();
16
+ });
17
+
18
+ afterEach(() => {
19
+ cy.eyesClose();
20
+ });
21
+
14
22
  if (!grepTags || !grepTags.includes('smoke')) {
15
23
  describe('Question preview modes: Student view and Grading view', () => {
16
24
  abortEarlySetup();
@@ -94,7 +102,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
94
102
  });
95
103
  };
96
104
 
97
- 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 and respective option numeration', () => {
105
+ it(`${view}: - FIG drag and drop - 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 and respective option numeration`, () => {
98
106
  if (view === 'Grading view') {
99
107
  studentViewPage.steps.submitResponse();
100
108
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -112,7 +120,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
112
120
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
113
121
  });
114
122
 
115
- 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', () => {
123
+ it(`${view}: - FIG drag and drop - 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`, () => {
116
124
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 0, 'Petals': 1, 'Roots': 2 });
117
125
  if (view === 'Grading view') {
118
126
  studentViewPage.steps.submitResponse();
@@ -131,7 +139,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
131
139
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
132
140
  });
133
141
 
134
- 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', () => {
142
+ it(`${view}: - FIG drag and drop - 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 the numeration should be displayed`, () => {
135
143
  if (view === 'Grading view') {
136
144
  studentViewPage.steps.clearResponses();
137
145
  };
@@ -153,7 +161,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
153
161
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
154
162
  });
155
163
 
156
- 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', () => {
164
+ it(`${view}: - FIG drag and drop - 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`, () => {
157
165
  if (view === 'Grading view') {
158
166
  studentViewPage.steps.clearResponses();
159
167
  };
@@ -175,7 +183,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
175
183
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
176
184
  });
177
185
 
178
- it('When the user attempts the question partially correct with all the dropzone correctly attempted but with an extra option which is not set as correct answer, 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 should be displayed along with numeration', () => {
186
+ it(`${view}: - FIG drag and drop - When the user attempts the question partially correct with all the dropzone correctly attempted but with an extra option which is not set as correct answer, 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 should be displayed along with numeration`, () => {
179
187
  if (view === 'Grading view') {
180
188
  studentViewPage.steps.clearResponses();
181
189
  };
@@ -197,7 +205,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
197
205
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
198
206
  });
199
207
 
200
- 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', () => {
208
+ it(`${view}: - FIG drag and drop - 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`, () => {
201
209
  if (view === 'Grading view') {
202
210
  studentViewPage.steps.clearResponses();
203
211
  };
@@ -218,6 +226,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
218
226
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
219
227
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
220
228
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();
229
+ cy.eyesCheckWindow(`FIG drag and drop - ${view} view - Attempting the question correctly`);
221
230
  });
222
231
  });
223
232
  });
@@ -10,6 +10,14 @@ describe('Preview tab contents for all views', () => {
10
10
  cy.loginAs('admin');
11
11
  });
12
12
 
13
+ beforeEach(() => {
14
+ cy.startApplitools();
15
+ });
16
+
17
+ afterEach(() => {
18
+ cy.eyesClose();
19
+ });
20
+
13
21
  views.forEach((view) => {
14
22
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
15
23
  abortEarlySetup();
@@ -76,9 +84,10 @@ describe('Preview tab contents for all views', () => {
76
84
  }
77
85
  });
78
86
 
79
- it('Question instructions should be visible', () => {
87
+ it(`Fill in the gaps drag and drop - ${view} - Question instructions should be visible`, () => {
80
88
  utilities.verifyInnerText(fillInTheGapsDragAndDropPage.questionInstructionsText(), 'Drag and drop the options in appropriate dropzone');
81
89
  utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.questionInstructionsText(), 'visible');
90
+ cy.eyesCheckWindow(`Fill in the gaps drag and drop - ${view} - Options with image, equation, and bold text`);
82
91
  });
83
92
 
84
93
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -90,7 +99,7 @@ describe('Preview tab contents for all views', () => {
90
99
  fillInTheGapsDragAndDropPage.steps.verifyDropzoneTextPreviewTab(2, '');
91
100
  });
92
101
 
93
- it(`When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container in ${view}`, () => {
102
+ it(`When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container`, () => {
94
103
  fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionWithImageInPreviewTab(0);
95
104
  fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionWithBoldTextInPreviewTab(1);
96
105
  fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionWithEquationTextInPreviewTab(2);
@@ -125,7 +134,7 @@ describe('Preview tab contents for all views', () => {
125
134
  fillInTheGapsDragAndDropPage.steps.verifyDropzoneIsNotEditableInGradingView();
126
135
  });
127
136
  } else {
128
- it('The dropzone should be displayed filled with answers', () => {
137
+ it(`The dropzone should be displayed filled with answers`, () => {
129
138
  utilities.verifyElementCount(fillInTheGapsDragAndDropPage.dropzonePreviewTab(), 3);
130
139
  fillInTheGapsDragAndDropPage.steps.verifyDropzoneTextPreviewTab(2, 'Petals');
131
140
  fillInTheGapsDragAndDropPage.steps.verifyDropzoneWithImageInPreviewTab(2);
@@ -16,6 +16,14 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing ', (
16
16
  cy.loginAs('admin');
17
17
  });
18
18
 
19
+ beforeEach(() => {
20
+ cy.startApplitools();
21
+ });
22
+
23
+ afterEach(() => {
24
+ cy.eyesClose();
25
+ });
26
+
19
27
  if (!grepTags || !grepTags.includes('smoke')) {
20
28
  describe('Question preview modes: Student view and Grading view', () => {
21
29
  abortEarlySetup();
@@ -94,7 +102,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing ', (
94
102
  });
95
103
  };
96
104
 
97
- it('When the user selects \'Grading\' view without attempting the question, dropdown 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', () => {
105
+ it(`${view}: FIG Dropdown - When the user selects \'Grading\' view without attempting the question, dropdown 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`, () => {
98
106
  if (view === 'Grading view') {
99
107
  studentViewPage.steps.submitResponse();
100
108
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -112,7 +120,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing ', (
112
120
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
113
121
  });
114
122
 
115
- 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', () => {
123
+ it(`${view}: FIG Dropdown - 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`, () => {
116
124
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: incorrectAnswerArray[0] }, { dropdownIndex: 1, dropdownOption: incorrectAnswerArray[1] }]);
117
125
  if (view === 'Grading view') {
118
126
  studentViewPage.steps.submitResponse();
@@ -130,7 +138,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing ', (
130
138
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
131
139
  });
132
140
 
133
- it('When the user attempts the question partially correct, 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', () => {
141
+ it(`${view}: FIG Dropdown - When the user attempts the question partially correct, 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`, () => {
134
142
  if (view === 'Grading view') {
135
143
  studentViewPage.steps.clearResponses();
136
144
  };
@@ -151,7 +159,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing ', (
151
159
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
152
160
  });
153
161
 
154
- it('When the user attempts the question correctly, then the user should be awarded with full points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
162
+ it(`${view}: FIG Dropdown - When the user attempts the question correctly, then the user should be awarded with full points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed`, () => {
155
163
  if (view === 'Grading view') {
156
164
  studentViewPage.steps.clearResponses();
157
165
  };
@@ -170,6 +178,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing ', (
170
178
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(1);
171
179
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
172
180
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();
181
+ cy.eyesCheckWindow(`FIG Dropdown - ${view} - Attempting the question correctly`);
173
182
  });
174
183
  });
175
184
  });
@@ -15,6 +15,14 @@ describe('Create item page - Fill in the gaps with dropdown - Preview contents i
15
15
  cy.loginAs('admin');
16
16
  });
17
17
 
18
+ beforeEach(() => {
19
+ cy.startApplitools();
20
+ });
21
+
22
+ afterEach(() => {
23
+ cy.eyesClose();
24
+ });
25
+
18
26
  views.forEach((view) => {
19
27
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
20
28
  abortEarlySetup();
@@ -64,13 +72,14 @@ describe('Create item page - Fill in the gaps with dropdown - Preview contents i
64
72
  }
65
73
  });
66
74
 
67
- it('Question instructions should be visible', () => {
75
+ it(`${view} - Fill in the gaps dropdown - Question instructions should be visible`, () => {
68
76
  utilities.verifyInnerText(fillInTheGapsDropdownPage.questionInstructionsText(), 'Fill in the gaps');
69
77
  utilities.verifyElementVisibilityState(fillInTheGapsDropdownPage.questionInstructionsText(), 'visible');
78
+ cy.eyesCheckWindow(`${view} - Fill in the gaps dropdown - Default state`);
70
79
  });
71
80
 
72
81
  if (view !== 'Grading view' && view !== 'Correct answer view') {
73
- it('The sample \'Lorem Ipsum\' text along with two response dropdowns should be displayed', () => {
82
+ it(`The sample \'Lorem Ipsum\' text along with two response dropdowns should be displayed`, () => {
74
83
  utilities.verifyElementCount(fillInTheGapsDropdownPage.dropdownPreviewTab(), 2);
75
84
  utilities.verifyInnerText(fillInTheGapsDropdownPage.questionContainerPreviewTab(), 'Lorem ipsum dolor sit amet, \n​\n​\n onsectetur adipiscing elit. Ut pellentesque tinciduntornare. Integer porttitor est quis urna porttitor, eget tempus tellus dapibus \n​\n​');
76
85
  });
@@ -89,7 +98,7 @@ describe('Create item page - Fill in the gaps with dropdown - Preview contents i
89
98
  fillInTheGapsDropdownPage.steps.verifyDropdownIsDisabled(1);
90
99
  });
91
100
  } else {
92
- it('The dropdowns should be displayed filled with correct answers', () => {
101
+ it(`The dropdowns should be displayed filled with correct answers`, () => {
93
102
  utilities.verifyElementCount(fillInTheGapsDropdownPage.dropdownPreviewTab(), 2);
94
103
  fillInTheGapsDropdownPage.steps.verifyTextInDropdownsInPreviewTab([{ dropdownIndex: 0, dropdownText: correctAnswerArray[0] }, { dropdownIndex: 1, dropdownText: correctAnswerArray[1] }]);
95
104
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
@@ -66,9 +66,9 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
66
66
 
67
67
  it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed and the correct answer section should be displayed with correct answers', () => {
68
68
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
69
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
70
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
71
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
69
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
70
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
71
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
72
72
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
73
73
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
74
74
  fillInTheGapsOverImageDragAndDropPage.steps.switchToStudentView();