itemengine-cypress-automation 1.0.194-packageUpdate1-2424cfe.0 → 1.0.194

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. package/cypress/e2e/ILC/AudioPlayerNew/audioOverviewAndTranscript.js +6 -6
  2. package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +4 -4
  3. package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +4 -4
  4. package/cypress/e2e/ILC/AudioPlayerNew/customizePlayerLayoutSettings.js +27 -12
  5. package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +7 -7
  6. package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +1 -1
  7. package/cypress/e2e/ILC/AudioResponseNew/customizePlaybackControls.js +2 -2
  8. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +9 -8
  9. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +1 -1
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +7 -7
  11. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +2 -2
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -2
  13. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +11 -9
  14. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -1
  15. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +1 -0
  16. package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +1 -1
  17. package/cypress/e2e/ILC/FeedbackScaleNew/numbersFeedbackScaleStyle.js +2 -2
  18. package/cypress/e2e/ILC/FeedbackScaleNew/textFeedbackScaleStyle.js +4 -6
  19. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +3 -0
  20. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +1 -1
  21. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +11 -11
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +1 -1
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +4 -4
  24. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  25. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +6 -4
  26. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -3
  27. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
  28. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +2 -1
  29. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  30. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  31. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -1
  32. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +2 -1
  33. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
  34. package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +2 -1
  35. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -3
  36. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -3
  37. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +4 -3
  38. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +6 -5
  39. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +6 -5
  40. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  41. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +2 -1
  42. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -2
  43. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +3 -2
  44. package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  45. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -3
  46. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +4 -4
  47. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
  48. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  49. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
  50. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
  51. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  52. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
  53. package/cypress/e2e/ILC/Matching/additionalSettings.js +4 -4
  54. package/cypress/e2e/ILC/Matching/draggableOptions.js +1 -1
  55. package/cypress/e2e/ILC/Matching/specifyCorrectAnswerSection.js +1 -1
  56. package/cypress/e2e/ILC/Matching/studentViewSettings.js +3 -3
  57. package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +4 -4
  58. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +0 -4
  59. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +78 -86
  60. package/cypress/e2e/ILC/MultipleSelection/checkAnswerFunctionalityForAllViews.smoke.js +1 -6
  61. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +12 -12
  62. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +9 -5
  63. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
  64. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +9 -21
  65. package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +6 -5
  66. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +2 -2
  67. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +5 -5
  68. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +2 -2
  69. package/cypress/e2e/ILC/Ruler/rulerHeaderSection.js +12 -21
  70. package/cypress/e2e/ILC/ShortTextResponseNew/responseAnswersAndAcceptedStudentInput.js +13 -13
  71. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +5 -5
  72. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +7 -7
  73. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +3 -3
  74. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +5 -4
  75. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +5 -5
  76. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +5 -5
  77. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +1 -1
  78. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +30 -30
  79. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +2 -2
  80. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  81. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +1 -1
  82. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +1 -1
  83. package/cypress/e2e/ILC/TextSelection/Scoring/manuallyAndNonScored.js +1 -1
  84. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsBasic.js +1 -1
  85. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  86. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  87. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  88. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsBasic.js +1 -1
  89. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  90. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  91. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  92. package/cypress/e2e/ILC/TextSelection/headerSection.js +0 -2
  93. package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +9 -9
  94. package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +4 -5
  95. package/cypress/e2e/ILC/UploadResponse/studentViewSettingsSection.js +1 -1
  96. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +19 -19
  97. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsCompactRecorderStyle.js +1 -1
  98. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsStandardRecorderStyle.js +8 -8
  99. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +3 -3
  100. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -3
  101. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +2 -2
  102. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosFourFunctionCalculatorPreviewContents.smoke.js +1 -1
  103. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosGraphingCalculatorPreviewContents.smoke.js +1 -1
  104. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosMatrixCalculatorPreviewContents.smoke.js +1 -1
  105. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosScientificCalculatorEditTabBasicSection.js +6 -6
  106. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosScientificCalculatorPreviewContents.smoke.js +1 -1
  107. package/cypress/e2e/ThirdPartyQuestions/DesmosGraphing/additionalSettings.js +5 -7
  108. package/cypress/e2e/ThirdPartyQuestions/DesmosGraphing/studentViewSettings.js +6 -33
  109. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/3DGraphingCalculatorEditTabBasicSection.js +3 -3
  110. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/3DGraphingCalculatorPreviewTabContents.smoke.js +2 -2
  111. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/casCalculatorEditTabBasicSection.js +3 -3
  112. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/casCalculatorPreviewTabContents.smoke.js +1 -1
  113. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/geometryCalculatorEditTabBasicSection.js +4 -4
  114. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/geometryCalculatorPreviewTabContents.smoke.js +2 -2
  115. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/graphingCalculatorEditTabBasicSection.js +3 -3
  116. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/graphingCalculatorPreviewTabContents.smoke.js +2 -2
  117. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/probablityCalculatorEditTabBasicSection.js +3 -3
  118. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/probablityCalculatorPreviewTabContents.smoke.js +1 -1
  119. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/scientificCalculatorEditTabBasicSection.js +3 -3
  120. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/scientificCalculatorPreviewTabContents.smoke.js +2 -2
  121. package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/additionalSettings.js +4 -4
  122. package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/headerSection.js +0 -2
  123. package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/insertResourceLink.js +1 -1
  124. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
  125. package/cypress/fixtures/theme/ilc.json +8 -2
  126. package/cypress/fixtures/uploads/sample1.txt +4 -0
  127. package/cypress/fixtures/uploads/sample2.txt +13 -0
  128. package/cypress/fixtures/uploads/sample300kb.txt +1 -0
  129. package/cypress/pages/audioPlayerPage.js +3 -2
  130. package/cypress/pages/chartsLinePage.js +2 -1
  131. package/cypress/pages/components/ariaLabelSectionComponent.js +1 -0
  132. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +2 -2
  133. package/cypress/pages/components/colorPopupComponent.js +1 -1
  134. package/cypress/pages/components/draggableOptionContainer.js +2 -2
  135. package/cypress/pages/components/editCategoryFlyout.js +26 -17
  136. package/cypress/pages/components/enableOuterBorderComponent.js +5 -5
  137. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +2 -1
  138. package/cypress/pages/components/imageCanvasComponent.js +14 -8
  139. package/cypress/pages/components/layoutSectionComponent.js +1 -1
  140. package/cypress/pages/components/maximumCapacityPerDropzoneComponent.js +1 -1
  141. package/cypress/pages/components/numberLineCommonComponent.js +2 -2
  142. package/cypress/pages/components/questionInputFieldComponent.js +1 -1
  143. package/cypress/pages/components/specifyRowsAndColumnsComponent.js +1 -0
  144. package/cypress/pages/desmosGraphingPage.js +1 -1
  145. package/cypress/pages/desmosToolPage.js +16 -4
  146. package/cypress/pages/drawingResponsePage.js +3 -3
  147. package/cypress/pages/essayResponsePage.js +1 -0
  148. package/cypress/pages/feedbackScalePage.js +13 -3
  149. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -11
  150. package/cypress/pages/geoGebraActivityPage.js +12 -3
  151. package/cypress/pages/geoGebraToolsPage.js +1 -1
  152. package/cypress/pages/graphingPage.js +7 -8
  153. package/cypress/pages/matchingPage.js +8 -12
  154. package/cypress/pages/multipleSelectionPage.js +35 -1
  155. package/cypress/pages/numberLineLabelPage.js +1 -1
  156. package/cypress/pages/numberLinePage.js +36 -8
  157. package/cypress/pages/rulerPage.js +0 -6
  158. package/cypress/pages/selectQuestionResourceToolPage.js +0 -4
  159. package/cypress/pages/singleSelectionPage.js +1 -2
  160. package/cypress/pages/uploadResponsePage.js +2 -2
  161. package/cypress/pages/videoResponsePage.js +11 -11
  162. package/package.json +1 -1
  163. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +0 -366
  164. package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +0 -41
  165. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingForAllViews.smoke.js +0 -0
  166. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingGroupedScoring.js +0 -0
  167. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +0 -0
  168. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +0 -0
  169. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
  170. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/manuallyAndNonScored.js +0 -0
  171. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -0
  172. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsBasic.js +0 -0
  173. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -0
  174. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
  175. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsBasic.js +0 -0
  176. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +0 -0
  177. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -0
  178. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
  179. /package/cypress/e2e/ILC/UploadResponse/{uploadResponseEditTabBasicSections.js → editTabBasicSection.js} +0 -0
  180. /package/cypress/e2e/ILC/UploadResponse/{uploadResponseHeaderSection.js → headerSection.js} +0 -0
  181. /package/cypress/e2e/ILC/UploadResponse/{uplodResponsePreviewUploadedFileProperties.js → uploadedFileProperties.js} +0 -0
@@ -163,16 +163,16 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
163
163
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPointerStyleTooltip();
164
164
  });
165
165
 
166
- it(`When the user has selected a dropzone and chooses ${dropzonePointerStyles[0]}, then selected drop zone should have the specified effect applied, and the other drop zones should remain unaffected.`, () => {
167
- fillInTheGapsOverImageDragAndDropPage.steps.selectResponseAreaPointerStyle(dropzonePointerStyles[0]);
168
- fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[0], 1);
169
- fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[7], 0);
166
+ it(`When the user has selected a dropzone and chooses ${dropzonePointerStyles[5]}, then selected drop zone should have the specified effect applied, and the other drop zones should remain unaffected.`, () => {
167
+ fillInTheGapsOverImageDragAndDropPage.steps.selectResponseAreaPointerStyle(dropzonePointerStyles[5]);
168
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[5], 1);
169
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[0], 0);
170
170
  });
171
171
 
172
- it(`When the user chooses ${dropzonePointerStyles[1]}, then selected drop zone should have the specified effect applied, and the other drop zones should remain unaffected.`, () => {
173
- fillInTheGapsOverImageDragAndDropPage.steps.selectResponseAreaPointerStyle(dropzonePointerStyles[1]);
174
- fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[1], 1);
175
- fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[7], 0);
172
+ it(`When the user chooses ${dropzonePointerStyles[6]}, then selected drop zone should have the specified effect applied, and the other drop zones should remain unaffected.`, () => {
173
+ fillInTheGapsOverImageDragAndDropPage.steps.selectResponseAreaPointerStyle(dropzonePointerStyles[6]);
174
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[6], 1);
175
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyResponseAreaPointerStyle(dropzonePointerStyles[0], 0);
176
176
  });
177
177
  });
178
178
 
@@ -263,10 +263,10 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
263
263
  it('When user selects a dropzone and changes dropzone pointer style in edit tab, then changes in dropzone pointer should be reflected in preview tab', () => {
264
264
  fillInTheGapsOverImageDragAndDropPage.steps.switchToEditTab();
265
265
  fillInTheGapsOverImageDragAndDropPage.steps.selectResponseArea(0);
266
- fillInTheGapsOverImageDragAndDropPage.steps.selectResponseAreaPointerStyle(dropzonePointerStyles[1]);
266
+ fillInTheGapsOverImageDragAndDropPage.steps.selectResponseAreaPointerStyle(dropzonePointerStyles[5]);
267
267
  fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
268
- fillInTheGapsOverImageDragAndDropPage.steps.verifyDropzonePointerStyleInPreviewTab(dropzonePointerStyles[1], 0);
269
- fillInTheGapsOverImageDragAndDropPage.steps.verifyDropzonePointerStyleInPreviewTab(dropzonePointerStyles[8], 1);
268
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyDropzonePointerStyleInPreviewTab(dropzonePointerStyles[5], 0);
269
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyDropzonePointerStyleInPreviewTab(dropzonePointerStyles[0], 1);
270
270
  });
271
271
 
272
272
  it('When user insert text and changes color for text in edit tab, then inserted text should be displayed in canvas in preview tab', () => {
@@ -677,7 +677,7 @@ describe('Create Item Page: Fill in the gaps over image - drag and drop: Click a
677
677
  it('When user has dropped all the options from a group in the response areas, then empty group should be displayed in the options container', () => {
678
678
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 0, 'Seed': 2 });
679
679
  fillInTheGapsOverImageDragAndDropPage.steps.verifyGroupedOptionsTitlePreviewTab(0, 'Group A')
680
- fillInTheGapsOverImageDragAndDropPage.steps.verifyEmptyGroupInPreviewTab(0);
680
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyEmptyGroupInPreviewTab(1);
681
681
  });
682
682
  });
683
683
  });
@@ -373,7 +373,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
373
373
  });
374
374
 
375
375
  describe('Maximum capacity per dropzone and Show students the dropzone limits: Edit tab', () => {
376
- const defaultListOptions = ['None', '1', '2']
376
+ const defaultListOptions = ['No limit', '1', '2']
377
377
  abortEarlySetup();
378
378
  before(() => {
379
379
  fillInTheGapsOverImageDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps over image with drag and drop');
@@ -420,7 +420,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
420
420
  fillInTheGapsOverImageDragAndDropPage.steps.addMultipleOptionFields(5);
421
421
  fillInTheGapsOverImageDragAndDropPage.steps.expandMaxCapacityPerDropzoneDropdown();
422
422
  utilities.verifyElementVisibilityState(fillInTheGapsOverImageDragAndDropPage.dropdownList(), 'visible')
423
- fillInTheGapsOverImageDragAndDropPage.steps.verifyMaxCapacityPerDropzoneListOptions(['None', '1', '2', '3', '4', '5', '6', '7']);
423
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyMaxCapacityPerDropzoneListOptions(['No limit', '1', '2', '3', '4', '5', '6', '7']);
424
424
  });
425
425
 
426
426
  it('When the user selects \'None\' from the \'Maximum capacity per dropzone\' dropdown, then the user should be able to set n number of options in a dropzone in the specify correct answer section', () => {
@@ -431,7 +431,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
431
431
  fillInTheGapsOverImageDragAndDropPage.steps.enterTextInOptionInputField(5, 'Roots');
432
432
  fillInTheGapsOverImageDragAndDropPage.steps.enterTextInOptionInputField(6, 'Branch');
433
433
  fillInTheGapsOverImageDragAndDropPage.steps.expandMaxCapacityPerDropzoneDropdown();
434
- fillInTheGapsOverImageDragAndDropPage.steps.selectOptionFromMaxCapacityPerDropzoneDropdown('None');
434
+ fillInTheGapsOverImageDragAndDropPage.steps.selectOptionFromMaxCapacityPerDropzoneDropdown('No limit');
435
435
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Flower': 1, 'Seeds': 1, 'Stem': 1 });
436
436
  fillInTheGapsOverImageDragAndDropPage.steps.verifyDraggableOptionInSpecifyCorrectAnswerSection(1, ['Flower', 'Seeds', 'Stem']);
437
437
  });
@@ -495,7 +495,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Studen
495
495
 
496
496
  it('When the user selects \'None\' from the \'Maximum capacity per dropzone\' dropdown, then the user should be able to set n number of options in a dropzone in the preview tab', () => {
497
497
  fillInTheGapsOverImageDragAndDropPage.steps.expandMaxCapacityPerDropzoneDropdown();
498
- fillInTheGapsOverImageDragAndDropPage.steps.selectOptionFromMaxCapacityPerDropzoneDropdown('None');
498
+ fillInTheGapsOverImageDragAndDropPage.steps.selectOptionFromMaxCapacityPerDropzoneDropdown('No limit');
499
499
  fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
500
500
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 1, 'Stem': 1, 'Roots': 1 });
501
501
  fillInTheGapsOverImageDragAndDropPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Leaves', 'Stem', 'Roots']);
@@ -203,7 +203,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
203
203
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
204
204
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
205
205
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
206
- fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
206
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Branch']);
207
207
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
208
208
  cy.log('When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers and clicks on the \'Check answer\' button, correct icon icons should be displayed beside the correct responses from the correct accordion, incorrect icons should be displayed beside the incorrectly answered responses, correct/incorrect answer status message and correct answer section should not be displayed')
209
209
  fillInTheGapsTextPage.steps.checkAnswer();
@@ -1,5 +1,6 @@
1
1
  import { fillInTheGapsTextPage } from "../../../../pages";
2
2
  import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
+ import utilities from "../../../../support/helpers/utilities";
3
4
 
4
5
  describe('Create item page - Fill in the gaps with text: Response level alternate answer basic scoring', () => {
5
6
  before(() => {
@@ -14,6 +15,7 @@ describe('Create item page - Fill in the gaps with text: Response level alternat
14
15
  fillInTheGapsTextPage.steps.deleteAResponseArea(0);
15
16
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }]);
16
17
  fillInTheGapsTextPage.steps.addAlternateAnswerInResponseAccordion(0);
18
+ utilities.verifyElementCount(fillInTheGapsTextPage.answerInputFieldSpecifyCorrectAnswerSection(), 2);
17
19
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 1, responseText: 'Fruit' }]);
18
20
  fillInTheGapsTextPage.steps.allotPoints(15);
19
21
  fillInTheGapsTextPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
@@ -49,13 +51,13 @@ describe('Create item page - Fill in the gaps with text: Response level alternat
49
51
  fillInTheGapsTextPage.steps.verifyPreviewScore(15, 15);
50
52
  fillInTheGapsTextPage.steps.switchToGradingView();
51
53
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
52
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('Correct');
54
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
53
55
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
54
56
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
55
57
  cy.log('When user attempts the question correctly with the first correct answer set for the response accordion and clicks on \'Check answer\' button, then correct icon should be displayed beside the correct response, a status message with text \'Your answer is correct\' and correct answer section should not be displayed')
56
58
  fillInTheGapsTextPage.steps.checkAnswer();
57
59
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
58
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('Correct');
60
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
59
61
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
60
62
  });
61
63
 
@@ -65,13 +67,13 @@ describe('Create item page - Fill in the gaps with text: Response level alternat
65
67
  fillInTheGapsTextPage.steps.verifyPreviewScore(15, 15);
66
68
  fillInTheGapsTextPage.steps.switchToGradingView();
67
69
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
68
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('Correct');
70
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
69
71
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
70
72
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
71
73
  cy.log('When the user attempts the question with the alternate answer set for the response accordion and clicks on \'Check answer\' button, then correct icon should be displayed beside the correct response, a status message with text \'Your answer is correct\' and correct answer section should not be displayed')
72
74
  fillInTheGapsTextPage.steps.checkAnswer();
73
75
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
74
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('Correct');
76
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
75
77
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
76
78
  });
77
79
  });
@@ -438,7 +438,8 @@ describe('Create Item page - Graphing: All or nothing ', () => {
438
438
  graphingPage.graphLabelInputField()
439
439
  .verifyPseudoClassBeforeProperty('color', css.color.correctAnswer);
440
440
  utilities.verifyCSS(graphingPage.graphLabelInputField(), {
441
- 'color': css.color.correctAnswer
441
+ 'color': css.color.text,
442
+ 'border-bottom-color':css.color.correct
442
443
  });
443
444
  });
444
445
 
@@ -455,7 +456,8 @@ describe('Create Item page - Graphing: All or nothing ', () => {
455
456
  graphingPage.graphLabelInputField()
456
457
  .verifyPseudoClassBeforeProperty('color', css.color.incorrectAnswer);
457
458
  utilities.verifyCSS(graphingPage.graphLabelInputField(), {
458
- 'color': css.color.incorrectAnswer
459
+ 'color': css.color.text,
460
+ 'border-bottom-color':css.color.incorrect
459
461
  });
460
462
  });
461
463
 
@@ -472,7 +474,8 @@ describe('Create Item page - Graphing: All or nothing ', () => {
472
474
  graphingPage.graphLabelInputField()
473
475
  .verifyPseudoClassBeforeProperty('color', css.color.incorrectAnswer);
474
476
  utilities.verifyCSS(graphingPage.graphLabelInputField(), {
475
- 'color': css.color.incorrectAnswer
477
+ 'color': css.color.text,
478
+ 'border-bottom-color':css.color.incorrect
476
479
  });
477
480
  });
478
481
  });
@@ -33,7 +33,8 @@ describe('Create item page - Grid fill: All or nothing with alternative answers'
33
33
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
34
34
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
35
35
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
36
- gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
36
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
37
+ //gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
37
38
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
38
39
  });
39
40
 
@@ -32,7 +32,8 @@ describe('Create item page - Grid fill: All or nothing with alternative answers'
32
32
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
33
33
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
34
34
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
35
- gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
35
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
36
+ //gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
36
37
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
37
38
  });
38
39
 
@@ -34,7 +34,8 @@ describe('Create item page - grid fill: All or nothing with alternative answers'
34
34
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
35
35
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
36
36
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
37
- gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
37
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
38
+ //gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
38
39
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
39
40
  });
40
41
 
@@ -29,7 +29,8 @@ describe('Create item page - Grid fill : All or nothing with alternate accordion
29
29
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
30
30
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
31
31
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
32
- gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
32
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
33
+ //gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
33
34
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
34
35
  });
35
36
 
@@ -87,10 +87,14 @@ describe('Create item page - Grid fill : Partial equal weights with alternate',
87
87
  gridFillPage.steps.resetQuestionPreview();
88
88
  gridFillPage.steps.selectCellPreviewTab(0, 0);
89
89
  gridFillPage.steps.selectCellPreviewTab(0, 2);
90
- gridFillPage.steps.verifyPreviewScore(18, 30);
90
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
91
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
92
+ gridFillPage.steps.verifyPreviewScore(24, 30);
91
93
  gridFillPage.steps.switchToGradingView();
92
94
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
93
95
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
96
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
97
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 4);
94
98
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
95
99
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
96
100
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
@@ -102,6 +106,8 @@ describe('Create item page - Grid fill : Partial equal weights with alternate',
102
106
  gridFillPage.steps.checkAnswer();
103
107
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
104
108
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
109
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
110
+ gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 4);
105
111
  gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
106
112
  gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
107
113
  });
@@ -29,7 +29,8 @@ describe('Create item page - Grid fill : All or nothing with alternative answer
29
29
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
30
30
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
31
31
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
32
- gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
32
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
33
+ //gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
33
34
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
34
35
  });
35
36
 
@@ -27,7 +27,8 @@ describe('Create item page - Grid fill : Auto scored - All or nothing with alter
27
27
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
28
28
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
29
29
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
30
- gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
30
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
31
+ //gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
31
32
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
32
33
  });
33
34
 
@@ -28,7 +28,8 @@ describe('Create item page - Grid fill: Match exact with cell shade count scorin
28
28
  gridFillPage.steps.switchToGradingView();
29
29
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
30
30
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
31
- gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
31
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
32
+ //gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
32
33
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
33
34
  });
34
35
 
@@ -46,9 +46,7 @@ describe('Create item page - Grid fill : Partial equal weights with alternative
46
46
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
47
47
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
48
48
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
49
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
50
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
51
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
49
+ gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
52
50
  gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
53
51
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
54
52
  cy.log('When the user has attempted the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the responses from correct accordion, correct/incorrect status message should not be displayed')
@@ -67,9 +67,7 @@ describe('Create item page - Grid fill : Partial equal weights with alternative
67
67
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
68
68
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
69
69
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 4);
70
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
71
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
72
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
70
+ gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
73
71
  gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
74
72
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
75
73
  cy.log('When the user has attempted the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in responses from alternative accordion and correct/incorrect status message should not be displayed')
@@ -6,6 +6,7 @@ const flowerHighlightRegion = [[40, 6], [40, 20], [55, 20], [55, 6]];
6
6
  const branchesHighlightRegion = [[50, 30], [50, 42], [65, 42], [65, 30]];
7
7
  const leafHighlightRegion = [[26, 26], [26, 36], [48, 36], [48, 26]];
8
8
  const rootsHighlightRegion = [[45, 45], [45, 55], [57, 55], [57, 45]];
9
+ const additionalHighlightRegion = [[70, 5], [70, 15], [95, 15], [95, 5]];
9
10
 
10
11
  describe('Create item page - Image highlight: Partial different weights', () => {
11
12
  before(() => {
@@ -201,6 +202,7 @@ describe('Create item page - Image highlight: Partial different weights', () =>
201
202
  imageHighlightPage.steps.highlightRegionInImage(branchesHighlightRegion);
202
203
  imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
203
204
  imageHighlightPage.steps.highlightRegionInImage(rootsHighlightRegion);
205
+ imageHighlightPage.steps.highlightRegionInImage(additionalHighlightRegion);
204
206
  imageHighlightPage.steps.selectMultipleSelectionToggle();
205
207
  imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(0);
206
208
  imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(1);
@@ -267,7 +269,7 @@ describe('Create item page - Image highlight: Partial different weights', () =>
267
269
  imageHighlightPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
268
270
  imageHighlightPage.steps.allotPenaltyPoints(4);
269
271
  imageHighlightPage.steps.switchToPreviewTab();
270
- imageHighlightPage.steps.highlightARegionInPreviewTab(0);
272
+ imageHighlightPage.steps.highlightARegionInPreviewTab(4);
271
273
  imageHighlightPage.steps.verifyPreviewScore(0, 10.5);
272
274
  });
273
275
 
@@ -275,7 +277,7 @@ describe('Create item page - Image highlight: Partial different weights', () =>
275
277
  imageHighlightPage.steps.switchToEditTab();
276
278
  imageHighlightPage.steps.uncheckRoundNegativeScoresToZeroCheckbox();
277
279
  imageHighlightPage.steps.switchToPreviewTab();
278
- imageHighlightPage.steps.highlightARegionInPreviewTab(0);
280
+ imageHighlightPage.steps.highlightARegionInPreviewTab(4);
279
281
  imageHighlightPage.steps.verifyPreviewScore(-4, 10.5);
280
282
  });
281
283
  });
@@ -283,7 +285,6 @@ describe('Create item page - Image highlight: Partial different weights', () =>
283
285
  describe('Question preview: Auto scored - Partial different weights: Penalty scoring with \'Round negative score to zero\' unchecked', () => {
284
286
  abortEarlySetup();
285
287
  before(() => {
286
- const additionalHighlightRegion = [[70, 5], [70, 15], [95, 15], [95, 5]];
287
288
  imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
288
289
  imageHighlightPage.steps.addTextInQuestionInstructionsInputField('Select the appropriate highlight in the image below');
289
290
  imageHighlightPage.steps.uploadFile('highlightImage.jpg');
@@ -30,11 +30,12 @@ describe('Create item page - List ordering: All or nothing scoring with alternat
30
30
  it('When the user switches to the \'Grading view\' without attempting the question, then correct/incorrect icons should be displayed for the default list order, "Your answer is incorrect" label and correct answers section with a label \'Correct answers\' should be displayed with correct answers from the alternative accordion', () => {
31
31
  listOrderingPage.steps.verifyPreviewScore(0, 25);
32
32
  listOrderingPage.steps.switchToGradingView();
33
- listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(0);
34
- listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(1);
35
- listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(2);
36
- listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(3);
37
- listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
33
+ listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(0);
34
+ listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(1);
35
+ listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(2);
36
+ listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(3);
37
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
38
+ //listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
38
39
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['3', '4', '2', '1']);
39
40
  });
40
41
 
@@ -29,12 +29,13 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
29
29
 
30
30
  it('When the user switches to the \'Grading view\' without attempting the question, then correct/incorrect icons should be displayed for the default list order, "Your answer is incorrect" label and correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion', () => {
31
31
  listOrderingPage.steps.switchToGradingView();
32
- listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(0);
33
- listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(1);
34
- listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(2);
35
- listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(3);
32
+ listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(0);
33
+ listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(1);
34
+ listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(2);
35
+ listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(3);
36
36
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
37
- listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
37
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
38
+ //listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
38
39
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
39
40
  });
40
41
 
@@ -35,7 +35,8 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
35
35
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(2);
36
36
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(3);
37
37
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
38
- listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
38
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
39
+ //listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
39
40
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
40
41
  listOrderingPage.steps.verifyCorrectOptionIconsDropdownLayoutCorrectAnswersSectionNotExists();
41
42
  });
@@ -75,7 +75,8 @@ describe('Create Item page - List ordering: Manually and non scored', () => {
75
75
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(1);
76
76
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(2);
77
77
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(3);
78
- listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
78
+ //TODO: Remove comment after https://redmine.zeuslearning.com/issues/565569 is resolved
79
+ //listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
79
80
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
80
81
  });
81
82
 
@@ -218,10 +218,9 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
218
218
  listOrderingPage.steps.switchToEditTab();
219
219
  listOrderingPage.steps.addOption();
220
220
  listOrderingPage.steps.enterTextInOptionInputField(4, 'fruit');
221
- listOrderingPage.steps.expandCorrectAnswerAccordion();
221
+ listOrderingPage.steps.deleteAlternativeAnswerAccordion(0);
222
222
  listOrderingPage.steps.selectPositionForAllOptionsSpecifyCorrectAnswerSection([{ optionIndex: 0, position: '2' }, { optionIndex: 1, position: '3' }, { optionIndex: 2, position: '4' }, { optionIndex: 3, position: '1' }, { optionIndex: 4, position: '5' }]);
223
223
  listOrderingPage.steps.allotPartialDifferentWeightsPoints({ 0: 14.5, 1: 2.5, 2: 1.5, 3: 2.5, 4: 3.5 });
224
- listOrderingPage.steps.deleteAlternativeAnswerAccordion(0);
225
224
  listOrderingPage.steps.addAlternativeAnswerAccordion(1);
226
225
  listOrderingPage.steps.selectPositionForAllOptionsSpecifyCorrectAnswerSection([{ optionIndex: 0, position: '1' }, { optionIndex: 1, position: '2' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '5' }, { optionIndex: 4, position: '4' }]);
227
226
  listOrderingPage.steps.allotPartialDifferentWeightsPoints({ 0: 24.5, 1: 1.5, 2: 4.5, 3: 1.5, 4: 3.5 });
@@ -40,12 +40,13 @@ describe('Create Item page - List ordering: Preview tab scoring', () => {
40
40
  listOrderingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
41
41
  });
42
42
 
43
- it('When the user selects \'Award minimum score only if attempted\' from the minimum scoring dropdown, does not attempt the question and switches to grading view, considering the default order of the list as an attempt, the user should be awarded with minimum points', () => {
43
+ it('When the user selects \'Award minimum score only if attempted\' from the minimum scoring dropdown, does not attempt the question and switches to grading view, attempts incorrectly, the user should be awarded with minimum points', () => {
44
44
  listOrderingPage.steps.switchToEditTab();
45
45
  listOrderingPage.steps.expandMinimumScoringDropdown();
46
46
  listOrderingPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
47
47
  listOrderingPage.steps.allotMinimumPoints(2);
48
48
  listOrderingPage.steps.switchToPreviewTab();
49
+ listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '1' }, { optionIndex: 1, position: '2' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }]);
49
50
  listOrderingPage.steps.switchToGradingView();
50
51
  listOrderingPage.steps.verifyPreviewScore(2, 12);
51
52
  listOrderingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -207,7 +208,7 @@ describe('Create Item page - List ordering: Preview tab scoring', () => {
207
208
  //Penalty points for each incorrect option - Specify total penalty points
208
209
  it('When the user sets penalty scoring to \'Penalty points for each incorrect option\', and \'Specify total penalty points\' radio button in checked state, allots total penalty points and attempts the question incorrectly, then the user should be awarded with negative points of all the empty and incorrect option', () => {
209
210
  listOrderingPage.steps.expandPenaltyScoringDropdown();
210
- listOrderingPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for each incorrect option');
211
+ listOrderingPage.steps.selectOptionFromPenaltyScoringDropdown('penalty points for each incorrect option');
211
212
  listOrderingPage.steps.allotTotalPenaltyPoints(4);
212
213
  listOrderingPage.steps.switchToPreviewTab();
213
214
  listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '1' }, { optionIndex: 1, position: '2' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }]);
@@ -43,7 +43,7 @@ describe('Create item page - List ordering: Minimum scoring, Penalty scoring, Ro
43
43
 
44
44
  it('When the user selects \'Penalty points for each incorrect option\' from the penalty scoring dropdown, \'Automatically set penalty for each incorrect option to total points / no. of incorrect options\' label and checkbox should be displayed, by default the checkbox should be unchecked. Two radio buttons with labels - \'Specify total penalty points\' and \'Specify points for each incorrect option\' should be displayed. By default, \'Specify total penalty points\' radio button should be checked', () => {
45
45
  listOrderingPage.steps.expandPenaltyScoringDropdown();
46
- listOrderingPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for each incorrect option');
46
+ listOrderingPage.steps.selectOptionFromPenaltyScoringDropdown('penalty points for each incorrect option');
47
47
  utilities.verifyInnerText(listOrderingPage.automaticallySetPenaltyPointsCheckboxLabel(), 'Automatically set penalty for each incorrect option to total points / no. of incorrect options');
48
48
  utilities.verifyInnerText(listOrderingPage.specifyTotalPenaltyPointsRadioButtonLabel(), 'Specify total penalty points');
49
49
  utilities.verifyInnerText(listOrderingPage.specifyPointsForEachIncorrectOptionRadioButtonLabel(), 'Specify points for each incorrect option');
@@ -2,7 +2,7 @@ import { listOrderingPage, itemPreviewPage, studentViewPage } from "../../../pag
2
2
  import { ckEditorToolbar, equationEditorFlyout } from "../../../pages/components";
3
3
  import abortEarlySetup from "../../../support/helpers/abortEarly";
4
4
  import utilities from "../../../support/helpers/utilities";
5
- const previewContentViews = ['Question preview', 'Item view', 'Item preview', 'Student view', 'Grading view', 'Correct answer view'];
5
+ const previewContentViews = ['Question preview', 'Grading view', 'Correct answer view'];
6
6
  const views = utilities.getViews(previewContentViews);
7
7
  var itemReferenceID = "";
8
8
  const css = Cypress.env('css');
@@ -124,8 +124,8 @@ describe('Create item page - List ordering - Preview contents in all views', ()
124
124
  });
125
125
 
126
126
  it('The order of the responses should not be editable', () => {
127
- listOrderingPage.steps.expandPositionDropdownPreviewTab(2);
128
- utilities.verifyElementVisibilityState(listOrderingPage.dropdownList(), 'notExist');
127
+ listOrderingPage.steps.selectOptionPositionPreviewTab(2, 0);
128
+ utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), 2), 3);
129
129
  });
130
130
  } else {
131
131
  it('The order of the options should be as per the correct answer order', () => {
@@ -115,20 +115,20 @@ describe('Create item page - Matching: All or nothing with alternative answers',
115
115
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();
116
116
  });
117
117
 
118
- it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the response from the correct accordion, incorrect icon should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone cell numeration should be displayed', () => {
118
+ it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone cell numeration should be displayed', () => {
119
119
  matchingPage.steps.resetQuestionPreview();
120
120
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
121
121
  matchingPage.steps.verifyPreviewScore(0, 20);
122
122
  matchingPage.steps.switchToGradingView();
123
- matchingPage.steps.verifyIncorrectOptionIcon(0);
123
+ matchingPage.steps.verifyCorrectOptionIcon(0);
124
124
  matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
125
125
  matchingPage.steps.verifyCorrectOptionIcon(2);
126
126
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
127
127
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
128
128
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
129
- cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion, incorrect icon should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
129
+ cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
130
130
  matchingPage.steps.checkAnswer();
131
- matchingPage.steps.verifyIncorrectOptionIcon(0);
131
+ matchingPage.steps.verifyCorrectOptionIcon(0);
132
132
  matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
133
133
  matchingPage.steps.verifyCorrectOptionIcon(2);
134
134
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -116,20 +116,20 @@ describe('Create item page - Matching: Partial different weights', () => {
116
116
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();
117
117
  });
118
118
 
119
- it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded with points of the correctly attempted responses and on switching to \'Grading\' view, green check-mark should be displayed besides the response from the correct accordion, red cross-mark should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, status message should not be displayed and correct answer section with all correct answers from the alternate accordion along with dropzone numeration should be displayed', () => {
119
+ it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded with points of the correctly attempted responses and on switching to \'Grading\' view, green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, status message should not be displayed and correct answer section with all correct answers from the alternate accordion along with dropzone numeration should be displayed', () => {
120
120
  matchingPage.steps.resetQuestionPreview();
121
121
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
122
122
  matchingPage.steps.verifyPreviewScore(10, 15);
123
123
  matchingPage.steps.switchToGradingView();
124
- matchingPage.steps.verifyIncorrectOptionIcon(0);
124
+ matchingPage.steps.verifyCorrectOptionIcon(0);
125
125
  matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
126
126
  matchingPage.steps.verifyCorrectOptionIcon(2);
127
127
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
129
129
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
130
- cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then green check-mark should be displayed besides the response from the correct accordion, red cross-mark should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, status message and correct answer section should not be displayed')
130
+ cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, status message and correct answer section should not be displayed')
131
131
  matchingPage.steps.checkAnswer();
132
- matchingPage.steps.verifyIncorrectOptionIcon(0);
132
+ matchingPage.steps.verifyCorrectOptionIcon(0);
133
133
  matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
134
134
  matchingPage.steps.verifyCorrectOptionIcon(2);
135
135
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -116,20 +116,20 @@ describe('Create item page - Matching: Partial different weights', () => {
116
116
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();
117
117
  });
118
118
 
119
- it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points of the correctly attempted responses and on switching to \'Grading\' view, green check-mark should be displayed besides the response from the correct accordion, red cross-mark should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section with all correct answers from the correct accordion along with dropzone numeration should be displayed', () => {
119
+ it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points of the correctly attempted responses and on switching to \'Grading\' view, green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section with all correct answers from the correct accordion along with dropzone numeration should be displayed', () => {
120
120
  matchingPage.steps.resetQuestionPreview();
121
121
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
122
122
  matchingPage.steps.verifyPreviewScore(10, 15);
123
123
  matchingPage.steps.switchToGradingView();
124
- matchingPage.steps.verifyIncorrectOptionIcon(0);
124
+ matchingPage.steps.verifyCorrectOptionIcon(0);
125
125
  matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
126
126
  matchingPage.steps.verifyCorrectOptionIcon(2);
127
127
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
129
129
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
130
- cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then green check-mark should be displayed besides the response from the correct accordion, red cross-mark should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
130
+ cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
131
131
  matchingPage.steps.checkAnswer();
132
- matchingPage.steps.verifyIncorrectOptionIcon(0);
132
+ matchingPage.steps.verifyCorrectOptionIcon(0);
133
133
  matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
134
134
  matchingPage.steps.verifyCorrectOptionIcon(2)
135
135
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();