itemengine-cypress-automation 1.0.306 → 1.0.308

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 (59) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +19 -19
  2. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  3. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +10 -1
  4. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  5. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +1 -1
  6. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +10 -1
  7. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  8. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +10 -1
  9. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +12 -1
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +79 -2
  11. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +19 -21
  13. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +11 -1
  15. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +10 -1
  16. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +10 -1
  17. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  18. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
  19. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +12 -3
  20. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  21. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
  22. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +11 -1
  23. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +10 -2
  24. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +11 -1
  25. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
  26. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
  27. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +10 -1
  28. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
  29. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +13 -4
  30. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +12 -3
  31. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
  32. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +18 -9
  33. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +12 -3
  34. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  35. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +11 -1
  36. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  37. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +10 -1
  38. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
  39. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
  40. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +10 -1
  41. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +10 -1
  42. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
  43. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +10 -1
  44. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
  45. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
  46. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +11 -2
  47. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +13 -13
  48. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
  49. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +12 -2
  50. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
  51. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +13 -4
  52. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
  53. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
  54. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
  55. package/cypress/e2e/applitools.config.js +12 -0
  56. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -0
  57. package/cypress/support/commands.js +14 -1
  58. package/cypress.config.js +2 -0
  59. package/package.json +4 -1
@@ -76,7 +76,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
76
76
  });
77
77
 
78
78
  //Will not be able to cover image options as they will open the windows explorer popup and closing the popup is not possible
79
- it('When user clicks on the drawing toolbar options, then the option name and its respective secondary toolbar options should be displayed in the secondary toolbar', () => {
79
+ it(`When user clicks on the drawing toolbar options, then the option name and its respective secondary toolbar options should be displayed in the secondary toolbar`, () => {
80
80
  drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions.forEach((toolbarOption) => {
81
81
  if (toolbarOption.secondaryToolbarOptions !== undefined) {
82
82
  drawingResponsePage.steps.selectPreviewTabToolbarOption(toolbarOption.displayName);
@@ -135,7 +135,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
135
135
  drawingResponsePage.steps.switchToPreviewTab();
136
136
  });
137
137
 
138
- it('User should be able to upload an image', () => {
138
+ it(`User should be able to upload an image`, () => {
139
139
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
140
140
  drawingResponsePage.steps.uploadFile('uploads/image.png');
141
141
  });
@@ -145,14 +145,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
145
145
  drawingResponsePage.steps.verifyInsertImageContainerNotExist();
146
146
  });
147
147
 
148
- it('User should be able to attach multiple files at once among the supported file types', () => {
149
- drawingResponsePage.steps.resetQuestionPreview();
148
+ it(`User should be able to attach multiple files at once among the supported file types`, () => {
150
149
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
151
150
  drawingResponsePage.steps.uploadFile(['uploads/sample.jpg', 'uploads/sample.gif']);
152
151
  drawingResponsePage.steps.verifyInsertImageContainerNotExist();
153
152
  });
154
153
 
155
- it('When the user tries to upload an image 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\'', () => {
154
+ 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'`, () => {
156
155
  drawingResponsePage.steps.resetQuestionPreview();
157
156
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
158
157
  drawingResponsePage.steps.uploadFile('uploads/20mbFile.png');
@@ -194,7 +193,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
194
193
  });
195
194
  });
196
195
 
197
- it('When user clicks on \'Special characters\' secondary toolbar option, then the \'Special characters\' popup should be displayed with \'Special characters\' title and a \'Close\' button', () => {
196
+ it(`When user clicks on 'Special characters' secondary toolbar option, then the 'Special characters' popup should be displayed with 'Special characters' title and a 'Close' button`, () => {
198
197
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]);
199
198
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
200
199
  drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]);
@@ -207,7 +206,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
207
206
  });
208
207
  });
209
208
 
210
- it('All categories and accordions should be displayed in the popup', () => {
209
+ it(`All categories and accordions should be displayed in the popup`, () => {
211
210
  drawingResponsePage.steps.verifySpecialCharactersPopupCategoryTitlesAndAccordions(specialCharacters);
212
211
  });
213
212
 
@@ -242,7 +241,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
242
241
  drawingResponsePage.steps.verifySpecialCharactersPopupCategoryAccordionIsExpanded(2);
243
242
  });
244
243
 
245
- it('When user clicks on any category icon, then the category flyout should stay open', () => {
244
+ it(`When user clicks on any category icon, then the category flyout should stay open`, () => {
246
245
  drawingResponsePage.steps.clickOnCharacterPopupSymbol('Iuml');
247
246
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
248
247
  });
@@ -282,13 +281,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
282
281
  cy.barsPreLoaderWait();
283
282
  });
284
283
 
285
- it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should not be displayed`, () => {
284
+ it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should not be displayed`, () => {
286
285
  drawingResponsePage.steps.switchToPreviewTab();
287
286
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
288
287
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), 'notExist');
289
288
  });
290
289
 
291
- it(`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`, () => {
290
+ 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`, () => {
292
291
  drawingResponsePage.steps.switchToEditTab();
293
292
  drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
294
293
  drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[1]}`]);
@@ -307,7 +306,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
307
306
  });
308
307
  });
309
308
 
310
- it('When user clicks on \'Math characters\' secondary toolbar option, then the \'Math characters\' popup should be displayed with \'Math characters\' title and a \'Close\' button', () => {
309
+ it(`${view} When user clicks on \'Math characters\' secondary toolbar option, then the \'Math characters\' popup should be displayed with \'Math characters\' title and a \'Close\' button`, () => {
311
310
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]);
312
311
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
313
312
  drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]);
@@ -361,14 +360,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
361
360
  cy.barsPreLoaderWait();
362
361
  });
363
362
 
364
-
365
- it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should not be displayed`, () => {
363
+ it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should not be displayed`, () => {
366
364
  drawingResponsePage.steps.switchToPreviewTab();
367
365
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
368
366
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), 'notExist');
369
367
  });
370
368
 
371
- it(`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`, () => {
369
+ 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`, () => {
372
370
  drawingResponsePage.steps.switchToEditTab();
373
371
  drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
374
372
  drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[2]}`]);
@@ -391,7 +389,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
391
389
  cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
392
390
  });
393
391
 
394
- it('When user clicks on \'Font size\' secondary toolbar option, then the \'Font size\' popup should be displayed', () => {
392
+ it(`${view} When user clicks on \'Font size\' secondary toolbar option, then the \'Font size\' popup should be displayed`, () => {
395
393
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]);
396
394
  });
397
395
 
@@ -463,7 +461,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
463
461
  cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
464
462
  });
465
463
 
466
- it('When user clicks on \'Opacity\' secondary toolbar option, then the \'Opacity\' popup should be displayed and \'Opacity\' secondary toolbar option should be in selected state', () => {
464
+ it(`When user clicks on \'Opacity\' secondary toolbar option, then the \'Opacity\' popup should be displayed and \'Opacity\' secondary toolbar option should be in selected state`, () => {
467
465
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]);
468
466
  drawingResponsePage.steps.verifySecondaryPopupExist();
469
467
  //Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
@@ -481,12 +479,12 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
481
479
  drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(100);
482
480
  });
483
481
 
484
- it('When the user changes value in the opacity input field, the slider value should also change accordingly', () => {
482
+ it(`When the user changes value in the opacity input field, the slider value should also change accordingly`, () => {
485
483
  drawingResponsePage.steps.enterValueInOpacityInputFieldValue(10);
486
484
  drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(10);
487
485
  });
488
486
 
489
- it('When the user changes the opacity slider value, value in the opacity input field should also change', () => {
487
+ it(`When the user changes the opacity slider value, value in the opacity input field should also change`, () => {
490
488
  drawingResponsePage.steps.clickOnSecondaryPopupSlider();
491
489
  drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(51);
492
490
  drawingResponsePage.steps.verifySecondaryPopupOpacityInputFieldValue(51);
@@ -566,7 +564,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
566
564
  cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
567
565
  });
568
566
 
569
- it('When user clicks on \'Stroke thickness\' secondary toolbar option, then the \'Stroke thickness\' popup should be displayed and \'Stroke thickness\' secondary toolbar option should be in selected state', () => {
567
+ it(`When user clicks on 'Stroke thickness' secondary toolbar option, then the 'Stroke thickness' popup should be displayed and 'Stroke thickness' secondary toolbar option should be in selected state`, () => {
570
568
  drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]);
571
569
  drawingResponsePage.steps.verifySecondaryPopupExist();
572
570
  //Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
@@ -632,13 +630,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
632
630
  cy.barsPreLoaderWait();
633
631
  });
634
632
 
635
- it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should not be displayed`, () => {
633
+ it(`${view} -When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should not be displayed`, () => {
636
634
  drawingResponsePage.steps.switchToPreviewTab();
637
635
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
638
636
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]), 'notExist');
639
637
  });
640
638
 
641
- it(`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`, () => {
639
+ 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`, () => {
642
640
  drawingResponsePage.steps.switchToEditTab();
643
641
  drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
644
642
  drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[3]}`]);
@@ -11,6 +11,14 @@ describe('Create question page - Essay Response: Equation Editor functionality',
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
  describe('Preview tab \'Equation Editor\' flyout', { tags: 'smoke' }, () => {
15
23
  abortEarlySetup();
16
24
  before(() => {
@@ -10,6 +10,14 @@ describe('Preview tab contents for all views', () => {
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
  views.forEach((view) => {
14
22
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
15
23
  abortEarlySetup();
@@ -76,9 +84,10 @@ describe('Preview tab contents for all views', () => {
76
84
  }
77
85
  });
78
86
 
79
- it('Question instructions should be visible', () => {
87
+ it(`Fill in the gaps drag and drop - ${view} - Question instructions should be visible`, () => {
80
88
  utilities.verifyInnerText(fillInTheGapsDragAndDropPage.questionInstructionsText(), 'Drag and drop the options in appropriate dropzone');
81
89
  utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.questionInstructionsText(), 'visible');
90
+ cy.eyesCheckWindow(`Fill in the gaps drag and drop - ${view} - Options with image, equation, and bold text`);
82
91
  });
83
92
 
84
93
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -126,6 +135,7 @@ describe('Preview tab contents for all views', () => {
126
135
  });
127
136
  } else {
128
137
  it('The dropzone should be displayed filled with answers', () => {
138
+ utilities.verifyElementCount(fillInTheGapsDragAndDropPage.dropzonePreviewTab(), 3);
129
139
  fillInTheGapsDragAndDropPage.steps.verifyDropzoneTextPreviewTab(2, 'Petals');
130
140
  fillInTheGapsDragAndDropPage.steps.verifyDropzoneWithImageInPreviewTab(2);
131
141
  fillInTheGapsDragAndDropPage.steps.verifyDropzoneTextPreviewTab(0, 'This is a bold option');
@@ -15,6 +15,14 @@ describe('Create item page - Fill in the gaps with dropdown - Preview contents i
15
15
  cy.loginAs('admin');
16
16
  });
17
17
 
18
+ beforeEach(() => {
19
+ cy.startApplitools();
20
+ });
21
+
22
+ afterEach(() => {
23
+ cy.eyesClose();
24
+ });
25
+
18
26
  views.forEach((view) => {
19
27
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
20
28
  abortEarlySetup();
@@ -64,9 +72,10 @@ describe('Create item page - Fill in the gaps with dropdown - Preview contents i
64
72
  }
65
73
  });
66
74
 
67
- it('Question instructions should be visible', () => {
75
+ it(`${view} - Fill in the gaps dropdown - Question instructions should be visible`, () => {
68
76
  utilities.verifyInnerText(fillInTheGapsDropdownPage.questionInstructionsText(), 'Fill in the gaps');
69
77
  utilities.verifyElementVisibilityState(fillInTheGapsDropdownPage.questionInstructionsText(), 'visible');
78
+ cy.eyesCheckWindow(`${view} - Fill in the gaps dropdown - Default state`);
70
79
  });
71
80
 
72
81
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -10,6 +10,14 @@ describe('Preview tab contents for all views', () => {
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
  views.forEach((view) => {
14
22
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
15
23
  abortEarlySetup();
@@ -93,8 +101,9 @@ describe('Preview tab contents for all views', () => {
93
101
  fillInTheGapsOverImageDragAndDropPage.steps.verifyTextInTextAreaPreviewTab('This is a text area');
94
102
  });
95
103
 
96
- it('The image uploaded in the \'Background image\' section should be displayed', () => {
104
+ it(`${view} - Fill in the gaps over image drag and drop - The image uploaded in the \'Background image\' section should be displayed`, () => {
97
105
  utilities.verifyElementVisibilityState(fillInTheGapsOverImageDragAndDropPage.canvasImage(), 'exist');
106
+ cy.eyesCheckWindow(`${view} - Fill in the gaps over image drag and drop - default state`);
98
107
  });
99
108
 
100
109
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -14,6 +14,14 @@ describe('Create item page - Fill in the gaps over image - dropdown - Preview co
14
14
  cy.loginAs('admin');
15
15
  });
16
16
 
17
+ beforeEach(() => {
18
+ cy.startApplitools();
19
+ });
20
+
21
+ afterEach(() => {
22
+ cy.eyesClose();
23
+ });
24
+
17
25
  views.forEach((view) => {
18
26
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
19
27
  abortEarlySetup();
@@ -67,9 +75,10 @@ describe('Create item page - Fill in the gaps over image - dropdown - Preview co
67
75
  }
68
76
  });
69
77
 
70
- it('Question instructions should be visible', () => {
78
+ it(`${view} - Fill in the gaps over image dropdown Question instructions should be visible`, () => {
71
79
  utilities.verifyInnerText(fillInTheGapsOverImageDropdownPage.questionInstructionsText(), 'Fill in the gaps');
72
80
  utilities.verifyElementVisibilityState(fillInTheGapsOverImageDropdownPage.questionInstructionsText(), 'visible');
81
+ cy.eyesCheckWindow(`${view} - Fill in the gaps over image dropdown - defualt state`);
73
82
  });
74
83
 
75
84
  it('The image uploaded in the \'Background image\' section should be displayed', () => {
@@ -82,7 +91,7 @@ describe('Create item page - Fill in the gaps over image - dropdown - Preview co
82
91
  fillInTheGapsOverImageDropdownPage.steps.verifyTextInDropdownsInPreviewTab([{ dropdownIndex: 0, dropdownText: '​' }, { dropdownIndex: 1, dropdownText: '​' }]);
83
92
  });
84
93
 
85
- it('User should be select an option from the dropdown', () => {
94
+ it(`User should be able to select an option from the dropdown`, () => {
86
95
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: correctAnswerArray[0] }, { dropdownIndex: 1, dropdownOption: correctAnswerArray[1] }]);
87
96
  });
88
97
  } else if (view === 'Grading view') {
@@ -96,7 +105,7 @@ describe('Create item page - Fill in the gaps over image - dropdown - Preview co
96
105
  fillInTheGapsOverImageDropdownPage.steps.verifyDropdownIsDisabled(1);
97
106
  });
98
107
  } else {
99
- it('The dropdowns should be displayed filled with correct answers', () => {
108
+ it(`The dropdowns should be displayed filled with correct answers`, () => {
100
109
  utilities.verifyElementCount(fillInTheGapsOverImageDropdownPage.dropdownPreviewTab(), 2);
101
110
  fillInTheGapsOverImageDropdownPage.steps.verifyTextInDropdownsInPreviewTab([{ dropdownIndex: 0, dropdownText: correctAnswerArray[0] }, { dropdownIndex: 1, dropdownText: correctAnswerArray[1] }]);
102
111
  });
@@ -9,6 +9,14 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
9
9
  cy.loginAs('admin');
10
10
  });
11
11
 
12
+ beforeEach(() => {
13
+ cy.startApplitools();
14
+ });
15
+
16
+ afterEach(() => {
17
+ cy.eyesClose();
18
+ });
19
+
12
20
  views.forEach((view) => {
13
21
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
14
22
  abortEarlySetup();
@@ -62,9 +70,10 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
62
70
  }
63
71
  });
64
72
 
65
- it('Question instructions should be visible', () => {
73
+ it(`${view} - Fill in the gaps over image text Question instructions should be visible`, () => {
66
74
  utilities.verifyInnerText(fillInTheGapsOverImageTextPage.questionInstructionsText(), 'Fill in the gaps');
67
75
  utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.questionInstructionsText(), 'visible');
76
+ cy.eyesCheckWindow(`${view} - Fill in the gaps over image text - Filled answer input fields`);
68
77
  });
69
78
 
70
79
  it('The image uploaded in the \'Background image\' section should be displayed', () => {
@@ -77,12 +86,12 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
77
86
  fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '' }, { responseIndex: 1, responseText: '' }, { responseIndex: 2, responseText: '' }]);
78
87
  });
79
88
 
80
- it('User should be able to enter text in the answer input fields', () => {
89
+ it(`User should be able to enter text in the answer input fields`, () => {
81
90
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
82
91
  fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
83
92
  });
84
93
  } else if (view === 'Grading view') {
85
- it('The answer input fields should be displayed filled with answers', () => {
94
+ it(`The answer input fields should be displayed filled with answers`, () => {
86
95
  utilities.verifyElementCount(fillInTheGapsOverImageTextPage.answerInputFieldPreviewTab(), 3);
87
96
  fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
88
97
  });
@@ -93,7 +102,7 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
93
102
  fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldDisabled(2);
94
103
  });
95
104
  } else {
96
- it('The answer input fields should be displayed filled with correct answers', () => {
105
+ it(`The answer input fields should be displayed filled with correct answers`, () => {
97
106
  utilities.verifyElementCount(fillInTheGapsOverImageTextPage.answerInputFieldPreviewTab(), 3);
98
107
  fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
99
108
  });
@@ -11,6 +11,14 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
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();
@@ -60,9 +68,10 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
60
68
  }
61
69
  });
62
70
 
63
- it('Question instructions should be visible', () => {
71
+ it(`Fill in the gaps text - ${view} Question instructions should be visible`, () => {
64
72
  utilities.verifyInnerText(fillInTheGapsTextPage.questionInstructionsText(), 'Fill in the gaps');
65
73
  utilities.verifyElementVisibilityState(fillInTheGapsTextPage.questionInstructionsText(), 'visible');
74
+ cy.eyesCheckWindow(`Fill in the gaps text - ${view} - Default question state`);
66
75
  });
67
76
 
68
77
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -113,7 +122,7 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
113
122
  'border': `0px none ${css.color.text}`,
114
123
  });
115
124
  utilities.verifyCSS(fillInTheGapsTextPage.answerInputFieldPreviewTab(), {
116
- 'color': css.color.text,
125
+ 'color': css.color.text,
117
126
  'font-size': css.fontSize.default,
118
127
  'font-weight': css.fontWeight.regular
119
128
  });
@@ -134,7 +143,7 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
134
143
  'border': `0px none ${css.color.text}`,
135
144
  });
136
145
  utilities.verifyCSS(fillInTheGapsTextPage.answerInputFieldPreviewTab(), {
137
- 'color': css.color.text,
146
+ 'color': css.color.text,
138
147
  'font-size': css.fontSize.default,
139
148
  'font-weight': css.fontWeight.regular
140
149
  });
@@ -14,6 +14,14 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
14
14
  cy.loginAs('admin');
15
15
  });
16
16
 
17
+ beforeEach(() => {
18
+ cy.startApplitools();
19
+ });
20
+
21
+ afterEach(() => {
22
+ cy.eyesClose();
23
+ });
24
+
17
25
  if (views.includes('Grading view')) {
18
26
  describe('Grading view contents', { tags: 'smoke' }, () => {
19
27
  abortEarlySetup();
@@ -59,13 +67,14 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
59
67
  utilities.verifyElementVisibilityState(graphingPage.graphControlOptionPreviewTab(), 'notExist');
60
68
  });
61
69
 
62
- it('The graph plotted by the author in the edit tab should be displayed in the grading view', () => {
70
+ it('Graphing: The graph plotted by the author in the edit tab should be displayed in the grading view', () => {
63
71
  utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionSineWave(), 'visible');
64
72
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 7, yRange: 20 }, { x: 1, xRange: 20, y: 8, yRange: 20 }]);
65
73
  utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionCircle(), 'visible');
66
74
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
67
75
  utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionLine(), 'visible');
68
76
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
77
+ cy.eyesCheckWindow('Graphing - The graph plotted by the author in the edit tab should be displayed in the grading view');
69
78
  });
70
79
 
71
80
  it('Correct answer label should be displayed', () => {
@@ -164,13 +173,14 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
164
173
  utilities.verifyElementVisibilityState(graphingPage.graphControlOptionPreviewTab(), 'notExist');
165
174
  });
166
175
 
167
- it('The graph plotted by the author along with the correct answer should be displayed in the correct answer view', () => {
176
+ it('Graphing: The graph plotted by the author along with the correct answer should be displayed in the correct answer view', () => {
168
177
  utilities.verifyElementVisibilityState(graphingPage.graphLine(), 'visible');
169
178
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }])
170
179
  utilities.verifyElementVisibilityState(graphingPage.graphPolygon(), 'visible');
171
180
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }])
172
181
  utilities.verifyElementVisibilityState(graphingPage.graphCircle(), 'visible');
173
182
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }])
183
+ cy.eyesCheckWindow('Graphing - The graph plotted by the author should be displayed in the correct answer view');
174
184
  });
175
185
 
176
186
  it('The points alloted to the question should be displayed', () => {
@@ -15,6 +15,14 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
15
15
  cy.loginAs('admin');
16
16
  });
17
17
 
18
+ beforeEach(() => {
19
+ cy.startApplitools();
20
+ });
21
+
22
+ afterEach(() => {
23
+ cy.eyesClose();
24
+ });
25
+
18
26
  views.forEach((view) => {
19
27
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
20
28
  abortEarlySetup();
@@ -86,14 +94,14 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
86
94
  graphingPage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
87
95
  });
88
96
 
89
- it('By default, the move control should be in enabled state and all other controls should be disabled', () => {
97
+ it(`By default, the move control should be in enabled state and all other controls should be disabled`, () => {
90
98
  utilities.verifyElementNotDisabled(graphingPage.graphControlOptionPreviewTab('Move'));
91
99
  controlOptions.splice(1, controlOptions.length).forEach((controlOption) => {
92
100
  utilities.verifyElementDisabled(graphingPage.graphControlOptionPreviewTab(controlOption));
93
101
  });
94
102
  });
95
103
 
96
- it('User should be able to plot points using the \'Point\' tool options', () => {
104
+ it(`User should be able to plot points using the \'Point\' tool options`, () => {
97
105
  graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -4, xRange: 20, y: -4, yRange: 20 }]);
98
106
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -4, xRange: 20, y: -4, yRange: 20 }]);
99
107
  });
@@ -162,11 +170,12 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
162
170
  utilities.verifyElementCount(graphingPage.graphSineAndParabolaPreviewTab(), 2);
163
171
  });
164
172
 
165
- it('User should be able to draw a polygon using the \'Polygon\' tool option', () => {
173
+ it(`${view} - Graphing - User should be able to draw a polygon using the \'Polygon\' tool option`, () => {
166
174
  graphingPage.steps.selectGraphToolOptionPreviewTab('Polygon');
167
175
  graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }]);
168
176
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }]);
169
177
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
178
+ cy.eyesCheckWindow(`${view} - Graphing - Plotted points using all tools`);
170
179
  });
171
180
 
172
181
  it('When the user clicks on the \'Undo\' control option then the latest action should be reversed', () => {
@@ -179,7 +188,7 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
179
188
  utilities.verifyElementVisibilityState(graphingPage.graphPolygonPreviewTab(), 'visible');
180
189
  });
181
190
 
182
- it('When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset', () => {
191
+ it(`When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset`, () => {
183
192
  graphingPage.steps.selectGraphControlOptionPreviewTab('Reset');
184
193
  graphingPage.steps.confirmReset();
185
194
  utilities.verifyElementVisibilityState(graphingPage.graphPolygonPreviewTab(), 'notExist');
@@ -13,6 +13,15 @@ describe('Create item page - Grid fill: All or nothing', () => {
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
+ beforeEach(() => {
17
+ cy.startApplitools();
18
+ });
19
+
20
+ afterEach(() => {
21
+ cy.eyesClose();
22
+ });
23
+
24
+
16
25
  if (!grepTags || !grepTags.includes('smoke')) {
17
26
  describe('Question preview modes: Student view and Grading view', () => {
18
27
  abortEarlySetup();
@@ -198,7 +207,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
198
207
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
199
208
  });
200
209
 
201
- it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icon should be displayed in the correct cell, correct answer border around correct cell and a status message with text \'Your answer is correct\' should be displayed in the question preview', () => {
210
+ it(`${view}: Grid fill - When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icon should be displayed in the correct cell, correct answer border around correct cell and a status message with text \'Your answer is correct\' should be displayed in the question preview`, () => {
202
211
  if (view === 'Grading view') {
203
212
  studentViewPage.steps.clearResponses();
204
213
  };
@@ -217,6 +226,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
217
226
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
218
227
  gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
219
228
  gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
229
+ cy.eyesCheckWindow(`Grid fill - ${view} view - Attempting the question correctly`);
220
230
  });
221
231
  });
222
232
  });
@@ -11,6 +11,14 @@ describe('Create item page - Grid fill : 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();
@@ -69,11 +77,12 @@ describe('Create item page - Grid fill : Preview contents', () => {
69
77
  utilities.verifyElementVisibilityState(gridFillPage.questionInstructionsText(), 'visible');
70
78
  });
71
79
 
72
- it('Grid matrix should be displayed with 4 rows and 6 columns and 24 cells should be present', () => {
80
+ it(`Grid fill - ${view} Grid matrix should be displayed with 4 rows and 6 columns and 24 cells should be present`, () => {
73
81
  utilities.verifyElementVisibilityState(gridFillPage.gridWrapperPreviewTab(), 'visible');
74
82
  gridFillPage.steps.verifyRowsCountPreviewTab(4);
75
83
  gridFillPage.steps.verifyColumnsCountPreviewTab(6);
76
84
  gridFillPage.steps.getCellCountInGridPreviewTab(24);
85
+ cy.eyesCheckWindow(`Grid fill - ${view} - Grid matrix`);
77
86
  });
78
87
 
79
88
  it('Cell with \'Hide\' customization should be displayed', () => {
@@ -81,7 +90,6 @@ describe('Create item page - Grid fill : Preview contents', () => {
81
90
  });
82
91
 
83
92
  if (view !== 'Grading view' && view !== 'Correct answer view') {
84
-
85
93
  it('Cell with \'Shade\' customization should be displayed', () => {
86
94
  gridFillPage.steps.verifyCellSelectedPreviewTab(0, 0);
87
95
  });
@@ -16,6 +16,14 @@ describe('Create item page - Image highlight: All or nothing ', () => {
16
16
  cy.loginAs('admin');
17
17
  });
18
18
 
19
+ beforeEach(() => {
20
+ cy.startApplitools();
21
+ });
22
+
23
+ afterEach(() => {
24
+ cy.eyesClose();
25
+ });
26
+
19
27
  if (!grepTags || !grepTags.includes('smoke')) {
20
28
  describe('Question preview modes: Student view and Grading view', () => {
21
29
  abortEarlySetup();
@@ -124,6 +132,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
124
132
  imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
125
133
  utilities.verifyInnerText(imageHighlightPage.correctAnswersLabel(), 'Correct answers');
126
134
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
135
+
127
136
  });
128
137
 
129
138
  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 along with numeration should be displayed', () => {
@@ -194,7 +203,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
194
203
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
195
204
  });
196
205
 
197
- it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
206
+ it(`${view}: Image highlight - When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed`, () => {
198
207
  if (view === 'Grading view') {
199
208
  studentViewPage.steps.clearResponses();
200
209
  };
@@ -217,6 +226,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
217
226
  imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
218
227
  imageHighlightPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
219
228
  imageHighlightPage.steps.verifyCorrectAnswerSectionNotExists();
229
+ cy.eyesCheckWindow(`Image highlight: ${view} view - Attempting the question correctly`);
220
230
  });
221
231
  });
222
232
  });