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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -2
  2. package/cypress/e2e/ILC/ChartsBar/toolSettings.js +1 -1
  3. package/cypress/e2e/ILC/ChartsLine/toolSettings.js +1 -1
  4. package/cypress/e2e/ILC/Compass/compassEditTabBasicsSection.js +11 -5
  5. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -0
  6. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +7 -5
  7. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +6 -2
  8. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +8 -0
  9. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +8 -0
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +4 -0
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +2 -0
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -0
  13. package/cypress/e2e/ILC/EssayResponse/toolSettings.js +8 -2
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +2 -1
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +1 -0
  17. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -0
  18. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +1 -1
  19. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
  20. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
  21. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
  22. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
  23. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  24. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  25. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  26. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  27. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  28. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  29. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAlternateAnswerPopup.js +0 -1
  30. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +2 -0
  31. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +1 -1
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +4 -4
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
  36. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +7 -7
  37. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
  38. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +8 -8
  39. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  40. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  41. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +8 -8
  42. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
  43. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  44. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
  45. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -2
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +4 -2
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -0
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -18
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +6 -6
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  70. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +9 -9
  71. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
  72. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
  73. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +3 -3
  74. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
  75. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
  76. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
  77. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
  78. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
  79. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
  80. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
  81. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
  82. package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +1 -1
  83. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +4 -2
  84. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +1 -0
  85. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +2 -1
  86. package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
  87. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +2 -0
  88. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  89. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +6 -0
  90. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
  91. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  92. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  93. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
  94. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  95. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
  96. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +3 -2
  97. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +2 -0
  98. package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
  99. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
  100. package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
  101. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +2 -1
  102. package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
  103. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +2 -1
  104. package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +3 -4
  105. package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +4 -0
  106. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +2 -3
  107. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +5 -0
  108. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
  109. package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +3 -0
  110. package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +6 -3
  111. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  112. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  113. package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +23 -1
  114. package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +476 -0
  115. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
  116. package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +129 -0
  117. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +7 -5
  118. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +384 -0
  119. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
  120. package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
  121. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
  122. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
  123. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
  124. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
  125. package/cypress/pages/audioPlayerPage.js +2 -2
  126. package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
  127. package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
  128. package/cypress/pages/components/customSettingsSeparatorsComponent.ts +19 -1
  129. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
  130. package/cypress/pages/components/essayResponseCommonComponents.js +6 -5
  131. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  132. package/cypress/pages/components/layoutSectionComponent.js +6 -2
  133. package/cypress/pages/components/numberLineCommonComponent.js +12 -5
  134. package/cypress/pages/components/playbackControlsBaseComponent.js +5 -0
  135. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
  136. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  137. package/cypress/pages/drawingResponsePage.js +18 -1
  138. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -2
  139. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -6
  140. package/cypress/pages/gridFillPage.js +2 -3
  141. package/cypress/pages/listOrderingPage.js +19 -12
  142. package/cypress/pages/matchingPage.js +16 -2
  143. package/cypress/pages/textEntryMathPage.js +716 -4
  144. package/cypress/pages/textEntryMathWithImagePage.js +133 -5
  145. package/package.json +1 -1
@@ -90,16 +90,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
90
90
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(3, 15);
91
91
  fillInTheGapsDropdownPage.steps.switchToGradingView();
92
92
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
93
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
94
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
93
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
94
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
95
95
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
96
96
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
97
97
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
98
98
  /*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')
99
99
  fillInTheGapsDropdownPage.steps.checkAnswer();
100
100
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
101
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
102
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
101
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
102
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
103
103
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
104
104
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
105
105
  });
@@ -110,16 +110,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
110
110
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
111
111
  fillInTheGapsDropdownPage.steps.switchToGradingView();
112
112
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
113
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
114
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
113
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
114
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
115
115
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
116
116
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
117
117
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
118
118
  /*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')
119
119
  fillInTheGapsDropdownPage.steps.checkAnswer();
120
120
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
121
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
122
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
121
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
122
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
123
123
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
124
124
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
125
125
  });
@@ -131,7 +131,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
131
131
  fillInTheGapsDropdownPage.steps.switchToGradingView();
132
132
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
133
133
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
134
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
134
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
135
135
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
136
136
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
137
137
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -139,7 +139,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
139
139
  fillInTheGapsDropdownPage.steps.checkAnswer();
140
140
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
141
141
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
142
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
142
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
143
143
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
144
144
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
145
145
  });
@@ -149,16 +149,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
149
149
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
150
150
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
151
151
  fillInTheGapsDropdownPage.steps.switchToGradingView();
152
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
153
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
152
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
153
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
154
154
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
155
155
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
156
156
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
157
157
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
158
158
  /*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')
159
159
  fillInTheGapsDropdownPage.steps.checkAnswer();
160
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
161
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
160
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
161
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
162
162
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
163
163
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
164
164
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -171,7 +171,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
171
171
  fillInTheGapsDropdownPage.steps.switchToGradingView();
172
172
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
173
173
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
174
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
174
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
175
175
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
176
176
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
177
177
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -179,7 +179,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
179
179
  fillInTheGapsDropdownPage.steps.checkAnswer();
180
180
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
181
181
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
182
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
182
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
183
183
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
184
184
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
185
185
  });
@@ -91,16 +91,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
91
91
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
92
92
  fillInTheGapsDropdownPage.steps.switchToGradingView();
93
93
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
94
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
95
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
94
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
95
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
96
96
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
97
97
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
98
98
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
99
99
  /*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')
100
100
  fillInTheGapsDropdownPage.steps.checkAnswer();
101
101
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
102
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
103
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
102
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
103
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
104
104
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
105
105
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
106
106
  });
@@ -112,16 +112,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
112
112
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
113
113
  fillInTheGapsDropdownPage.steps.switchToGradingView();
114
114
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
115
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
116
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
115
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
116
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
117
117
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
118
118
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
119
119
  fillInTheGapsDropdownPage.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
  fillInTheGapsDropdownPage.steps.checkAnswer();
122
122
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
123
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
124
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
123
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
124
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
125
125
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
126
126
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
127
127
  });
@@ -133,14 +133,14 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
133
133
  fillInTheGapsDropdownPage.steps.switchToGradingView();
134
134
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
135
135
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
136
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
136
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
137
137
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
138
138
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
139
139
  /*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')
140
140
  fillInTheGapsDropdownPage.steps.checkAnswer();
141
141
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
142
142
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
143
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
143
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
144
144
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
145
145
  });
146
146
 
@@ -149,16 +149,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
149
149
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
150
150
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
151
151
  fillInTheGapsDropdownPage.steps.switchToGradingView();
152
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
153
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
152
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
153
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
154
154
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
155
155
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
156
156
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
157
157
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
158
158
  /*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')
159
159
  fillInTheGapsDropdownPage.steps.checkAnswer();
160
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
161
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
160
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
161
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
162
162
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
163
163
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
164
164
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -171,7 +171,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
171
171
  fillInTheGapsDropdownPage.steps.switchToGradingView();
172
172
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
173
173
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
174
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
174
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
175
175
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
176
176
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
177
177
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -179,7 +179,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal with
179
179
  fillInTheGapsDropdownPage.steps.checkAnswer();
180
180
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
181
181
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
182
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
182
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
183
183
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
184
184
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
185
185
  });
@@ -91,16 +91,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
91
91
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
92
92
  fillInTheGapsDropdownPage.steps.switchToGradingView();
93
93
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
94
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
95
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
94
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
95
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
96
96
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
97
97
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
98
98
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
99
99
  /*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');
100
100
  fillInTheGapsDropdownPage.steps.checkAnswer();
101
101
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
102
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
103
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
102
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
103
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
104
104
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
105
105
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
106
106
  });
@@ -111,16 +111,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
111
111
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(3, 15);
112
112
  fillInTheGapsDropdownPage.steps.switchToGradingView();
113
113
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
114
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
115
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
114
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
115
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
116
116
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
117
117
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
118
118
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
119
119
  /*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');
120
120
  fillInTheGapsDropdownPage.steps.checkAnswer();
121
121
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
122
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
123
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
122
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
123
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
124
124
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
125
125
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
126
126
  });
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
132
132
  fillInTheGapsDropdownPage.steps.switchToGradingView();
133
133
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
134
134
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
135
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
135
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
136
136
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
137
137
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
138
138
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -140,7 +140,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
140
140
  fillInTheGapsDropdownPage.steps.checkAnswer();
141
141
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(0);
142
142
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
143
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
143
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
144
144
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
145
145
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
146
146
  });
@@ -150,16 +150,16 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
150
150
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: correctAnswerArray[2] }]);
151
151
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 15);
152
152
  fillInTheGapsDropdownPage.steps.switchToGradingView();
153
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
154
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
153
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
154
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
155
155
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
156
156
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
157
157
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
158
158
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
159
159
  /*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')
160
160
  fillInTheGapsDropdownPage.steps.checkAnswer();
161
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
162
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
161
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
162
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
163
163
  fillInTheGapsDropdownPage.steps.verifyCorrectOptionIcon(2);
164
164
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
165
165
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -172,7 +172,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
172
172
  fillInTheGapsDropdownPage.steps.switchToGradingView();
173
173
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
174
174
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
175
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
175
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
176
176
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
177
177
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
178
178
  fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -180,7 +180,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial equal weigh
180
180
  fillInTheGapsDropdownPage.steps.checkAnswer();
181
181
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
182
182
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
183
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
183
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(2);
184
184
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
185
185
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerSectionNotExists();*/
186
186
  });
@@ -41,7 +41,7 @@ describe('Create item page - Fill in the gaps with drop down: Response level alt
41
41
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 1, dropdownOption: correctAnswerArray[2] }]);
42
42
  fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 10);
43
43
  fillInTheGapsDropdownPage.steps.switchToGradingView();
44
- fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
44
+ fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(0);
45
45
  fillInTheGapsDropdownPage.steps.verifyIncorrectOptionIcon(1);
46
46
  fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
47
47
  fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf']);
@@ -149,7 +149,6 @@ describe('Create item page - Fill in the gaps drop down: Drop down alternate ans
149
149
  });
150
150
 
151
151
  it('When user opens the alternate answer popup for another drop down, then alternate answer popup with the title and options as per the corresponding drop down should be displayed', () => {
152
- fillInTheGapsDropdownPage.steps.cancelDropdownAlternateAnswersPopup();
153
152
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
154
153
  fillInTheGapsDropdownPage.steps.clickOnAddAlternateButton(2);
155
154
  utilities.verifyInnerText(fillInTheGapsDropdownPage.alternateAnswerPopupTitle(), 'Dropzone 2 alternate answer(s)');
@@ -1,4 +1,5 @@
1
1
  import { fillInTheGapsDropdownPage } from "../../../pages";
2
+ import { dialogBoxBase } from "../../../pages";
2
3
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
4
 
4
5
  const optionsForDropdown = ['Flower', 'Petal', 'Stem', 'Branch'];
@@ -34,6 +35,7 @@ describe('Create Item page - Fill in the gaps with dropdown: Specify correct ans
34
35
  fillInTheGapsDropdownPage.tests.verifyAutoScoredAddAlternativeAnswerButtonAndValidation();
35
36
 
36
37
  it('When user has added points and selected an option in dropdown in the \'Correct\' accordion, then the user should be able to add alternative answer for the question using \'Add alternative answer\' button', () => {
38
+ dialogBoxBase.steps.closeWarningPopup();
37
39
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, optionsForDropdown[0]);
38
40
  fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, optionsForDropdown[1]);
39
41
  fillInTheGapsDropdownPage.steps.allotPoints(10);
@@ -39,7 +39,7 @@ describe('Create Item page: Tool settings', () => {
39
39
  rulerPage.steps.expandRotationDropdown();
40
40
  rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
41
41
  rulerPage.steps.enterInputToOpacityInputField(60);
42
- rulerPage.steps.checkAddShowHideButtonCheckbox();
42
+ rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
43
43
  toolSettingsComponent.steps.clickOnOkButton();
44
44
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
45
45
  toolSettingsComponent.steps.verifyToolSelectedState(0);
@@ -60,7 +60,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
60
60
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Branch': 2 });
61
61
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
62
62
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
63
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
63
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
64
64
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
65
65
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
66
66
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
@@ -68,7 +68,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
68
68
  /*cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the dropzone incorrect response and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
69
69
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
70
70
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
71
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
71
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
72
72
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
73
73
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
74
74
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
79
79
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 1, 'Stem': 2 })
80
80
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
81
81
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
82
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
82
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
83
83
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
85
85
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
87
87
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
88
88
  /*cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete and clicks on \'Check answer\' button, then no icon should be displayed besides the incomplete and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
89
89
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
90
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
90
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
91
91
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
92
92
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
93
93
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
83
83
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
85
85
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
86
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
86
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
87
87
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
89
89
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -91,7 +91,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
91
91
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
92
92
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
93
93
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
94
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
94
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
95
95
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
96
96
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
97
97
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -103,7 +103,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
103
103
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
104
104
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
105
105
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
106
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
106
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
107
107
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
108
108
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
109
109
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -111,7 +111,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
111
111
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
112
112
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
113
113
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
114
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
114
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
115
115
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
116
116
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
117
117
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -124,16 +124,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
124
124
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
125
125
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
126
126
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
127
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
128
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
127
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
128
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
129
129
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
130
130
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
131
131
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
132
132
  /*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion, incorrect icon should be displayed besides the responses from the alternative accordion and no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
133
133
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
134
134
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
135
- fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
136
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
135
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
136
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
137
137
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
138
138
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
139
139
  });
@@ -164,16 +164,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
164
164
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
165
165
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
166
166
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
167
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
168
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
167
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
168
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
169
169
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
170
170
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
171
171
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
172
172
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
173
173
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
174
174
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
175
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
176
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
175
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
176
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
177
177
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
178
178
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
179
179
  });
@@ -184,8 +184,8 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
184
184
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
185
185
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
186
186
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
187
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
188
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
187
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
188
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
189
189
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
190
190
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
191
191
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -82,7 +82,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
82
82
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
83
83
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
84
84
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
85
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
85
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
86
86
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
87
87
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
88
88
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -90,7 +90,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
90
90
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
91
91
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
92
92
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
93
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
93
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
94
94
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
95
95
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
96
96
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -102,7 +102,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
102
102
  fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
103
103
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
104
104
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
105
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
105
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
106
106
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
107
107
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
108
108
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -110,7 +110,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
110
110
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
111
111
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
112
112
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
113
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
113
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
114
114
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
115
115
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(2);
116
116
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -124,7 +124,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
124
124
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
125
125
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
126
126
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
127
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
127
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
128
128
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
129
129
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
130
130
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -132,7 +132,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
132
132
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
133
133
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
134
134
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(1);
135
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
135
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
136
136
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
137
137
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
138
138
  });
@@ -163,16 +163,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
163
163
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
164
164
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
165
165
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
166
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
167
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
166
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
167
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
168
168
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
169
169
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
170
170
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
171
171
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
172
172
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
173
173
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectOptionIcon(0);
174
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
175
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
174
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
175
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
176
176
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
177
177
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
178
178
  });
@@ -183,16 +183,16 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
183
183
  fillInTheGapsOverImageDragAndDropPage.steps.verifyPreviewScore(0, 20);
184
184
  fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
185
185
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
186
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
187
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
186
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
187
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
188
188
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
189
189
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
190
190
  fillInTheGapsOverImageDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
191
191
  /*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, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
192
192
  fillInTheGapsOverImageDragAndDropPage.steps.checkAnswer();
193
193
  fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
194
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
195
- fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
194
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
195
+ fillInTheGapsOverImageDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
196
196
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
197
197
  fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
198
198
  });