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
@@ -135,15 +135,15 @@ describe('Create item page - Drag and drop into categories: All or nothing with
135
135
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Eagle': 1, 'Peacock': 1, 'Platypus': 4 });
136
136
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
137
137
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
138
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
138
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
139
139
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
140
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
141
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
140
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
141
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(2);
142
142
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
143
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(3);
143
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
144
144
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
145
145
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
146
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
146
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], [], []], ['1', '2', '4', '5', '3', '6']);
147
147
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
148
148
  /*cy.log('When the user has attempted the question with partially correct with all the cells correct as per the alternative accordion but one cell incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
149
149
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -160,14 +160,14 @@ describe('Create item page - Drag and drop into categories: All or nothing with
160
160
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Ostrich': 3, 'Platypus': 4 });
161
161
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
162
162
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
163
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
164
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(1);
165
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
163
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
166
164
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
167
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
165
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(1);
166
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(2);
167
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
168
168
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
169
169
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
170
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
170
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], [], []], ['1', '2', '4', '5', '3', '6']);
171
171
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
172
172
  /*cy.log('When the user has attempted the question with partially correct with more number of options exclusively from the alternative accordion but with one option common across both accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the responses from the alternative accordion response as well as common response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
173
173
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -183,15 +183,15 @@ describe('Create item page - Drag and drop into categories: All or nothing with
183
183
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Eagle': 1, 'Peacock': 1, 'Ostrich': 3, 'Platypus': 4, 'Whale': 5 });
184
184
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
185
185
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
186
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
186
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
187
187
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
188
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
189
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
188
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
189
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(2);
190
190
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
191
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(4);
191
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(4);
192
192
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(5);
193
193
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
194
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
194
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], [], []], ['1', '2', '4', '5', '3', '6']);
195
195
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
196
196
  /*cy.log('When the user has attempted the question with partially correct with all the cells correctly attempted as per the alternative accordion but with an extra incorrect option and clicks on \'Check answer\' button, then correct icon should be displayed besides the responses from the alternative accordion response as well as common response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
197
197
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -210,15 +210,15 @@ describe('Create item page - Drag and drop into categories: All or nothing with
210
210
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Bat': 0, 'Peacock': 1, 'Platypus': 4 });
211
211
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
212
212
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
213
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
214
- dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
215
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
216
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
213
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
214
+ dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(1);
215
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(2);
216
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(2);
217
217
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
218
- dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(3);
218
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
219
219
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
220
220
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
221
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
221
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], [], []], ['1', '2', '4', '5', '3', '6']);
222
222
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
223
223
  /*cy.log('When the user has attempted the question with partially correct such that more number of correct options are exclusively from the alternative accordion but with one option exclusively from the correct accordion in the same cell and clicks on \'Check answer\' button, then correct icon should be displayed besides the responses from the alternative accordions, incorrect icon should be displayed besides the responses from the correct accordion, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
224
224
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -33,7 +33,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
33
33
  //Failing due to https://redmine.zeuslearning.com/issues/574339
34
34
  // dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'incorrect': 5 });
35
35
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 30);
36
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
36
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
37
37
  });
38
38
 
39
39
  it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion (less than full points) and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses and proper icon should display beside empty dropzones, correct icons should be displayed for all correct dropzones, correct/incorrect answer status message should not be displayed and correct answer section should not be displayed', () => {
@@ -106,7 +106,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
106
106
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
107
107
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
108
108
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
109
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
109
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
110
110
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
111
111
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
112
112
  /*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, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
@@ -131,7 +131,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
131
131
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(5);
132
132
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'incorrect': 5 });
133
133
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
134
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
134
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
135
135
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
136
136
  /*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, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
137
137
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -155,7 +155,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
155
155
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(5);
156
156
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'incorrect': 5 });
157
157
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
158
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
158
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
159
159
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
160
160
  /*cy.log('When the user has attempted the question with partially correct such that a dropzone is correctly attempted with both the correct and alternative answer options and clicks on \'Check answer\' button, then correct icon should be displayed besides alternative accordion responses, incorrect icon should be displayed besides the correct accordion responses, incorrect icon should be displayed for the dropzone containing options of alternative accordion and correct accordion in the same dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
161
161
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -178,7 +178,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
178
178
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
179
179
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
180
180
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
181
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
181
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
182
182
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
183
183
  /*cy.log('When the user has attempted the question partially correct such that one dropzone is correctly attempted as per the correct accordion and another dropzone is correctly attempted as per the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides alternative accordion responses, incorrect icon should be displayed besides the correct accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
184
184
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -201,7 +201,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
201
201
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(5);
202
202
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'correct': 2, 'correct': 3, 'incorrect': 4, 'incorrect': 5 });
203
203
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
204
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
204
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
205
205
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
206
206
  /*cy.log('When the user has attempted the question partially correct with only common options across both accordions and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
207
207
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -225,7 +225,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
225
225
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(5);
226
226
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'correct': 3, 'incorrect': 4, 'incorrect': 5 });
227
227
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
228
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
228
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
229
229
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
230
230
  /*cy.log('When the user has attempted the question partially correct such that equal number of dropzones are correct according to correct accordion and alternative accordion mappings and clicks on \'Check answer\' button, then correct icon should be displayed besides alternative accordion responses, incorrect icon should be displayed besides correct accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
231
231
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -252,7 +252,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
252
252
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
253
253
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'correct': 1, 'correct': 2, 'incorrect': 3, 'correct': 4, 'incorrect': 5 });
254
254
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
255
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
255
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
256
256
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
257
257
  /*cy.log('When the user has attempted the question such that more number of dropzones are correct as per the correct accordion mapping (3 dropzones- one exclusively correct as per the correct accordion, one correct for both the accordions and one containing correct options from both the accordions) than the alternative accordion mapping (2 dropzones- one correct for both the accordions and one containing correct options from both the accordions) and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
258
258
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -285,7 +285,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
285
285
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(5);
286
286
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'correct': 2, 'correct': 3, 'incorrect': 4, 'incorrect': 5 });
287
287
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
288
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
288
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
289
289
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
290
290
  /*cy.log('When the user has attempted the question such that more number of dropzones are correct according to the correct accordion mapping and points achieved from the correct accordion mapping is equal to the points achieved from alternative accordion mapping and clicks on \'Check answer\' button, then correct icon should be displayed besides alternative accordion responses, incorrect icon should be displayed besides the correct accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
291
291
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -27,10 +27,9 @@ describe('Create item page - Drag and drop into categories: Per dropzone scoring
27
27
  it('When the user selects \'Grading\' view without attempting the question, then the user should be awarded 0 points, incorrect icons should be displayed where the user has set options, correct icons should be displayed where the user has not set any options and the correct answer section should be displayed with correct answers and respective dropzone numeration', () => {
28
28
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
29
29
  dragAndDropIntoCategoriesPage.steps.verifyDropzoneCellNumeration(['1', '2', '3', '4', '5', '6']);
30
- //Failing due to https://redmine.zeuslearning.com/issues/574339
31
- // dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
30
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
32
31
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 30);
33
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
32
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
34
33
  });
35
34
 
36
35
  it('When the user attempts the question incorrectly, 0 points should be awarded and on switching to \'Grading\' view, incorrect icon should be displayed besides incorrect answer responses, incorrect icons should be displayed for incorrect dropzones and proper icon should display beside empty dropzones, correct/incorrect answer status message should not be displayed and correct answer section should be displayed with correct answers and respective dropzone numeration', () => {
@@ -46,7 +45,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone scoring
46
45
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
47
46
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'incorrect': 5 });
48
47
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
49
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
48
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
50
49
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
51
50
  /*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, incorrect icons should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
52
51
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -70,7 +69,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone scoring
70
69
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
71
70
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
72
71
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
73
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
72
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
74
73
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
75
74
  /*cy.log('When the user has attempted the question partially correct with some cells correct, some cells partially correct but incomplete, some cells partially correct with incorrect options and some cells empty and clicks on \'Check answer\' button, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer responses, incorrect icons should be displayed for incorrect dropzones, correct icons should be displayed for correct dropzones, correct/incorrect answer status message should not be displayed and correct answer section should not be displayed')
76
75
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -97,7 +96,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone scoring
97
96
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
98
97
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'correct': 1, 'correct': 2, 'correct': 3, 'correct': 4, 'correct': 5 });
99
98
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
100
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
99
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
101
100
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
102
101
  /*cy.log('When the user has attempted the question partially correct with all the cells correctly attempted but one cell incomplete and clicks on \'Check answer\' button, correct icon should be displayed besides the correct answer responses, incorrect icons should be displayed for incorrect dropzones, correct icons should be displayed for correct dropzones, correct/incorrect answer status message should not be displayed and correct answer section should not be displayed')
103
102
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -128,7 +127,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone scoring
128
127
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
129
128
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'correct': 1, 'correct': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
130
129
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
131
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
130
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat', 'Flying squirrel'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
132
131
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
133
132
  /*cy.log('When the user has attempted the question partially correct with all the cells correctly attempted but with an extra option which is not set as correct answer and clicks on \'Check answer\' button, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer responses, incorrect icons should be displayed for incorrect dropzones, correct icons should be displayed for correct dropzones, correct/incorrect answer status message should not be displayed and correct answer section should not be displayed')
134
133
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -30,10 +30,9 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
30
30
  it('When the user selects \'Grading\' view without attempting the question, dropzone numeration and correct answer section with correct answers from the correct accordion and respective dropzone numeration should be displayed', () => {
31
31
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
32
32
  dragAndDropIntoCategoriesPage.steps.verifyDropzoneCellNumeration(['1', '2', '3', '4', '5', '6']);
33
- //Failing due to https://redmine.zeuslearning.com/issues/574339
34
- // dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
33
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
35
34
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 30);
36
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
35
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
37
36
  });
38
37
 
39
38
  it('When the user attempts the question with responses from the correct accordion, then the user should be awarded full points and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses and proper icon should display beside empty container, correct icons should be displayed for all correct dropzones, correct/incorrect answer status message should not be displayed and correct answer section should not be displayed', () => {
@@ -106,7 +105,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
106
105
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
107
106
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
108
107
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
109
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
108
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
110
109
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
111
110
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
112
111
  /*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, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
@@ -131,7 +130,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
131
130
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(5);
132
131
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'incorrect': 5 });
133
132
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
134
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
133
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
135
134
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
136
135
  /*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, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
137
136
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -155,7 +154,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
155
154
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
156
155
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
157
156
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
158
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
157
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
159
158
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
160
159
  /*cy.log('When the user has attempted the question with partially correct such that a dropzone is correctly attempted with both the correct and alternative answer options and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, incorrect icon should be displayed for the dropzone containing options of alternative accordion and correct accordion in the same dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
161
160
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -179,7 +178,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
179
178
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
180
179
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
181
180
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
182
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
181
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
183
182
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
184
183
  /*cy.log('When the user has attempted the question partially correct such that one dropzone is correctly attempted as per the correct accordion and another dropzone is correctly attempted as per the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
185
184
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -203,7 +202,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
203
202
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
204
203
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
205
204
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
206
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
205
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
207
206
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
208
207
  /*cy.log('When the user has attempted the question partially correct with only common options across both accordions and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
209
208
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -227,7 +226,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
227
226
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
228
227
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'correct': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
229
228
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
230
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
229
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
231
230
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
232
231
  /*cy.log('When the user has attempted the question partially correct such that equal number of dropzones are correct according to correct accordion and alternative accordion mappings and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
233
232
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -255,7 +254,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
255
254
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
256
255
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'correct': 4, 'correct': 5 });
257
256
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
258
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Flying squirrel'], ['Eagle', 'Peacock'], [], [], ['Ostrich'], [], ['Platypus'], ['Octopus']], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
257
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
259
258
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
260
259
  /*cy.log('When the user has attempted the question such that more number of dropzones are correct as per the alternative accordion mapping than the correct accordion mapping and clicks on \'Check answer\' button, then correct icon should be displayed besides alternative accordion responses, incorrect icon should be displayed besides the correct accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
261
260
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -30,10 +30,9 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
30
30
  it('When the user selects \'Grading\' view without attempting the question, dropzone numeration and correct answer section with correct answers from the correct accordion and respective dropzone numeration should be displayed', () => {
31
31
  dragAndDropIntoCategoriesPage.steps.switchToGradingView();
32
32
  dragAndDropIntoCategoriesPage.steps.verifyDropzoneCellNumeration(['1', '2', '3', '4', '5', '6']);
33
- //Failing due to https://redmine.zeuslearning.com/issues/574339
34
- // dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
33
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
35
34
  dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 30);
36
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
35
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
37
36
  });
38
37
 
39
38
  it('When the user attempts the question with responses from the correct accordion, then the user should be awarded full points and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, correct icons should be displayed for all correct dropzones proper icon should display beside empty dropzone, correct/incorrect answer status message should not be displayed and correct answer section should not be displayed', () => {
@@ -106,7 +105,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
106
105
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
107
106
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
108
107
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
109
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
108
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
110
109
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
111
110
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
112
111
  /*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, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
@@ -131,7 +130,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
131
130
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
132
131
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
133
132
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
134
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
133
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
135
134
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
136
135
  /*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, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
137
136
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -156,7 +155,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
156
155
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
157
156
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
158
157
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
159
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
158
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
160
159
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
161
160
  /*cy.log('When the user has attempted the question with partially correct such that a dropzone is correctly attempted with both the correct and alternative answer options and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, incorrect icon should be displayed for the dropzone containing options of alternative accordion and correct accordion in the same dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
162
161
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -180,7 +179,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
180
179
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
181
180
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'incorrect': 5 });
182
181
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
183
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
182
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
184
183
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
185
184
  /*cy.log('When the user has attempted the question partially correct such that one dropzone is correctly attempted as per the correct accordion and another dropzone is correctly attempted as per the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
186
185
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -204,7 +203,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
204
203
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
205
204
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
206
205
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
207
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
206
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
208
207
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
209
208
  /*cy.log('When the user has attempted the question partially correct with only common options across both accordions and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
210
209
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -228,7 +227,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
228
227
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
229
228
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'correct': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
230
229
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
231
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
230
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
232
231
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
233
232
  /*cy.log('When the user has attempted the question partially correct such that equal number of dropzones are correct according to correct accordion and alternative accordion mappings and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
234
233
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -256,7 +255,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
256
255
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
257
256
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'correct': 4, 'correct': 5 });
258
257
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
259
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
258
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
260
259
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
261
260
  /*cy.log('When the user has attempted the question such that more number of dropzones are correct as per the alternative accordion mapping than the correct accordion mapping and points achieved from the alternative accordion mapping is more than the points achieved from correct accordion mapping and clicks on \'Check answer\' button, then correct icon should be displayed besides alternative accordion responses, incorrect icon should be displayed besides the correct accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
262
261
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -291,7 +290,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
291
290
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
292
291
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
293
292
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
294
- dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[], [], [], [], ['Bat'], ['Eagle', 'Parrot'], [], ['Platypus'], ['Ostrich'], [], ['Whale'], []], ['1', '2', '3', '4', '1', '2', '7', '3', '4', '10', '5', '6']);
293
+ dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
295
294
  dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
296
295
  /*cy.log('When the user has attempted the question such that more number of dropzones are correct according to the alternative accordion mapping and points achieved from the correct accordion mapping is equal to the points achieved from alternative accordion mapping and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
297
296
  dragAndDropIntoCategoriesPage.steps.checkAnswer();
@@ -86,7 +86,7 @@ describe('Drag and drop into categories - Additional settings', () => {
86
86
  dragAndDropIntoCategoriesPage.steps.expandAdditionalSettings();
87
87
  });
88
88
 
89
- it(`"ARIA label for dropzones" label should be displayed`, () => {
89
+ it.skip(`"ARIA label for dropzones" label should be displayed`, () => {
90
90
  utilities.verifyInnerText(dragAndDropIntoCategoriesPage.ariaLabelSectionLabel(), `ARIA label for dropzones`);
91
91
  utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.ariaLabelSectionLabel(), 'visible');
92
92
  });
@@ -11,6 +11,14 @@ describe('Create item page - Drag and drop into categories: 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();
@@ -95,7 +103,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
95
103
  });
96
104
  };
97
105
 
98
- it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section should be displayed with correct answers, correct/incorrect status message should not be displayed and respective cell numeration', () => {
106
+ it(`${view} - When the user selects 'Grading' view without attempting the question, cell numeration should be displayed, correct answers section should be displayed with correct answers, correct/incorrect status message should not be displayed and respective cell numeration`, () => {
99
107
  if (view === 'Grading view') {
100
108
  studentViewPage.steps.submitResponse();
101
109
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -114,7 +122,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
114
122
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
115
123
  });
116
124
 
117
- 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 dropzone cell numeration should be displayed', () => {
125
+ it(`${view} - 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 dropzone cell numeration should be displayed`, () => {
118
126
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Platypus': 0 });
119
127
  if (view === 'Grading view') {
120
128
  studentViewPage.steps.submitResponse();
@@ -131,7 +139,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
131
139
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
132
140
  });
133
141
 
134
- it('When the user attempts the question partially correct with some cells correct, some cells partially correct but incomplete, some cells partially correct with 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 dropzone cell numeration should be displayed', () => {
142
+ it(`${view} - When the user attempts the question partially correct with some cells correct, some cells partially correct but incomplete, some cells partially correct with 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 dropzone cell numeration should be displayed`, () => {
135
143
  if (view === 'Grading view') {
136
144
  studentViewPage.steps.clearResponses();
137
145
  };
@@ -154,7 +162,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
154
162
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
155
163
  });
156
164
 
157
- it('When the user attempts the question partially correct with all the cells correctly attempted but one cell 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 dropzone cell numeration should be displayed', () => {
165
+ it(`${view} - When the user attempts the question partially correct with all the cells correctly attempted but one cell 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 dropzone cell numeration should be displayed`, () => {
158
166
  if (view === 'Grading view') {
159
167
  studentViewPage.steps.clearResponses();
160
168
  };
@@ -178,7 +186,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
178
186
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
179
187
  });
180
188
 
181
- it('When the user attempts the question partially correct with all the cells 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 with all correct answers along with dropzone cell numeration should be displayed', () => {
189
+ it(`${view} - When the user attempts the question partially correct with all the cells 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 with all correct answers along with dropzone cell numeration should be displayed`, () => {
182
190
  if (view === 'Grading view') {
183
191
  studentViewPage.steps.clearResponses();
184
192
  };
@@ -204,7 +212,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
204
212
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
205
213
  });
206
214
 
207
- 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', () => {
215
+ it(`${view} - 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
216
  if (view === 'Grading view') {
209
217
  studentViewPage.steps.clearResponses();
210
218
  };
@@ -229,6 +237,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
229
237
  //Need to remove comment once https://redmine.zeuslearning.com/issues/577009 is resolved
230
238
  // dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
231
239
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
240
+ cy.eyesCheckWindow(`${view} - DND - Correct attempt`);
232
241
  });
233
242
  });
234
243
  });