itemengine-cypress-automation 1.0.275-cssUpdates12Dec-bbaeace.0 → 1.0.275

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -2
  2. package/cypress/e2e/ILC/ChartsBar/toolSettings.js +1 -1
  3. package/cypress/e2e/ILC/ChartsLine/toolSettings.js +1 -1
  4. package/cypress/e2e/ILC/Compass/compassEditTabBasicsSection.js +11 -5
  5. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -0
  6. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +7 -5
  7. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +6 -2
  8. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +8 -0
  9. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +8 -0
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +4 -0
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +2 -0
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -0
  13. package/cypress/e2e/ILC/EssayResponse/toolSettings.js +8 -2
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +2 -1
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +1 -0
  17. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -0
  18. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +1 -1
  19. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
  20. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
  21. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
  22. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
  23. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  24. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  25. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  26. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  27. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  28. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  29. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAlternateAnswerPopup.js +0 -1
  30. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +2 -0
  31. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +1 -1
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +4 -4
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  36. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +7 -7
  37. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  38. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +8 -8
  39. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +8 -8
  42. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  45. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -2
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +4 -2
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -0
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -18
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +6 -6
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  70. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +9 -9
  71. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
  72. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
  73. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +3 -3
  74. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
  75. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
  76. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
  77. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
  78. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
  79. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  80. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  81. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  82. package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +1 -1
  83. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +4 -2
  84. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +1 -0
  85. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +2 -1
  86. package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
  87. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +2 -0
  88. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  89. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +6 -0
  90. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  91. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  92. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  93. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  94. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  95. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  96. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +3 -2
  97. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +2 -0
  98. package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
  99. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
  100. package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
  101. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +2 -1
  102. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
  103. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +2 -1
  104. package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +3 -4
  105. package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +4 -0
  106. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +2 -3
  107. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +5 -0
  108. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
  109. package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +3 -0
  110. package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +6 -3
  111. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  112. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  113. package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +23 -1
  114. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +476 -0
  115. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  116. package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +129 -0
  117. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +7 -5
  118. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +384 -0
  119. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
  120. package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
  121. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
  122. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
  123. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
  124. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
  125. package/cypress/pages/audioPlayerPage.js +2 -2
  126. package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
  127. package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
  128. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +19 -1
  129. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
  130. package/cypress/pages/components/essayResponseCommonComponents.js +6 -5
  131. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  132. package/cypress/pages/components/layoutSectionComponent.js +6 -2
  133. package/cypress/pages/components/numberLineCommonComponent.js +12 -5
  134. package/cypress/pages/components/playbackControlsBaseComponent.js +5 -0
  135. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
  136. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  137. package/cypress/pages/drawingResponsePage.js +18 -1
  138. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -2
  139. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -6
  140. package/cypress/pages/gridFillPage.js +2 -3
  141. package/cypress/pages/listOrderingPage.js +19 -12
  142. package/cypress/pages/matchingPage.js +16 -2
  143. package/cypress/pages/textEntryMathPage.js +716 -4
  144. package/cypress/pages/textEntryMathWithImagePage.js +133 -5
  145. package/package.json +1 -1
@@ -147,15 +147,15 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
147
147
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
148
148
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
149
149
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
150
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
151
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
150
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
151
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1)
152
152
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
153
153
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
154
154
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
155
155
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
156
156
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
157
157
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
158
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
158
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
159
159
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
160
160
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
161
161
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -167,7 +167,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
167
167
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
168
168
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
169
169
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
170
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
170
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
171
171
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
172
172
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
173
173
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -175,7 +175,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
175
175
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
176
176
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
177
177
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
178
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
178
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
179
179
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
180
180
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
181
181
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -188,16 +188,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
188
188
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
189
189
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
190
190
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
191
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
192
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
191
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
192
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
193
193
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
194
194
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
195
195
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
196
196
  /*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')
197
197
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
198
198
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
199
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
200
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
199
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
200
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
201
201
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
202
202
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
203
203
  });
@@ -228,16 +228,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
228
228
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
229
229
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
230
230
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
231
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
232
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
231
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
232
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
233
233
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
234
234
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
235
235
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
236
236
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
237
237
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
238
238
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
239
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
240
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
239
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
240
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
241
241
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
242
242
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
243
243
  });
@@ -248,16 +248,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
248
248
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
249
249
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
250
250
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
251
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
252
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
251
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
252
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
253
253
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
254
254
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
255
255
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
256
256
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
257
257
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
258
258
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
259
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
260
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
259
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
260
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
261
261
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
262
262
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
263
263
  });
@@ -66,9 +66,9 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
66
66
 
67
67
  it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed and the correct answer section should be displayed with correct answers', () => {
68
68
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
69
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
70
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
71
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
69
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
70
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
71
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
72
72
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
73
73
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
74
74
  fillInTheGapsOverImageDragAndDropPage.steps.switchToStudentView();
@@ -97,7 +97,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
97
97
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Roots': 2 });
98
98
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
99
99
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
100
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
100
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
101
101
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
102
102
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
103
103
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
@@ -105,7 +105,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
105
105
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct, some incomplete, some incorrect options, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
106
106
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
107
107
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
108
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
108
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
109
109
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
110
110
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
111
111
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -115,7 +115,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
115
115
  fillInTheGapsOverImageDragAndDropPage.steps.resetQuestionPreview();
116
116
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 1, 'Stem': 2 });
117
117
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
118
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
118
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
119
119
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
120
120
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
121
121
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -123,7 +123,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
123
123
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
124
124
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
125
125
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
126
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
126
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
127
127
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
128
128
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
129
129
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
83
83
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(6, 15);
85
85
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
86
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
86
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
87
87
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
89
89
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -91,7 +91,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
91
91
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
92
92
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, status message and correct answer section should not be displayed')
93
93
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
94
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
94
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
95
95
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
96
96
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
97
97
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -103,7 +103,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
103
103
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
104
104
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(9, 15);
105
105
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
106
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
106
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
107
107
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
108
108
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
109
109
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -111,7 +111,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
111
111
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
112
112
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
113
113
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
114
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
114
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
115
115
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
116
116
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
117
117
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -125,7 +125,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
125
125
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
126
126
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
127
127
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
128
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
128
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
129
129
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
130
130
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
131
131
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
133
133
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
134
134
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
135
135
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
136
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
137
137
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
138
138
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
139
139
  });
@@ -184,16 +184,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
184
184
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(7, 15);
185
185
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
186
186
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
187
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
188
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
187
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
188
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
189
189
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
190
190
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
191
191
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
192
192
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
193
193
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
194
194
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
195
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
196
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
195
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
196
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
197
197
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
198
198
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
199
199
  });
@@ -204,16 +204,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
204
204
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
205
205
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
206
206
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
207
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
208
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
207
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
208
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
209
209
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
210
210
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
211
211
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
212
212
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
213
213
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
214
214
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
215
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
216
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
215
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
216
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
217
217
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
218
218
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
219
219
  });
@@ -40,16 +40,16 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
40
40
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Roots': 2 });
41
41
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
42
42
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
43
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
44
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
43
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
44
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
45
45
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
46
46
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
47
47
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
48
48
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
49
49
  /*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' red cross-marks should be displayed besides all incorrect responses, a status message should not be displayed and correct answer section should not be displayed')
50
50
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
51
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
52
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
51
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
52
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
53
53
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
54
54
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
55
55
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -61,7 +61,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
61
61
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(9, 20);
62
62
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
63
63
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
64
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
64
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
65
65
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
66
66
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
67
67
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
@@ -69,7 +69,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
69
69
  /*cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
70
70
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
71
71
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
72
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
72
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
73
73
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
74
74
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
75
75
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -80,7 +80,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
80
80
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
81
81
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(11, 20);
82
82
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
83
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
83
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
85
85
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
86
86
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -88,7 +88,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
89
89
  /*cy.log('When the user attempts the question partially correct with all the responses correctly attempted but one response incomplete and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
90
90
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
91
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
91
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
92
92
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
93
93
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
94
94
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
83
83
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(9, 15);
85
85
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
86
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
86
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
87
87
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
89
89
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -91,7 +91,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
91
91
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
92
92
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, a status message and correct answer section should not be displayed')
93
93
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
94
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
94
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
95
95
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
96
96
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
97
97
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -103,7 +103,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
103
103
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
104
104
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(8, 15);
105
105
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
106
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
106
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
107
107
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
108
108
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
109
109
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -111,7 +111,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
111
111
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
112
112
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message and correct answer section should not be displayed')
113
113
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
114
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
114
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
115
115
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
116
116
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
117
117
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -125,7 +125,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
125
125
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
126
126
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
127
127
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
128
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
128
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
129
129
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
130
130
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
131
131
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
133
133
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
134
134
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
135
135
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
136
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
137
137
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
138
138
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
139
139
  });
@@ -184,16 +184,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
184
184
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(7, 15);
185
185
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
186
186
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
187
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
188
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
187
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
188
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
189
189
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
190
190
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
191
191
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
192
192
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message and correct answer section should not be displayed')
193
193
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
194
194
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
195
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
196
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
195
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
196
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
197
197
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
198
198
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
199
199
  });
@@ -204,16 +204,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
204
204
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
205
205
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
206
206
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
207
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
208
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
207
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
208
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
209
209
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
210
210
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
211
211
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
212
212
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message and correct answer section should not be displayed')
213
213
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
214
214
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
215
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
216
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
215
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
216
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
217
217
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
218
218
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
219
219
  });
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
83
83
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(9, 15);
85
85
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
86
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
86
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
87
87
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
89
89
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -91,7 +91,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
91
91
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
92
92
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
93
93
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
94
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
94
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
95
95
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
96
96
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
97
97
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -103,7 +103,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
103
103
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
104
104
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(6, 15);
105
105
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
106
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
106
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
107
107
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
108
108
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
109
109
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -111,7 +111,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
111
111
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
112
112
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
113
113
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
114
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
114
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
115
115
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
116
116
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
117
117
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -125,7 +125,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
125
125
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
126
126
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
127
127
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
128
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
128
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
129
129
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
130
130
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
131
131
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
133
133
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
134
134
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
135
135
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
136
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
137
137
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
138
138
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
139
139
  });
@@ -184,16 +184,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
184
184
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(7, 15);
185
185
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
186
186
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
187
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
188
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
187
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
188
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
189
189
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
190
190
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
191
191
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
192
192
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
193
193
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
194
194
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
195
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
196
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
195
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
196
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
197
197
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
198
198
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
199
199
  });
@@ -204,16 +204,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
204
204
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
205
205
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
206
206
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
207
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
208
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
207
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
208
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
209
209
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
210
210
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
211
211
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
212
212
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
213
213
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
214
214
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
215
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
216
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
215
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
216
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
217
217
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
218
218
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
219
219
  });
@@ -40,16 +40,16 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
40
40
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Roots': 2 });
41
41
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 15);
42
42
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
43
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
44
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
43
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
44
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
45
45
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
46
46
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
47
47
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
48
48
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
49
49
  /*cy.log('When user clicks on Check answer button after he attempts the question incorrectly incorrect icons should be displayed besides all incorrect responses, status message and correct answer section should not be displayed')
50
50
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
51
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
52
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
51
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
52
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
53
53
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
54
54
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
55
55
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -61,7 +61,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
61
61
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(5, 15);
62
62
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
63
63
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
64
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
64
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
65
65
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
66
66
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
67
67
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
@@ -69,7 +69,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
69
69
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct, some incomplete, some incorrect options, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
70
70
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
71
71
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
72
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
72
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
73
73
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
74
74
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
75
75
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -80,7 +80,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
80
80
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
81
81
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(10, 15);
82
82
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
83
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
83
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
85
85
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
86
86
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -88,7 +88,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
89
89
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
90
90
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
91
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
91
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
92
92
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
93
93
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
94
94
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();