itemengine-cypress-automation 1.0.576-IEI-7079-92d877f.0 → 1.0.576

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -205
  2. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -205
  3. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -205
  4. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -248
  5. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -247
  6. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -223
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -223
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -175
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -223
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +0 -191
  11. package/cypress/e2e/ILC/ChartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePointsLocked.js +24 -184
  12. package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -177
  13. package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -206
  14. package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -205
  15. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -228
  16. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -229
  17. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -229
  18. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -206
  19. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -183
  20. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -206
  21. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +0 -184
  22. package/cypress/e2e/ILC/EssayResponse/additionalSettings.js +8 -2
  23. package/cypress/e2e/ILC/EssayResponse/additionalSettingsBasic.js +15 -0
  24. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +13 -0
  25. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +155 -5
  26. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions2.js +117 -4
  27. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions3.js +101 -4
  28. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions4.js +114 -0
  29. package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +12 -2
  30. package/cypress/e2e/ILC/EssayResponse/previewAddTable.js +38 -3
  31. package/cypress/e2e/ILC/EssayResponse/previewContentsForAllViews.smoke.js +41 -23
  32. package/cypress/e2e/ILC/EssayResponse/previewEditTable.js +78 -3
  33. package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +15 -0
  34. package/cypress/e2e/ILC/EssayResponse/studentViewSettings.js +71 -0
  35. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +10 -164
  36. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +11 -165
  37. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +11 -165
  38. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -164
  39. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +10 -121
  40. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -167
  41. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +15 -178
  42. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +10 -121
  43. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +13 -165
  44. package/cypress/pages/chartsBarPage.js +1 -44
  45. package/cypress/pages/chartsDotPlotPage.js +1 -99
  46. package/cypress/pages/chartsLinePage.js +1 -48
  47. package/cypress/pages/components/equationEditorSectionCommonComponent.js +20 -0
  48. package/cypress/pages/components/essayResponseCommonComponents.js +29 -1
  49. package/cypress/pages/essayResponsePage.js +3 -1
  50. package/package.json +1 -1
@@ -2,8 +2,6 @@ import { chartsDotPlotPage } from "../../../../pages";
2
2
  import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
3
  const css = Cypress.env('css');
4
4
 
5
- const alternativeAnswerCheck = Cypress.env('ENABLE_ALTERNATIVE_ANSWER_ENHANCEMENT');
6
-
7
5
  describe('Create item page - Charts - Dot plot: Partial different weights', () => {
8
6
  before(() => {
9
7
  cy.loginAs('admin');
@@ -25,14 +23,14 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
25
23
  chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(1, { point: 1, min: 1, interval: 1, defaultDots: 0 });
26
24
  chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(2, { point: 2, min: 1, interval: 1, defaultDots: 0 });
27
25
  chartsDotPlotPage.steps.allotPoints(23);
28
- chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
29
- chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(4, { point: 2, min: 1, interval: 1, defaultDots: 2 });
26
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 1, min: 1, interval: 1, defaultDots: 0 });
27
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 2, min: 1, interval: 1, defaultDots: 0 });
30
28
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
31
29
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
32
30
  chartsDotPlotPage.steps.clickOnAddAlternativeAnswerButton(1);
33
31
  chartsDotPlotPage.steps.allotPoints(30);
34
- chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
35
- chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
32
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 1, min: 1, interval: 1, defaultDots: 0 });
33
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 2, min: 1, interval: 1, defaultDots: 0 });
36
34
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
37
35
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
38
36
  chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
@@ -59,24 +57,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
59
57
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
60
58
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
61
59
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
62
- //alternative answer
63
- if (alternativeAnswerCheck === 'true') {
64
- chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(Points per response - 5 pts)');
65
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
66
- chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
67
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
68
- chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
69
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
70
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
71
- chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(Points per response - 3.83 pts)');
72
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
73
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
74
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
75
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
76
- chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
77
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
78
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
79
- }
80
60
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
81
61
  /*cy.log('When the user clicks on \'Check answer\' button without attempting the question, locked bar should not have icon, correct icon should be displayed in dot column set correctly by default, incorrect icon should be displayed in dot column set to incorrectly by default and correct/incorrect status message and correct answer section should not be displayed')
82
62
  chartsDotPlotPage.steps.checkAnswer();
@@ -92,8 +72,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
92
72
 
93
73
  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 icon should be displayed in dot column attempted correctly, status message and correct answer section should not be displayed', () => {
94
74
  chartsDotPlotPage.steps.resetQuestionPreview();
95
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
96
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 2, min: 1, interval: 1, defaultDots: 2 });
97
75
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
98
76
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
99
77
  chartsDotPlotPage.steps.verifyPreviewScore(23, 30);
@@ -106,9 +84,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
106
84
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
107
85
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
108
86
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
109
- if (alternativeAnswerCheck === 'true') {
110
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleNotExists();
111
- }
112
87
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
113
88
  /*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 dot column attempted correctly, status message and correct answer section should not be displayed')
114
89
  chartsDotPlotPage.steps.checkAnswer();
@@ -124,8 +99,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
124
99
 
125
100
  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 icon should be displayed in dot column attempted correctly, status message and correct answer section should not be displayed', () => {
126
101
  chartsDotPlotPage.steps.resetQuestionPreview();
127
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
128
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
102
+ chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 2, min: 1, interval: 1 });
129
103
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
130
104
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
131
105
  chartsDotPlotPage.steps.verifyPreviewScore(30, 30);
@@ -138,9 +112,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
138
112
  chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
139
113
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
140
114
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
141
- if (alternativeAnswerCheck === 'true') {
142
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleNotExists();
143
- }
144
115
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
145
116
  /*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 dot column attempted correctly, status message and correct answer section should not be displayed')
146
117
  chartsDotPlotPage.steps.checkAnswer();
@@ -156,8 +127,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
156
127
 
157
128
  it('When the user attempts the question with partially correct options exclusively from the correct accordion, then the user should be awarded with points of the correctly attempted responses according to the correct accordion and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly, incorrect icon should be displayed in dot column set to incorrectly, status message should not be displayed and correct answer section with all correct answers from the alternate accordion should be displayed', () => {
158
129
  chartsDotPlotPage.steps.resetQuestionPreview();
159
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
160
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 2, min: 1, interval: 1, defaultDots: 2 });
130
+ chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 2, min: 1, interval: 1 });
161
131
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
162
132
  chartsDotPlotPage.steps.verifyPreviewScore(19.1667, 30);
163
133
  chartsDotPlotPage.steps.switchToGradingView();
@@ -176,24 +146,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
176
146
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
177
147
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
178
148
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
179
- //alternative answer
180
- if (alternativeAnswerCheck === 'true') {
181
- chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(Points per response - 5 pts)');
182
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
183
- chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
184
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
185
- chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
186
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
187
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
188
- chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(Points per response - 3.83 pts)');
189
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
190
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
191
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
192
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
193
- chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
194
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
195
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
196
- }
197
149
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
198
150
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly, incorrect icon should be displayed in dot column set to incorrectly, status message and correct answer section should not be displayed')
199
151
  chartsDotPlotPage.steps.checkAnswer();
@@ -209,8 +161,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
209
161
 
210
162
  it('When the user attempts the question with partially correct options exclusively from the alternative accordion, then the user should be awarded with points of the correctly attempted responses from the alternative accordion and on switching to \'Grading\' view, correct icons should be displayed in the correctly attempted dot column, incorrect icons should be displayed in the unattempted dot column, status message should not be displayed and correct answer section with all correct answers from the alternate accordion should be displayed', () => {
211
163
  chartsDotPlotPage.steps.resetQuestionPreview();
212
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
213
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
164
+ chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 2, min: 1, interval: 1 });
214
165
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
215
166
  chartsDotPlotPage.steps.verifyPreviewScore(25, 30);
216
167
  chartsDotPlotPage.steps.switchToGradingView();
@@ -229,24 +180,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
229
180
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
230
181
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
231
182
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
232
- //alternative answer
233
- if (alternativeAnswerCheck === 'true') {
234
- chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(Points per response - 5 pts)');
235
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
236
- chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
237
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
238
- chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
239
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
240
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
241
- chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(Points per response - 3.83 pts)');
242
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
243
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
244
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
245
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
246
- chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
247
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
248
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
249
- }
250
183
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
251
184
  /*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 in dot column attempted correctly, incorrect icon should be displayed in dot column set to incorrectly, status message and correct answer section should not be displayed')
252
185
  chartsDotPlotPage.steps.checkAnswer();
@@ -262,7 +195,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
262
195
 
263
196
  it('When the user attempts the question partially correct with all the responses correct as per the correct accordion but one response incomplete, then the user should be awarded with points of the correctly attempted responses and on switching to \'Grading\' view, correct icon should be displayed in dot column attempted correctly, incorrect icon should be displayed in dot column set to incorrectly, status message should not be displayed and correct answer section with all correct answers from the alternate accordion should be displayed', () => {
264
197
  chartsDotPlotPage.steps.resetQuestionPreview();
265
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
266
198
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
267
199
  chartsDotPlotPage.steps.verifyPreviewScore(20, 30);
268
200
  chartsDotPlotPage.steps.switchToGradingView();
@@ -280,24 +212,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
280
212
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
281
213
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
282
214
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
283
- //alternative answer
284
- if (alternativeAnswerCheck === 'true') {
285
- chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(Points per response - 5 pts)');
286
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
287
- chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
288
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
289
- chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
290
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
291
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
292
- chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(Points per response - 3.83 pts)');
293
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
294
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
295
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
296
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
297
- chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
298
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
299
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
300
- }
301
215
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
302
216
  /*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed in dot column attempted correctly, incorrect icon should be displayed in dot column set to incorrectly, status message and correct answer section should not be displayed')
303
217
  chartsDotPlotPage.steps.checkAnswer();
@@ -313,8 +227,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
313
227
 
314
228
  it('When the user has attempted the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with with points of the correctly attempted responses and on switching to \'Grading\' view, correct icon should be displayed in dot column set correctly from alternate accordion, incorrect icon should be displayed in dot column set incorrectly from the correct accordion responses as score achieved from the alternative responses is more than correct responses, status message should not be displayed and correct answer section with all correct answers from the alternate accordion along with dropzone numeration should be displayed', () => {
315
229
  chartsDotPlotPage.steps.resetQuestionPreview();
316
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
317
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 2, min: 1, interval: 1, defaultDots: 2 });
230
+ chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 2, min: 1, interval: 1 });
318
231
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
319
232
  chartsDotPlotPage.steps.verifyPreviewScore(20, 30);
320
233
  chartsDotPlotPage.steps.switchToGradingView();
@@ -332,24 +245,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
332
245
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
333
246
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
334
247
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
335
- //alternative answer
336
- if (alternativeAnswerCheck === 'true') {
337
- chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(Points per response - 5 pts)');
338
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
339
- chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
340
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
341
- chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
342
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
343
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
344
- chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(Points per response - 3.83 pts)');
345
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
346
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
347
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
348
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
349
- chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
350
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
351
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
352
- }
353
248
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
354
249
  /*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 in dot column set correctly from alternate accordion, incorrect icon should be displayed in dot column set incorrectly from the correct accordion, a status message and correct answer section should not be displayed')
355
250
  chartsDotPlotPage.steps.checkAnswer();
@@ -365,9 +260,8 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
365
260
 
366
261
  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 with points of the correctly attempted responses from the tab that has more points alloted for the response and on switching to \'Grading\' view, correct icon should be displayed in common dot column attempted correctly, incorrect icon should be displayed in dot column attempted incorrectly, status message should not be displayed and correct answer section with all correct answers from the alternate accordion along with dropzone numeration should be displayed', () => {
367
262
  chartsDotPlotPage.steps.resetQuestionPreview();
368
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
369
263
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
370
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 2, min: 1, interval: 1, defaultDots: 2 });
264
+ chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(0, { point: 2, min: 1, interval: 1 });
371
265
  chartsDotPlotPage.steps.verifyPreviewScore(20, 30);
372
266
  chartsDotPlotPage.steps.switchToGradingView();
373
267
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
@@ -384,24 +278,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
384
278
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
385
279
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
386
280
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
387
- //alternative answer
388
- if (alternativeAnswerCheck === 'true') {
389
- chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(Points per response - 5 pts)');
390
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
391
- chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
392
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
393
- chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
394
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
395
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
396
- chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(Points per response - 3.83 pts)');
397
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
398
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
399
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
400
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
401
- chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
402
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
403
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
404
- }
405
281
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
406
282
  /*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 in common dot column attempted correctly, incorrect icon should be displayed in dot column attempted incorrectly status message and correct answer section should not be displayed')
407
283
  chartsDotPlotPage.steps.checkAnswer();
@@ -417,8 +293,7 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
417
293
 
418
294
  it('When the user attempts the question incorrectly, then the user should be awarded with 0 points and on switching to \'Grading\' view, incorrect icon should be displayed in dot column attempted incorrectly, status message should not be displayed and correct answer section with all alternative answers along with dropzone numeration should be displayed', () => {
419
295
  chartsDotPlotPage.steps.resetQuestionPreview();
420
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
421
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 2, min: 1, interval: 1, defaultDots: 2 });
296
+ chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(0, { point: 2, min: 1, interval: 1 });
422
297
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 4, min: 1, interval: 1, defaultDots: 0 });
423
298
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 5, min: 1, interval: 1, defaultDots: 0 });
424
299
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 6, min: 1, interval: 1, defaultDots: 0 });
@@ -438,24 +313,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
438
313
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
439
314
  chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
440
315
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
441
- //alternative answer
442
- if (alternativeAnswerCheck === 'true') {
443
- chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(Points per response - 5 pts)');
444
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
445
- chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
446
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
447
- chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
448
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
449
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
450
- chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(Points per response - 3.83 pts)');
451
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
452
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
453
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
454
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
455
- chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
456
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
457
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
458
- }
459
316
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
460
317
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed in dot column attempted incorrectly, a status message and correct answer section should not be displayed')
461
318
  chartsDotPlotPage.steps.checkAnswer();
@@ -475,14 +332,14 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
475
332
  chartsDotPlotPage.steps.deleteAlternativeAnswerAccordion(0);
476
333
  chartsDotPlotPage.steps.addAlternativeAnswerAccordion(1);
477
334
  chartsDotPlotPage.steps.allotPoints(42);
478
- chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 2, min: 1, interval: 1, defaultDots: 2 });
335
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 2, min: 1, interval: 1, defaultDots: 0 });
479
336
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 3, min: 1, interval: 1, defaultDots: 0 });
480
337
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 4, min: 1, interval: 1, defaultDots: 0 });
481
338
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 5, min: 1, interval: 1, defaultDots: 0 });
482
339
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 6, min: 1, interval: 1, defaultDots: 0 });
483
340
  chartsDotPlotPage.steps.expandCorrectAnswerAccordion();
484
- chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 1, min: 1, interval: 1, defaultDots: 1 });
485
- chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
341
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 2, min: 1, interval: 1, defaultDots: 0 });
342
+ chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 2, min: 1, interval: 1 });
486
343
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 3, min: 1, interval: 1 });
487
344
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 4, min: 1, interval: 1 });
488
345
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(2, { point: 5, min: 1, interval: 1, defaultDots: 0 });
@@ -490,13 +347,12 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
490
347
  chartsDotPlotPage.steps.allotPoints(6);
491
348
  chartsDotPlotPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
492
349
  chartsDotPlotPage.steps.switchToPreviewTab();
493
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 1, min: 1, interval: 1, defaultDots: 1 });
494
- chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 2, min: 1, interval: 1, defaultDots: 2 });
350
+ chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 2, min: 1, interval: 1 });
495
351
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 3, min: 1, interval: 1, defaultDots: 0 });
496
352
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 4, min: 1, interval: 1, defaultDots: 0 });
497
353
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 5, min: 1, interval: 1, defaultDots: 0 });
498
354
  chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 6, min: 1, interval: 1, defaultDots: 0 });
499
- chartsDotPlotPage.steps.verifyPreviewScore(14, 42);
355
+ chartsDotPlotPage.steps.verifyPreviewScore(8.4, 42);
500
356
  chartsDotPlotPage.steps.switchToGradingView();
501
357
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
502
358
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
@@ -512,25 +368,6 @@ describe('Create item page - Charts - Dot plot: Partial different weights', () =
512
368
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
513
369
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1, defaultDots: 0 });
514
370
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
515
- //alternative answer
516
- if (alternativeAnswerCheck === 'true') {
517
- chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(Points per response - 7 pts)');
518
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
519
- chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
520
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
521
- chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
522
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
523
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
524
- chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(Points per response - 1 pt)');
525
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
526
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
527
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
528
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
529
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
530
- chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 6, min: 1, interval: 1 });
531
- chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
532
- chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
533
- }
534
371
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
535
372
  /*cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, correct icons icons should be displayed beside the correct responses from the correct accordion, incorrect icons icons should be displayed beside the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
536
373
  chartsDotPlotPage.steps.checkAnswer();