itemengine-cypress-automation 1.0.284-RepoUpdate13thJan-c7ac0b4.0 → 1.0.285-applitools-da9f1a8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
  5. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
  6. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
  9. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
  10. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  11. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
  12. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
  13. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  14. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
  15. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
  16. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
  17. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +6 -7
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
  25. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  26. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +19 -21
  27. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
  28. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
  29. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  39. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +15 -6
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
  44. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  45. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
  53. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
  54. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
  55. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -5
  56. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  57. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
  58. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
  59. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
  60. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
  61. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
  62. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
  63. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
  64. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
  65. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
  66. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
  67. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +6 -5
  68. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
  69. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
  70. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -3
  71. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
  72. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  73. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  74. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  75. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  76. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  77. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  78. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  79. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  80. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  81. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  82. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  83. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  84. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +14 -5
  85. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
  86. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
  87. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  88. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
  89. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  90. package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
  91. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  92. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  93. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
  94. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
  95. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
  96. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  97. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  98. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  99. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
  100. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
  101. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
  102. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
  103. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  104. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
  105. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  106. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  107. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  108. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  109. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +3 -2
  110. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
  111. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -5
  112. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
  113. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
  114. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  115. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  116. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  117. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
  118. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
  119. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
  120. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
  121. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +5 -6
  122. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
  123. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
  124. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
  125. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  126. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
  127. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
  128. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
  129. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
  130. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
  131. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
  132. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  133. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  134. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  135. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  136. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
  137. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
  138. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  139. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
  140. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
  141. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
  142. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  143. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
  144. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
  145. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
  146. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
  147. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
  148. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  149. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
  150. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
  151. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
  152. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  153. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
  154. package/cypress/e2e/applitools.config.js +14 -0
  155. package/cypress/pages/audioPlayerPage.js +4 -4
  156. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
  157. package/cypress/pages/components/equationEditorFlyout.js +1 -1
  158. package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
  159. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
  160. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
  161. package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
  162. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  163. package/cypress/pages/createItemPage.js +1 -38
  164. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  165. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
  166. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
  167. package/cypress/pages/listOrderingPage.js +1 -1
  168. package/cypress/pages/matchingPage.js +7 -34
  169. package/cypress/pages/multipleSelectionPage.js +2 -17
  170. package/cypress/pages/numberLineLabelPage.js +3 -3
  171. package/cypress/pages/readingRulerPage.js +3 -5
  172. package/cypress/pages/singleSelectionPage.js +2 -5
  173. package/cypress/pages/textEntryMathPage.js +5 -19
  174. package/cypress/pages/textSelectionPage.js +1 -1
  175. package/cypress/support/commands.js +11 -0
  176. package/cypress/support/e2e.js +1 -0
  177. package/package.json +4 -1
  178. package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
  179. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
  180. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
  181. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
  182. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
  183. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
  184. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
  185. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
  186. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
  187. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
  188. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
  189. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
  190. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
  191. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
  192. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
  193. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
  194. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
  195. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
  196. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
  197. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
  198. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
  199. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
  200. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
  201. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
  202. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -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
  });
@@ -143,7 +143,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
143
143
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
144
144
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
145
145
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
146
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
146
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
147
147
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
148
148
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
149
149
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -151,7 +151,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
151
151
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
152
152
  /*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 with text \'Your answer is incorrect\' and correct answer section should not be displayed')
153
153
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
154
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
154
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
155
155
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
156
156
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
157
157
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -163,7 +163,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
163
163
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
164
164
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
165
165
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
166
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
166
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
167
167
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
168
168
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
169
169
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -171,7 +171,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
171
171
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
172
172
  /*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')
173
173
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
174
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
174
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
175
175
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
176
176
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
177
177
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -185,7 +185,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
185
185
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
186
186
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
187
187
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
188
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
188
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
189
189
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
190
190
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
191
191
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -193,7 +193,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
193
193
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
194
194
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
195
195
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
196
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
196
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
197
197
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
198
198
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
199
199
  });
@@ -224,16 +224,16 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
224
224
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
225
225
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
226
226
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
227
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
228
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
227
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
228
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
229
229
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
230
230
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
231
231
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
232
232
  /*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')
233
233
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
234
234
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
235
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
236
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
235
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
236
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
237
237
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
238
238
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
239
239
  });
@@ -244,16 +244,16 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
244
244
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
245
245
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
246
246
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
247
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
248
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
247
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
248
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
249
249
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
250
250
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
251
251
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
252
252
  /*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 with text \'Your answer is incorrect\' and correct answer section should not be displayed')
253
253
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
254
254
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
255
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
256
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
255
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
256
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
257
257
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
258
258
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
259
259
  });
@@ -87,7 +87,7 @@ describe('Create Item page - Fill in the gaps with drag and drop: Manually and n
87
87
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Roots': 2 });
88
88
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
89
89
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
90
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
90
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
91
91
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
92
92
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
93
93
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
@@ -95,7 +95,7 @@ describe('Create Item page - Fill in the gaps with drag and drop: Manually and n
95
95
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct, some incomplete, some incorrect options, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
96
96
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
97
97
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
98
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
98
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
99
99
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
100
100
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
101
101
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -105,7 +105,7 @@ describe('Create Item page - Fill in the gaps with drag and drop: Manually and n
105
105
  fillInTheGapsDragAndDropPage.steps.resetQuestionPreview();
106
106
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 1, 'Stem': 2 });
107
107
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
108
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
108
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
109
109
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
110
110
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
111
111
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -113,7 +113,7 @@ describe('Create Item page - Fill in the gaps with drag and drop: Manually and n
113
113
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
114
114
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
115
115
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
116
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
116
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
117
117
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
118
118
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
119
119
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
79
79
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
80
80
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(6, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
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 green check-mark should be displayed besides the correct answer responses, status message 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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -99,7 +99,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
99
99
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
100
100
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(9, 15);
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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -107,7 +107,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
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 green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
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.verifyCorrectIncorrectStatusMessageNotExists();
@@ -121,7 +121,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
121
121
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
122
122
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
123
123
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
124
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
124
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
125
125
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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: Partial differ
129
129
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
130
130
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
131
131
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
132
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
132
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
133
133
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
134
134
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
135
135
  });
@@ -180,16 +180,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
180
180
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(7, 15);
181
181
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
182
182
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(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.verifyCorrectIncorrectStatusMessageNotExists();
186
186
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
187
187
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
188
188
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
189
189
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
190
190
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(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.verifyCorrectIncorrectStatusMessageNotExists();
194
194
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
195
195
  });
@@ -200,16 +200,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
200
200
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
201
201
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
202
202
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
203
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
204
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
203
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
204
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
205
205
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
206
206
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
207
207
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
208
208
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
209
209
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
210
210
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
211
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
212
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
211
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
212
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
213
213
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
214
214
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
215
215
  });
@@ -35,16 +35,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
35
35
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Roots': 2 });
36
36
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
37
37
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
38
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
39
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
38
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
39
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
40
40
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
41
41
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
42
42
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
43
43
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
44
44
  /*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' red cross-marks should be displayed besides all incorrect responses, a status message should not be displayed and correct answer section should not be displayed')
45
45
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
46
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
47
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
46
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
47
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
48
48
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
49
49
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
50
50
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -56,7 +56,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
56
56
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(9, 20);
57
57
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
58
58
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
59
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
59
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
60
60
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
61
61
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
62
62
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
@@ -64,7 +64,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
64
64
  /*cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
65
65
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
66
66
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
67
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
67
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
68
68
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
69
69
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
70
70
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
75
75
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
76
76
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(11, 20);
77
77
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
78
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
78
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
79
79
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
80
80
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
81
81
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
83
83
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
84
84
  /*cy.log('When the user attempts the question partially correct with all the responses correctly attempted but one response incomplete and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
85
85
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
86
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
86
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
87
87
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
88
88
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
89
89
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -80,7 +80,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
80
80
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
81
81
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(9, 15);
82
82
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
83
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
83
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
84
84
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
85
85
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
86
86
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -88,7 +88,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
88
88
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
89
89
  /*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 green check-mark should be displayed besides the correct answer responses, a status message and correct answer section should not be displayed')
90
90
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
91
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
91
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
92
92
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
93
93
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
94
94
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -100,7 +100,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
100
100
  fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
101
101
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(8, 15);
102
102
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
103
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
103
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
104
104
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
105
105
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
106
106
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -108,7 +108,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
108
108
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
109
109
  /*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 green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message and correct answer section should not be displayed')
110
110
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
111
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
111
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
112
112
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
113
113
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
114
114
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -122,7 +122,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
122
122
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
123
123
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
124
124
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
125
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
125
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
126
126
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
127
127
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
128
128
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -130,7 +130,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
130
130
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
131
131
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
132
132
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
133
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
133
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
134
134
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
135
135
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
136
136
  });
@@ -181,16 +181,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
181
181
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(7, 15);
182
182
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
183
183
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
184
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
185
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
184
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
185
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
186
186
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
187
187
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
188
188
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
189
189
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message and correct answer section should not be displayed')
190
190
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
191
191
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
192
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
193
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
192
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
193
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
194
194
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
195
195
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
196
196
  });
@@ -201,16 +201,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
201
201
  fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
202
202
  fillInTheGapsDragAndDropPage.steps.switchToGradingView();
203
203
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
204
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
205
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
204
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
205
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
206
206
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
207
207
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
208
208
  fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
209
209
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message and correct answer section should not be displayed')
210
210
  fillInTheGapsDragAndDropPage.steps.checkAnswer();
211
211
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
212
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
213
- fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
212
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
213
+ fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
214
214
  fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
215
215
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
216
216
  });