itemengine-cypress-automation 1.0.573-IEI-7065-Improve-test-coverage-for-essay-response-c25d1ee.0 → 1.0.573-IEI-7079-ed54ea2.0
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 +205 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +205 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +205 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +248 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +247 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +223 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +223 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +175 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +223 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +191 -0
- package/cypress/e2e/ILC/ChartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePointsLocked.js +24 -24
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +177 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +206 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +205 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +228 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +229 -1
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +229 -1
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +206 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +183 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +206 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +184 -0
- package/cypress/e2e/ILC/EssayResponse/additionalSettings.js +2 -8
- package/cypress/e2e/ILC/EssayResponse/additionalSettingsBasic.js +0 -15
- package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -14
- package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +5 -155
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions2.js +4 -116
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions3.js +0 -93
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions4.js +0 -114
- package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +1 -11
- package/cypress/e2e/ILC/EssayResponse/previewAddTable.js +2 -29
- package/cypress/e2e/ILC/EssayResponse/previewContentsForAllViews.smoke.js +1 -11
- package/cypress/e2e/ILC/EssayResponse/previewEditTable.js +0 -75
- package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +0 -13
- package/cypress/e2e/ILC/EssayResponse/studentViewSettings.js +0 -71
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +164 -10
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +165 -11
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +165 -11
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +24 -14
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -10
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +26 -16
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +25 -15
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -10
- package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +24 -13
- package/cypress/pages/chartsBarPage.js +44 -1
- package/cypress/pages/chartsDotPlotPage.js +99 -1
- package/cypress/pages/chartsLinePage.js +48 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +0 -21
- package/cypress/pages/components/essayResponseCommonComponents.js +1 -20
- package/cypress/pages/essayResponsePage.js +0 -2
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
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
|
+
|
|
4
6
|
describe('Create item page - Charts-Dot plot : All or nothing with alternative answers', () => {
|
|
5
7
|
before(() => {
|
|
6
8
|
cy.loginAs('admin');
|
|
@@ -24,12 +26,12 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
24
26
|
chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 1, interval: 1 });
|
|
25
27
|
chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(2, { point: 2, min: 1, interval: 1, defaultDots: 0 });
|
|
26
28
|
chartsDotPlotPage.steps.allotPoints(30);
|
|
27
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(
|
|
29
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(4, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
28
30
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
29
31
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
|
30
32
|
chartsDotPlotPage.steps.clickOnAddAlternativeAnswerButton(1);
|
|
31
33
|
chartsDotPlotPage.steps.allotPoints(30);
|
|
32
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(
|
|
34
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
33
35
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
34
36
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
35
37
|
//chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
|
@@ -68,6 +70,8 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
68
70
|
|
|
69
71
|
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', () => {
|
|
70
72
|
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 });
|
|
71
75
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
72
76
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
|
73
77
|
chartsDotPlotPage.steps.verifyPreviewScore(30, 30);
|
|
@@ -80,6 +84,9 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
80
84
|
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
|
81
85
|
chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
|
82
86
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
|
87
|
+
if (alternativeAnswerCheck === 'true') {
|
|
88
|
+
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleNotExists();
|
|
89
|
+
}
|
|
83
90
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
84
91
|
/*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')
|
|
85
92
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -95,7 +102,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
95
102
|
|
|
96
103
|
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', () => {
|
|
97
104
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
98
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
105
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
99
106
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
100
107
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
101
108
|
chartsDotPlotPage.steps.verifyPreviewScore(30, 30);
|
|
@@ -108,6 +115,9 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
108
115
|
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
|
109
116
|
chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
|
110
117
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
|
118
|
+
if (alternativeAnswerCheck === 'true') {
|
|
119
|
+
chartsDotPlotPage.steps.verifyShowAlternativeAnswersToggleNotExists();
|
|
120
|
+
}
|
|
111
121
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
112
122
|
/*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')
|
|
113
123
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -123,7 +133,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
123
133
|
|
|
124
134
|
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', () => {
|
|
125
135
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
126
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
136
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
127
137
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
|
128
138
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
129
139
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -140,6 +150,24 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
140
150
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
141
151
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
142
152
|
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
|
+
}
|
|
143
171
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
144
172
|
/*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')
|
|
145
173
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -156,7 +184,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
156
184
|
//Need to remove skip once https://redmine.zeuslearning.com/issues/577731 is resolved.
|
|
157
185
|
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', () => {
|
|
158
186
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
159
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
187
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
160
188
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
161
189
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
162
190
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -173,6 +201,24 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
173
201
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
174
202
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
175
203
|
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
|
+
}
|
|
176
222
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
177
223
|
/*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')
|
|
178
224
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -188,7 +234,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
188
234
|
|
|
189
235
|
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', () => {
|
|
190
236
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
191
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
237
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
192
238
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
193
239
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
194
240
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -205,6 +251,24 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
205
251
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
206
252
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
207
253
|
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
|
+
}
|
|
208
272
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
209
273
|
/*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')
|
|
210
274
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -225,7 +289,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
225
289
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
226
290
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
227
291
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
|
228
|
-
chartsDotPlotPage.steps.
|
|
292
|
+
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
|
|
229
293
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
230
294
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
|
|
231
295
|
chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
|
@@ -237,6 +301,24 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
237
301
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
238
302
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
239
303
|
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
|
+
}
|
|
240
322
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
241
323
|
/*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')
|
|
242
324
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -252,7 +334,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
252
334
|
|
|
253
335
|
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', () => {
|
|
254
336
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
255
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
337
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
256
338
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
|
257
339
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
258
340
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
@@ -270,6 +352,24 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
270
352
|
chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
|
|
271
353
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
272
354
|
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
|
+
}
|
|
273
373
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
274
374
|
/*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')
|
|
275
375
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -285,7 +385,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
285
385
|
|
|
286
386
|
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', () => {
|
|
287
387
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
288
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
388
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(5, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
289
389
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(4, { point: 4, min: 1, interval: 1, defaultDots: 0 });
|
|
290
390
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
291
391
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -302,6 +402,24 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
302
402
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
303
403
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
304
404
|
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
|
+
}
|
|
305
423
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
306
424
|
/*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')
|
|
307
425
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -318,7 +436,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
318
436
|
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', () => {
|
|
319
437
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
320
438
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
|
|
321
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
439
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
322
440
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
323
441
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
324
442
|
chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
|
|
@@ -334,6 +452,24 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
334
452
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
335
453
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
336
454
|
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
|
+
}
|
|
337
473
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
338
474
|
/*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')
|
|
339
475
|
chartsDotPlotPage.steps.checkAnswer();
|
|
@@ -350,7 +486,7 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
350
486
|
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', () => {
|
|
351
487
|
chartsDotPlotPage.steps.resetQuestionPreview();
|
|
352
488
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 6, min: 1, interval: 1, defaultDots: 0 });
|
|
353
|
-
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(
|
|
489
|
+
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 2, min: 1, interval: 1, defaultDots: 2 });
|
|
354
490
|
chartsDotPlotPage.steps.plotDotsInDotColumnPreviewTab(2, { point: 5, min: 1, interval: 1, defaultDots: 0 });
|
|
355
491
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
|
|
356
492
|
chartsDotPlotPage.steps.switchToGradingView();
|
|
@@ -367,6 +503,24 @@ describe('Create item page - Charts-Dot plot : All or nothing with alternative a
|
|
|
367
503
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
|
|
368
504
|
chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
|
|
369
505
|
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
|
+
}
|
|
370
524
|
chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
|
371
525
|
/*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')
|
|
372
526
|
chartsDotPlotPage.steps.checkAnswer();
|