itemengine-cypress-automation 1.0.275 → 1.0.277-revert-134-updatedRepo12thDec-108a6c6.0

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