itemengine-cypress-automation 1.0.277 → 1.0.279-4092Changes-71debc9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) 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 +5 -3
  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 +6 -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/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +5 -5
  112. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +5 -5
  113. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +5 -5
  114. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  115. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
  116. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
  117. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  118. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +6 -6
  119. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
  120. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
  121. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -1
  122. package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +23 -1
  123. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +1 -1
  124. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +1 -1
  125. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +476 -0
  126. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +1 -1
  127. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  128. package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +129 -0
  129. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +1 -1
  130. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +7 -5
  131. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +384 -0
  132. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
  133. package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
  134. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
  135. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
  136. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
  137. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
  138. package/cypress/pages/audioPlayerPage.js +2 -2
  139. package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
  140. package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
  141. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +19 -1
  142. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
  143. package/cypress/pages/components/essayResponseCommonComponents.js +6 -5
  144. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  145. package/cypress/pages/components/layoutSectionComponent.js +6 -2
  146. package/cypress/pages/components/numberLineCommonComponent.js +12 -5
  147. package/cypress/pages/components/playbackControlsBaseComponent.js +5 -0
  148. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
  149. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  150. package/cypress/pages/drawingResponsePage.js +18 -1
  151. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -2
  152. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -6
  153. package/cypress/pages/gridFillPage.js +2 -3
  154. package/cypress/pages/listOrderingPage.js +19 -12
  155. package/cypress/pages/matchingPage.js +16 -2
  156. package/cypress/pages/textEntryMathPage.js +715 -3
  157. package/cypress/pages/textEntryMathWithImagePage.js +133 -5
  158. package/package.json +1 -1
@@ -93,7 +93,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
93
93
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
94
94
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
95
95
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
96
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
96
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
97
97
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
98
98
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
99
99
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -101,7 +101,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
101
101
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
102
102
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
103
103
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
104
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
104
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
105
105
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
106
106
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
107
107
  });
@@ -112,16 +112,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
112
112
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(7, 15);
113
113
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
114
114
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
115
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
116
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
115
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
116
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
117
117
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
118
118
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
119
119
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
120
120
  /*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message and correct answer section should not be displayed')
121
121
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
122
122
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
123
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
124
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
123
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
124
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
125
125
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
126
126
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
127
127
  });
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
133
133
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
134
134
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
135
135
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
136
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
137
137
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
138
138
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
139
139
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -141,7 +141,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
141
141
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
142
142
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
143
143
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
144
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
144
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
145
145
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
146
146
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
147
147
  });
@@ -153,7 +153,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
153
153
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
154
154
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
155
155
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
156
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
156
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
157
157
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
158
158
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
159
159
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -161,7 +161,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
161
161
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
162
162
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
163
163
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
164
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
164
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
165
165
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
166
166
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
167
167
  });
@@ -171,16 +171,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
171
171
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
172
172
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
173
173
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
174
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
175
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
174
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
175
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
176
176
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
177
177
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
178
178
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
179
179
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
180
180
  /*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message and correct answer section should not be displayed')
181
181
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
182
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
183
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
182
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
183
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
184
184
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
185
185
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
186
186
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -193,7 +193,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
193
193
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
194
194
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
195
195
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
196
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
196
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
197
197
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
198
198
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
199
199
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -201,7 +201,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
201
201
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
202
202
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
203
203
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
204
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
204
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
205
205
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
206
206
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
207
207
  });
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
94
94
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(3, 15);
95
95
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
96
96
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
97
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
98
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
97
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
98
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
99
99
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
100
100
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
101
101
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
102
102
  /*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 dropdowns, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
103
103
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
104
104
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
105
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
106
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
105
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
106
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
107
107
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
109
109
  });
@@ -114,16 +114,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
114
114
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
115
115
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
116
116
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
117
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
118
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
117
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
118
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
119
119
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
120
120
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
121
121
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
122
122
  /*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
123
123
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
124
124
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
125
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
126
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
125
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
126
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
127
127
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
129
129
  });
@@ -135,7 +135,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
135
135
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
136
136
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
137
137
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
138
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
138
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
139
139
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
140
140
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
141
141
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -143,7 +143,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
143
143
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
144
144
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
145
145
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
146
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
146
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
147
147
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
148
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
149
149
  });
@@ -153,16 +153,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
153
153
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
154
154
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
155
155
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
156
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
157
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
156
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
157
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
158
158
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
159
159
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
160
160
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
161
161
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
162
162
  /*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
163
163
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
164
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
165
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
164
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
165
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
166
166
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
167
167
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -175,7 +175,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
175
175
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
176
176
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
177
177
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
178
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
178
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
179
179
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
180
180
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
181
181
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -183,7 +183,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
183
183
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
184
184
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
185
185
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
186
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
186
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
187
187
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
189
189
  });
@@ -95,16 +95,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
95
95
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
96
96
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
97
97
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
98
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
99
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
98
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
99
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
100
100
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
101
101
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
102
102
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
103
103
  /*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 dropdowns, correct/incorrect status message and correct answer section should not be displayed')
104
104
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
105
105
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
106
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
107
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
106
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
107
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
108
108
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
109
109
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
110
110
  });
@@ -115,16 +115,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
115
115
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
116
116
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
117
117
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
118
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
119
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
118
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
119
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
120
120
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
121
121
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
122
122
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
123
123
  /*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message and correct answer section should not be displayed')
124
124
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
125
125
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
126
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
127
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
126
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
127
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
128
128
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
129
129
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
130
130
  });
@@ -136,14 +136,14 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
136
136
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
137
137
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
138
138
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
139
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
139
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
140
140
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
141
141
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
142
142
  /*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 dropdown with correct accordion response, incorrect icon should be displayed beside dropdown with the alternative accordion response, correct/incorrect status message and correct answer section should not be displayed')
143
143
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
144
144
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
145
145
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
146
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
146
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
147
147
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
148
148
  });
149
149
 
@@ -152,16 +152,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
152
152
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
153
153
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
154
154
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
155
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
156
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
155
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
156
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
157
157
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
158
158
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
159
159
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
160
160
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
161
161
  /*cy.log('When the user has attempted the question with the common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct dropdown, no icon should be displayed beside unattempted dropdown, correct/incorrect status message and correct answer section should not be displayed')
162
162
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
163
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
164
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
163
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
164
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
165
165
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
166
166
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
167
167
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -174,7 +174,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
174
174
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
175
175
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
176
176
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
177
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
177
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
178
178
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
179
179
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
180
180
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -182,7 +182,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
182
182
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
183
183
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
184
184
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
185
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
185
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
186
186
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
187
187
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
188
188
  });
@@ -95,16 +95,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
95
95
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
96
96
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
97
97
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
98
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
99
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
98
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
99
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
100
100
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
101
101
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
102
102
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
103
103
  /*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 dropdowns, correct/incorrect status message should not be displayed and correct answer section should not be displayed');
104
104
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
105
105
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
106
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
107
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
106
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
107
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
108
108
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
109
109
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
110
110
  });
@@ -115,16 +115,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
115
115
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(3, 15);
116
116
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
117
117
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
118
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
119
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
118
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
119
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
120
120
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
121
121
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
122
122
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
123
123
  /*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 dropdowns, no icon should be displayed beside unattempted dropdown, correct/incorrect status message should not be displayed and correct answer section should not be displayed');
124
124
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
125
125
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
126
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
127
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
126
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
127
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
128
128
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
129
129
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
130
130
  });
@@ -136,7 +136,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
136
136
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
137
137
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
138
138
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
139
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
139
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
140
140
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
141
141
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
142
142
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -144,7 +144,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
144
144
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
145
145
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
146
146
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
147
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
147
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
148
148
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
149
149
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
150
150
  });
@@ -154,16 +154,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
154
154
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
155
155
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(5, 15);
156
156
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
157
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
158
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
157
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
158
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
159
159
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
160
160
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
161
161
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
162
162
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
163
163
  /*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 correctly answered dropdown, no icon should be displayed beside unattempted dropdown, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
164
164
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
165
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
166
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
165
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
166
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
167
167
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
168
168
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
169
169
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -176,7 +176,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
176
176
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
177
177
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
178
178
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
179
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
179
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
180
180
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
181
181
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
182
182
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -184,7 +184,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
184
184
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
185
185
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
186
186
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
187
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
187
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
188
188
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
189
189
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
190
190
  });
@@ -81,7 +81,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
81
81
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
82
82
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
83
83
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
84
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
84
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
85
85
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
86
86
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
87
87
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -89,7 +89,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
89
89
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
90
90
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
91
91
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
92
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
92
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
93
93
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
94
94
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
95
95
  });
@@ -100,16 +100,16 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
100
100
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
101
101
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
102
102
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
103
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
104
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
103
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
104
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
105
105
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
106
106
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
107
107
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
108
108
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed for unattempted response area, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
109
109
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
110
110
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
111
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
112
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
111
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
112
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
113
113
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
114
114
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
115
115
  });
@@ -121,7 +121,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
121
121
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
122
122
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
123
123
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
124
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
124
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
125
125
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
126
126
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
127
127
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -129,7 +129,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
129
129
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
130
130
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
131
131
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
132
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
132
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
133
133
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
134
134
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
135
135
  });
@@ -141,7 +141,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
141
141
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
142
142
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
143
143
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
144
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
144
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
145
145
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
146
146
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
147
147
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -149,7 +149,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
149
149
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
150
150
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
151
151
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
152
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
152
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
153
153
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
154
154
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
155
155
  });
@@ -159,16 +159,16 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
159
159
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
160
160
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
161
161
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
162
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
163
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
162
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
163
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
164
164
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
165
165
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
166
166
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
167
167
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
168
168
  /*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 for unattempted response area, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
169
169
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
170
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
171
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
170
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
171
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
172
172
  fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
173
173
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
174
174
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -180,16 +180,16 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
180
180
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 20);
181
181
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
182
182
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
183
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
184
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
183
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
184
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
185
185
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
186
186
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
187
187
  fillInTheGapsOverImageTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
188
188
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed for unattempted response area, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
189
189
  fillInTheGapsOverImageTextPage.steps.checkAnswer();
190
190
  fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
191
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
192
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
191
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(1);
192
+ fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(2);
193
193
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
194
194
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
195
195
  });