itemengine-cypress-automation 1.0.293-e2eUpdates5thFeb-7e9457e.0 → 1.0.294-applitools-09785a6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
  5. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
  6. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
  9. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
  10. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  11. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
  12. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
  13. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  14. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
  15. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
  16. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
  17. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
  19. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
  20. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +19 -21
  21. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
  22. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +15 -6
  23. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +13 -3
  24. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  25. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  26. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
  30. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
  31. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
  32. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
  33. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
  34. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -5
  35. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  36. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
  37. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +15 -5
  38. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
  39. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
  40. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
  41. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
  42. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
  43. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
  44. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
  45. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
  46. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +6 -5
  47. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
  48. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
  49. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -3
  50. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +14 -5
  51. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +12 -3
  52. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
  53. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
  54. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
  55. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
  56. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  57. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
  58. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  59. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
  60. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
  61. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
  62. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +3 -2
  63. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
  64. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -5
  65. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
  66. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
  67. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
  68. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  69. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
  70. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
  71. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
  72. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
  73. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
  74. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +5 -6
  75. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
  76. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
  77. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
  78. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
  79. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
  80. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
  81. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
  82. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
  83. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
  84. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
  85. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
  86. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
  87. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
  88. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
  89. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
  90. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
  91. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +13 -4
  92. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
  93. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
  94. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
  95. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
  96. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
  97. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  98. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
  99. package/cypress/e2e/applitools.config.js +14 -0
  100. package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
  101. package/cypress/support/commands.js +11 -0
  102. package/cypress/support/e2e.js +1 -0
  103. package/package.json +4 -1
@@ -14,6 +14,14 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
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();
@@ -107,7 +115,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
107
115
  utilities.verifyElementVisibilityState(chartsBarPage.correctAnswersLabel(), 'visible');
108
116
  });
109
117
 
110
- it('Correct answer should be displayed in the correct answer section', () => {
118
+ it('Charts bar: Vertical - Correct answer should be displayed in the correct answer section', () => {
111
119
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 0, barValue: 2, range: 20 });
112
120
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 20 });
113
121
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 20 });
@@ -121,6 +129,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
121
129
  chartsBarPage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
122
130
  chartsBarPage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
123
131
  chartsBarPage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
132
+ cy.eyesCheckWindow('Charts bar: Vertical - Grading view contents');
124
133
  });
125
134
 
126
135
  it('Points and the total score should be displayed', () => {
@@ -220,7 +229,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
220
229
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolBarWrapper(), 'notExist');
221
230
  });
222
231
 
223
- it('The correct answer set by user should be displayed in the correct answer view', () => {
232
+ it('Charts bar: Verical - The correct answer set by user should be displayed in the correct answer view', () => {
224
233
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 2, range: 20 });
225
234
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
226
235
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 5, range: 20 });
@@ -232,6 +241,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
232
241
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
233
242
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
234
243
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
244
+ cy.eyesCheckWindow('Charts bar: Verical - Correct answer view contents')
235
245
  });
236
246
 
237
247
  it('The points alloted to the question should be displayed', () => {
@@ -13,6 +13,14 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
+ beforeEach(() => {
17
+ cy.startApplitools();
18
+ });
19
+
20
+ afterEach(() => {
21
+ cy.eyesClose();
22
+ });
23
+
16
24
  views.forEach((view) => {
17
25
  describe(`Preview tab contents - Edit bar graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
18
26
  abortEarlySetup();
@@ -80,7 +88,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
80
88
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
81
89
  });
82
90
 
83
- it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
91
+ it(`${view} - Charts bar: Vertical The graph title, Y axis label, X axis label and bar labels should be displayed`, () => {
84
92
  utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
85
93
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
86
94
  utilities.verifyInnerText(chartsBarPage.previewTabYAxisLabelButton(), 'Profit');
@@ -144,9 +152,10 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
144
152
 
145
153
  chartsBarPage.tests.verifyBarTooltipContentsCSSAndA11yInPreviewTab('3', barBackgroundColor[3], 'Bar 4');
146
154
 
147
- it('User should be able to edit the label a bar', () => {
155
+ it(`${view} - Charts bar: Vertical User should be able to edit the label a bar`, () => {
148
156
  chartsBarPage.steps.editBarLabelInPreviewTab(0, '2000');
149
157
  chartsBarPage.steps.editBarLabelInPreviewTab(1, '2001');
158
+ cy.eyesCheckWindow(`${view} - Charts bar: Vertical after editing the bar height and labels`);
150
159
  });
151
160
 
152
161
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -312,7 +321,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
312
321
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
313
322
  });
314
323
 
315
- it('When user adds a bar again and the number of extra bars reaches the maximum set value i.e. 1, then the add bar button should be disabled', () => {
324
+ it(`${view} Charts bar - Vertical: When user adds a bar again and the number of extra bars reaches the maximum set value i.e. 1, then the add bar button should be disabled`, () => {
316
325
  chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
317
326
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
318
327
  });
@@ -366,13 +375,13 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
366
375
  });
367
376
 
368
377
  //Bar labels
369
- it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
378
+ it(`${view} - Charts bar: Vertical When user updates a bar label, then the undo and reset button should be displayed in enabled state`, () => {
370
379
  chartsBarPage.steps.editBarLabelInPreviewTab(0, 'Edited bar 1');
371
380
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
372
381
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
373
382
  });
374
383
 
375
- it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
384
+ it(`When user hovers on the enabled undo and reset button, then tooltips 'Undo' and 'Reset' should be displayed`, () => {
376
385
  chartsBarPage.previewTabToolsUndoButton()
377
386
  .verifyTooltip('Undo');
378
387
  chartsBarPage.previewTabToolsResetButton()
@@ -594,7 +603,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
594
603
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
595
604
  });
596
605
 
597
- it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state', () => {
606
+ it(`${view}: Charts bar: Vertical - When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state`, () => {
598
607
  chartsBarPage.steps.clickOnResetButtonPreviewTab();
599
608
  chartsBarPage.steps.confirmReset();
600
609
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
@@ -102,7 +102,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
102
102
  });
103
103
  };
104
104
  //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
105
- it.skip('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
105
+ it.skip(`${view}: Charts Line - When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed`, () => {
106
106
  if (view === 'Grading view') {
107
107
  studentViewPage.steps.submitResponse();
108
108
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -126,7 +126,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
126
126
  });
127
127
 
128
128
  //Fully incorrect case
129
- it('When the user incorrectly sets a point which was correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
129
+ it(`${view}: Charts Line - When the user incorrectly sets a point which was correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
130
130
  chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 0, value: 5, range: 10 });
131
131
  chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 4, value: 2, range: 10 });
132
132
  if (view === 'Grading view') {
@@ -152,7 +152,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
152
152
  });
153
153
 
154
154
  //Partially correct cases
155
- it('When the user incorrectly sets a point which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
155
+ it(`${view}: Charts Line - When the user incorrectly sets a point which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers`, () => {
156
156
  if (view === 'Grading view') {
157
157
  studentViewPage.steps.clearResponses();
158
158
  }
@@ -179,7 +179,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
179
179
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
180
180
  });
181
181
 
182
- it('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', () => {
182
+ 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`, () => {
183
183
  if (view === 'Grading view') {
184
184
  studentViewPage.steps.clearResponses();
185
185
  }
@@ -206,7 +206,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
206
206
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
207
207
  });
208
208
 
209
- it('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', () => {
209
+ 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`, () => {
210
210
  if (view === 'Grading view') {
211
211
  studentViewPage.steps.clearResponses();
212
212
  }
@@ -233,7 +233,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
233
233
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
234
234
  });
235
235
 
236
- it('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', () => {
236
+ 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`, () => {
237
237
  if (view === 'Grading view') {
238
238
  studentViewPage.steps.clearResponses();
239
239
  }
@@ -260,7 +260,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
260
260
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
261
261
  });
262
262
 
263
- it('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', () => {
263
+ 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`, () => {
264
264
  if (view === 'Grading view') {
265
265
  studentViewPage.steps.clearResponses();
266
266
  }
@@ -288,7 +288,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
288
288
  });
289
289
 
290
290
  //Fully correct
291
- it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed, correct icons should be displayed on the correctly attempted points and the correct answer section graph should not be displayed', () => {
291
+ it(`${view}: Charts Line - When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed, correct icons should be displayed on the correctly attempted points and the correct answer section graph should not be displayed`, () => {
292
292
  if (view === 'Grading view') {
293
293
  studentViewPage.steps.clearResponses();
294
294
  }
@@ -13,6 +13,14 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
+ beforeEach(() => {
17
+ cy.startApplitools();
18
+ });
19
+
20
+ afterEach(() => {
21
+ cy.eyesClose();
22
+ });
23
+
16
24
  if (views.includes('Grading view')) {
17
25
  describe('Grading view contents', { tags: 'smoke' }, () => {
18
26
  abortEarlySetup();
@@ -106,7 +114,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
106
114
  utilities.verifyElementVisibilityState(chartsLinePage.correctAnswersLabel(), 'visible');
107
115
  });
108
116
 
109
- it('Correct answer should be displayed in the correct answer section', () => {
117
+ it('Charts Line - Correct answer should be displayed in the correct answer section', () => {
110
118
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 0, value: 2, range: 20 });
111
119
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 1, value: 2, range: 20 });
112
120
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 2, value: 5, range: 20 });
@@ -120,6 +128,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
120
128
  chartsLinePage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
121
129
  chartsLinePage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
122
130
  chartsLinePage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
131
+ cy.eyesCheckWindow('Charts Line - Grading view contents');
123
132
  });
124
133
 
125
134
  it('Points and the total score should be displayed', () => {
@@ -220,7 +229,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
220
229
  utilities.verifyElementVisibilityState(chartsLinePage.previewTabToolBarWrapper(), 'notExist');
221
230
  });
222
231
 
223
- it('The correct answer set by user should be displayed in the correct answer view', () => {
232
+ it('Charts Line - The correct answer set by user should be displayed in the correct answer view', () => {
224
233
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 0, value: 2, range: 20 });
225
234
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 1, value: 2, range: 20 });
226
235
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 2, value: 5, range: 20 });
@@ -232,6 +241,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
232
241
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(2, 'correct');
233
242
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(3, 'correct');
234
243
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
244
+ cy.eyesCheckWindow('Charts Line - Correct answer view contents');
235
245
  });
236
246
 
237
247
  it('The points alloted to the question should be displayed', () => {
@@ -12,6 +12,14 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
+ beforeEach(() => {
16
+ cy.startApplitools();
17
+ });
18
+
19
+ afterEach(() => {
20
+ cy.eyesClose();
21
+ });
22
+
15
23
  views.forEach((view) => {
16
24
  describe(`Preview tab contents - Edit line graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
17
25
  abortEarlySetup();
@@ -93,7 +101,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
93
101
  utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 3), 'Point 4');
94
102
  });
95
103
 
96
- it('The graph max value should be as set in the Max Y input field and it should affect the chart division', () => {
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`, () => {
97
105
  utilities.verifyTextContent(utilities.getNthElement(chartsLinePage.previewTabYAxisCoordinate(), 0), 20);
98
106
  utilities.verifyElementCount(chartsLinePage.previewTabChartRowHeaderContainer(), 21);
99
107
  });
@@ -142,7 +150,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
142
150
 
143
151
  chartsLinePage.tests.verifyPointTooltipContentsCSSAndA11yInPreviewTab('0', 'Point 1');
144
152
 
145
- it('User should be able to edit the point label', () => {
153
+ it(`${view} - Charts line: User should be able to edit the point label`, () => {
146
154
  chartsLinePage.steps.editPointLabelInPreviewTab(0, '2000');
147
155
  });
148
156
 
@@ -277,10 +285,11 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
277
285
  cy.checkAccessibility(chartsLinePage.previewTabGraphTitle().parents('[class*="ChartsPreviewstyles__PreviewWrapper"]'));
278
286
  });
279
287
 
280
- it('When user deletes a point, then that point should be deleted and the add point button should be enabled again', () => {
288
+ it(`${view}: Charts line - When user deletes a point, then that point should be deleted and the add point button should be enabled again`, () => {
281
289
  chartsLinePage.steps.deletePointInPreviewTab(3);
282
290
  utilities.verifyElementCount(chartsLinePage.previewTabPoint(), 3);
283
291
  utilities.verifyElementVisibilityState(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 4), 'notExist');
292
+ cy.eyesCheckWindow(`${view} - Charts Line: Charts bar after adding and deleting points`);
284
293
  });
285
294
  });
286
295
  });
@@ -333,7 +342,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
333
342
  });
334
343
 
335
344
  //Point labels
336
- it('When user updates a point label, then the undo and reset button should be displayed in enabled state', () => {
345
+ it(`${view}: Charts line - When user updates a point label, then the undo and reset button should be displayed in enabled state`, () => {
337
346
  chartsLinePage.steps.editPointLabelInPreviewTab(0, 'Edited point 1');
338
347
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsUndoButton());
339
348
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsResetButton());
@@ -561,7 +570,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
561
570
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 3, value: 6, range: 10 });
562
571
  });
563
572
 
564
- it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state', () => {
573
+ it(`${view}: Charts line - When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state`, () => {
565
574
  chartsLinePage.steps.clickOnResetButtonPreviewTab();
566
575
  chartsLinePage.steps.confirmReset();
567
576
  utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsAddBarOrPointButton());
@@ -61,7 +61,7 @@ describe('Preview tab contents for all views', () => {
61
61
  compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Show');
62
62
  });
63
63
 
64
- it('When user clicks on \'Show compass\' button then \'Compass\' should be displayed and \'Show compass\' button should change to \'Hide compass\'', () => {
64
+ it(`${view} When user clicks on \'Show compass\' button then \'Compass\' should be displayed and \'Show compass\' button should change to \'Hide compass\'`, () => {
65
65
  compassPage.steps.clickOnCompassToolVisibilityButton();
66
66
  compassPage.steps.verifyCompassToolIsVisible();
67
67
  compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Hide');
@@ -68,7 +68,7 @@ describe('Preview tab contents for all views', () => {
68
68
  utilities.verifyElementVisibilityState(contentBlocksPage.subTitleLabelPreviewTab(), 'visible');
69
69
  });
70
70
 
71
- it('Text block, solid group divider and subtitle text should be displayed', () => {
71
+ it(`${view} - Text block, solid group divider and subtitle text should be displayed`, () => {
72
72
  utilities.verifyInnerText(contentBlocksPage.textBlockPreviewTab(), 'This is text block text');
73
73
  utilities.verifyElementVisibilityState(contentBlocksPage.textBlockPreviewTab(), 'visible');
74
74
  utilities.verifyElementVisibilityState(contentBlocksPage.groupDividerPreviewTab(), 'visible');
@@ -11,6 +11,14 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
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
  if (!grepTags || !grepTags.includes('smoke')) {
15
23
  describe('Question preview modes: Student view and Grading view', () => {
16
24
  abortEarlySetup();
@@ -95,7 +103,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
95
103
  });
96
104
  };
97
105
 
98
- it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section should be displayed with correct answers, correct/incorrect status message should not be displayed and respective cell numeration', () => {
106
+ it(`${view} - When the user selects 'Grading' view without attempting the question, cell numeration should be displayed, correct answers section should be displayed with correct answers, correct/incorrect status message should not be displayed and respective cell numeration`, () => {
99
107
  if (view === 'Grading view') {
100
108
  studentViewPage.steps.submitResponse();
101
109
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -114,7 +122,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
114
122
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
115
123
  });
116
124
 
117
- 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 dropzone cell numeration should be displayed', () => {
125
+ it(`${view} - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to 'Grading' view, incorrect icons should be displayed besides all incorrect responses, a status message with text 'Your answer is incorrect' and correct answer section with all correct answers along with dropzone cell numeration should be displayed`, () => {
118
126
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Platypus': 0 });
119
127
  if (view === 'Grading view') {
120
128
  studentViewPage.steps.submitResponse();
@@ -131,7 +139,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
131
139
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
132
140
  });
133
141
 
134
- it('When the user attempts the question partially correct with some cells correct, some cells partially correct but incomplete, some cells partially correct with incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with dropzone cell numeration should be displayed', () => {
142
+ it(`${view} - When the user attempts the question partially correct with some cells correct, some cells partially correct but incomplete, some cells partially correct with incorrect options, then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text 'Your answer is incorrect' and correct answer section with all correct answers along with dropzone cell numeration should be displayed`, () => {
135
143
  if (view === 'Grading view') {
136
144
  studentViewPage.steps.clearResponses();
137
145
  };
@@ -154,7 +162,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
154
162
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
155
163
  });
156
164
 
157
- it('When the user attempts the question partially correct with all the cells correctly attempted but one cell incomplete, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with dropzone cell numeration should be displayed', () => {
165
+ it(`${view} - When the user attempts the question partially correct with all the cells correctly attempted but one cell incomplete, then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text 'Your answer is incorrect' and correct answer section with all correct answers along with dropzone cell numeration should be displayed`, () => {
158
166
  if (view === 'Grading view') {
159
167
  studentViewPage.steps.clearResponses();
160
168
  };
@@ -178,7 +186,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
178
186
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
179
187
  });
180
188
 
181
- it('When the user attempts the question partially correct with all the cells correctly attempted but with an extra option which is not set as correct answer, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with dropzone cell numeration should be displayed', () => {
189
+ it(`${view} - When the user attempts the question partially correct with all the cells correctly attempted but with an extra option which is not set as correct answer, then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text 'Your answer is incorrect' and correct answer section with all correct answers along with dropzone cell numeration should be displayed`, () => {
182
190
  if (view === 'Grading view') {
183
191
  studentViewPage.steps.clearResponses();
184
192
  };
@@ -204,7 +212,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
204
212
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
205
213
  });
206
214
 
207
- 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', () => {
215
+ it(`${view} - When user attempts the question correctly, the user should be awarded full points and on switching to 'Grading' view, then correct icons should be displayed beside all the correct responses, 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`, () => {
208
216
  if (view === 'Grading view') {
209
217
  studentViewPage.steps.clearResponses();
210
218
  };
@@ -229,6 +237,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
229
237
  //Need to remove comment once https://redmine.zeuslearning.com/issues/577009 is resolved
230
238
  // dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
231
239
  dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
240
+ cy.eyesCheckWindow(`${view} - DND - Correct attempt`);
232
241
  });
233
242
  });
234
243
  });
@@ -11,6 +11,14 @@ describe('Create item page - Drag and drop into categories: 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();
@@ -77,12 +85,13 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
77
85
  }
78
86
  });
79
87
 
80
- it('Question instructions should be visible', () => {
88
+ it(`DND into categories: ${view} Question instructions should be visible`, () => {
81
89
  utilities.verifyInnerText(dragAndDropIntoCategoriesPage.questionInstructionsText(), 'Drag and drop options in correct categories');
82
90
  utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.questionInstructionsText(), 'visible');
91
+ cy.eyesCheckWindow(`DND into categories: ${view} Default question state`);
83
92
  });
84
93
 
85
- it(`The category table as set by the user should be displayed in the ${view}`, () => {
94
+ it(`DND into categories: The category table as set by the user should be displayed in the ${view}`, () => {
86
95
  dragAndDropIntoCategoriesPage.steps.verifyTableCellPropertyPreviewTab(0, 'None');
87
96
  utilities.verifyInnerText(utilities.getNthElement(dragAndDropIntoCategoriesPage.cellContainerPreviewTab(), 0), '');
88
97
  dragAndDropIntoCategoriesPage.steps.verifyTableCellPropertyPreviewTab(1, 'Heading');
@@ -107,7 +116,7 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
107
116
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionPreviewTab(5, 'Eagle');
108
117
  });
109
118
 
110
- it(`User should able to drag and drop options in the ${view}`, () => {
119
+ it(`DND into categories: User should able to drag and drop options in the ${view}`, () => {
111
120
  dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Eagle': 1, 'Bat': 0 });
112
121
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(0, ['Bat']);
113
122
  dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Eagle']);
@@ -13,6 +13,14 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
+ beforeEach(() => {
17
+ cy.startApplitools();
18
+ });
19
+
20
+ afterEach(() => {
21
+ cy.eyesClose();
22
+ });
23
+
16
24
  if (views.includes('Grading view')) {
17
25
  describe('Grading view contents', { tags: 'smoke' }, () => {
18
26
  abortEarlySetup();
@@ -50,10 +58,11 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
50
58
  utilities.verifyElementVisibilityState(drawingResponsePage.questionInstructionsText(), 'visible');
51
59
  });
52
60
 
53
- it('A preview of the canvas along with the play button should be displayed and user should be able to click on the play button', () => {
61
+ it('Drawing response: A preview of the canvas along with the play button should be displayed and user should be able to click on the play button', () => {
54
62
  utilities.verifyElementVisibilityState(drawingResponsePage.gradingViewPlayFeatureButton(), 'visible');
55
63
  utilities.verifyElementVisibilityState(drawingResponsePage.previewTabLowerCanvas(), 'visible');
56
64
  drawingResponsePage.steps.clickOnPlayButtonInGradingView();
65
+ cy.eyesCheckWindow(`Checking grading view for drawing response`);
57
66
  });
58
67
 
59
68
  it('Empty score input field and total score should be displayed', () => {
@@ -91,9 +100,10 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
91
100
  utilities.verifyElementVisibilityState(correctAnswerViewPage.correctAnswerViewQuestionInstructions(), 'visible');
92
101
  });
93
102
 
94
- it('\'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
103
+ it('Drawing response: \'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
95
104
  utilities.verifyTextContent(correctAnswerViewPage.manualScoredQuestionHelpText(), 'This is a manual scored question.');
96
105
  utilities.verifyElementVisibilityState(correctAnswerViewPage.manualScoredQuestionHelpText(), 'visible');
106
+ cy.eyesCheckWindow(`Checking correct answer view for drawing response`);
97
107
  });
98
108
 
99
109
  it('The points alloted to the question should be displayed', () => {