itemengine-cypress-automation 1.0.201 → 1.0.202

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/cypress/e2e/ILC/AudioPlayerNew/audioOverviewAndTranscript.js +1 -1
  2. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +5 -11
  3. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +3 -1
  4. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneSettings.js +1 -1
  5. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +1 -0
  6. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +22 -22
  7. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/conditionalCheckboxScoring.js +60 -60
  8. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -1
  9. package/cypress/e2e/ILC/FillInTheGapsTextNew/styleAndLayoutCustomization.js +2 -2
  10. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +6 -8
  11. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +7 -6
  12. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +3 -3
  13. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  14. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +2 -4
  15. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  16. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  17. package/cypress/e2e/ILC/Matching/additionalSettings.js +2 -2
  18. package/cypress/e2e/ILC/Matching/maximumCapacityPerDropzoneSection.js +10 -10
  19. package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +3 -2
  20. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  21. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  22. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +2 -2
  23. package/cypress/e2e/ILC/ShortTextResponseNew/additionalSettings.js +5 -0
  24. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +1 -1
  25. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +1 -1
  26. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +31 -50
  27. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -2
  28. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  29. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +1 -1
  30. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +2 -1
  31. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +5 -4
  32. package/cypress/e2e/ILC/UploadResponse/uploadedFileProperties.js +1 -1
  33. package/package.json +1 -1
@@ -37,7 +37,7 @@ describe('Create item page - Grid fill: All or nothing with alternative answers'
37
37
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
38
38
  });
39
39
 
40
- it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion (less than overall points) and on switching to \'Grading\' view, correct icon should be displayed in responses from correct accordion, and a status message with text \'Your answer is correct\' should be displayed and correct responses from alternate accordion should be displayed in the correct answers section', () => {
40
+ it('When the user attempts the question with responses from the correct accordion, then the user should be awarded with points specified for correct accordion (less than overall points) and on switching to \'Grading\' view, correct icon should be displayed in responses from correct accordion, and a status message with text \'Your answer is correct\' should be displayed and correct answers section should not be displayed', () => {
41
41
  gridFillPage.steps.resetQuestionPreview();
42
42
  gridFillPage.steps.selectCellPreviewTab(0, 0);
43
43
  gridFillPage.steps.selectCellPreviewTab(0, 1);
@@ -47,10 +47,8 @@ describe('Create item page - Grid fill: All or nothing with alternative answers'
47
47
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
48
48
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
49
49
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
50
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
51
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
52
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
53
50
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
51
+ gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
54
52
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
55
53
  /*cy.log('When the user has attempted the question with responses from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the responses from correct accordion and status message with text \'Your answer is correct\' should be displayed')
56
54
  gridFillPage.steps.checkAnswer();
@@ -87,8 +85,8 @@ describe('Create item page - Grid fill: All or nothing with alternative answers'
87
85
  gridFillPage.steps.selectCellPreviewTab(0, 1);
88
86
  gridFillPage.steps.verifyPreviewScore(0, 20);
89
87
  gridFillPage.steps.switchToGradingView();
90
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
91
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
88
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 0);
89
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 1);
92
90
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
93
91
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
94
92
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
@@ -96,8 +94,8 @@ describe('Create item page - Grid fill: All or nothing with alternative answers'
96
94
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
97
95
  /*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 incorrect icon should be displayed for partially selected correct accordion responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
98
96
  gridFillPage.steps.checkAnswer();
99
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
100
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
97
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 0);
98
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 1);
101
99
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
102
100
  });
103
101
 
@@ -85,7 +85,7 @@ describe('Create item page - grid fill: All or nothing with alternative answers'
85
85
  cy.checkAccessibility(gridFillPage.previewTabQuestionWrapper());
86
86
  });
87
87
 
88
- it('When the user attempts the question with alternative accordion response, then the user should be awarded with points specified for alternative accordion (less than full points) and on switching to \'Grading\' view, correct icons should be displayed in responses from alternative accordion in response grid, correct icon should be displayed in responses from correct answer accordion in correct answer section and a status message with text \'Your answer is correct\' should be displayed', () => {
88
+ it('When the user attempts the question with alternative accordion response, then the user should be awarded with points specified for alternative accordion (less than full points) and on switching to \'Grading\' view, correct icons should be displayed in responses from alternative accordion in response grid, correct answer section should not be displayed and a status message with text \'Your answer is correct\' should be displayed', () => {
89
89
  gridFillPage.steps.resetQuestionPreview();
90
90
  gridFillPage.steps.selectCellPreviewTab(0, 2);
91
91
  gridFillPage.steps.selectCellPreviewTab(0, 3);
@@ -95,10 +95,8 @@ describe('Create item page - grid fill: All or nothing with alternative answers'
95
95
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
96
96
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 4);
97
97
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 2);
98
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
99
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
100
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
101
98
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
99
+ gridFillPage.steps.verifyCorrectAnswerSectionNotExists();
102
100
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
103
101
  /*cy.log('When the user has attempted the question with alternative accordion response and clicks on \'Check answer\' button, then correct icon should be displayed in responses from alternative accordion, a status message with text \'Your answer is correct\' and correct answer section should not be displayed')
104
102
  gridFillPage.steps.checkAnswer();
@@ -131,9 +129,11 @@ describe('Create item page - grid fill: All or nothing with alternative answers'
131
129
  it('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 response from alternative accordion in response grid and correct icon should be displayed in responses from correct answer accordion in correct answer section, a status message with text \'Your answer is incorrect\' should be displayed', () => {
132
130
  gridFillPage.steps.resetQuestionPreview();
133
131
  gridFillPage.steps.selectCellPreviewTab(0, 3);
132
+ gridFillPage.steps.selectCellPreviewTab(0, 4);
134
133
  gridFillPage.steps.verifyPreviewScore(0, 20);
135
134
  gridFillPage.steps.switchToGradingView();
136
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
135
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 3);
136
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 4);
137
137
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 0);
138
138
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 1);
139
139
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 2);
@@ -141,7 +141,8 @@ describe('Create item page - grid fill: All or nothing with alternative answers'
141
141
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
142
142
  /*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 partially selected response from alternative accordion, a status message with text \'Your answer is incorrect\' should be displayed');
143
143
  gridFillPage.steps.checkAnswer();
144
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
144
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 3);
145
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 4);
145
146
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
146
147
  });
147
148
 
@@ -38,10 +38,10 @@ describe('Create item page - Grid fill : Partial equal weights with alternate',
38
38
  gridFillPage.steps.selectCellPreviewTab(2, 2);
39
39
  gridFillPage.steps.selectCellPreviewTab(1, 3);
40
40
  gridFillPage.steps.selectCellPreviewTab(1, 2);
41
- gridFillPage.steps.verifyPreviewScore(15, 30);
41
+ gridFillPage.steps.verifyPreviewScore(30, 30);
42
42
  gridFillPage.steps.switchToGradingView();
43
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
44
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
43
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(1, 1);
44
+ gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 0);
45
45
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(2, 2);
46
46
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
47
47
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 2);
@@ -66,7 +66,7 @@ describe('Create item page - Grid fill : Partial equal weights with alternate',
66
66
  gridFillPage.steps.selectCellPreviewTab(1, 1);
67
67
  gridFillPage.steps.selectCellPreviewTab(1, 3);
68
68
  gridFillPage.steps.selectCellPreviewTab(0, 1);
69
- gridFillPage.steps.verifyPreviewScore(15, 30);
69
+ gridFillPage.steps.verifyPreviewScore(18, 30);
70
70
  gridFillPage.steps.switchToGradingView();
71
71
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 1);
72
72
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 3);
@@ -186,14 +186,12 @@ describe('Create item page - Grid fill : Partial equal weights with alternative
186
186
  gridFillPage.steps.selectCellPreviewTab(0, 4);
187
187
  gridFillPage.steps.verifyPreviewScore(7, 21);
188
188
  gridFillPage.steps.switchToGradingView();
189
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 3);
190
189
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 4);
191
- gridFillPage.steps.verifyCorrectResponseIconPreviewTab(1, 0);
192
190
  gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 0);
193
191
  gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 1);
194
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0,3);
192
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 3);
195
193
  gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(0, 4);
196
- gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(1,1);
194
+ gridFillPage.steps.verifyCorrectResponseIconCorrectAnswerSection(1, 0);
197
195
  gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
198
196
  gridFillPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
199
197
  /*cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, green check-mark icons should be displayed beside the correct responses from the correct accordion, red cross-mark icons should be displayed beside the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
@@ -233,7 +233,7 @@ describe('Create item page - Matching: Partial different weights', () => {
233
233
  matchingPage.steps.verifyIncorrectOptionIcon(1);
234
234
  matchingPage.steps.verifyCorrectOptionIcon(2);
235
235
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
236
- matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
236
+ matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Eagle']]);
237
237
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
238
238
  /*cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, green check-mark icons should be displayed beside the correct responses from the correct accordion, red cross-mark icons should be displayed beside the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
239
239
  matchingPage.steps.checkAnswer();
@@ -213,7 +213,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
213
213
  matchingPage.steps.verifyIncorrectOptionIcon(1);
214
214
  matchingPage.steps.verifyIncorrectOptionIcon(2);
215
215
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
216
- matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
216
+ matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Eagle']]);
217
217
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
218
218
  /*cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, green check-mark icons should be displayed beside the correct responses from the correct accordion, red cross-mark icons should be displayed beside the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
219
219
  matchingPage.steps.checkAnswer();
@@ -160,10 +160,10 @@ describe('Create Item page - matching : Additional settings', () => {
160
160
  matchingPage.steps.verifyDropzoneNumerationNotExistsPreviewTab();
161
161
  });
162
162
 
163
- it('When user clicks on \'Check answer\' button then the numeration should not be displayed in the dropzones', () => {
163
+ /*it('When user clicks on \'Check answer\' button then the numeration should not be displayed in the dropzones', () => {
164
164
  matchingPage.steps.checkAnswer();
165
165
  matchingPage.steps.verifyDropzoneNumerationNotExistsPreviewTab();
166
- });
166
+ });*/
167
167
 
168
168
  it(`When the user switches to the "Grading view", then the "${option}" numeration should be displayed in the dropzones as well as correct answer options in the correct answer section`, () => {
169
169
  matchingPage.steps.switchToGradingView();
@@ -203,13 +203,13 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
203
203
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
204
204
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionForMultipleOptions([['Petals', 'Leaves'], ['Roots'], ['Stem', 'Seeds']]);
205
205
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
206
- cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the incorrect answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
206
+ /* cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the incorrect answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
207
207
  matchingPage.steps.checkAnswer();
208
208
  matchingPage.steps.verifyIncorrectOptionIcon(0);
209
209
  matchingPage.steps.verifyIncorrectOptionIcon(1);
210
210
  matchingPage.steps.verifyIncorrectOptionIcon(2);
211
211
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
212
- matchingPage.steps.verifyCorrectAnswerSectionNotExists();
212
+ matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
213
213
  });
214
214
 
215
215
  it('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
@@ -224,14 +224,14 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
224
224
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
225
225
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionForMultipleOptions([['Petals', 'Leaves'], ['Roots'], ['Stem', 'Seeds']]);
226
226
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
227
- cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the incorrect answer responses and correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
227
+ /* cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the incorrect answer responses and correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
228
228
  matchingPage.steps.checkAnswer();
229
229
  matchingPage.steps.verifyCorrectOptionIcon(0, 0);
230
230
  matchingPage.steps.verifyCorrectOptionIcon(0, 1);
231
231
  matchingPage.steps.verifyIncorrectOptionIcon(1, 0);
232
232
  matchingPage.steps.verifyCorrectOptionIcon(2, 0);
233
233
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
234
- matchingPage.steps.verifyCorrectAnswerSectionNotExists();
234
+ matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
235
235
  });
236
236
 
237
237
  it('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
@@ -246,14 +246,14 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
246
246
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
247
247
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionForMultipleOptions([['Petals', 'Leaves'], ['Roots'], ['Stem', 'Seeds']]);
248
248
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
249
- cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
249
+ /* cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
250
250
  matchingPage.steps.checkAnswer();
251
251
  matchingPage.steps.verifyCorrectOptionIcon(0, 0);
252
252
  matchingPage.steps.verifyCorrectOptionIcon(0, 1);
253
253
  matchingPage.steps.verifyCorrectOptionIcon(1, 0);
254
254
  matchingPage.steps.verifyCorrectOptionIcon(2, 0);
255
255
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
256
- matchingPage.steps.verifyCorrectAnswerSectionNotExists();
256
+ matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
257
257
  });
258
258
 
259
259
  it('When the user attempts the question partially correct with all the dropzone correctly attempted but with an extra option which is not set as correct answer, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section should be displayed along with numeration', () => {
@@ -270,7 +270,7 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
270
270
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
271
271
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionForMultipleOptions([['Petals', 'Leaves'], ['Roots'], ['Stem', 'Seeds']]);
272
272
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
273
- cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but with an extra option which is not set as correct answer and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses and incorrect icon should be displayed besides the incorrect answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
273
+ /* cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but with an extra option which is not set as correct answer and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses and incorrect icon should be displayed besides the incorrect answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
274
274
  matchingPage.steps.checkAnswer();
275
275
  matchingPage.steps.verifyCorrectOptionIcon(0, 0);
276
276
  matchingPage.steps.verifyCorrectOptionIcon(0, 1);
@@ -279,7 +279,7 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
279
279
  matchingPage.steps.verifyCorrectOptionIcon(2, 0);
280
280
  matchingPage.steps.verifyCorrectOptionIcon(2, 1);
281
281
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
282
- matchingPage.steps.verifyCorrectAnswerSectionNotExists();
282
+ matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
283
283
  });
284
284
 
285
285
  it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
@@ -295,7 +295,7 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
295
295
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
296
296
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();
297
297
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
298
- cy.log('When the user attempts the question correctly and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed')
298
+ /* cy.log('When the user attempts the question correctly and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed')
299
299
  matchingPage.steps.checkAnswer();
300
300
  matchingPage.steps.verifyCorrectOptionIcon(0, 0);
301
301
  matchingPage.steps.verifyCorrectOptionIcon(0, 1);
@@ -303,7 +303,7 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
303
303
  matchingPage.steps.verifyCorrectOptionIcon(2, 0);
304
304
  matchingPage.steps.verifyCorrectOptionIcon(2, 1);
305
305
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
306
- matchingPage.steps.verifyCorrectAnswerSectionNotExists();
306
+ matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
307
307
  });
308
308
  });
309
309
  });
@@ -328,7 +328,7 @@ describe('Create Item page - Multiple selection: Student view settings', () => {
328
328
  utilities.verifyInnerText(utilities.getNthElement(multipleSelectionPage.minimumNumberOfAnswersDropdownOptions(), index), `${index}`);
329
329
  }
330
330
  multipleSelectionPage.steps.selectOptionFromMinimumNumberOfAnswersDropdown('None');
331
- utilities.hoverAwayFromElement();
331
+ multipleSelectionPage.steps.verifyDropdownIsCollapsed();
332
332
  multipleSelectionPage.steps.expandMaximumNumberOfAnswersDropdown();
333
333
  utilities.verifyInnerText(utilities.getNthElement(multipleSelectionPage.maximumNumberOfAnswersDropdownOptions(), 0), 'None');
334
334
  for (let index = 1; index < options.length + 1; index++) {
@@ -375,7 +375,8 @@ describe('Create Item page - Multiple selection: Student view settings', () => {
375
375
  multipleSelectionPage.steps.addOption();
376
376
  multipleSelectionPage.steps.expandMinimumNumberOfAnswersDropdown();
377
377
  utilities.verifyElementCount(multipleSelectionPage.minimumNumberOfAnswersDropdownOptions(), 6);
378
- multipleSelectionPage.steps.selectOptionFromMinimumNumberOfAnswersDropdown('None')
378
+ multipleSelectionPage.steps.selectOptionFromMinimumNumberOfAnswersDropdown('None');
379
+ multipleSelectionPage.steps.verifyDropdownIsCollapsed();
379
380
  multipleSelectionPage.steps.expandMaximumNumberOfAnswersDropdown();
380
381
  utilities.verifyElementCount(multipleSelectionPage.maximumNumberOfAnswersDropdownOptions(), 6);
381
382
  });
@@ -21,7 +21,7 @@ describe('Create item page - Multiple selection grid: Partial different weights
21
21
  multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 2 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 2 }]);
22
22
  multipleSelectionGridPage.steps.allotPartialDifferentWeightsPoints({ 0: 3, 1: 9, 2: 2, 3: 6 });
23
23
  multipleSelectionGridPage.steps.verifyPointsLabelAndPointsOnAnswerAccordion(1, '20');
24
- multipleSelectionGridPage.steps.checkAllowStudentToCheckAnswerCheckbox();
24
+ //multipleSelectionGridPage.steps.checkAllowStudentToCheckAnswerCheckbox();
25
25
  multipleSelectionGridPage.steps.switchToPreviewTab();
26
26
  });
27
27
 
@@ -21,7 +21,7 @@ describe('Create item page - Multiple selection grid: Partial equal weights with
21
21
  multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 2 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 2 }]);
22
22
  multipleSelectionGridPage.steps.allotPoints(10);
23
23
  multipleSelectionGridPage.steps.verifyPointsLabelAndPointsOnAnswerAccordion(1, '10');
24
- multipleSelectionGridPage.steps.checkAllowStudentToCheckAnswerCheckbox();
24
+ // multipleSelectionGridPage.steps.checkAllowStudentToCheckAnswerCheckbox();
25
25
  multipleSelectionGridPage.steps.switchToPreviewTab();
26
26
  });
27
27
 
@@ -159,7 +159,7 @@ describe('Create item page - Multiple selection grid: Question instructions, Spe
159
159
  });
160
160
 
161
161
  it('When user has navigated to the rightmost column of the table, then the right pagination button should be disabled', () => {
162
- for (let index = 0; index < 4; index++) {
162
+ for (let index = 0; index < 3; index++) {
163
163
  multipleSelectionGridPage.steps.clickOnRightPaginationButtonEditCellPropertyTable();
164
164
  }
165
165
  utilities.verifyElementDisabled(multipleSelectionGridPage.editCellPropertyTableRightPaginationButton());
@@ -173,7 +173,7 @@ describe('Create item page - Multiple selection grid: Question instructions, Spe
173
173
  });
174
174
 
175
175
  it('When user has navigated towards the left using the left pagination button, then the right pagination button should be enabled again', () => {
176
- for (let index = 10; index < 15; index++) {
176
+ for (let index = 10; index < 16; index++) {
177
177
  multipleSelectionGridPage.steps.clickOnLeftPaginationButtonEditCellPropertyTable();
178
178
  }
179
179
  utilities.verifyElementDisabled(multipleSelectionGridPage.editCellPropertyTableLeftPaginationButton());
@@ -202,6 +202,8 @@ describe('Create Item page - Short text response - drag and drop: Additional set
202
202
  shortTextResponsePage.steps.addTextInQuestionInstructionsInputField('question instruction');
203
203
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Correct answer');
204
204
  shortTextResponsePage.steps.allotPoints(10);
205
+ shortTextResponsePage.steps.checkAlwaysShowMinimumLimitCheckbox();
206
+ shortTextResponsePage.steps.checkDisplayCharacterCountCheckbox();
205
207
  shortTextResponsePage.steps.expandAdditionalSettings();
206
208
  });
207
209
 
@@ -226,6 +228,9 @@ describe('Create Item page - Short text response - drag and drop: Additional set
226
228
  utilities.verifyCSS(shortTextResponsePage.previewTabCorrectAnswerResponse(), {
227
229
  'font-size': fontSizes[option]
228
230
  });
231
+ utilities.verifyCSS(shortTextResponsePage.characterWordCountLabelPreviewTab(), {
232
+ 'font-size': fontSizes[option]
233
+ });
229
234
  shortTextResponsePage.steps.switchToStudentView();
230
235
  shortTextResponsePage.steps.switchToEditTab();
231
236
  });
@@ -49,7 +49,7 @@ describe('Create item page - Short text response - text: Header section and savi
49
49
 
50
50
  it('Validation error messages should be displayed below required input fields', () => {
51
51
  shortTextResponsePage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
52
- utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Please set a correct answer.');
52
+ utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Answer is required.');
53
53
  shortTextResponsePage.steps.verifyPointsFieldErrorMessageIsNotDisplayed();
54
54
  shortTextResponsePage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
55
55
  });
@@ -141,7 +141,7 @@ describe('Create Item page - Short text response : Student view settings', () =>
141
141
  it('When \'Display character count\' checkbox is unchecked, then \'Character\' label and count should not be displayed in preview tab', () => {
142
142
  shortTextResponsePage.steps.verifyDisplayCharacterCountCheckboxUnchecked();
143
143
  shortTextResponsePage.steps.switchToPreviewTab();
144
- utilities.verifyElementVisibilityState(shortTextResponsePage.characterWordCountLabelPreviewTab(), 'hidden');
144
+ utilities.verifyElementVisibilityState(shortTextResponsePage.characterWordCountLabelPreviewTab(), 'notExist');
145
145
  });
146
146
 
147
147
  it('When \'Display character count\' checkbox is checked, then on switching to preview tab \'Character\' label and count should be displayed and count should be zero by default', () => {
@@ -48,75 +48,56 @@ describe('Create item page - Text entry math: Question instructions, Add structu
48
48
  utilities.verifyElementVisibilityState(textEntryMathPage.questionInputField(), 'visible');
49
49
  });
50
50
 
51
- it('When user adds response tokens to the question input field, then the response tokens should be displayed with a numeric count along with a close button in the question input field', () => {
51
+ it('When the user has not focused inside the question input field, the \'add text container\' button should be in disabled state', () => {
52
+ textEntryMathPage.steps.verifyResponseAreaButtonDisabled();
53
+ });
54
+
55
+ it('When the user focuses in the question input field, the \'+add text container\' button should get enabled, and when the user clicks on the \'+add text container\' button, a response area in the question input field, a dropzone along with \'Dropzone #\' label in the \'Specify correct answer\' section, a new \'aria label for dropzones\' input field in the additional settings should get added', () => {
56
+ textEntryMathPage.steps.focusInQuestionInputField();
57
+ textEntryMathPage.steps.verifyResponseAreaButtonEnabled();
52
58
  textEntryMathPage.steps.addResponseArea();
53
59
  textEntryMathPage.steps.addResponseArea();
54
60
  textEntryMathPage.steps.verifyResponseAreaContents(0);
55
61
  textEntryMathPage.steps.verifyResponseAreaContents(1);
56
62
  });
57
63
 
58
- it('The user should be able to edit text in the question input field', () => {
59
- textEntryMathPage.steps.addInputToQuestionInputField('Lorem Ipsum');
60
- utilities.verifyInnerText(textEntryMathPage.questionInputField(), '1\nclose\n2\nclose\n​​​​​​​Lorem Ipsum\n');
61
- });
62
-
63
- it('When the user focuses in the question input field, the CKEditor toolbar should be displayed with a \'+Response\' button and when the user clicks on \'+Response\' button, then a response token should be added in the question input field', () => {
64
- textEntryMathPage.steps.focusInQuestionInputField();
65
- utilities.verifyElementVisibilityState(textEntryMathPage.responseToken(), 'visible');
66
- textEntryMathPage.steps.addResponseArea();
64
+ it('When user adds response tokens to the question input field, then the response tokens should be displayed with a numeric count along with a close button in the question input field', () => {
65
+ textEntryMathPage.steps.clickOnAddResponseAreaButton();
67
66
  utilities.verifyElementCount(textEntryMathPage.responseArea(), 3);
68
67
  textEntryMathPage.steps.verifyResponseAreaContents(2);
68
+ utilities.verifyElementCount(textEntryMathPage.responseAccordion(), 3);
69
69
  });
70
70
 
71
- it('When the user clicks on the \'close\' button present on a response token, then the response token in the question input field should get removed and the numeration of the remaining response tokens present in the question input field should get updated accordingly', () => {
71
+ it('The user should be able to edit text in the question input field', () => {
72
+ textEntryMathPage.steps.addInputToQuestionInputField('Lorem Ipsum');
73
+ utilities.verifyInnerText(textEntryMathPage.questionInputField(), '1\nclose\n2\nclose\n3\nclose\n​​​​​​​Lorem Ipsum\n');
74
+ });
75
+
76
+ it('When the user clicks on the \'close\' button present on a response area, the response area in the question input field should get removed and the count of the response areas present in the question input field should get updated accordingly, response field along with \'Response #\' label in the \'specify correct answer\' section, \'Response #\' accordion in the additional settings accordion and the respective response field in the \'Preview tab\' should also get removed', () => {
77
+ cy.log('Switching to edit tab')
78
+ textEntryMathPage.steps.switchToEditTab();
72
79
  textEntryMathPage.steps.deleteAResponseArea(1);
80
+ cy.log('Checking if 3rd response area gets removed from the question input field and the numeric counts get updated')
73
81
  utilities.verifyElementCount(textEntryMathPage.responseArea(), 2);
74
- textEntryMathPage.steps.verifyResponseAreaContents(0);
75
- textEntryMathPage.steps.verifyResponseAreaContents(1);
82
+ for (let index = 0; index < 2; index++) {
83
+ textEntryMathPage.steps.verifyResponseAreaContents(index)
84
+ };
85
+ utilities.verifyElementCount(textEntryMathPage.responseAccordion(), 2);
76
86
  });
77
87
 
78
- it('When the user removes all response tokens from the question input field, an error message \'Error: Minimum one response token is required.\' should be displayed', () => {
79
- textEntryMathPage.steps.deleteAResponseArea(1);
88
+ it('When the user removes all response areas from the question input field, an error message \'Error: Minimum one response token is required.\' should be displayed', () => {
89
+ cy.log('Switching to edit tab')
90
+ textEntryMathPage.steps.switchToEditTab();
91
+ textEntryMathPage.steps.deleteAResponseArea(0);
80
92
  textEntryMathPage.steps.deleteAResponseArea(0);
81
- utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Minimum one response token is required.');
93
+ utilities.verifyInnerText(textEntryMathPage.errorMessage(), 'Error: Minimum one response token is required.')
82
94
  });
83
95
 
84
- commonComponents.tests.verifyErrorMessageCSSAndA11y();
96
+ textEntryMathPage.tests.verifyErrorMessageCSSAndA11y();
85
97
 
86
- textEntryMathPage.tests.verifyQuestionInputFieldPlaceholderText();
98
+ textEntryMathPage.tests.addResponseAreaAndVerifyMinimumOneAreaRequiredErrorMessageNotExist();
87
99
 
88
- it('When the user adds a response area in the question field, then the error message should disappear', () => {
89
- textEntryMathPage.steps.addResponseArea();
90
- utilities.verifyElementCount(textEntryMathPage.responseArea(), 1);
91
- commonComponents.steps.verifyErrorMessageIsNotDisplayed();
92
- });
93
-
94
- it('CSS of question input field', { tags: 'css' }, () => {
95
- utilities.verifyCSS(textEntryMathPage.questionLabel(), {
96
- 'color': css.color.sectionHeading,
97
- 'font-size': css.fontSize.normal,
98
- 'font-weight': css.fontWeight.semibold
99
- });
100
- utilities.verifyCSS(textEntryMathPage.questionInputField(), {
101
- 'color': css.color.text,
102
- 'font-size': css.fontSize.default,
103
- 'font-weight': css.fontWeight.regular
104
- });
105
- utilities.verifyCSS(textEntryMathPage.responseAreaNumeration(), {
106
- 'color': css.color.text,
107
- 'font-size': css.fontSize.default,
108
- 'font-weight': css.fontWeight.regular
109
- });
110
- utilities.verifyCSS(textEntryMathPage.responseTokenResponseLabel(), {
111
- 'color': css.color.text,
112
- 'font-size': css.fontSize.default,
113
- 'font-weight': css.fontWeight.regular
114
- });
115
- });
116
-
117
- it('Accessibility of question input field', { tags: 'a11y' }, () => {
118
- cy.checkAccessibility(textEntryMathPage.questionInputField());
119
- });
100
+ textEntryMathPage.tests.verifyQuestionInputFieldPlaceholderText();
120
101
  });
121
102
 
122
103
  describe('Question input field - Add and delete response tokens - Specify correct answer section', () => {
@@ -8,7 +8,6 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
8
8
  cy.loginAs('admin');
9
9
  });
10
10
 
11
- //Failing due to https://redmine.zeuslearning.com/issues/562013
12
11
  describe('Evaluation methods: Match exact', () => {
13
12
  abortEarlySetup();
14
13
  before(() => {
@@ -175,7 +174,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
175
174
  it('When the user enters a factored equation in \'Specify correct answer\' response field and then the user enters the same equation in expanded form then it should be treated as incorrect', () => {
176
175
  textEntryMathPage.steps.resetQuestionPreview();
177
176
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
178
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'dotMultiplier'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
177
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six'] }, , { categoryName: 'intermediate', symbolName: ['dotMultiplier'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
179
178
  equationEditorFlyout.steps.clickOnOkButton();
180
179
  textEntryMathPage.steps.switchToGradingView();
181
180
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -183,7 +183,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
183
183
  it('When the user enters a equation using pi in \'Specify correct answer\' response field and then the user enters the same equation then it should be treated as incorrect', () => {
184
184
  textEntryMathPage.steps.resetQuestionPreview();
185
185
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
186
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'dotMultiplier'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
186
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six'] }, { categoryName: 'intermediate', symbolName: ['dotMultiplier'] }, { categoryName: 'greek', symbolName: ['pi'] }]);
187
187
  equationEditorFlyout.steps.clickOnOkButton();
188
188
  textEntryMathPage.steps.switchToGradingView();
189
189
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -711,7 +711,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
711
711
  textEntryMathPage.steps.resetQuestionPreview();
712
712
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
713
713
  equationEditorFlyout.steps.enterTextInPreviewInputField('-3i');
714
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier', 'two'] }]);
714
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier', 'two'] }]);
715
715
  equationEditorFlyout.steps.clickOnOkButton();
716
716
  textEntryMathPage.steps.switchToGradingView();
717
717
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
@@ -169,7 +169,8 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
169
169
  utilities.verifyInnerText(textEntryMathPage.responseAccordionAddAlternateButton(), 'Add alternate');
170
170
  });
171
171
 
172
- it('When single answer input field is present in blank state and user clicks on \'Add alternate\' button, then error message \'Error: Answer is required.\' should be displayed and new answer field should not be added', () => {
172
+ //Adding skip as this issue is postponed https://redmine.zeuslearning.com/issues/567075
173
+ it.skip('When single answer input field is present in blank state and user clicks on \'Add alternate\' button, then error message \'Error: Answer is required.\' should be displayed and new answer field should not be added', () => {
173
174
  textEntryMathPage.steps.addAlternateAnswerInResponseAccordion(0);
174
175
  utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Answer is required.');
175
176
  utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible');
@@ -174,8 +174,8 @@ describe('Create item page - Text entry math: Question instructions, Options sec
174
174
  });
175
175
 
176
176
  it(`When the user chooses ${textContainerPointerStyles[5]}, then selected text containers should have the specified effect applied, and the other drop zones should remain unaffected.`, () => {
177
- textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[5]);
178
- textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[5], 1);
177
+ textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[8]);
178
+ textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[8], 1);
179
179
  textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[0], 0);
180
180
  });
181
181
  });
@@ -242,6 +242,7 @@ describe('Create item page - Text entry math: Question instructions, Options sec
242
242
  });
243
243
 
244
244
  it('When the user modifies the selected color in the color popup and clicks on \'Cancel\' button, then the popup should close, the color block should not change and the modifications in the color popup should not persist', () => {
245
+ textEntryMathWithImagePage.steps.insertTextArea(80, 'Inserted text');
245
246
  textEntryMathWithImagePage.steps.clickOnTextColorButton();
246
247
  textEntryMathWithImagePage.steps.clickOnEditColorButton()
247
248
  textEntryMathWithImagePage.steps.addInputToHexInputField('#00002E');
@@ -318,9 +319,9 @@ describe('Create item page - Text entry math: Question instructions, Options sec
318
319
  it('When user selects a text container and changes text container pointer style in edit tab, then changes in text container pointer should be reflected in preview tab', () => {
319
320
  textEntryMathWithImagePage.steps.switchToEditTab();
320
321
  textEntryMathWithImagePage.steps.selectResponseArea(0);
321
- textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[7]);
322
+ textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[8]);
322
323
  textEntryMathWithImagePage.steps.switchToPreviewTab();
323
- textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[7], 0);
324
+ textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[8], 0);
324
325
  textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[0], 1);
325
326
  });
326
327
 
@@ -179,7 +179,7 @@ describe('Create question page - Upload Response: Preview', () => {
179
179
  uploadResponsePage.steps.clickOnEditDisplayTextIcon(0);
180
180
  utilities.verifyElementVisibilityState(uploadResponsePage.dialogBox(), 'visible');
181
181
  utilities.verifyInnerText(uploadResponsePage.dialogBoxTitle(), 'Display text');
182
- uploadResponsePage.steps.verifyEditDisplayTextPopupInputFieldAndSelectedText();
182
+ uploadResponsePage.steps.verifyEditDisplayTextPopupInputField();
183
183
  utilities.verifyInnerText(uploadResponsePage.acceptButton(), 'Save');
184
184
  utilities.verifyElementVisibilityState(uploadResponsePage.acceptButton(), 'visible');
185
185
  utilities.verifyInnerText(uploadResponsePage.cancelButton(), 'Cancel');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.201",
3
+ "version": "1.0.202",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {