itemengine-cypress-automation 1.0.276-updatedRepo12thDec-303c8a0.0 → 1.0.277

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +2 -1
  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 +5 -11
  5. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +0 -1
  6. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +5 -7
  7. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -6
  8. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +0 -8
  9. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +0 -8
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +0 -4
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +0 -2
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +0 -2
  13. package/cypress/e2e/ILC/EssayResponse/toolSettings.js +2 -8
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -2
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +0 -1
  17. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +0 -2
  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 +1 -0
  30. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -2
  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 +2 -4
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +0 -2
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +1 -2
  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/gradingViewAndCorrectAnswerView.smoke.js +4 -2
  84. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +2 -4
  85. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +0 -1
  86. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +1 -2
  87. package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
  88. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +0 -2
  89. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  90. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +0 -6
  91. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  92. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  93. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  94. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  95. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  96. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  97. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +2 -3
  98. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +0 -2
  99. package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
  100. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
  101. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -4
  102. package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
  103. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
  104. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -2
  105. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
  106. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -2
  107. package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +4 -3
  108. package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +0 -4
  109. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +3 -2
  110. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +0 -5
  111. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
  112. package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +0 -3
  113. package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +3 -6
  114. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  115. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  116. package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +1 -23
  117. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -476
  118. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  119. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +5 -7
  120. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
  121. package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
  122. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
  123. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
  124. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
  125. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
  126. package/cypress/pages/audioPlayerPage.js +2 -2
  127. package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
  128. package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
  129. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +1 -19
  130. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
  131. package/cypress/pages/components/essayResponseCommonComponents.js +5 -6
  132. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  133. package/cypress/pages/components/layoutSectionComponent.js +2 -6
  134. package/cypress/pages/components/numberLineCommonComponent.js +5 -12
  135. package/cypress/pages/components/playbackControlsBaseComponent.js +0 -5
  136. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
  137. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  138. package/cypress/pages/drawingResponsePage.js +1 -18
  139. package/cypress/pages/fillInTheGapsDragAndDropPage.js +2 -3
  140. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +6 -19
  141. package/cypress/pages/gridFillPage.js +3 -2
  142. package/cypress/pages/listOrderingPage.js +12 -19
  143. package/cypress/pages/matchingPage.js +2 -16
  144. package/cypress/pages/textEntryMathPage.js +4 -716
  145. package/cypress/pages/textEntryMathWithImagePage.js +5 -133
  146. package/package.json +1 -1
  147. package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +0 -129
  148. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +0 -384
@@ -133,13 +133,13 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
133
133
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
134
134
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
135
135
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
136
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
136
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
137
137
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
138
138
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
139
139
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
140
140
  /*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')
141
141
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
142
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
142
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
143
143
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
144
144
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
145
145
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -152,16 +152,16 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
152
152
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
153
153
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
154
154
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
155
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
156
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
155
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
156
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
157
157
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
158
158
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
159
159
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
160
160
  /*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 area, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
161
161
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
162
162
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
163
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
164
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
163
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
164
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
165
165
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
166
166
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
167
167
  });
@@ -173,7 +173,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
173
173
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
174
174
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
175
175
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
176
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
176
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
177
177
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
178
178
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
179
179
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -181,7 +181,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
181
181
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
182
182
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
183
183
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
184
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
184
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
185
185
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
186
186
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
187
187
  });
@@ -193,7 +193,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
193
193
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
194
194
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
195
195
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
196
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
196
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
197
197
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
198
198
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
199
199
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -201,7 +201,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
201
201
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
202
202
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
203
203
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
204
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
204
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
205
205
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
206
206
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
207
207
  });
@@ -211,16 +211,16 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
211
211
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
212
212
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
213
213
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
214
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
215
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
214
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
215
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
216
216
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
217
217
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
218
218
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
219
219
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
220
220
  /*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 area, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
221
221
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
222
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
223
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
222
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
223
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
224
224
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
225
225
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
226
226
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -232,16 +232,16 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
232
232
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
233
233
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
234
234
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
235
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
236
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
235
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
236
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
237
237
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
238
238
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
239
239
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
240
240
  /*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 area, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
241
241
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
242
242
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
243
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
244
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
243
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
244
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
245
245
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
246
246
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
247
247
  });
@@ -66,16 +66,16 @@ describe('Create Item page - Fill in the gaps over image with text: Manually and
66
66
  it('When the user attempts the question incorrectly and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
67
67
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Roots' }]);
68
68
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
69
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
70
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
69
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
70
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
71
71
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
72
72
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
73
73
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
74
74
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
75
75
  /*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 \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
76
76
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
77
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
78
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
77
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
78
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
79
79
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
80
80
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
81
81
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -86,7 +86,7 @@ describe('Create Item page - Fill in the gaps over image with text: Manually and
86
86
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Roots' }]);
87
87
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
88
88
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
89
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
89
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
90
90
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
91
91
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
92
92
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
@@ -94,7 +94,7 @@ describe('Create Item page - Fill in the gaps over image with text: Manually and
94
94
  /*cy.log('When user clicks on Check answer button after he attempts the question partially correct, 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')
95
95
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
96
96
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
97
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
97
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
98
98
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
99
99
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
100
100
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
79
79
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
80
80
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
81
81
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
82
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
82
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
83
83
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
84
84
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
85
85
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
87
87
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
88
88
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
89
89
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
90
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
90
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
91
91
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
92
92
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
93
93
  });
@@ -98,16 +98,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
98
98
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(6, 15);
99
99
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
100
100
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
101
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
102
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
101
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
102
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
103
103
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
104
104
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
105
105
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
106
106
  /*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 status message and correct answer section should not be displayed')
107
107
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
108
108
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
109
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
110
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
109
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
110
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
111
111
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
112
112
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
113
113
  });
@@ -119,7 +119,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
119
119
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
120
120
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
121
121
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
122
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
122
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
123
123
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
124
124
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
125
125
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -127,7 +127,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
127
127
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
128
128
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
129
129
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
130
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
130
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
131
131
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
132
132
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
133
133
  });
@@ -139,7 +139,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
139
139
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
140
140
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
141
141
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
142
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
142
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
143
143
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
144
144
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
145
145
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -147,7 +147,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
147
147
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
148
148
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
149
149
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
150
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
150
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
151
151
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
152
152
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
153
153
  });
@@ -157,16 +157,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
157
157
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
158
158
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
159
159
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
160
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
161
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
160
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
161
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
162
162
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
163
163
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
164
164
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
165
165
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
166
166
  /*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 status message and correct answer section should not be displayed')
167
167
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
168
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
169
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
168
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
169
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
170
170
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
171
171
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
172
172
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -178,16 +178,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
178
178
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
179
179
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
180
180
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
181
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
182
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
181
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
182
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
183
183
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
184
184
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
185
185
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
186
186
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon 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')
187
187
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
188
188
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
189
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
190
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
189
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
190
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
191
191
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
192
192
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
193
193
  });
@@ -34,16 +34,16 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
34
34
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Roots' }]);
35
35
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
36
36
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
37
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
38
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
37
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
38
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
39
39
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
40
40
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
41
41
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
42
42
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
43
43
  /*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' incorrect icon should be displayed besides all incorrect responses, correct/incorrect status message and correct answer section should not be displayed')
44
44
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
45
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
46
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
45
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
46
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
47
47
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
48
48
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
49
49
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -55,7 +55,7 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
55
55
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(9, 20);
56
56
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
57
57
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
58
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
58
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
59
59
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
60
60
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
61
61
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
@@ -63,7 +63,7 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
63
63
  /*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\' correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, correct/incorrect status message and correct answer section should not be displayed')
64
64
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
65
65
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
66
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
66
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
67
67
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
68
68
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
69
69
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
79
79
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
80
80
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
81
81
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
82
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
82
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
83
83
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
84
84
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
85
85
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
87
87
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
88
88
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
89
89
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
90
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
90
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
91
91
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
92
92
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
93
93
  });
@@ -98,16 +98,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
98
98
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(7, 15);
99
99
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
100
100
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
101
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
102
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
101
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
102
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
103
103
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
104
104
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
105
105
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
106
106
  /*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, correct/incorrect status message and correct answer section should not be displayed')
107
107
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
108
108
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
109
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
110
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
109
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
110
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
111
111
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
112
112
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
113
113
  });
@@ -119,7 +119,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
119
119
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
120
120
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
121
121
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
122
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
122
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
123
123
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
124
124
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
125
125
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -127,7 +127,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
127
127
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
128
128
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
129
129
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
130
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
130
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
131
131
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
132
132
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
133
133
  });
@@ -139,7 +139,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
139
139
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
140
140
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
141
141
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
142
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
142
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
143
143
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
144
144
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
145
145
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -147,7 +147,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
147
147
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
148
148
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
149
149
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
150
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
150
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
151
151
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
152
152
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
153
153
  });
@@ -157,16 +157,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
157
157
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
158
158
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(4, 15);
159
159
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
160
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
161
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
160
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
161
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
162
162
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
163
163
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
164
164
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
165
165
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
166
166
  /*cy.log('When the user has attempted the question with common response between 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, correct/incorrect status message and correct answer section should not be displayed')
167
167
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
168
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
169
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
168
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
169
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
170
170
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
171
171
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
172
172
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -178,16 +178,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
178
178
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
179
179
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
180
180
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
181
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
182
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
181
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
182
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
183
183
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
184
184
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
185
185
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
186
186
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response, correct/incorrect status message and correct answer section should not be displayed')
187
187
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
188
188
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
189
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
190
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
189
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
190
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
191
191
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
192
192
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
193
193
  });
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
79
79
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
80
80
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
81
81
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
82
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
82
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
83
83
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
84
84
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
85
85
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
87
87
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
88
88
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
89
89
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
90
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
90
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
91
91
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
92
92
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
93
93
  });
@@ -98,16 +98,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
98
98
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(7, 15);
99
99
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
100
100
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
101
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
102
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
101
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
102
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
103
103
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
104
104
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
105
105
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
106
106
  /*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 correct/incorrect status message and correct answer section should not be displayed')
107
107
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
108
108
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
109
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
110
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
109
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
110
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
111
111
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
112
112
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
113
113
  });
@@ -119,7 +119,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
119
119
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
120
120
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
121
121
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
122
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
122
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
123
123
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
124
124
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
125
125
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -127,7 +127,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
127
127
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
128
128
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
129
129
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
130
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
130
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
131
131
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
132
132
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
133
133
  });
@@ -139,7 +139,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
139
139
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
140
140
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
141
141
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
142
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
142
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
143
143
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
144
144
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
145
145
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -147,7 +147,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
147
147
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
148
148
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
149
149
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
150
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
150
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
151
151
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
152
152
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
153
153
  });
@@ -157,16 +157,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
157
157
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
158
158
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
159
159
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
160
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
161
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
160
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
161
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
162
162
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
163
163
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
164
164
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
165
165
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
166
166
  /*cy.log('When the user has attempted the question with common response between 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 correct/incorrect status message and correct answer section should not be displayed')
167
167
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
168
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
169
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
168
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
169
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
170
170
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
171
171
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
172
172
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -178,16 +178,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial diff
178
178
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
179
179
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
180
180
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
181
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
182
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
181
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
182
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
183
183
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
184
184
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
185
185
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
186
186
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response correct/incorrect status message and correct answer section should not be displayed')
187
187
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
188
188
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
189
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
190
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
189
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
190
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
191
191
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
192
192
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
193
193
  });
@@ -36,16 +36,16 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
36
36
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Roots' }]);
37
37
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 15);
38
38
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
39
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
40
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
39
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
40
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
41
41
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
42
42
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
43
43
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
44
44
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
45
45
  /*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, correct/incorrect status message and correct answer section should not be displayed')
46
46
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
47
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
48
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
47
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
48
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
49
49
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
50
50
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
51
51
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -57,7 +57,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
57
57
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(5, 15);
58
58
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
59
59
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
60
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
60
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
61
61
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
62
62
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
63
63
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
@@ -65,7 +65,7 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
65
65
  /*cy.log('When the user attempts the question partially correct and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, correct/incorrect status message and correct answer section should not be displayed')
66
66
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
67
67
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
68
- fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
68
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
69
69
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
70
70
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
71
71
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/