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.
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -205
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -205
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -205
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -248
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -247
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -223
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -223
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -175
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -223
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +0 -191
- package/cypress/e2e/ILC/ChartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePointsLocked.js +24 -184
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -177
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -206
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -205
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -228
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -229
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -229
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -206
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -183
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -206
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +0 -184
- package/cypress/e2e/ILC/EssayResponse/additionalSettings.js +8 -2
- package/cypress/e2e/ILC/EssayResponse/additionalSettingsBasic.js +15 -0
- package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +13 -0
- package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +155 -5
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions2.js +117 -4
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions3.js +101 -4
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions4.js +114 -0
- package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +12 -2
- package/cypress/e2e/ILC/EssayResponse/previewAddTable.js +38 -3
- package/cypress/e2e/ILC/EssayResponse/previewContentsForAllViews.smoke.js +41 -23
- package/cypress/e2e/ILC/EssayResponse/previewEditTable.js +78 -3
- package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +15 -0
- package/cypress/e2e/ILC/EssayResponse/studentViewSettings.js +71 -0
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +10 -164
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +11 -165
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +11 -165
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -164
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +10 -121
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -167
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +15 -178
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +10 -121
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +13 -165
- package/cypress/pages/chartsBarPage.js +1 -44
- package/cypress/pages/chartsDotPlotPage.js +1 -99
- package/cypress/pages/chartsLinePage.js +1 -48
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +20 -0
- package/cypress/pages/components/essayResponseCommonComponents.js +29 -1
- package/cypress/pages/essayResponsePage.js +3 -1
- package/package.json +1 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { chartsDotPlotPage } from "../../../../pages";
|
|
2
2
|
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
|
3
3
|
|
|
4
|
-
const alternativeAnswerCheck = Cypress.env('ENABLE_ALTERNATIVE_ANSWER_ENHANCEMENT');
|
|
5
|
-
|
|
6
4
|
describe('Create item page - Charts-Dot plot : All or nothing with alternative answers', () => {
|
|
7
5
|
before(() => {
|
|
8
6
|
cy.loginAs('admin');
|
|
@@ -26,12 +24,12 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
26
24
|
chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 1, interval: 1 });
|
|
27
25
|
chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(2, { point: 2, min: 1, interval: 1, defaultDots: 0 });
|
|
28
26
|
chartsDotPlotPage.steps.allotPoints(30);
|
|
29
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(
|
|
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(
|
|
32
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 2, min: 1, interval: 1, defaultDots: 0 });
|
|
35
33
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
36
34
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
37
35
|
//chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
|
@@ -70,8 +68,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
70
68
|
|
|
71
69
|
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 icon should be displayed in the dot column attempted correctly, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
|
72
70
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
73
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(1, { point: 1, min: 1, interval: 1, defaultDots: 1 });
|
|
74
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
75
71
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
76
72
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
|
77
73
|
chartsDotPlotPage.steps.verifyPreviewScore(30, 30);
|
|
@@ -84,9 +80,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
84
80
|
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
|
85
81
|
chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
|
86
82
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
|
87
|
-
if (alternativeAnswerCheck === 'true') {
|
|
88
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleNotExists();
|
|
89
|
-
}
|
|
90
83
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
91
84
|
/*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 dot column attempted correctly, a status message with text \'Your answer is correct\' and correct answer section should not be displayed')
|
|
92
85
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -102,7 +95,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
102
95
|
|
|
103
96
|
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 beside all the correct responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
|
104
97
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
105
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
98
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 2, min: 1, interval: 1 });
|
|
106
99
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
107
100
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
108
101
|
chartsDotPlotPage.steps.verifyPreviewScore(30, 30);
|
|
@@ -115,9 +108,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
115
108
|
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
|
116
109
|
chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
|
117
110
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
|
118
|
-
if (alternativeAnswerCheck === 'true') {
|
|
119
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleNotExists();
|
|
120
|
-
}
|
|
121
111
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
122
112
|
/*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 dot column attempted correctly, a status message with text \'Your answer is correct\' and correct answer section should not be displayed')
|
|
123
113
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -133,7 +123,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
133
123
|
|
|
134
124
|
it('When the user attempts the question with partially correct options exclusively from the correct accordion, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the dot column attempted correctly, incorrect icon should be displayed in the dot column set incorrectly and a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone numeration should be displayed', () => {
|
|
135
125
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
136
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
126
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 2, min: 1, interval: 1 });
|
|
137
127
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
|
138
128
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
139
129
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -150,24 +140,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
150
140
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
151
141
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
152
142
|
chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
|
153
|
-
if (alternativeAnswerCheck === 'true') {
|
|
154
|
-
chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(30 points)');
|
|
155
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
|
|
156
|
-
chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
|
|
157
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
158
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
|
|
159
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
160
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
|
|
161
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(30 points)');
|
|
162
|
-
chartsDotPlotPage.steps.verifyLockedDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
|
|
163
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
|
|
164
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
|
|
165
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
166
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
167
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
168
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
169
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
170
|
-
}
|
|
171
143
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
172
144
|
/*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 the dot column attempted correctly, incorrect icon should be displayed in the dot column set incorrectly and a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
|
173
145
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -184,7 +156,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
184
156
|
//Need to remove skip once https://redmine.zeuslearning.com/issues/577731 is resolved.
|
|
185
157
|
it.skip('When the user attempts the question with partially correct options exclusively from the alternative accordion, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the dot column attempted correctly, incorrect icon should be displayed in the dot column set incorrectly and a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone cell numeration should be displayed', () => {
|
|
186
158
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
187
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
159
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 2, min: 1, interval: 1 });
|
|
188
160
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
189
161
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
190
162
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -201,24 +173,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
201
173
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
202
174
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
203
175
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
204
|
-
if (alternativeAnswerCheck === 'true') {
|
|
205
|
-
chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(30 points)');
|
|
206
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
|
|
207
|
-
chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
|
|
208
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
209
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
|
|
210
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
211
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
|
|
212
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(30 points)');
|
|
213
|
-
chartsDotPlotPage.steps.verifyLockedDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
|
|
214
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
|
|
215
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
|
|
216
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
217
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
218
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
219
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
220
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
221
|
-
}
|
|
222
176
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
223
177
|
/*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 the dot column attempted correctly, incorrect icon should be displayed in the dot column set incorrectly and a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
|
224
178
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -234,7 +188,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
234
188
|
|
|
235
189
|
it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in attempted dot column from the alternative accordion, incorrect icon should be displayed in dot column set incorrectly, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone cell numeration should be displayed', () => {
|
|
236
190
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
237
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
191
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 2, min: 1, interval: 1 });
|
|
238
192
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
239
193
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
240
194
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -251,24 +205,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
251
205
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
252
206
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
253
207
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
254
|
-
if (alternativeAnswerCheck === 'true') {
|
|
255
|
-
chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(30 points)');
|
|
256
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
|
|
257
|
-
chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
|
|
258
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
259
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
|
|
260
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
261
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
|
|
262
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(30 points)');
|
|
263
|
-
chartsDotPlotPage.steps.verifyLockedDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
|
|
264
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
|
|
265
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
|
|
266
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
267
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
268
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
269
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
270
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
271
|
-
}
|
|
272
208
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
273
209
|
/*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 attempted dot column from the alternative accordion, incorrect icon should be displayed in dot column set incorrectly, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
|
274
210
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -289,7 +225,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
289
225
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
290
226
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
291
227
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
|
292
|
-
chartsDotPlotPage.steps.
|
|
228
|
+
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
|
293
229
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
294
230
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
|
295
231
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
|
@@ -301,24 +237,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
301
237
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
302
238
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
303
239
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
304
|
-
if (alternativeAnswerCheck === 'true') {
|
|
305
|
-
chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(30 points)');
|
|
306
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
|
|
307
|
-
chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
|
|
308
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
309
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
|
|
310
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
311
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
|
|
312
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(30 points)');
|
|
313
|
-
chartsDotPlotPage.steps.verifyLockedDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
|
|
314
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
|
|
315
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
|
|
316
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
317
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
318
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
319
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
320
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
321
|
-
}
|
|
322
240
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
323
241
|
/*cy.log('When the user attempts the question with more answers from the correct accordion than the alternate accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the correct accordion responses, incorrect icons should be displayed on the alternate accordion responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
|
324
242
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -334,7 +252,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
334
252
|
|
|
335
253
|
it('When the user attempts the question with more answers from the alternate accordion than the correct accordion, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct accordion responses, incorrect icons should be displayed on the alternate accordion responses, a status message with text \'Your answer is incorrect\' and correct answer section should be displayed with the correct answers from the correct accordion', () => {
|
|
336
254
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
337
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
255
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 2, min: 1, interval: 1 });
|
|
338
256
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
|
339
257
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
340
258
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
@@ -352,24 +270,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
352
270
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
353
271
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
354
272
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
355
|
-
if (alternativeAnswerCheck === 'true') {
|
|
356
|
-
chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(30 points)');
|
|
357
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
|
|
358
|
-
chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
|
|
359
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
360
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
|
|
361
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
362
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
|
|
363
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(30 points)');
|
|
364
|
-
chartsDotPlotPage.steps.verifyLockedDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
|
|
365
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
|
|
366
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
|
|
367
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
368
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
369
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
370
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
371
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
372
|
-
}
|
|
373
273
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
374
274
|
/*cy.log('When the user attempts the question with more answers from the alternate accordion than the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the correct accordion responses, incorrect icons should be displayed on the alternate accordion responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
|
375
275
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -385,7 +285,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
385
285
|
|
|
386
286
|
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 0 points and on switching to \'Grading\' view, correct icon should be displayed in correctly attempted dot column from correct accordion and incorrect icon should be displayed in incorrectly attempted dot column from alternate accordion, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone cell numeration should be displayed', () => {
|
|
387
287
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
388
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
288
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 2, min: 1, interval: 1 });
|
|
389
289
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
|
390
290
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
391
291
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -402,24 +302,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
402
302
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
403
303
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
404
304
|
chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
|
405
|
-
if (alternativeAnswerCheck === 'true') {
|
|
406
|
-
chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(30 points)');
|
|
407
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
|
|
408
|
-
chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
|
|
409
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
410
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
|
|
411
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
412
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
|
|
413
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(30 points)');
|
|
414
|
-
chartsDotPlotPage.steps.verifyLockedDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
|
|
415
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
|
|
416
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
|
|
417
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
418
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
419
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
420
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
421
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
422
|
-
}
|
|
423
305
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
424
306
|
/*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 correctly attempted dot column from correct accordion and incorrect icon should be displayed in incorrectly attempted dot column from alternate accordion and a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
|
425
307
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -436,7 +318,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
436
318
|
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 0 points and on switching to \'Grading\' view, correct icon should be displayed in correctly attempted common dot column and incorrect icons should be displayed in incorrectly set dot column, \'Your answer is incorrect\' and correct answer section should be displayed with responses from correct accordion', () => {
|
|
437
319
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
438
320
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
439
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
321
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(0, { point: 2, min: 1, interval: 1 });
|
|
440
322
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
441
323
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
442
324
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
|
@@ -452,24 +334,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
452
334
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
453
335
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
454
336
|
chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
|
455
|
-
if (alternativeAnswerCheck === 'true') {
|
|
456
|
-
chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(30 points)');
|
|
457
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
|
|
458
|
-
chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
|
|
459
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
460
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
|
|
461
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
462
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
|
|
463
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(30 points)');
|
|
464
|
-
chartsDotPlotPage.steps.verifyLockedDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
|
|
465
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
|
|
466
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
|
|
467
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
468
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
469
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
470
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
471
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
472
|
-
}
|
|
473
337
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
474
338
|
/*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 correctly attempted common dot column and incorrect icons should be displayed in incorrectly set dot column and a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
|
475
339
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -486,7 +350,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
486
350
|
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 responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with dropzone cell numeration should be displayed', () => {
|
|
487
351
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
488
352
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 6, min: 1, interval: 1, defaultDots: 0 });
|
|
489
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
353
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(0, { point: 2, min: 1, interval: 1 });
|
|
490
354
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
491
355
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
492
356
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -503,24 +367,6 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
503
367
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
504
368
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
505
369
|
chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
|
506
|
-
if (alternativeAnswerCheck === 'true') {
|
|
507
|
-
chartsDotPlotPage.steps.verifyCorrectAnswersLabelAndPointVisible('(30 points)');
|
|
508
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleExists();
|
|
509
|
-
chartsDotPlotPage.steps.disableShowAlternativeAnswersToggle();
|
|
510
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
511
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersSectionNotExist();
|
|
512
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
513
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleChecked();
|
|
514
|
-
chartsDotPlotPage.steps.verifyAlternativeAnswersLabelAndPointVisible(1, '(30 points)');
|
|
515
|
-
chartsDotPlotPage.steps.verifyLockedDotColumnAlternateAnswerSection({ point: 1, min: 1, interval: 1 });
|
|
516
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 2, min: 1, interval: 1 });
|
|
517
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 3, min: 1, interval: 1 });
|
|
518
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
519
|
-
chartsDotPlotPage.steps.verifyCorrectDotColumnAlternateAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
520
|
-
chartsDotPlotPage.steps.verifyEmptyDotColumnAlternateAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
521
|
-
chartsDotPlotPage.steps.clickShowAlternativeAnswersToggle();
|
|
522
|
-
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleUnchecked();
|
|
523
|
-
}
|
|
524
370
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
525
371
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
|
526
372
|
chartsDotPlotPage.steps.checkAnswer();
|