itemengine-cypress-automation 1.0.150-migrationScripts-5e451b6.0 → 1.0.150

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
  2. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +3 -3
  3. package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -1
  4. package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +2 -1
  5. package/cypress/e2e/ILC/ContentBlocks/additionalSection.js +2 -2
  6. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +6 -6
  7. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +1 -1
  8. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +1 -1
  9. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +3 -3
  10. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -2
  11. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -1
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +1 -1
  13. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  14. package/cypress/e2e/ILC/GridFill/additionalSettings.js +52 -0
  15. package/cypress/e2e/ILC/GridFill/headerSection.js +74 -0
  16. package/cypress/e2e/ILC/GridFill/minimumScoringPenaltyPointsAndRoundingDropdown.js +199 -0
  17. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +0 -15
  18. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +3 -18
  19. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +4 -25
  20. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingPenaltyScoring.js +4 -7
  21. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingScoringCellShadeCount.js +1 -14
  22. package/cypress/e2e/ILC/GridFill/scoring/manuallyAndNonScored.js +1 -1
  23. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsBasic.js +4 -4
  24. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +256 -0
  25. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +213 -0
  26. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +258 -0
  27. package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +206 -0
  28. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +198 -0
  29. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +4 -6
  30. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +10 -22
  31. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +421 -0
  32. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +247 -0
  33. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +219 -0
  34. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +247 -0
  35. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +168 -0
  36. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +227 -0
  37. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +199 -0
  38. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +227 -0
  39. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +345 -0
  40. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +340 -0
  41. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +421 -0
  42. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +292 -0
  43. package/cypress/e2e/ILC/MultipleSelectionGridNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
  44. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -2
  45. package/cypress/e2e/ILC/MultipleSelectionGridNew/specifyCorrectAnswerSection.js +86 -0
  46. package/cypress/e2e/ILC/MultipleSelectionGridNew/studentViewSettings.js +189 -0
  47. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingPenaltyScoring.js +55 -0
  48. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsBasic.js +116 -0
  49. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +309 -0
  50. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +163 -0
  51. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +292 -0
  52. package/cypress/e2e/ILC/SingleSelectionGridNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +194 -0
  53. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -2
  54. package/cypress/e2e/ILC/SingleSelectionGridNew/specifyCorrectAnswerSection.js +86 -0
  55. package/cypress/e2e/ILC/SingleSelectionGridNew/studentViewSettings.js +189 -0
  56. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +1 -1
  57. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +1 -1
  58. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
  59. package/cypress/fixtures/uploads/sampleVirus.zip +0 -0
  60. package/cypress/pages/audioResponsePage.js +2 -2
  61. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +3 -3
  62. package/cypress/pages/components/commonComponents.js +2 -1
  63. package/cypress/pages/components/customizeSpecialCharacterComponent.js +5 -5
  64. package/cypress/pages/components/desmosToolComponent.js +1 -1
  65. package/cypress/pages/components/gridQuestionCommonComponent.js +388 -35
  66. package/cypress/pages/components/maximumRecorderLengthComponent.js +4 -4
  67. package/cypress/pages/components/playbackControlsBaseComponent.js +8 -2
  68. package/cypress/pages/components/scoringSectionBaseEditTab.js +1 -1
  69. package/cypress/pages/contentBlocksPage.js +1 -1
  70. package/cypress/pages/drawingResponsePage.js +9 -10
  71. package/cypress/pages/geoGebraActivityPage.js +2 -1
  72. package/cypress/pages/geoGebraToolsPage.js +1 -1
  73. package/cypress/pages/gridFillPage.js +108 -13
  74. package/cypress/pages/matchingPage.js +154 -2
  75. package/cypress/pages/multipleSelectionGridPage.js +10 -2
  76. package/cypress/pages/rulerPage.js +2 -5
  77. package/cypress/pages/singleSelectionGridPage.js +18 -2
  78. package/package.json +2 -2
@@ -0,0 +1,256 @@
1
+ import { gridFillPage } from "../../../../pages";
2
+ import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
+
4
+ describe('Create item page - Grid fill : Partial equal weights with alternative answers', () => {
5
+ before(() => {
6
+ cy.loginAs('admin');
7
+ });
8
+
9
+ describe('Question preview: Auto scored - Partial equal weights - When \'Alternative\' points are more than \'Correct\' points', () => {
10
+ abortEarlySetup();
11
+ before(() => {
12
+ gridFillPage.steps.navigateToCreateQuestion('grid fill');
13
+ cy.barsPreLoaderWait();
14
+ gridFillPage.steps.allotPoints(9);
15
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
16
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
17
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
18
+ gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
19
+ gridFillPage.steps.addAlternativeAnswerAccordion(1);
20
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
21
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
22
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
23
+ gridFillPage.steps.allotPoints(15);
24
+ gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
25
+ gridFillPage.steps.switchToPreviewTab();
26
+ });
27
+
28
+ it('When the user selects \'Grading\' view without attempting the question, correct icons should be displayed in responses from the alternative accordion', () => {
29
+ gridFillPage.steps.switchToGradingView();
30
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
31
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
32
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 2);
33
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
34
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 3);
35
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 3)
36
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
37
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 4);
38
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 4);
39
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
40
+ });
41
+
42
+ it('When the user attempts the question with responses from the correct accordion, then the user should be awarded points of the correct accordion (less than full points) and on switching to \'Grading\' view, correct icons should be displayed in the response from correct accordion, correct/incorrect status message should not be displayed', () => {
43
+ gridFillPage.steps.resetQuestionPreview();
44
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
45
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
46
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
47
+ gridFillPage.steps.verifyPreviewScore(9, 15);
48
+ gridFillPage.steps.switchToGradingView();
49
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
50
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
51
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
52
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 1);
53
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
54
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
55
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
56
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
57
+ cy.log('When the user has attempted the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the responses from correct accordion, correct/incorrect status message should not be displayed')
58
+ gridFillPage.steps.checkAnswer();
59
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
60
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
61
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
62
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 1);
63
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
64
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
65
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
66
+ });
67
+
68
+ it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with full points and on switching to \'Grading\' view, correct icons should be displayed in the response from alternative accordion, correct/incorrect status message should not be displayed', () => {
69
+ gridFillPage.steps.resetQuestionPreview();
70
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
71
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
72
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
73
+ gridFillPage.steps.verifyPreviewScore(15, 15);
74
+ gridFillPage.steps.switchToGradingView();
75
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
76
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
77
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
78
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 3);
79
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
80
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 4);
81
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
82
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
83
+ cy.log('When the user has attempted the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the response from alternative accordion, correct/incorrect status message should not be displayed')
84
+ gridFillPage.steps.checkAnswer();
85
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
86
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
87
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
88
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 3);
89
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
90
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 4);
91
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
92
+ });
93
+
94
+ it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points of the correct accordion and on switching to \'Grading\' view, correct icon, border and background color should be displayed in the selected correct answer responses and only correct icon should be displayed in unselected responses from correct accordion and correct/incorrect status message should not be displayed', () => {
95
+ gridFillPage.steps.resetQuestionPreview();
96
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
97
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
98
+ gridFillPage.steps.verifyPreviewScore(6, 15);
99
+ gridFillPage.steps.switchToGradingView();
100
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
101
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
102
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
103
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 1);
104
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
105
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
106
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 2);
107
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
109
+ cy.log('When the user has selected the question with partially correct responses exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icons should be displayed in the responses from correct accordion, correct/incorrect status message should not be displayed')
110
+ gridFillPage.steps.checkAnswer();
111
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
112
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
113
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
114
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 1);
115
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
116
+ });
117
+
118
+ it('When the user attempts the question with partially correct answer responses exclusively from the alternative accordion, then the user should be awarded points of the correctly selected response and on switching to \'Grading\' view, correct icon, border and background should be displayed in the correct answer response and only correct icon should be displayed in unselected response from alternative accordion, correct/incorrect status message should not be displayed', () => {
119
+ gridFillPage.steps.resetQuestionPreview();
120
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
121
+ gridFillPage.steps.verifyPreviewScore(5, 15);
122
+ gridFillPage.steps.switchToGradingView();
123
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
124
+ gridFillPage.steps.verifyCorrectResponseBackgroundColor(0, 2);
125
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 2);
126
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
127
+ gridFillPage.steps.verifyCorrectResponseBackgroundColor(0, 3);
128
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 3);
129
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
130
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
131
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
132
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
133
+ cy.log('When the user has selected the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the selected response from alternative accordion, no icon should be displayed beside unselected response, correct/incorrect status message should not be displayed')
134
+ gridFillPage.steps.checkAnswer();
135
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
136
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
137
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
138
+ });
139
+
140
+ it('When the user has attempts the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with points of the correctly selected response and on switching to \'Grading\' view, correct icon should be displayed in responses from alternative accordion, incorrect icon should be displayed in responses from the correct accordion, correct/incorrect status message should not be displayed', () => {
141
+ gridFillPage.steps.resetQuestionPreview();
142
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
143
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
144
+ gridFillPage.steps.verifyPreviewScore(5, 15);
145
+ gridFillPage.steps.switchToGradingView();
146
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
147
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
148
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
149
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
150
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 2);
151
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
152
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 3);
153
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 3);
154
+ gridFillPage.steps.verifyIncorrectResponseIcon(0, 0);
155
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(0, 0);
156
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
157
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
158
+ cy.log('When the user has selected 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 in the response from alternative accordion, incorrect icon should be displayed in response from correct accordion, correct/incorrect status message should not be displayed')
159
+ gridFillPage.steps.checkAnswer();
160
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
161
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
162
+ gridFillPage.steps.verifyIncorrectResponseIcon(0, 0);
163
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(0, 0);
164
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
165
+ });
166
+
167
+ it('Race condition : When the user attempts the question with the common response between correct and alternative accordion, then the user should be awarded with points of the correctly selected response and on switching to \'Grading\' view, correct icon should be in the common response and response from alternative accordion and correct/incorrect status message should not be displayed', () => {
168
+ gridFillPage.steps.resetQuestionPreview();
169
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
170
+ gridFillPage.steps.verifyPreviewScore(5, 15);
171
+ gridFillPage.steps.switchToGradingView();
172
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
173
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 3);
174
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 3);
175
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
176
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 4);
177
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 4);
178
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
179
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
180
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
181
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
182
+ cy.log('When the user has selected the question with the common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the correct answer responses and correct/incorrect status message should not be displayed')
183
+ gridFillPage.steps.checkAnswer();
184
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
185
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
186
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
187
+ });
188
+
189
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed in incorrect responses, correct icon should be displayed in responses from alternative accordion and correct/incorrect status message should not be displayed', () => {
190
+ gridFillPage.steps.resetQuestionPreview();
191
+ gridFillPage.steps.selectCellPreviewTab(1, 1);
192
+ gridFillPage.steps.verifyPreviewScore(0, 15);
193
+ gridFillPage.steps.switchToGradingView();
194
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
195
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
196
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 2);
197
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
198
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 3);
199
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 3);
200
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
201
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 4);
202
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 4);
203
+ gridFillPage.steps.verifyIncorrectResponseIcon(1, 1);
204
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(1, 1);
205
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
206
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
207
+ cy.log('When the user has selected the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed in incorrect responses and correct/incorrect status message should not be displayed')
208
+ gridFillPage.steps.checkAnswer();
209
+ gridFillPage.steps.verifyIncorrectResponseIcon(1, 1);
210
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(1, 1);
211
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
212
+ });
213
+
214
+ it('Overachiever case: When the user attempts the question with more number of correct responses from the alternative accordion than the correct accordion but the score of the individual response selected from the correct accordion overpowers the combined score of the alternative accordion answers then on switching to the \'Grading view\', then points awarded should be of the correct accordion, correct icons should be displayed for the correct accordion response, incorrect icon should be displayed for the alternative accordion responses', () => {
215
+ cy.log('Pre-step: Switching to Edit tab and allotting points to alternative accordion such that the difference between the points is substantial and the points per response are in decimal')
216
+ gridFillPage.steps.switchToEditTab();
217
+ gridFillPage.steps.deleteAlternativeAnswerAccordion(0);
218
+ gridFillPage.steps.addAlternativeAnswerAccordion(1);
219
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
220
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
221
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(1, 0);
222
+ gridFillPage.steps.allotPoints(21);
223
+ gridFillPage.steps.expandCorrectAnswerAccordion();
224
+ gridFillPage.steps.allotPoints(9);
225
+ gridFillPage.steps.switchToPreviewTab();
226
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
227
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
228
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
229
+ gridFillPage.steps.verifyPreviewScore(7, 21);
230
+ gridFillPage.steps.switchToGradingView();
231
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
232
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 3);
233
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 3);
234
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
235
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
236
+ gridFillPage.steps.verifyCorrectResponseIcon(1, 0);
237
+ gridFillPage.steps.verifyCorrectResponseBorder(1, 0);
238
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(1, 0);
239
+ gridFillPage.steps.verifyIncorrectResponseIcon(0, 0);
240
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(0, 0);
241
+ gridFillPage.steps.verifyIncorrectResponseIcon(0, 1);
242
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(0, 1);
243
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
244
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
245
+ cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, green check-mark icons should be displayed beside the correct responses from the correct accordion, red cross-mark icons should be displayed beside the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
246
+ gridFillPage.steps.checkAnswer();
247
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
248
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
249
+ gridFillPage.steps.verifyIncorrectResponseIcon(0, 0);
250
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(0, 0);
251
+ gridFillPage.steps.verifyIncorrectResponseIcon(0, 1);
252
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(0, 1);
253
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
254
+ });
255
+ });
256
+ });
@@ -0,0 +1,213 @@
1
+ import { gridFillPage } from "../../../../pages";
2
+ import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
+
4
+ describe('Create item page - Grid fill : Partial equal with alternative answers', () => {
5
+ before(() => {
6
+ cy.loginAs('admin');
7
+ });
8
+
9
+ describe('Question preview: Auto scored - Partial equal weights with alternative answer - When \'Correct answer\' points are equal to \'Alternative answer\' points', () => {
10
+ abortEarlySetup();
11
+ before(() => {
12
+ gridFillPage.steps.navigateToCreateQuestion('grid fill');
13
+ cy.barsPreLoaderWait();
14
+ gridFillPage.steps.allotPoints(15);
15
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
16
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
17
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
18
+ gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
19
+ gridFillPage.steps.addAlternativeAnswerAccordion(1);
20
+ gridFillPage.steps.allotPoints(15);
21
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
22
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
23
+ gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
24
+ gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
25
+ gridFillPage.steps.switchToPreviewTab();
26
+ });
27
+
28
+ it('When the user selects \'Grading\' view without attempting the question, correct icons should be displayed in responses from the correct accordion', () => {
29
+ gridFillPage.steps.switchToGradingView();
30
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
31
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 0);
32
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 0);
33
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
34
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 1);
35
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 1);
36
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
37
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
38
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 2);
39
+ });
40
+
41
+ it('When the user attempts the question with responses from the correct accordion, then the user should be awarded full points and on switching to \'Grading\' view, correct icons should be displayed in responses from correct accordion, correct/incorrect status message should not be displayed', () => {
42
+ gridFillPage.steps.resetQuestionPreview();
43
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
44
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
45
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
46
+ gridFillPage.steps.verifyPreviewScore(15, 15);
47
+ gridFillPage.steps.switchToGradingView();
48
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
49
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
50
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
51
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 1);
52
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
53
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
54
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
55
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
56
+ cy.log('When the user has selected the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in responses from correct accordion and correct/incorrect status message should not be displayed')
57
+ gridFillPage.steps.checkAnswer();
58
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
59
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
60
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
61
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 1);
62
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
63
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
64
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
65
+ });
66
+
67
+ it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with full points and on switching to \'Grading\' view, correct icons should be displayed in responses from alternative accordion, correct/incorrect status message should not be displayed', () => {
68
+ gridFillPage.steps.resetQuestionPreview();
69
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
70
+ gridFillPage.steps.selectCellPreviewTab(0, 3);
71
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
72
+ gridFillPage.steps.verifyPreviewScore(15, 15);
73
+ gridFillPage.steps.switchToGradingView();
74
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
75
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
76
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
77
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 3);
78
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
79
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
80
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
81
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
82
+ cy.log('When the user has selected the question with responses from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in responses from alternative accordion, correct/incorrect status message and correct answer section should not be displayed')
83
+ gridFillPage.steps.checkAnswer();
84
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
85
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
86
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
87
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 3);
88
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
89
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
90
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
91
+ });
92
+
93
+ it('When the user attempts the question with partially correct answer cell exclusively from the correct accordion, then the user should be awarded points of the correct accordion and on switching to \'Grading\' view, correct icon, border and background color should be displayed in the selected responses, only correct icon should be displayed in unselected responses from correct accordion and correct/incorrect status message should not be displayed', () => {
94
+ gridFillPage.steps.resetQuestionPreview();
95
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
96
+ gridFillPage.steps.selectCellPreviewTab(0, 1);
97
+ gridFillPage.steps.verifyPreviewScore(10, 15);
98
+ gridFillPage.steps.switchToGradingView();
99
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
100
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
101
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
102
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 1);
103
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
104
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
105
+ gridFillPage.steps.verifyDefaultGridInSpecifyCorrectAnswerSection(0, 2);
106
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
107
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
108
+ cy.log('When the user has selected the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in selected responses from correct accordion , correct/incorrect status message should not be displayed')
109
+ gridFillPage.steps.checkAnswer();
110
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
111
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
112
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
113
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 1);
114
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
115
+ });
116
+
117
+ it('When the user attempts the question with partially correct answer cells exclusively from the alternative accordion, then the user should be awarded points of the correctly selected response and on switching to \'Grading\' view, correct icon, border and background color should be displayed in the selected responses, only correct icon should be displayed in unselected responses from alternative accordion and correct/incorrect status message should not be displayed', () => {
118
+ gridFillPage.steps.resetQuestionPreview();
119
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
120
+ gridFillPage.steps.verifyPreviewScore(5, 15);
121
+ gridFillPage.steps.switchToGradingView();
122
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
123
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
124
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 2);
125
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 3);
126
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 3);
127
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 3);
128
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
129
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
130
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
131
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
132
+ cy.log('When the user has selected the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in selected responses from alternative accordion, correct/incorrect status message should not be displayed')
133
+ gridFillPage.steps.checkAnswer();
134
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 4);
135
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 4);
136
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
137
+ });
138
+
139
+ it('When the user has attempts the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with points of the correctly selected response and on switching to \'Grading\' view, correct icon should be displayed in responses from correct accordion, incorrect icon should be displayed in responses from the alternative accordion and correct/incorrect status message should not be displayed', () => {
140
+ gridFillPage.steps.resetQuestionPreview();
141
+ gridFillPage.steps.selectCellPreviewTab(0, 0);
142
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
143
+ gridFillPage.steps.verifyPreviewScore(5, 15);
144
+ gridFillPage.steps.switchToGradingView();
145
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
146
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 1);
147
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 1);
148
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
149
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
150
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 2);
151
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
152
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
153
+ gridFillPage.steps.verifyIncorrectResponseIcon(0, 4);
154
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(0, 4);
155
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
156
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
157
+ cy.log('When the user has selected 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 in the response from correct accordion, incorrect icon should be displayed in response from alternative accordion, correct/incorrect status message should not be displayed')
158
+ gridFillPage.steps.checkAnswer();
159
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
160
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 0);
161
+ gridFillPage.steps.verifyIncorrectResponseIcon(0, 4);
162
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(0, 4);
163
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
164
+ });
165
+
166
+ it('Race condition : When the user attempts the question with the common response between correct and alternative accordion, then the user should be awarded with points of the correctly selected response and on switching to \'Grading\' view, correct icon, border and background should be in the common response and only correct icon should be displayed in unselected response from correct accordion, and correct/incorrect status message should not be displayed', () => {
167
+ gridFillPage.steps.resetQuestionPreview();
168
+ gridFillPage.steps.selectCellPreviewTab(0, 2);
169
+ gridFillPage.steps.verifyPreviewScore(5, 15);
170
+ gridFillPage.steps.switchToGradingView();
171
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
172
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 0);
173
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 0);
174
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
175
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 1);
176
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 1);
177
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
178
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
179
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
180
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
181
+ cy.log('When the user has selected the question with the common response between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the correct answer responses and correct/incorrect status message should not be displayed')
182
+ gridFillPage.steps.checkAnswer();
183
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
184
+ gridFillPage.steps.verifyCorrectResponseBorderAndBackgroundColor(0, 2);
185
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
186
+ });
187
+
188
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect response, correct icon should be displayed in unselected responses from correct accordion and correct/incorrect status message should not be displayed', () => {
189
+ gridFillPage.steps.resetQuestionPreview();
190
+ gridFillPage.steps.selectCellPreviewTab(1, 1);
191
+ gridFillPage.steps.verifyPreviewScore(0, 15);
192
+ gridFillPage.steps.switchToGradingView();
193
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 0);
194
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 0);
195
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 0);
196
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 1);
197
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 1);
198
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 1);
199
+ gridFillPage.steps.verifyCorrectResponseIcon(0, 2);
200
+ gridFillPage.steps.verifyCorrectResponseBorder(0, 2);
201
+ gridFillPage.steps.verifyResponseCellHasDefaultBackgroundColor(0, 2);
202
+ gridFillPage.steps.verifyIncorrectResponseIcon(1, 1);
203
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(1, 1);
204
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
205
+ gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
206
+ cy.log('When the user has selected the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed in incorrect responses, no icon should be displayed beside unselected response, correct/incorrect status message should not be displayed')
207
+ gridFillPage.steps.checkAnswer();
208
+ gridFillPage.steps.verifyIncorrectResponseIcon(1, 1);
209
+ gridFillPage.steps.verifyIncorrectResponseBorderAndBackgroundColor(1, 1);
210
+ gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
211
+ });
212
+ });
213
+ });