itemengine-cypress-automation 1.0.275-cssUpdates12Dec-bbaeace.0 → 1.0.276-updatedRepo12thDec-303c8a0.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 +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
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
75
75
  fillInTheGapsTextPage.steps.switchToGradingView();
76
76
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
77
77
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
78
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
78
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
79
79
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
80
80
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
81
81
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
83
83
  fillInTheGapsTextPage.steps.checkAnswer();
84
84
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
85
85
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
86
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
86
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
87
87
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
89
89
  });
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
94
94
  fillInTheGapsTextPage.steps.verifyPreviewScore(6, 15);
95
95
  fillInTheGapsTextPage.steps.switchToGradingView();
96
96
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
97
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
98
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
97
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
98
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
99
99
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
100
100
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', '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 status message and correct answer section should not be displayed')
103
103
  fillInTheGapsTextPage.steps.checkAnswer();
104
104
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
105
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
106
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
105
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
106
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
107
107
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
109
109
  });
@@ -115,7 +115,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
115
115
  fillInTheGapsTextPage.steps.switchToGradingView();
116
116
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
117
117
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
118
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
118
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
119
119
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
120
120
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
121
121
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -123,7 +123,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
123
123
  fillInTheGapsTextPage.steps.checkAnswer();
124
124
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
125
125
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
126
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
126
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
127
127
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
129
129
  });
@@ -135,7 +135,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
135
135
  fillInTheGapsTextPage.steps.switchToGradingView();
136
136
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
137
137
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
138
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
138
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
139
139
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
140
140
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
141
141
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -143,7 +143,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
143
143
  fillInTheGapsTextPage.steps.checkAnswer();
144
144
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
145
145
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
146
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
146
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
147
147
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
148
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
149
149
  });
@@ -153,16 +153,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
153
153
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
154
154
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
155
155
  fillInTheGapsTextPage.steps.switchToGradingView();
156
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
157
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
156
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
157
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
158
158
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
159
159
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
160
160
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', '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 status message and correct answer section should not be displayed')
163
163
  fillInTheGapsTextPage.steps.checkAnswer();
164
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
165
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
164
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
165
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
166
166
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
167
167
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -174,16 +174,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
174
174
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
175
175
  fillInTheGapsTextPage.steps.switchToGradingView();
176
176
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
177
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
178
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
177
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
178
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
179
179
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
180
180
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', '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 icon should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response status message and correct answer section should not be displayed')
183
183
  fillInTheGapsTextPage.steps.checkAnswer();
184
184
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
185
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
185
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
186
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
187
187
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
189
189
  });
@@ -30,16 +30,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
30
30
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Roots' }]);
31
31
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 20);
32
32
  fillInTheGapsTextPage.steps.switchToGradingView();
33
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
34
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
33
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
34
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
35
35
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
36
36
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
37
37
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
38
38
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
39
39
  /*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' incorrect icon should be displayed besides all incorrect responses, correct/incorrect status message and correct answer section should not be displayed')
40
40
  fillInTheGapsTextPage.steps.checkAnswer();
41
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
42
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
41
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
42
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
43
43
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
44
44
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
45
45
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -51,7 +51,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
51
51
  fillInTheGapsTextPage.steps.verifyPreviewScore(9, 20);
52
52
  fillInTheGapsTextPage.steps.switchToGradingView();
53
53
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
54
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
54
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
55
55
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
56
56
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
57
57
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
@@ -59,7 +59,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
59
59
  /*cy.log('When the user attempts the question partially correct with all the responses correctly attempted but one response incomplete and clicks on \'Check answer\' correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, correct/incorrect status message and correct answer section should not be displayed')
60
60
  fillInTheGapsTextPage.steps.checkAnswer();
61
61
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
62
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
62
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
63
63
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
64
64
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
65
65
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
75
75
  fillInTheGapsTextPage.steps.switchToGradingView();
76
76
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
77
77
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
78
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
78
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
79
79
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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: Partial different weigh
83
83
  fillInTheGapsTextPage.steps.checkAnswer();
84
84
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
85
85
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
86
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
86
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
87
87
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
89
89
  });
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
94
94
  fillInTheGapsTextPage.steps.verifyPreviewScore(7, 15);
95
95
  fillInTheGapsTextPage.steps.switchToGradingView();
96
96
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
97
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
98
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
97
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
98
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
99
99
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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, correct/incorrect status message and correct answer section should not be displayed')
103
103
  fillInTheGapsTextPage.steps.checkAnswer();
104
104
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
105
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
106
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
105
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
106
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
107
107
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
109
109
  });
@@ -115,7 +115,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
115
115
  fillInTheGapsTextPage.steps.switchToGradingView();
116
116
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
117
117
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
118
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
118
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
119
119
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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: Partial different weigh
123
123
  fillInTheGapsTextPage.steps.checkAnswer();
124
124
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
125
125
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
126
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
126
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
127
127
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
129
129
  });
@@ -135,7 +135,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
135
135
  fillInTheGapsTextPage.steps.switchToGradingView();
136
136
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
137
137
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
138
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
138
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
139
139
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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: Partial different weigh
143
143
  fillInTheGapsTextPage.steps.checkAnswer();
144
144
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
145
145
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
146
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
146
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
147
147
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
148
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
149
149
  });
@@ -153,16 +153,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
153
153
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
154
154
  fillInTheGapsTextPage.steps.verifyPreviewScore(4, 15);
155
155
  fillInTheGapsTextPage.steps.switchToGradingView();
156
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
157
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
156
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
157
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
158
158
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
159
159
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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 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')
163
163
  fillInTheGapsTextPage.steps.checkAnswer();
164
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
165
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
164
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
165
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
166
166
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
167
167
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -174,16 +174,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
174
174
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
175
175
  fillInTheGapsTextPage.steps.switchToGradingView();
176
176
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
177
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
178
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
177
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
178
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
179
179
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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 icon should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response, correct/incorrect status message and correct answer section should not be displayed')
183
183
  fillInTheGapsTextPage.steps.checkAnswer();
184
184
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
185
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
185
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
186
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
187
187
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
189
189
  });
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
75
75
  fillInTheGapsTextPage.steps.switchToGradingView();
76
76
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
77
77
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
78
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
78
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
79
79
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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: Partial different weigh
83
83
  fillInTheGapsTextPage.steps.checkAnswer();
84
84
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
85
85
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
86
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
86
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
87
87
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
89
89
  });
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
94
94
  fillInTheGapsTextPage.steps.verifyPreviewScore(7, 15);
95
95
  fillInTheGapsTextPage.steps.switchToGradingView();
96
96
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
97
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
98
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
97
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
98
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
99
99
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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 correct/incorrect status message and correct answer section should not be displayed')
103
103
  fillInTheGapsTextPage.steps.checkAnswer();
104
104
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
105
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
106
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
105
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
106
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
107
107
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
109
109
  });
@@ -115,7 +115,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
115
115
  fillInTheGapsTextPage.steps.switchToGradingView();
116
116
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
117
117
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
118
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
118
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
119
119
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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: Partial different weigh
123
123
  fillInTheGapsTextPage.steps.checkAnswer();
124
124
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
125
125
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
126
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
126
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
127
127
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
129
129
  });
@@ -135,7 +135,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
135
135
  fillInTheGapsTextPage.steps.switchToGradingView();
136
136
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
137
137
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
138
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
138
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
139
139
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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: Partial different weigh
143
143
  fillInTheGapsTextPage.steps.checkAnswer();
144
144
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
145
145
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
146
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
146
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
147
147
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
148
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
149
149
  });
@@ -153,16 +153,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
153
153
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
154
154
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
155
155
  fillInTheGapsTextPage.steps.switchToGradingView();
156
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
157
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
156
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
157
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
158
158
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
159
159
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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 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')
163
163
  fillInTheGapsTextPage.steps.checkAnswer();
164
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
165
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
164
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
165
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
166
166
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
167
167
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -174,16 +174,16 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
174
174
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
175
175
  fillInTheGapsTextPage.steps.switchToGradingView();
176
176
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
177
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
178
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
177
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
178
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
179
179
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
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 icon should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response correct/incorrect status message and correct answer section should not be displayed')
183
183
  fillInTheGapsTextPage.steps.checkAnswer();
184
184
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
185
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
186
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
185
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
186
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
187
187
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
188
188
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
189
189
  });
@@ -32,16 +32,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights',
32
32
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
33
33
  fillInTheGapsTextPage.steps.switchToGradingView();
34
34
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
35
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
36
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
35
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
36
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
37
37
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
38
38
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
39
39
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
40
40
  /*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, correct/incorrect status message and correct answer section should not be displayed')
41
41
  fillInTheGapsTextPage.steps.checkAnswer();
42
42
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
43
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
44
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
43
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
44
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
45
45
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
46
46
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
47
47
  });
@@ -52,7 +52,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights',
52
52
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
53
53
  fillInTheGapsTextPage.steps.switchToGradingView();
54
54
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
55
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
55
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
56
56
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
57
57
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
58
58
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
@@ -60,7 +60,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights',
60
60
  /*cy.log('When the user attempts the question partially correct and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, correct/incorrect status message and correct answer section should not be displayed')
61
61
  fillInTheGapsTextPage.steps.checkAnswer();
62
62
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
63
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
63
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
64
64
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
65
65
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
66
66
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
75
75
  fillInTheGapsTextPage.steps.switchToGradingView();
76
76
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
77
77
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
78
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
78
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
79
79
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
80
80
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
81
81
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
83
83
  fillInTheGapsTextPage.steps.checkAnswer();
84
84
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
85
85
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
86
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
86
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
87
87
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
88
88
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
89
89
  });
@@ -94,16 +94,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
94
94
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
95
95
  fillInTheGapsTextPage.steps.switchToGradingView();
96
96
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
97
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
98
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
97
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
98
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
99
99
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
100
100
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', '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, correct/incorrect status message should not be displayed and correct answer section should not be displayed')
103
103
  fillInTheGapsTextPage.steps.checkAnswer();
104
104
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
105
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
106
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
105
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
106
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
107
107
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
108
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
109
109
  });
@@ -115,7 +115,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
115
115
  fillInTheGapsTextPage.steps.switchToGradingView();
116
116
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
117
117
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
118
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
118
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
119
119
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
120
120
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
121
121
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -123,7 +123,7 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
123
123
  fillInTheGapsTextPage.steps.checkAnswer();
124
124
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
125
125
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
126
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
126
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
127
127
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
128
128
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
129
129
  });
@@ -133,16 +133,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
133
133
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 2, responseText: 'Stem' }]);
134
134
  fillInTheGapsTextPage.steps.verifyPreviewScore(5, 15);
135
135
  fillInTheGapsTextPage.steps.switchToGradingView();
136
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
137
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
136
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
137
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
138
138
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
139
139
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
140
140
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
141
141
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
142
142
  /*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')
143
143
  fillInTheGapsTextPage.steps.checkAnswer();
144
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
145
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
144
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
145
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
146
146
  fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
147
147
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
148
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
@@ -154,16 +154,16 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights w
154
154
  fillInTheGapsTextPage.steps.verifyPreviewScore(0, 15);
155
155
  fillInTheGapsTextPage.steps.switchToGradingView();
156
156
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
157
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
158
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
157
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
158
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
159
159
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
160
160
  fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
161
161
  fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
162
162
  /*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')
163
163
  fillInTheGapsTextPage.steps.checkAnswer();
164
164
  fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
165
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
166
- fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
165
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
166
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
167
167
  fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
168
168
  fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();*/
169
169
  });