itemengine-cypress-automation 1.0.282-applitools-8c400f4.0 → 1.0.283-updatedPackageFile-3c0db7c.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -40
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -17
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -14
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -12
  5. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
  6. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -24
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -18
  10. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -24
  11. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  12. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -19
  13. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -24
  14. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  15. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -18
  16. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
  17. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -20
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +4 -16
  20. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  21. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -54
  22. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
  23. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -20
  24. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +3 -14
  25. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -16
  26. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +2 -13
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -18
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +4 -16
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -16
  30. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +2 -12
  31. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -16
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +3 -14
  33. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -16
  34. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +3 -14
  35. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -18
  36. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  37. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -16
  38. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -21
  39. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +0 -20
  40. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -19
  41. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -16
  42. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -16
  43. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +4 -16
  44. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -13
  45. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -16
  46. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -17
  47. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -18
  48. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +4 -16
  49. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -17
  50. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -16
  51. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -18
  52. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +5 -18
  53. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -18
  54. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -16
  55. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -22
  56. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +6 -19
  57. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -18
  58. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +6 -20
  59. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -18
  60. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  61. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -16
  62. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -18
  63. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  64. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -16
  65. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -18
  66. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +0 -10
  67. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
  68. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -18
  69. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  70. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -10
  71. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
  72. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
  73. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
  74. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -14
  75. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +7 -17
  76. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
  77. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -14
  78. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +4 -16
  79. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -18
  80. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -16
  81. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -27
  82. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +9 -21
  83. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +3 -14
  84. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +13 -26
  85. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -15
  86. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -16
  87. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -20
  88. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +7 -19
  89. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -14
  90. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -13
  91. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
  92. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -18
  93. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -19
  94. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -14
  95. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -16
  96. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -14
  97. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -25
  98. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  99. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -16
  100. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
  101. package/cypress/support/commands.js +0 -11
  102. package/cypress/support/e2e.js +0 -1
  103. package/package.json +1 -4
  104. package/cypress/e2e/applitools.config.js +0 -14
@@ -14,14 +14,6 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
14
14
  cy.loginAs('admin');
15
15
  });
16
16
 
17
- beforeEach(() => {
18
- cy.startApplitools();
19
- });
20
-
21
- afterEach(() => {
22
- cy.eyesClose();
23
- });
24
-
25
17
  if (views.includes('Grading view')) {
26
18
  describe('Grading view contents', { tags: 'smoke' }, () => {
27
19
  abortEarlySetup();
@@ -116,7 +108,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
116
108
  utilities.verifyElementVisibilityState(chartsBarPage.correctAnswersLabel(), 'visible');
117
109
  });
118
110
 
119
- it('Charts bar: Horizontal - Correct answer should be displayed in the correct answer section', () => {
111
+ it('Correct answer should be displayed in the correct answer section', () => {
120
112
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 0, barValue: 2, range: 20 });
121
113
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 20 });
122
114
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 20 });
@@ -130,7 +122,6 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
130
122
  chartsBarPage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
131
123
  chartsBarPage.steps.verifyXAxisLabelInCorrectAnswerSection('Profit');
132
124
  chartsBarPage.steps.verifyYAxisLabelInCorrectAnswerSection('Year');
133
- cy.eyesCheckWindow('Charts bar: Horizontal - Grading view contents')
134
125
  });
135
126
 
136
127
  it('Points and the total score should be displayed', () => {
@@ -231,7 +222,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
231
222
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolBarWrapper(), 'notExist');
232
223
  });
233
224
 
234
- it('Charts bar: Horizontal - The correct answer set by user should be displayed in the correct answer view', () => {
225
+ it('The correct answer set by user should be displayed in the correct answer view', () => {
235
226
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 2, range: 20 });
236
227
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
237
228
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 5, range: 20 });
@@ -243,7 +234,6 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
243
234
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
244
235
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
245
236
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
246
- cy.eyesCheckWindow('Charts bar: Horizontal -Correct answer view contents')
247
237
  });
248
238
 
249
239
  it('The points alloted to the question should be displayed', () => {
@@ -13,14 +13,6 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
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
  views.forEach((view) => {
25
17
  describe(`Preview tab contents - Edit bar graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
26
18
  abortEarlySetup();
@@ -89,7 +81,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
89
81
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
90
82
  });
91
83
 
92
- it(`${view} - Charts bar: Horizontal -The graph title, Y axis label, X axis label and bar labels should be displayed`, () => {
84
+ it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
93
85
  utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
94
86
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
95
87
  utilities.verifyInnerText(chartsBarPage.previewTabXAxisLabelButton(), 'Profit');
@@ -97,7 +89,6 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
97
89
  utilities.verifyInnerText(chartsBarPage.previewTabYAxisLabelButton(), 'Year');
98
90
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabYAxisLabelButton(), 'visible');
99
91
  chartsBarPage.steps.verifyBarLabelHorizontalPreviewTab([[0, 'Bar 1'], [1, 'Bar 2'], [2, 'Bar 3'], [3, 'Bar 4']]);
100
- cy.eyesCheckWindow(`${view} Charts bar: Horizontal - Question instructions, Graph title, Y axis label, X axis label and bar labels`);
101
92
  });
102
93
 
103
94
  it('The graph max value should be as set in the Max X input field and it should affect the chart division', () => {
@@ -151,10 +142,9 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
151
142
 
152
143
  chartsBarPage.tests.verifyBarTooltipContentsCSSAndA11yInPreviewTab('3', barBackgroundColor[3], 'Bar 4');
153
144
 
154
- it(`${view} - Charts bar: Horizontal: User should be able to edit the label a bar`, () => {
145
+ it('User should be able to edit the label a bar', () => {
155
146
  chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(0, '2000');
156
147
  chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(3, '2004');
157
- cy.eyesCheckWindow(`${view} - Charts bar after editing the bar height and labels`);
158
148
  });
159
149
 
160
150
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -320,10 +310,9 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
320
310
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
321
311
  });
322
312
 
323
- it(`${view} Charts bar - Horizontal: 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`, () => {
313
+ 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
314
  chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
325
315
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
326
- cy.eyesCheckWindow(`${view} - Charts bar: Horizontal: Charts bar after adding and deleting bars`);
327
316
  });
328
317
  });
329
318
  });
@@ -376,11 +365,10 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
376
365
  });
377
366
 
378
367
  //Bar labels
379
- it(`${view} - Charts bar: Horizontal When user updates a bar label, then the undo and reset button should be displayed in enabled state`, () => {
368
+ it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
380
369
  chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(0, 'Edited bar 1');
381
370
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
382
371
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
383
- cy.eyesCheckWindow(`${view} - Bar label updated`);
384
372
  });
385
373
 
386
374
  it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
@@ -605,7 +593,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
605
593
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
606
594
  });
607
595
 
608
- it(`${view}: Charts bar: Horizontal - 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`, () => {
596
+ 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', () => {
609
597
  chartsBarPage.steps.clickOnResetButtonPreviewTab();
610
598
  chartsBarPage.steps.confirmReset();
611
599
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
@@ -623,7 +611,6 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
623
611
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 10 });
624
612
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 3, range: 10 });
625
613
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 4, range: 10 });
626
- cy.eyesCheckWindow(`${view} - After confirming reset`);
627
614
  });
628
615
 
629
616
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -11,14 +11,6 @@ describe('Create item page - Charts - Bar: 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
-
22
14
  if (!grepTags || !grepTags.includes('smoke')) {
23
15
  describe('Question preview modes: Student view and Grading view', () => {
24
16
  abortEarlySetup();
@@ -113,7 +105,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
113
105
  };
114
106
 
115
107
  //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
116
- it.skip(`${view} - Charts bar: Vertical - 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`, () => {
108
+ 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', () => {
117
109
  if (view === 'Grading view') {
118
110
  studentViewPage.steps.submitResponse();
119
111
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -133,11 +125,10 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
133
125
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
134
126
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
135
127
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
136
- cy.eyesCheckWindow(`${view} - Grading view without attempting`);
137
128
  });
138
129
 
139
130
  //Fully incorrect case
140
- it(`${view} - Charts bar: Vertical - When the user incorrectly sets a bar 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 bars and correct answer section should be displayed with the correct answers`, () => {
131
+ it('When the user incorrectly sets a bar 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 bars and correct answer section should be displayed with the correct answers', () => {
141
132
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 5, range: 10 });
142
133
  chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 2, range: 10 });
143
134
  if (view === 'Grading view') {
@@ -160,11 +151,10 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
160
151
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
161
152
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
162
153
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
163
- cy.eyesCheckWindow(`${view} - Fully incorrect case`);
164
154
  });
165
155
 
166
156
  //Partially correct cases
167
- it(`${view} - Charts bar: Vertical - When the user incorrectly sets a bar 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 bars and correct answer section should be displayed with the correct answers`, () => {
157
+ it('When the user incorrectly sets a bar 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 bars and correct answer section should be displayed with the correct answers', () => {
168
158
  if (view === 'Grading view') {
169
159
  studentViewPage.steps.clearResponses();
170
160
  }
@@ -189,10 +179,9 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
189
179
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
190
180
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
191
181
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
192
- cy.eyesCheckWindow(`${view} - Partially correct case 1`);
193
182
  });
194
183
 
195
- it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
184
+ it('When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
196
185
  if (view === 'Grading view') {
197
186
  studentViewPage.steps.clearResponses();
198
187
  }
@@ -217,10 +206,9 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
217
206
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
218
207
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
219
208
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
220
- cy.eyesCheckWindow(`${view} - Partially correct case 2`);
221
209
  });
222
210
 
223
- it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
211
+ it('When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
224
212
  if (view === 'Grading view') {
225
213
  studentViewPage.steps.clearResponses();
226
214
  }
@@ -245,10 +233,9 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
245
233
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
246
234
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
247
235
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
248
- cy.eyesCheckWindow(`${view} - Partially correct case 3`);
249
236
  });
250
237
 
251
- it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
238
+ it('When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
252
239
  if (view === 'Grading view') {
253
240
  studentViewPage.steps.clearResponses();
254
241
  }
@@ -273,10 +260,9 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
273
260
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
274
261
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
275
262
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
276
- cy.eyesCheckWindow(`${view} - Partially correct case 4`);
277
263
  });
278
264
 
279
- it(`${view} - Charts bar: Vertical - When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
265
+ it('When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
280
266
  if (view === 'Grading view') {
281
267
  studentViewPage.steps.clearResponses();
282
268
  }
@@ -301,11 +287,10 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
301
287
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
302
288
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
303
289
  chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
304
- cy.eyesCheckWindow(`${view} - Partially correct case 5`);
305
290
  });
306
291
 
307
292
  //Fully correct
308
- it(`${view} - Charts bar: Vertical - Charts bar: Vertical - 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 bars and the correct answer section graph should not be displayed`, () => {
293
+ 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 bars and the correct answer section graph should not be displayed', () => {
309
294
  if (view === 'Grading view') {
310
295
  studentViewPage.steps.clearResponses();
311
296
  }
@@ -327,7 +312,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
327
312
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
328
313
  chartsBarPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
329
314
  chartsBarPage.steps.verifyCorrectAnswerSectionNotExist();
330
- cy.eyesCheckWindow(`${view} - Fully correct case`);
331
315
  });
332
316
  });
333
317
  });
@@ -14,14 +14,6 @@ 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
-
25
17
  if (views.includes('Grading view')) {
26
18
  describe('Grading view contents', { tags: 'smoke' }, () => {
27
19
  abortEarlySetup();
@@ -115,7 +107,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
115
107
  utilities.verifyElementVisibilityState(chartsBarPage.correctAnswersLabel(), 'visible');
116
108
  });
117
109
 
118
- it('Charts bar: Vertical - Correct answer should be displayed in the correct answer section', () => {
110
+ it('Correct answer should be displayed in the correct answer section', () => {
119
111
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 0, barValue: 2, range: 20 });
120
112
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 20 });
121
113
  chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 20 });
@@ -129,7 +121,6 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
129
121
  chartsBarPage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
130
122
  chartsBarPage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
131
123
  chartsBarPage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
132
- cy.eyesCheckWindow('Charts bar: Vertical - Grading view contents');
133
124
  });
134
125
 
135
126
  it('Points and the total score should be displayed', () => {
@@ -229,7 +220,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
229
220
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolBarWrapper(), 'notExist');
230
221
  });
231
222
 
232
- it('Charts bar: Verical - The correct answer set by user should be displayed in the correct answer view', () => {
223
+ it('The correct answer set by user should be displayed in the correct answer view', () => {
233
224
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 2, range: 20 });
234
225
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
235
226
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 5, range: 20 });
@@ -241,7 +232,6 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
241
232
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
242
233
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
243
234
  chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
244
- cy.eyesCheckWindow('Charts bar: Verical - Correct answer view contents')
245
235
  });
246
236
 
247
237
  it('The points alloted to the question should be displayed', () => {
@@ -13,14 +13,6 @@ 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
-
24
16
  views.forEach((view) => {
25
17
  describe(`Preview tab contents - Edit bar graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
26
18
  abortEarlySetup();
@@ -88,7 +80,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
88
80
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
89
81
  });
90
82
 
91
- it(`${view} - Charts bar: Vertical The graph title, Y axis label, X axis label and bar labels should be displayed`, () => {
83
+ it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
92
84
  utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
93
85
  utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
94
86
  utilities.verifyInnerText(chartsBarPage.previewTabYAxisLabelButton(), 'Profit');
@@ -99,7 +91,6 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
99
91
  utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 1), 'Bar 2');
100
92
  utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 2), 'Bar 3');
101
93
  utilities.verifyInnerText(utilities.getNthElement(chartsBarPage.previewTabBarLabel(), 3), 'Bar 4');
102
- cy.eyesCheckWindow(`${view} - Charts bar: Vertical Question instructions, Graph title, Y axis label, X axis label and bar labels`);
103
94
  });
104
95
 
105
96
  it('The graph max value should be as set in the Max Y input field and it should affect the chart division', () => {
@@ -153,10 +144,9 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
153
144
 
154
145
  chartsBarPage.tests.verifyBarTooltipContentsCSSAndA11yInPreviewTab('3', barBackgroundColor[3], 'Bar 4');
155
146
 
156
- it(`${view} - Charts bar: Vertical User should be able to edit the label a bar`, () => {
147
+ it('User should be able to edit the label a bar', () => {
157
148
  chartsBarPage.steps.editBarLabelInPreviewTab(0, '2000');
158
149
  chartsBarPage.steps.editBarLabelInPreviewTab(1, '2001');
159
- cy.eyesCheckWindow(`${view} - Charts bar: Vertical after editing the bar height and labels`);
160
150
  });
161
151
 
162
152
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -322,10 +312,9 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
322
312
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
323
313
  });
324
314
 
325
- 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`, () => {
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', () => {
326
316
  chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
327
317
  utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
328
- cy.eyesCheckWindow(`${view} - Charts bar - Vertical: Charts bar after adding and deleting bars`);
329
318
  });
330
319
  });
331
320
  });
@@ -377,14 +366,13 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
377
366
  });
378
367
 
379
368
  //Bar labels
380
- it(`${view} - Charts bar: Vertical When user updates a bar label, then the undo and reset button should be displayed in enabled state`, () => {
369
+ it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
381
370
  chartsBarPage.steps.editBarLabelInPreviewTab(0, 'Edited bar 1');
382
371
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
383
372
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
384
- cy.eyesCheckWindow(`${view} - Bar label updated`);
385
373
  });
386
374
 
387
- it(`When user hovers on the enabled undo and reset button, then tooltips 'Undo' and 'Reset' should be displayed`, () => {
375
+ it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
388
376
  chartsBarPage.previewTabToolsUndoButton()
389
377
  .verifyTooltip('Undo');
390
378
  chartsBarPage.previewTabToolsResetButton()
@@ -606,7 +594,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
606
594
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
607
595
  });
608
596
 
609
- 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`, () => {
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', () => {
610
598
  chartsBarPage.steps.clickOnResetButtonPreviewTab();
611
599
  chartsBarPage.steps.confirmReset();
612
600
  utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
@@ -624,7 +612,6 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
624
612
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 10 });
625
613
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 3, range: 10 });
626
614
  chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 4, range: 10 });
627
- cy.eyesCheckWindow(`${view}: Charts bar: Vertical - Chart reset to default state`);
628
615
  });
629
616
 
630
617
  it('CSS of preview tab contents', { tags: 'css' }, () => {
@@ -11,14 +11,6 @@ describe('Create item page - Charts - Line: 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
-
22
14
  if (!grepTags || !grepTags.includes('smoke')) {
23
15
  describe('Question preview modes: Student view and Grading view', () => {
24
16
  abortEarlySetup();
@@ -110,7 +102,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
110
102
  });
111
103
  };
112
104
  //Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
113
- 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`, () => {
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', () => {
114
106
  if (view === 'Grading view') {
115
107
  studentViewPage.steps.submitResponse();
116
108
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -131,11 +123,10 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
131
123
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
132
124
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
133
125
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
134
- cy.eyesCheckWindow(`${view} view: Charts Line - Without attempting the question`);
135
126
  });
136
127
 
137
128
  //Fully incorrect case
138
- 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`, () => {
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', () => {
139
130
  chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 0, value: 5, range: 10 });
140
131
  chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 4, value: 2, range: 10 });
141
132
  if (view === 'Grading view') {
@@ -158,11 +149,10 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
158
149
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
159
150
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
160
151
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
161
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question incorrectly`);
162
152
  });
163
153
 
164
154
  //Partially correct cases
165
- 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`, () => {
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', () => {
166
156
  if (view === 'Grading view') {
167
157
  studentViewPage.steps.clearResponses();
168
158
  }
@@ -187,10 +177,9 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
187
177
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
188
178
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
189
179
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
190
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question incorrectly by setting a point which was set to 0 and correct by default`);
191
180
  });
192
181
 
193
- 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`, () => {
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', () => {
194
183
  if (view === 'Grading view') {
195
184
  studentViewPage.steps.clearResponses();
196
185
  }
@@ -215,10 +204,9 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
215
204
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
216
205
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
217
206
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
218
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question partially correct by incorrectly setting a point which was incorrect by default`);
219
207
  });
220
208
 
221
- 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`, () => {
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', () => {
222
210
  if (view === 'Grading view') {
223
211
  studentViewPage.steps.clearResponses();
224
212
  }
@@ -243,10 +231,9 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
243
231
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
244
232
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
245
233
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
246
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question partially correct by incorrectly setting a point to zero which was incorrect by default`);
247
234
  });
248
235
 
249
- 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`, () => {
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', () => {
250
237
  if (view === 'Grading view') {
251
238
  studentViewPage.steps.clearResponses();
252
239
  }
@@ -271,10 +258,9 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
271
258
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
272
259
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
273
260
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
274
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question partially correct by incorrectly setting a point which was set to zero by default`);
275
261
  });
276
262
 
277
- 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`, () => {
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', () => {
278
264
  if (view === 'Grading view') {
279
265
  studentViewPage.steps.clearResponses();
280
266
  }
@@ -299,11 +285,10 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
299
285
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
300
286
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
301
287
  chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
302
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question partially correct by setting all points correctly except 1 `);
303
288
  });
304
289
 
305
290
  //Fully correct
306
- 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`, () => {
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', () => {
307
292
  if (view === 'Grading view') {
308
293
  studentViewPage.steps.clearResponses();
309
294
  }
@@ -325,7 +310,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
325
310
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
326
311
  chartsLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
327
312
  chartsLinePage.steps.verifyCorrectAnswerSectionNotExist();
328
- cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question correctly`);
329
313
  });
330
314
  });
331
315
  });
@@ -13,14 +13,6 @@ 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
-
24
16
  if (views.includes('Grading view')) {
25
17
  describe('Grading view contents', { tags: 'smoke' }, () => {
26
18
  abortEarlySetup();
@@ -114,7 +106,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
114
106
  utilities.verifyElementVisibilityState(chartsLinePage.correctAnswersLabel(), 'visible');
115
107
  });
116
108
 
117
- it('Charts Line - Correct answer should be displayed in the correct answer section', () => {
109
+ it('Correct answer should be displayed in the correct answer section', () => {
118
110
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 0, value: 2, range: 20 });
119
111
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 1, value: 2, range: 20 });
120
112
  chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 2, value: 5, range: 20 });
@@ -128,7 +120,6 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
128
120
  chartsLinePage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
129
121
  chartsLinePage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
130
122
  chartsLinePage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
131
- cy.eyesCheckWindow('Charts Line - Grading view contents');
132
123
  });
133
124
 
134
125
  it('Points and the total score should be displayed', () => {
@@ -229,7 +220,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
229
220
  utilities.verifyElementVisibilityState(chartsLinePage.previewTabToolBarWrapper(), 'notExist');
230
221
  });
231
222
 
232
- it('Charts Line - The correct answer set by user should be displayed in the correct answer view', () => {
223
+ it('The correct answer set by user should be displayed in the correct answer view', () => {
233
224
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 0, value: 2, range: 20 });
234
225
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 1, value: 2, range: 20 });
235
226
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 2, value: 5, range: 20 });
@@ -241,7 +232,6 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
241
232
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(2, 'correct');
242
233
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(3, 'correct');
243
234
  chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
244
- cy.eyesCheckWindow('Charts Line - Correct answer view contents');
245
235
  });
246
236
 
247
237
  it('The points alloted to the question should be displayed', () => {