itemengine-cypress-automation 1.0.295-applitools-78e9d04.0 → 1.0.295-applitools-1a2329c.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.
Files changed (44) hide show
  1. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +2 -0
  2. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +3 -3
  3. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +3 -3
  4. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +5 -5
  5. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -5
  6. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +4 -4
  7. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -1
  8. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -5
  9. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
  10. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +2 -2
  11. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -3
  12. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +3 -3
  13. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
  14. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -6
  15. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -4
  16. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -4
  17. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +4 -4
  18. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
  19. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +3 -3
  20. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +4 -4
  21. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +3 -3
  22. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  23. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +3 -3
  24. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  25. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  26. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
  27. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -5
  28. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  29. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  30. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
  31. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
  32. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
  33. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +2 -2
  34. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
  35. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +2 -2
  36. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +4 -4
  37. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +4 -4
  38. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -5
  39. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +3 -3
  40. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +5 -5
  41. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +7 -7
  42. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +4 -4
  43. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
  44. package/package.json +1 -1
@@ -126,7 +126,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
126
126
  });
127
127
  };
128
128
 
129
- it(`TEM ${view}: When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
129
+ it(`When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
130
130
  if (view === 'Grading view') {
131
131
  studentViewPage.steps.submitResponse();
132
132
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -147,7 +147,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
147
147
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
148
148
  });
149
149
 
150
- it(`TEM ${view}: 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, and \'Your answer is incorrect\' label should be displayed`, () => {
150
+ 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, and \'Your answer is incorrect\' label should be displayed`, () => {
151
151
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
152
152
  textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, 'Incorrect answer 1');
153
153
  equationEditorFlyout.steps.clickOnOkButton();
@@ -177,7 +177,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
177
177
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
178
178
  });
179
179
 
180
- it(`TEM ${view}: When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
180
+ it(`When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
181
181
  if (view === 'Grading view') {
182
182
  studentViewPage.steps.clearResponses();
183
183
  }
@@ -209,7 +209,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
209
209
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
210
210
  });
211
211
 
212
- it(`TEM ${view}: When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed`, () => {
212
+ it(`When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed`, () => {
213
213
  if (view === 'Grading view') {
214
214
  studentViewPage.steps.clearResponses();
215
215
  }
@@ -96,7 +96,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
96
96
  });
97
97
  };
98
98
 
99
- it(`${view}: Formula template: When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
99
+ it(`When the user selects 'Grading' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
100
100
  if (view === 'Grading view') {
101
101
  studentViewPage.steps.submitResponse();
102
102
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -117,7 +117,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
117
117
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
118
118
  });
119
119
 
120
- it(`${view}: Formula template: 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, and \'Your answer is incorrect\' label should be displayed`, () => {
120
+ 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, and 'Your answer is incorrect' label should be displayed`, () => {
121
121
  textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
122
122
  equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 1');
123
123
  equationEditorFlyout.steps.clickOnOkButton();
@@ -153,7 +153,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
153
153
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
154
154
  });
155
155
 
156
- it(`${view}: Formula template: When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
156
+ it(`When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to 'Grading' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and 'Your answer is incorrect' label should be displayed`, () => {
157
157
  if (view === 'Grading view') {
158
158
  studentViewPage.steps.clearResponses();
159
159
  }
@@ -192,7 +192,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
192
192
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
193
193
  });
194
194
 
195
- it(`${view}: Formula template: When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed`, () => {
195
+ it(`When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to 'Grading' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, 'Your answer is incorrect' should be displayed`, () => {
196
196
  if (view === 'Grading view') {
197
197
  studentViewPage.steps.clearResponses();
198
198
  }
@@ -228,7 +228,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
228
228
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
229
229
  });
230
230
 
231
- it(`${view}: Formula template: 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, and \'Your answer is correct\' should be displayed`, () => {
231
+ 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, and 'Your answer is correct' should be displayed`, () => {
232
232
  if (view === 'Grading view') {
233
233
  studentViewPage.steps.clearResponses();
234
234
  }
@@ -90,7 +90,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
90
90
  utilities.verifyElementCount(textEntryMathPage.responseFieldPreviewTab(), '2');
91
91
  });
92
92
 
93
- it(`TEM User should able to enter answers in the response fields for ${view}`, () => {
93
+ it(`User should able to enter answers in the response fields for ${view}`, () => {
94
94
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
95
95
  equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
96
96
  equationEditorFlyout.steps.clickOnOkButton();
@@ -100,14 +100,14 @@ describe('Create item page - Text entry math: Preview contents', () => {
100
100
  textEntryMathPage.steps.verifyResponseAreaContainsTextPreviewTab(1, '2x2y2+4xy+4');
101
101
  });
102
102
  } else if (view === 'Grading view') {
103
- it(`TEM The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
103
+ it(`The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
104
104
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, 'Correct1');
105
105
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
106
106
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
107
107
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
108
108
  });
109
109
  } else {
110
- it(`TEM The response input fields should be displayed filled with correct answers`, () => {
110
+ it(`The response input fields should be displayed filled with correct answers`, () => {
111
111
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, 'Correct1');
112
112
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
113
113
  });
@@ -120,7 +120,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
120
120
  });
121
121
  };
122
122
 
123
- it(`TEM Image ${view} - When the user selects 'Grading' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
123
+ it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed', () => {
124
124
  if (view === 'Grading view') {
125
125
  studentViewPage.steps.submitResponse();
126
126
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -141,7 +141,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
141
141
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
142
142
  });
143
143
 
144
- it(`TEM Image ${view} - 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, and 'Your answer is incorrect' label should be displayed`, () => {
144
+ 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, and \'Your answer is incorrect\' label should be displayed', () => {
145
145
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
146
146
  textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '13');
147
147
  equationEditorFlyout.steps.clickOnOkButton();
@@ -171,7 +171,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
171
171
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
172
172
  });
173
173
 
174
- it(`TEM Image ${view} - When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to 'Grading' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and 'Your answer is incorrect' label should be displayed`, () => {
174
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
175
175
  if (view === 'Grading view') {
176
176
  studentViewPage.steps.clearResponses();
177
177
  }
@@ -203,7 +203,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
203
203
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
204
204
  });
205
205
 
206
- it(`TEM Image ${view} - When the user attempts the question partially correct with an incomplete response, then the user should be awarded 0 points and on switching to 'Grading' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, 'Your answer is incorrect' should be displayed`, () => {
206
+ it('When the user attempts the question partially correct with an incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed', () => {
207
207
  if (view === 'Grading view') {
208
208
  studentViewPage.steps.clearResponses();
209
209
  }
@@ -232,7 +232,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
232
232
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
233
233
  });
234
234
 
235
- it(`TEM Image ${view} - 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, and 'Your answer is correct' should be displayed`, () => {
235
+ 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, and \'Your answer is correct\' should be displayed', () => {
236
236
  if (view === 'Grading view') {
237
237
  studentViewPage.steps.clearResponses();
238
238
  }
@@ -250,7 +250,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
250
250
  textSelectionPage.steps.switchToPreviewTab();
251
251
  });
252
252
 
253
- it('Text selection: When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
253
+ it('When the user selects "Grading" view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
254
254
  textSelectionPage.steps.verifyPreviewScore(0, 20);
255
255
  textSelectionPage.steps.switchToGradingView();
256
256
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[0]);
@@ -260,7 +260,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
260
260
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
261
261
  });
262
262
 
263
- it('Text selection: 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, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
263
+ 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, a status message with text "Your answer is incorrect" and correct answer section with all correct answers should be displayed', () => {
264
264
  textSelectionPage.steps.resetQuestionPreview();
265
265
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
266
266
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[3]);
@@ -274,7 +274,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
274
274
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(sentenceTextArray[0]);
275
275
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(sentenceTextArray[1]);
276
276
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
277
- /*cy.log('When user clicks on Check answer button after attempting the question incorrectly, then incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
277
+ /*cy.log('When user clicks on Check answer button after attempting the question incorrectly, then incorrect icons should be displayed besides all incorrect responses, a status message with text "Your answer is incorrect" should be displayed and correct answer section should not be displayed')
278
278
  textSelectionPage.steps.checkAnswer();
279
279
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[0]);
280
280
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[1]);
@@ -284,7 +284,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
284
284
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
285
285
  });
286
286
 
287
- it('Text selection: When the user attempts the question partially correct with some correct and 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 response, incorrect icon should be displayed besides the incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
287
+ it('When the user attempts the question partially correct with some correct and 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 response, incorrect icon should be displayed besides the incorrect answer response, a status message with text "Your answer is incorrect" and correct answer section with all correct answers should be displayed', () => {
288
288
  textSelectionPage.steps.resetQuestionPreview();
289
289
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
290
290
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
@@ -298,7 +298,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
298
298
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(sentenceTextArray[0]);
299
299
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(sentenceTextArray[1]);
300
300
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
301
- /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct and some incorrect options, 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\' should be displayed and correct answer section should not be displayed')
301
+ /*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct and some incorrect options, 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" should be displayed and correct answer section should not be displayed')
302
302
  textSelectionPage.steps.checkAnswer();
303
303
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[0]);
304
304
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[1]);
@@ -308,7 +308,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
308
308
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
309
309
  });
310
310
 
311
- it('Text selection: When the user attempts the question correctly then the user should be awarded full points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
311
+ it('When the user attempts the question correctly then the user should be awarded full points and on switching to "Grading" view, correct icon should be displayed besides the correct answer responses, a status message with text "Your answer is correct" should be displayed and correct answer section should not be displayed', () => {
312
312
  textSelectionPage.steps.resetQuestionPreview();
313
313
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
314
314
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[1]);
@@ -321,7 +321,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
321
321
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
322
322
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();
323
323
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
324
- /*cy.log('When user clicks on Check answer button after he attempts the question correctly, then correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed')
324
+ /*cy.log('When user clicks on Check answer button after he attempts the question correctly, then correct icon should be displayed besides the correct answer responses, a status message with text "Your answer is correct" should be displayed and correct answer section should not be displayed')
325
325
  textSelectionPage.steps.checkAnswer();
326
326
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[0]);
327
327
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[1]);
@@ -121,7 +121,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
121
121
  });
122
122
  };
123
123
 
124
- it(`Text selection - ${view} - When the user selects 'Grading' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers`, () => {
124
+ it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
125
125
  if (view === 'Grading view') {
126
126
  studentViewPage.steps.submitResponse();
127
127
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -141,7 +141,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
141
141
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
142
142
  });
143
143
 
144
- it(`Text selection - ${view} - 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, a status message with text 'Your answer is incorrect' and correct answer section with all correct answers should be displayed`, () => {
144
+ 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, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
145
145
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
146
146
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
147
147
  if (view === 'Grading view') {
@@ -163,7 +163,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
163
163
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
164
164
  });
165
165
 
166
- it(`Text selection - ${view} - When the user attempts the question partially correct with some correct then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer response, a status message with text 'Your answer is incorrect' and correct answer section with all correct answers should be displayed`, () => {
166
+ it('When the user attempts the question partially correct with some correct then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
167
167
  if (view === 'Grading view') {
168
168
  studentViewPage.steps.clearResponses();
169
169
  };
@@ -187,7 +187,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
187
187
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
188
188
  });
189
189
 
190
- it(`Text selection - ${view} - When the user attempts the question partially correct with some correct and some incorrect answers then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response a status message with text 'Your answer is incorrect' and correct answer section with all correct answers should be displayed`, () => {
190
+ it('When the user attempts the question partially correct with some correct and some incorrect answers then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
191
191
  if (view === 'Grading view') {
192
192
  studentViewPage.steps.clearResponses();
193
193
  };
@@ -60,7 +60,7 @@ describe('Preview tab contents for all views', () => {
60
60
  }
61
61
  });
62
62
 
63
- it(`${view} view - Tool audio player: When the user switches to preview tab, \'Backward\', \'Play\', \'Forward\', \'Volume control\', \'Elapsed time\', \'Progress bar\', \'Total time\', \'Playback speed\' and \'Add pin\' buttons should be displayed`, () => {
63
+ it('When the user switches to preview tab, \'Backward\', \'Play\', \'Forward\', \'Volume control\', \'Elapsed time\', \'Progress bar\', \'Total time\', \'Playback speed\' and \'Add pin\' buttons should be displayed', () => {
64
64
  utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'visible');
65
65
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'visible');
66
66
  utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'visible');
@@ -88,7 +88,7 @@ describe('Preview tab contents for all views', () => {
88
88
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'notExist');
89
89
  });
90
90
 
91
- it(`${view} view - Tool audio player: When audio player is in paused state and user clicks on \'Play\' button, then playback should get resumed and \'Play\' button should get replaced with \'Pause\' button.`, () => {
91
+ it('When audio player is in paused state and user clicks on \'Play\' button, then playback should get resumed and \'Play\' button should get replaced with \'Pause\' button.', () => {
92
92
  audioPlayerPage.steps.startPlayback();
93
93
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'visible');
94
94
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'notExist');
@@ -100,7 +100,7 @@ describe('Preview tab contents for all views', () => {
100
100
  audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
101
101
  });
102
102
 
103
- it(`${view} view - Tool audio player: When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button`, () => {
103
+ it('When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button', () => {
104
104
  audioPlayerPage.steps.verifyAudioPlaybackTimer('00:45', '00:45');
105
105
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'visible');
106
106
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'notExist');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.295-applitools-78e9d04.0",
3
+ "version": "1.0.295-applitools-1a2329c.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {