itemengine-cypress-automation 1.0.280-applitools-0af112e.0 → 1.0.283-applitools-caab082.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +0 -4
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +8 -3
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -3
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +0 -1
  5. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +8 -0
  6. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +0 -6
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +0 -2
  8. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +0 -6
  9. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +0 -2
  10. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +0 -6
  11. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +0 -2
  12. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +2 -6
  13. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +4 -7
  14. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +0 -19
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +1 -5
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -7
  17. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +0 -2
  18. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +4 -6
  19. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +0 -3
  20. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +1 -4
  21. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +0 -2
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +4 -5
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +0 -2
  24. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +5 -7
  25. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +0 -2
  26. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +2 -4
  27. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +0 -3
  28. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +3 -6
  29. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +1 -5
  30. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +0 -12
  31. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +0 -3
  32. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +3 -6
  33. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +0 -2
  34. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +4 -7
  35. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +0 -2
  36. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +0 -2
  37. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +0 -2
  38. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +6 -9
  39. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +0 -2
  40. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +6 -9
  41. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +0 -3
  42. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +5 -9
  43. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +0 -3
  44. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +3 -6
  45. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +0 -2
  46. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +4 -8
  47. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +0 -3
  48. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +2 -6
  49. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +0 -3
  50. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +0 -3
  51. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +0 -3
  52. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +0 -3
  53. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +0 -3
  54. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +0 -3
  55. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +0 -1
  56. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +5 -7
  57. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +0 -1
  58. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +3 -6
  59. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +0 -3
  60. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +3 -6
  61. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -3
  62. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +0 -3
  63. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +2 -4
  64. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +0 -3
  65. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +1 -3
  66. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +0 -2
  67. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -3
  68. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +9 -12
  69. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +0 -2
  70. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +0 -1
  71. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +0 -4
  72. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +0 -2
  73. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +0 -2
  74. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -2
  75. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +0 -2
  76. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +0 -6
  77. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +0 -2
  78. package/cypress/e2e/applitools.config.js +14 -0
  79. package/cypress/support/commands.js +11 -0
  80. package/cypress/support/e2e.js +1 -0
  81. package/package.json +4 -1
@@ -35,7 +35,6 @@ describe('Preview of Audio response for bar audio recorder style', () => {
35
35
  utilities.verifyElementVisibilityState(audioResponsePage.allowMicrophoneAccessHelpText(), 'visible');
36
36
  utilities.verifyInnerText(audioResponsePage.barPreviewRecordTime(), '15:00');
37
37
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewRecordTime(), 'visible');
38
- cy.eyesCheckWindow(`Audio response - Mic icon, \'Allow microphone access\' help text`);
39
38
  });
40
39
 
41
40
  it('CSS of \'Preview\' section', { tags: 'css' }, () => {
@@ -75,7 +74,6 @@ describe('Preview of Audio response for bar audio recorder style', () => {
75
74
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStopRecordingButton(), 'visible');
76
75
  utilities.verifyElementVisibilityState(audioResponsePage.recordingStatusIcon(), 'visible');
77
76
  utilities.verifyInnerText(audioResponsePage.recordingStatusText(), 'Recording...');
78
- cy.eyesCheckWindow(`Audio response - Verify countdown, help text updates, recording starts with beep, and correct duration. Display Pause, Stop buttons.`);
79
77
  });
80
78
 
81
79
  it('CSS of \'Preview\' section once recording starts', { tags: 'css' }, () => {
@@ -187,7 +185,6 @@ describe('Preview of Audio response for bar audio recorder style', () => {
187
185
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPauseRecordingButton(), 'visible');
188
186
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStopRecordingButton(), 'visible');
189
187
  audioResponsePage.steps.verifyRecordingLengthAfterResumingBarPreview();
190
- cy.eyesCheckWindow(`Audio response - Verify recording resumes, help text updates, progress bar shows time, and correct duration. Display Pause, Stop icons`);
191
188
  });
192
189
 
193
190
  it('When the user hovers on \'Stop recording\' button, \'Stop recording\' text should be displayed in tooltip', () => {
@@ -235,7 +232,6 @@ describe('Preview of Audio response for bar audio recorder style', () => {
235
232
  utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPlaybackTime(), 'visible');
236
233
  utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
237
234
  audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:00', '00:04');
238
- cy.eyesCheckWindow(`Audio response - Verify recording stops, audio saves, progress bar, Play button, and correct duration display`);
239
235
  });
240
236
 
241
237
  it(`Audio response -When recording is inprogress and user has reached maximum recorder length, Retake and Play icon should be displayed along with progress bar. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs)\'.`, () => {
@@ -10,6 +10,14 @@ describe('Preview of Audio response for compact audio recorder style', () => {
10
10
  cy.loginAs('admin');
11
11
  });
12
12
 
13
+ beforeEach(() => {
14
+ cy.startApplitools();
15
+ });
16
+
17
+ afterEach(() => {
18
+ cy.eyesClose();
19
+ });
20
+
13
21
  describe('Preview of Compact audio recorder style', { tags: 'smoke' }, () => {
14
22
  abortEarlySetup();
15
23
  before(() => {
@@ -24,7 +32,6 @@ describe('Preview of Audio response for compact audio recorder style', () => {
24
32
  utilities.verifyInnerText(audioResponsePage.compactPreviewRecordButton(), 'Record');
25
33
  utilities.verifyInnerText(audioResponsePage.compactPreviewRecordingHelpText(), 'Click the button to start recording...');
26
34
  utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewRecordingHelpText(), 'visible');
27
- cy.eyesCheckWindow(`Audio response - Default state of compact recorder style`);
28
35
  });
29
36
 
30
37
  it('CSS of Preview section', { tags: 'css' }, () => {
@@ -148,7 +155,6 @@ describe('Preview of Audio response for compact audio recorder style', () => {
148
155
  utilities.verifyInnerText(audioResponsePage.compactPreviewRecordingStatusText(), 'Recording...')
149
156
  audioResponsePage.steps.addWaitToRecordAudio(1000);
150
157
  audioResponsePage.steps.verifyRecordingLengthAfterResumingCompactPreview();
151
- cy.eyesCheckWindow(`Audio response - Verify recording resumes, help text updates, volume meter detects sound, and buttons update to Pause. Display Stop button.`);
152
158
  });
153
159
 
154
160
  it('When the recording is inprogress and user clicks on \'Stop\' button, recording should stop and \'Your response has been recorded\' help text message should be displayed in preview. Recorded audio wave form, progress bar, volume control, playback speed buttons should be displayed. Playback time of the recorded audio should be displayed as \'(min:secs / min:sec)\'. Stop button should get replaced with Retake button and Play button should be displayed.', () => {
@@ -199,7 +205,6 @@ describe('Preview of Audio response for compact audio recorder style', () => {
199
205
  audioResponsePage.steps.verifyResponseIsRecordedHelpText();
200
206
  utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewRetakeButton(), 'visible');
201
207
  utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPlaybackPlayButton(), 'visible');
202
- cy.eyesCheckWindow(`Audio response - Verify recording stops, 'Your response has been recorded' text shows, Stop button replaced with enabled Playback button, and overlay is hidden.`);
203
208
  });
204
209
 
205
210
  it('When recording is inprogress, recording should stop at maximum recording length and \'Stop\' button should get replaced with Retake button. Playback button should be displayed in enabled state. \Your response has been recorded\' help message should be displayed in preview. Overlay should not be displayed in player', () => {
@@ -52,7 +52,6 @@ describe('Create item page - audio response: Grading view, Correct answer view c
52
52
  it('The response submitted by the student should be visible in the playback player of the grading view.', () => {
53
53
  utilities.verifyElementVisibilityState(audioResponsePage.standardPreviewPlaybackWrapper(), 'visible');
54
54
  audioResponsePage.steps.verifyPlaybackTimeStandardPreview('00:00', '00:10');
55
- cy.eyesCheckWindow(`Audio response - Grading view contents`);
56
55
  });
57
56
 
58
57
  it('When the user clicks on \'Play\' button, then the audio should start playing. Timer should display the amount of audio that has been played and the total audio length in (mm:ss)/(mm:ss) format.', () => {
@@ -67,11 +66,10 @@ describe('Create item page - audio response: Grading view, Correct answer view c
67
66
  audioResponsePage.steps.verifyPlaybackTimeStandardPreview('00:05', '00:10');
68
67
  utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
69
68
  utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'notExist');
70
- cy.eyesCheckWindow(`Audio response : Grading view - Verify progress bar and timer stop, and Pause button is replaced with Play button`);
71
69
  });
72
70
 
73
71
  it('When the user seeks the progress bar slider while the audio is playing, then the audio should continue to play from the position where the slider is seeked', () => {
74
- audioResponsePage.steps.seekProgressBarSliderToCenter();3
72
+ audioResponsePage.steps.seekProgressBarSliderToCenter();
75
73
  audioResponsePage.steps.addWaitToPlayAudio(1000);
76
74
  audioResponsePage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
77
75
  });
@@ -67,7 +67,6 @@ describe('Create item page - Audio response: Preview contents', () => {
67
67
  utilities.verifyElementVisibilityState(audioResponsePage.allowMicrophoneAccessHelpText(), 'visible');
68
68
  utilities.verifyInnerText(audioResponsePage.standardPreviewRecordTime(), '15:00');
69
69
  utilities.verifyElementVisibilityState(audioResponsePage.standardPreviewRecordTime(), 'visible');
70
- cy.eyesCheckWindow(`${view} - Audio response - \'Click the button to start recording...\' help text message, rec button, mic icon, \'Allow microphone access\' help text`);
71
70
  });
72
71
 
73
72
  it('CSS of standard recording interface in Preview tab', { tags: 'css' }, () => {
@@ -11,6 +11,14 @@ describe('Create item page - Brainingcamp manipulative: Preview contents', () =>
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
+ beforeEach(() => {
15
+ cy.startApplitools();
16
+ });
17
+
18
+ afterEach(() => {
19
+ cy.eyesClose();
20
+ });
21
+
14
22
  views.forEach((view) => {
15
23
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
16
24
  abortEarlySetup();
@@ -135,7 +135,6 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
135
135
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
136
136
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
137
137
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
138
- cy.eyesCheckWindow(`${view} - Grading view without attempting`);
139
138
  });
140
139
 
141
140
  //Fully incorrect case
@@ -191,7 +190,6 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
191
190
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
192
191
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
193
192
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
194
- cy.eyesCheckWindow(`${view} - Partially correct case 1`);
195
193
  });
196
194
 
197
195
  it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
@@ -219,7 +217,6 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
219
217
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
220
218
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
221
219
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
222
- cy.eyesCheckWindow(`${view} - Partially correct case 2`);
223
220
  });
224
221
 
225
222
  it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
@@ -247,7 +244,6 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
247
244
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
248
245
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
249
246
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
250
- cy.eyesCheckWindow(`${view} - Partially correct case 3`);
251
247
  });
252
248
 
253
249
  it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
@@ -275,7 +271,6 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
275
271
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
276
272
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
277
273
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
278
- cy.eyesCheckWindow(`${view} - Partially correct case 4`);
279
274
  });
280
275
 
281
276
  it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
@@ -303,7 +298,6 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
303
298
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
304
299
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
305
300
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
306
- cy.eyesCheckWindow(`${view} - Partially correct case 5`);
307
301
  });
308
302
 
309
303
  //Fully correct
@@ -97,7 +97,6 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
97
97
  utilities.verifyInnerText(chartsBarPage.previewTabYAxisLabelButton(), 'Year');
98
98
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabYAxisLabelButton(), 'visible');
99
99
  chartsBarPage.steps.verifyBarLabelHorizontalPreviewTab([[0, 'Bar 1'], [1, 'Bar 2'], [2, 'Bar 3'], [3, 'Bar 4']]);
100
- cy.eyesCheckWindow(`${view} Charts bar: Horizontal - Question instructions, Graph title, Y axis label, X axis label and bar labels`);
101
100
  });
102
101
 
103
102
  it('The graph max value should be as set in the Max X input field and it should affect the chart division', () => {
@@ -623,7 +622,6 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
623
622
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 10 });
624
623
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 3, range: 10 });
625
624
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 4, range: 10 });
626
- cy.eyesCheckWindow(`${view} - After confirming reset`);
627
625
  });
628
626
 
629
627
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -133,7 +133,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
133
133
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
134
134
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
135
135
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
136
- cy.eyesCheckWindow(`${view} - Grading view without attempting`);
137
136
  });
138
137
 
139
138
  //Fully incorrect case
@@ -189,7 +188,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
189
188
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
190
189
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
191
190
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
192
- cy.eyesCheckWindow(`${view} - Partially correct case 1`);
193
191
  });
194
192
 
195
193
  it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
@@ -217,7 +215,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
217
215
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
218
216
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
219
217
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
220
- cy.eyesCheckWindow(`${view} - Partially correct case 2`);
221
218
  });
222
219
 
223
220
  it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
@@ -245,7 +242,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
245
242
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
246
243
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
247
244
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
248
- cy.eyesCheckWindow(`${view} - Partially correct case 3`);
249
245
  });
250
246
 
251
247
  it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
@@ -273,7 +269,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
273
269
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
274
270
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
275
271
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
276
- cy.eyesCheckWindow(`${view} - Partially correct case 4`);
277
272
  });
278
273
 
279
274
  it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
@@ -301,7 +296,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
301
296
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
302
297
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
303
298
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
304
- cy.eyesCheckWindow(`${view} - Partially correct case 5`);
305
299
  });
306
300
 
307
301
  //Fully correct
@@ -99,7 +99,6 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
99
99
  utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 1), 'Bar 2');
100
100
  utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 2), 'Bar 3');
101
101
  utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 3), 'Bar 4');
102
- cy.eyesCheckWindow(`${view} - Charts bar: Vertical Question instructions, Graph title, Y axis label, X axis label and bar labels`);
103
102
  });
104
103
 
105
104
  it('The graph max value should be as set in the Max Y input field and it should affect the chart division', () => {
@@ -381,7 +380,6 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
381
380
  chartsBarPage.steps.editBarLabelInPreviewTab(0, 'Edited bar 1');
382
381
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
383
382
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
384
- cy.eyesCheckWindow(`${view} - Bar label updated`);
385
383
  });
386
384
 
387
385
  it(`When user hovers on the enabled undo and reset button, then tooltips 'Undo' and 'Reset' should be displayed`, () => {
@@ -131,7 +131,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
131
131
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
132
132
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
133
133
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
134
- cy.eyesCheckWindow(`${view} view: Charts Line - Without attempting the question`);
135
134
  });
136
135
 
137
136
  //Fully incorrect case
@@ -187,7 +186,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
187
186
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
188
187
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
189
188
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
190
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question incorrectly by setting a point which was set to 0 and correct by default`);
191
189
  });
192
190
 
193
191
  it(`${view}: Charts Line - When the user attempts the question partially correct by incorrectly setting a point which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
@@ -215,7 +213,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
215
213
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
216
214
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
217
215
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
218
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question partially correct by incorrectly setting a point which was incorrect by default`);
219
216
  });
220
217
 
221
218
  it(`${view}: Charts Line - When the user attempts the question partially correct by incorrectly setting a point to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
@@ -243,7 +240,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
243
240
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
244
241
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
245
242
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
246
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question partially correct by incorrectly setting a point to zero which was incorrect by default`);
247
243
  });
248
244
 
249
245
  it(`${view}: Charts Line - When the user attempts the question partially correct by incorrectly setting a point which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
@@ -271,7 +267,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
271
267
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
272
268
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
273
269
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
274
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question partially correct by incorrectly setting a point which was set to zero by default`);
275
270
  });
276
271
 
277
272
  it(`${view}: Charts Line - When the user attempts the question partially correct by setting all points correctly except 1 then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points and incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
@@ -299,7 +294,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
299
294
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
300
295
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
301
296
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
302
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question partially correct by setting all points correctly except 1 `);
303
297
  });
304
298
 
305
299
  //Fully correct
@@ -104,7 +104,6 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
104
104
  it(`${view} - Charts line: The graph max value should be as set in the Max Y input field and it should affect the chart division`, () => {
105
105
  utilities.verifyTextContent(utilities.getNthElement(chartsLinePage.previewTabYAxisCoordinate(), 0), 20);
106
106
  utilities.verifyElementCount(chartsLinePage.previewTabChartRowHeaderContainer(), 21);
107
- cy.eyesCheckWindow(`${view} view: Charts Line - Question instructions, Graph title, Y axis label, X axis label and point labels`);
108
107
  });
109
108
 
110
109
  it('User should be able to edit the Y axis and X axis labels in preview tab', () => {
@@ -348,7 +347,6 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
348
347
  chartsLinePage.steps.editPointLabelInPreviewTab(0, 'Edited point 1');
349
348
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsUndoButton());
350
349
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsResetButton());
351
- cy.eyesCheckWindow(`${view}: Charts line - Bar label updated`);
352
350
  });
353
351
 
354
352
  it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
@@ -119,7 +119,6 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
119
119
  utilities.verifyInnerText(dragAndDropIntoCategoriesPage.correctAnswersLabel(), 'Correct answers');
120
120
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
121
121
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsNotExist();
122
- cy.eyesCheckWindow(`${view} - Grading view without attempting the question`);
123
122
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
124
123
  });
125
124
 
@@ -137,7 +136,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
137
136
  };
138
137
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
139
138
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
140
- cy.eyesCheckWindow(`${view} - Incorrect attempt`);
139
+ cy.eyesCheckWindow(`${view} - DND - Incorrect attempt`);
141
140
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
142
141
  });
143
142
 
@@ -161,7 +160,6 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
161
160
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
162
161
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
163
162
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
164
- cy.eyesCheckWindow(`${view} - Partially correct attempt with incorrect options`);
165
163
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
166
164
  });
167
165
 
@@ -186,7 +184,6 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
186
184
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
187
185
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(4);
188
186
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
189
- cy.eyesCheckWindow(`${view} - Partially correct attempt with incomplete cell`);
190
187
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
191
188
  });
192
189
 
@@ -213,7 +210,6 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
213
210
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(5);
214
211
  dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(6);
215
212
  dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
216
- cy.eyesCheckWindow(`${view} - Partially correct attempt with extra option`);
217
213
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
218
214
  });
219
215
 
@@ -242,7 +238,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
242
238
  //Need to remove comment once https://redmine.zeuslearning.com/issues/577009 is resolved
243
239
  // dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
244
240
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
245
- cy.eyesCheckWindow(`${view} - Correct attempt`);
241
+ cy.eyesCheckWindow(`${view} - DND - Correct attempt`);
246
242
  });
247
243
  });
248
244
  });
@@ -85,9 +85,10 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
85
85
  }
86
86
  });
87
87
 
88
- it('Question instructions should be visible', () => {
88
+ it(`DND into categories: ${view} Question instructions should be visible`, () => {
89
89
  utilities.verifyInnerText(dragAndDropIntoCategoriesPage.questionInstructionsText(), 'Drag and drop options in correct categories');
90
90
  utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.questionInstructionsText(), 'visible');
91
+ cy.eyesCheckWindow(`DND into categories: ${view} Default question state`);
91
92
  });
92
93
 
93
94
  it(`DND into categories: The category table as set by the user should be displayed in the ${view}`, () => {
@@ -103,7 +104,6 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
103
104
  utilities.verifyInnerText(utilities.getNthElement(dragAndDropIntoCategoriesPage.cellContainerPreviewTab(), 6), 'Can walk');
104
105
  dragAndDropIntoCategoriesPage.steps.verifyTableCellPropertyPreviewTab(9, 'Text');
105
106
  dragAndDropIntoCategoriesPage.steps.verifyTextContentOfTableCellPreviewTab(9, 'Can swim');
106
- cy.eyesCheckWindow(`DND into categories: ${view} Checking category table visibility`);
107
107
  });
108
108
 
109
109
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -120,14 +120,12 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
120
120
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Eagle': 1, 'Bat': 0 });
121
121
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(0, ['Bat']);
122
122
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Eagle']);
123
- cy.eyesCheckWindow(`DND into categories: ${view} Checking drag and drop functionality along with contents`);
124
123
  });
125
124
  } else if (view === 'Grading view') {
126
- it(`DND into categories: ${view} The submitted options should be in the respective dropzones and the options container should not be displayed`, () => {
125
+ it(`The submitted options should be in the respective dropzones and the options container should not be displayed`, () => {
127
126
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(0, ['Bat']);
128
127
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Eagle']);
129
128
  utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.optionContainerItemListPreviewTab(), 'notExist');
130
- cy.eyesCheckWindow(`DND into categories: ${view} Checking submitted options in dropzones`);
131
129
  });
132
130
 
133
131
  it('The content in the dropzones should not be editable', () => {
@@ -135,13 +133,12 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
135
133
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Eagle']);
136
134
  });
137
135
  } else {
138
- it(`DND into categories: ${view} The correct options should be in their respective dropzones, correct icons should be displayed besides them and the options container should not be displayed`, () => {
136
+ it(`The correct options should be in their respective dropzones, correct icons should be displayed besides them and the options container should not be displayed`, () => {
139
137
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(0, ['Bat']);
140
138
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Eagle']);
141
139
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(0);
142
140
  dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
143
141
  utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.optionContainerItemListPreviewTab(), 'notExist');
144
- cy.eyesCheckWindow(`DND into categories: ${view} Checking correct options in dropzones`);
145
142
  });
146
143
  }
147
144
 
@@ -72,7 +72,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
72
72
  defaultUnselectedPreviewTabToolbarOptionsArray.forEach((toolbarOption) => {
73
73
  drawingResponsePage.steps.verifyToolbarOptionIsNotSelectedInPreviewTab(toolbarOption);
74
74
  });
75
- cy.eyesCheckWindow(`Default toolbar option state`);
76
75
  });
77
76
 
78
77
  //Browser level tooltips are implemented here, will not be able to check till https://redmine.zeuslearning.com/issues/555441 is resolved
@@ -89,7 +88,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
89
88
  drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions.forEach((toolbarOption) => {
90
89
  if (toolbarOption.secondaryToolbarOptions !== undefined) {
91
90
  drawingResponsePage.steps.selectPreviewTabToolbarOption(toolbarOption.displayName);
92
- cy.eyesCheckWindow(`${toolbarOption.displayName} toolbar option selected`);
93
91
  //Remove comment below once https://redmine.zeuslearning.com/issues/571543 is resolved
94
92
  // utilities.verifyInnerText(drawingResponsePage.previewTabToolbarOptionName(), toolbarOption.displayName);
95
93
  // drawingResponsePage.steps.verifyDisplayedSecondaryToolbarOptionsInPreviewTab(toolbarOption.secondaryToolbarOptions);
@@ -148,7 +146,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
148
146
  it(`User should be able to upload an image`, () => {
149
147
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
150
148
  drawingResponsePage.steps.uploadFile('uploads/image.png');
151
- cy.eyesCheckWindow(`Image uploaded`);
152
149
  });
153
150
 
154
151
  it('\'Uploading files. Please wait...\' should be displayed along with the file name when the image is being uploaded', () => {
@@ -160,7 +157,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
160
157
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
161
158
  drawingResponsePage.steps.uploadFile(['uploads/sample.jpg', 'uploads/sample.gif']);
162
159
  drawingResponsePage.steps.verifyInsertImageContainerNotExist();
163
- cy.eyesCheckWindow(`Multiple files uploaded`);
164
160
  });
165
161
 
166
162
  it(`When the user tries to upload an image more than 5mb then an error should be displayed 'The following files were rejected *filename* is too large. The maximum file size is 5MB'`, () => {
@@ -169,7 +165,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
169
165
  drawingResponsePage.steps.uploadFile('uploads/20mbFile.png');
170
166
  drawingResponsePage.steps.verifyImageContainerErrorMessage('20mbFile.png');
171
167
  drawingResponsePage.steps.verifyInsertImageContainerIsVisible();
172
- cy.eyesCheckWindow(`File size error`);
173
168
  });
174
169
  });
175
170
 
@@ -185,7 +180,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
185
180
  drawingResponsePage.steps.switchToPreviewTab();
186
181
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
187
182
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]), 'notExist');
188
- cy.eyesCheckWindow(`Special characters popup should be displayed`);
189
183
  });
190
184
 
191
185
  it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]} secondary toolbar option should be displayed`, () => {
@@ -195,7 +189,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
195
189
  drawingResponsePage.steps.switchToPreviewTab();
196
190
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
197
191
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]), 'visible');
198
- cy.eyesCheckWindow(`Special characters popup should be displayed`);
199
192
  });
200
193
 
201
194
  it('By default the \'Special characters\' secondary toolbar option should be in deselected state', () => {
@@ -213,7 +206,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
213
206
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
214
207
  drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]);
215
208
  utilities.verifyElementVisibilityState(drawingResponsePage.charactersPopupCloseButton(), 'visible');
216
- cy.eyesCheckWindow(`Special characters popup displayed`);
217
209
  });
218
210
 
219
211
  it('CSS of \'Special characters\' secondary toolbar option in selected state', { tags: 'css' }, () => {
@@ -224,7 +216,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
224
216
 
225
217
  it(`All categories and accordions should be displayed in the popup`, () => {
226
218
  drawingResponsePage.steps.verifySpecialCharactersPopupCategoryTitlesAndAccordions(specialCharacters);
227
- cy.eyesCheckWindow(`Special characters categories displayed`);
228
219
  });
229
220
 
230
221
  it('By default the \'Spanish\' category accordion should be in expanded state and all other accordions should be in collapsed state.', () => {
@@ -261,7 +252,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
261
252
  it(`When user clicks on any category icon, then the category flyout should stay open`, () => {
262
253
  drawingResponsePage.steps.clickOnCharacterPopupSymbol('Iuml');
263
254
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
264
- cy.eyesCheckWindow(`Category flyout stays open`);
265
255
  });
266
256
 
267
257
  it('CSS of \'Special characters\' popup', { tags: 'css' }, () => {
@@ -303,7 +293,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
303
293
  drawingResponsePage.steps.switchToPreviewTab();
304
294
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
305
295
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), 'notExist');
306
- cy.eyesCheckWindow(`Math characters popup not displayed`);
307
296
  });
308
297
 
309
298
  it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should be displayed`, () => {
@@ -331,7 +320,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
331
320
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
332
321
  drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]);
333
322
  utilities.verifyElementVisibilityState(drawingResponsePage.charactersPopupCloseButton(), 'visible');
334
- cy.eyesCheckWindow(`Math characters popup displayed`);
335
323
  });
336
324
 
337
325
  it('CSS of \'Math characters\' secondary toolbar option in selected state', { tags: 'css' }, () => {
@@ -385,7 +373,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
385
373
  drawingResponsePage.steps.switchToPreviewTab();
386
374
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
387
375
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), 'notExist');
388
- cy.eyesCheckWindow(`Font size popup not displayed`);
389
376
  });
390
377
 
391
378
  it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should be displayed`, () => {
@@ -414,7 +401,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
414
401
 
415
402
  it(`${view} When user clicks on \'Font size\' secondary toolbar option, then the \'Font size\' popup should be displayed`, () => {
416
403
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]);
417
- cy.eyesCheckWindow(`Font size popup displayed`);
418
404
  });
419
405
 
420
406
  it('CSS of \'Font size\' secondary toolbar option in selected state', { tags: 'css' }, () => {
@@ -507,14 +493,12 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
507
493
  it(`When the user changes value in the opacity input field, the slider value should also change accordingly`, () => {
508
494
  drawingResponsePage.steps.enterValueInOpacityInputFieldValue(10);
509
495
  drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(10);
510
- cy.eyesCheckWindow(`Opacity input field value changed`);
511
496
  });
512
497
 
513
498
  it(`When the user changes the opacity slider value, value in the opacity input field should also change`, () => {
514
499
  drawingResponsePage.steps.clickOnSecondaryPopupSlider();
515
500
  drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(51);
516
501
  drawingResponsePage.steps.verifySecondaryPopupOpacityInputFieldValue(51);
517
- cy.eyesCheckWindow(`Opacity slider value changed`);
518
502
  });
519
503
 
520
504
  it('CSS of \'Opacity\' secondary toolbar option in selected state', { tags: 'css' }, () => {
@@ -662,7 +646,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
662
646
  drawingResponsePage.steps.switchToPreviewTab();
663
647
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
664
648
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]), 'notExist');
665
- cy.eyesCheckWindow(`Text color popup not displayed`);
666
649
  });
667
650
 
668
651
  it(`${view} -When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should be displayed`, () => {
@@ -827,7 +810,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
827
810
 
828
811
  it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} secondary toolbar option should not be displayed`, () => {
829
812
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]), 'notExist');
830
- cy.eyesCheckWindow(`Fill color popup not displayed`);
831
813
  });
832
814
 
833
815
  it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} secondary toolbar option \'Fill color\' popup should be displayed`, () => {
@@ -1193,7 +1175,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
1193
1175
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[2].secondaryToolbarOptions[2]);
1194
1176
  drawingResponsePage.steps.verifySecondaryPopupExist();
1195
1177
  //Selected state of secondary toolbar option. Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
1196
- cy.eyesCheckWindow(`Line type popup displayed`);
1197
1178
  });
1198
1179
 
1199
1180
  it(`A \'Line type\' title along with the five line type options - ${lineTypeOptions.join(', ')} should be displayed`, () => {