itemengine-cypress-automation 1.0.278-revert-134-updatedRepo12thDec-5aacd81.0 → 1.0.278

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
@@ -92,16 +92,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
92
92
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
93
93
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
94
94
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
95
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
96
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
95
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
96
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
97
97
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
98
98
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
99
99
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
100
100
  /*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 correctly answered dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
101
101
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
102
102
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
103
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
104
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
103
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
104
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
105
105
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
106
106
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
107
107
  });
@@ -112,16 +112,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
112
112
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
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.verifyCorrectIncorrectAnswerLabel('incorrect');
118
118
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
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 correctly answered dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
126
126
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
127
127
  });
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
133
133
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
134
134
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
135
135
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
136
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
137
137
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
138
138
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
139
139
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -141,7 +141,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
141
141
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
142
142
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
143
143
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
144
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
144
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
145
145
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
146
146
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
147
147
  });
@@ -153,7 +153,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
153
153
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
154
154
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
155
155
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
156
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
156
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
157
157
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
158
158
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
159
159
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -161,7 +161,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
161
161
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
162
162
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
163
163
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
164
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
164
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
165
165
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
166
166
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
167
167
  });
@@ -171,16 +171,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
171
171
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: alternateAnswerArray[2] }]);
172
172
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
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.verifyCorrectIncorrectAnswerLabel('incorrect');
178
178
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
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 correctly answered dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
186
186
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -192,16 +192,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
192
192
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
193
193
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
194
194
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
195
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
196
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
195
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
196
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
197
197
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
198
198
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
199
199
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
200
200
  /*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 dropdowns, no icon should be displayed for unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
201
201
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
202
202
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
203
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
204
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
203
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
204
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
205
205
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
206
206
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
207
207
  });
@@ -92,16 +92,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
92
92
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
93
93
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
94
94
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
95
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
96
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
95
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
96
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
97
97
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
98
98
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
99
99
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
100
100
  /*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 correctly answered dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
101
101
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
102
102
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
103
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
104
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
103
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
104
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
105
105
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
106
106
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
107
107
  });
@@ -112,16 +112,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
112
112
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
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.verifyCorrectIncorrectAnswerLabel('incorrect');
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 correctly answered dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
126
126
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
127
127
  });
@@ -133,7 +133,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
133
133
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
134
134
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
135
135
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
136
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
137
137
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
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: All or n
141
141
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
142
142
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
143
143
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
144
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
144
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
145
145
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
146
146
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
147
147
  });
@@ -153,7 +153,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
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.verifyCorrectIncorrectAnswerLabel('incorrect');
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: All or n
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.verifyCorrectIncorrectAnswerLabel('incorrect');
166
166
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
167
167
  });
@@ -171,16 +171,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
171
171
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
172
172
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
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.verifyCorrectIncorrectAnswerLabel('incorrect');
178
178
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
179
179
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
180
180
  /*cy.log('When the user has attempted the question with equal number of correct dropdowns from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correctly answered dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
186
186
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -192,16 +192,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
192
192
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
193
193
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
194
194
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
195
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
196
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
195
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
196
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
197
197
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
198
198
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
199
199
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
200
200
  /*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 dropdowns, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
201
201
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
202
202
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
203
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
204
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
203
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
204
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
205
205
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
206
206
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
207
207
  });
@@ -145,16 +145,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
145
145
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
146
146
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
147
147
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
148
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
149
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
148
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
149
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
150
150
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
151
151
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
152
152
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
153
153
  /*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, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
154
154
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
155
155
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
156
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
157
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
156
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
157
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
158
158
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
159
159
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
160
160
  });
@@ -165,16 +165,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
165
165
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
166
166
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
167
167
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
168
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
169
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
168
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
169
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
170
170
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
171
171
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
172
172
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
173
173
  /*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, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
174
174
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
175
175
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
176
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
177
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
176
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
177
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
178
178
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
179
179
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
180
180
  });
@@ -186,7 +186,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
186
186
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
187
187
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
188
188
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
189
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
189
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
190
190
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
191
191
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
192
192
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -194,7 +194,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
194
194
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
195
195
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
196
196
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
197
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
197
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
198
198
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
199
199
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
200
200
  });
@@ -206,7 +206,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
206
206
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
207
207
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
208
208
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
209
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
209
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
210
210
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
211
211
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
212
212
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -214,7 +214,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
214
214
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
215
215
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
216
216
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
217
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
217
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
218
218
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
219
219
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
220
220
  });
@@ -224,16 +224,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
224
224
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
225
225
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
226
226
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
227
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
228
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
227
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
228
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
229
229
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
230
230
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
231
231
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
232
232
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
233
233
  /*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 correctly answered dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
234
234
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
235
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
236
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
235
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
236
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
237
237
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
238
238
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
239
239
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -245,16 +245,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
245
245
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 20);
246
246
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
247
247
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
248
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
249
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
248
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
249
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
250
250
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
251
251
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
252
252
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
253
253
  /*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 dropdowns, no icon should be displayed beside unattempted dropdown, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
254
254
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
255
255
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
256
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
257
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
256
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
257
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
258
258
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
259
259
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
260
260
  });
@@ -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(alternateAnswerArray);
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(6, 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(alternateAnswerArray);
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, 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(alternateAnswerArray);
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(alternateAnswerArray);
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: alternateAnswerArray[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(alternateAnswerArray);
179
179
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
180
180
  /*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 dropdown, no icon should be displayed beside unattempted dropdown, 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(alternateAnswerArray);
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,7 +94,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
94
94
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
95
95
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
96
96
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
97
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
97
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
98
98
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
99
99
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
100
100
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
102
102
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
103
103
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
104
104
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
105
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
105
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
106
106
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
107
107
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
108
108
  });
@@ -113,16 +113,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
113
113
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(7, 15);
114
114
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
115
115
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
116
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
117
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
116
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
117
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
118
118
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
119
119
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
120
120
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
121
121
  /*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')
122
122
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
123
123
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
124
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
125
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
124
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
125
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
126
126
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
127
127
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
128
128
  });
@@ -134,7 +134,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
134
134
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
135
135
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
136
136
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
137
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
137
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
138
138
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
139
139
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
140
140
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -142,7 +142,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
142
142
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
143
143
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
144
144
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
145
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
145
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
146
146
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
147
147
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
148
148
  });
@@ -154,7 +154,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
154
154
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
155
155
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
156
156
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
157
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
157
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
158
158
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
159
159
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
160
160
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -162,7 +162,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
162
162
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
163
163
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
164
164
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
165
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
165
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
166
166
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
167
167
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
168
168
  });
@@ -172,16 +172,16 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
172
172
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
173
173
  fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(4, 15);
174
174
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
175
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
176
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
175
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
176
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
177
177
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
178
178
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
179
179
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
180
180
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
181
181
  /*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')
182
182
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
183
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
184
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
183
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
184
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
185
185
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
186
186
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
187
187
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -194,7 +194,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
194
194
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
195
195
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
196
196
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
197
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
197
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
198
198
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
199
199
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
200
200
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -202,7 +202,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
202
202
  fillInTheGapsOverImageDropdownPage.steps.checkAnswer();
203
203
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
204
204
  fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
205
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
205
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(2);
206
206
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
207
207
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
208
208
  });