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
@@ -17,14 +17,6 @@ describe('Create item page - Number line: Grading view, Correct answer view cont
17
17
  cy.loginAs('admin');
18
18
  });
19
19
 
20
- beforeEach(() => {
21
- cy.startApplitools();
22
- });
23
-
24
- afterEach(() => {
25
- cy.eyesClose();
26
- });
27
-
28
20
  if (views.includes('Grading view')) {
29
21
  describe('Grading view contents', { tags: 'smoke' }, () => {
30
22
  abortEarlySetup();
@@ -77,14 +69,13 @@ describe('Create item page - Number line: Grading view, Correct answer view cont
77
69
  utilities.verifyElementVisibilityState(numberLinePage.correctAnswersLabel(), 'visible');
78
70
  });
79
71
 
80
- it('Number line Horizontal - Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
72
+ it('Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
81
73
  numberLinePage.steps.verifyCorrectPointsOnNumberLinePreviewTab(range, [-4, -5]);
82
74
  numberLinePage.steps.verifyCorrectLineSegmentOnNumberLinePreviewTab(range, [{ x1: -5, x2: -4 }]);
83
75
  numberLinePage.steps.verifyCorrectPointsOnNumberLineCorrectAnswerSection(range, [2]);
84
76
  numberLinePage.steps.verifyCorrectPointsOnNumberLineCorrectAnswerSection(range, [-4, -5]);
85
77
  numberLinePage.steps.verifyCorrectRayOnNumberLineCorrectAnswerSection('left', range, -7);
86
78
  numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
87
- cy.eyesCheckWindow(`Number line Horizontal - Grading view contents`);
88
79
  });
89
80
 
90
81
  it('Points and the total score should be displayed', () => {
@@ -156,11 +147,10 @@ describe('Create item page - Number line: Grading view, Correct answer view cont
156
147
  });
157
148
  });
158
149
 
159
- it('Number line Horizontal - The correct answer set by user should be displayed in the correct answer view', () => {
150
+ it('The correct answer set by user should be displayed in the correct answer view', () => {
160
151
  numberLinePage.steps.verifyCorrectPointsOnNumberLinePreviewTab(range, [-4, -5, 2]);
161
152
  numberLinePage.steps.verifyCorrectLineSegmentOnNumberLinePreviewTab(range, [{ x1: -5, x2: -4 }]);
162
153
  numberLinePage.steps.verifyCorrectRayOnNumberLinePreviewTab('left', range, -7);
163
- cy.eyesCheckWindow(`Number line Horizontal - Correct answer view contents`);
164
154
  });
165
155
 
166
156
  it('The points alloted to the question should be displayed', () => {
@@ -16,14 +16,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
16
16
  cy.loginAs('admin');
17
17
  });
18
18
 
19
- beforeEach(() => {
20
- cy.startApplitools();
21
- });
22
-
23
- afterEach(() => {
24
- cy.eyesClose();
25
- });
26
-
27
19
  views.forEach((view) => {
28
20
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
29
21
  abortEarlySetup();
@@ -92,11 +84,10 @@ describe('Create item page: Number line - Preview contents in all views', () =>
92
84
  numberLinePage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
93
85
  });
94
86
 
95
- it(`${view} view - Number line Horizontal: By default, all controls should be in disabled state`, () => {
87
+ it('By default, all controls should be in disabled state', () => {
96
88
  controlOptions.forEach((controlOption) => {
97
89
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab(controlOption));
98
90
  });
99
- cy.eyesCheckWindow(`${view} view - Number line Horizontal: Preview contents`);
100
91
  });
101
92
 
102
93
  it('Accessibility of preview content', { tags: 'a11y' }, () => {
@@ -143,12 +134,11 @@ describe('Create item page: Number line - Preview contents in all views', () =>
143
134
  numberLinePage.steps.verifyRayOnNumberLinePreviewTab('left', range, -8);
144
135
  });
145
136
 
146
- it(`${view} view - Number line Horizontal: User should be able to draw a ray wave using the \'Open right ray\' tool option`, () => {
137
+ it('User should be able to draw a ray wave using the \'Open right ray\' tool option', () => {
147
138
  numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Open right ray');
148
139
  numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 7);
149
140
  numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [7]);
150
141
  numberLinePage.steps.verifyRayOnNumberLinePreviewTab('right', range, 7);
151
- cy.eyesCheckWindow(`${view} view - Number line Horizontal: After plotting using point, segment and ray`);
152
142
  });
153
143
 
154
144
  it('When the user clicks on the \'Undo\' control option then the latest action should be reversed', () => {
@@ -186,14 +176,13 @@ describe('Create item page: Number line - Preview contents in all views', () =>
186
176
  numberLinePage.steps.verifyRayOnNumberLinePreviewTab('right', range, 7);
187
177
  });
188
178
 
189
- it(`${view} view - Number line Horizontal:When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset`, () => {
179
+ it('When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset', () => {
190
180
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Reset');
191
181
  numberLinePage.steps.confirmReset();
192
182
  utilities.verifyElementVisibilityState(numberLinePage.numberLinePointPreviewTab(), 'notExist');
193
183
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Undo'));
194
184
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Redo'));
195
185
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Reset'));
196
- cy.eyesCheckWindow(`${view} view - Number line Horizontal: After resetting the number line`);
197
186
  });
198
187
 
199
188
  it('User should be able to draw a ray using the \'Left ray\' tool option', () => {
@@ -203,12 +192,11 @@ describe('Create item page: Number line - Preview contents in all views', () =>
203
192
  numberLinePage.steps.verifyRayOnNumberLinePreviewTab('left', range, -5);
204
193
  });
205
194
 
206
- it(`${view} view - Number line Horizontal: User should be able to draw a ray using the \'Right ray\' tool option`, () => {
195
+ it('User should be able to draw a ray using the \'Right ray\' tool option', () => {
207
196
  numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Right ray');
208
197
  numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 6);
209
198
  numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [6]);
210
199
  numberLinePage.steps.verifyRayOnNumberLinePreviewTab('right', range, 6);
211
- cy.eyesCheckWindow(`${view} view - Number line Horizontal: After plotting ray`);
212
200
  });
213
201
  });
214
202
  });
@@ -13,14 +13,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
13
13
  cy.loginAs('admin');
14
14
  });
15
15
 
16
- beforeEach(() => {
17
- cy.startApplitools();
18
- });
19
-
20
- afterEach(() => {
21
- cy.eyesClose();
22
- });
23
-
24
16
  if (!grepTags || !grepTags.includes('smoke')) {
25
17
  describe('Question preview modes: Student view and Grading view', () => {
26
18
  abortEarlySetup();
@@ -115,7 +107,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
115
107
  });
116
108
  };
117
109
 
118
- it(`${view}: Number line Vertical - When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed`, () => {
110
+ it('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed', () => {
119
111
  if (view === 'Grading view') {
120
112
  studentViewPage.steps.submitResponse();
121
113
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -131,10 +123,9 @@ describe('Create Item page - Number line: All or nothing ', () => {
131
123
  //numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
132
124
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [2]);
133
125
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
134
- cy.eyesCheckWindow(`Number line vertical ${view} view - Without attempting the question`);
135
126
  });
136
127
 
137
- it(`${view}: Number line Vertical - When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
128
+ it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
138
129
  numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Segment');
139
130
  numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 8);
140
131
  numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [8, 7]);
@@ -155,10 +146,9 @@ describe('Create Item page - Number line: All or nothing ', () => {
155
146
  numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
156
147
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [2]);
157
148
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
158
- cy.eyesCheckWindow(`Number line vertical ${view} - Attempting the question incorrectly`);
159
149
  });
160
150
 
161
- it(`${view}: Number line Vertical - When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph`, () => {
151
+ it('When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
162
152
  if (view === 'Grading view') {
163
153
  studentViewPage.steps.clearResponses();
164
154
  }
@@ -180,10 +170,9 @@ describe('Create Item page - Number line: All or nothing ', () => {
180
170
  numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect')
181
171
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [2]);
182
172
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
183
- cy.eyesCheckWindow(`Number line vertical ${view} - Attempting the question partially correct`);
184
173
  });
185
174
 
186
- it(`${view}: Number line Vertical - When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
175
+ it('When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
187
176
  if (view === 'Grading view') {
188
177
  studentViewPage.steps.clearResponses();
189
178
  }
@@ -213,10 +202,9 @@ describe('Create Item page - Number line: All or nothing ', () => {
213
202
  numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
214
203
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [-4, -5]);
215
204
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
216
- cy.eyesCheckWindow(`Number line vertical ${view} - Attempting the question partially correct with an incorrect response`);
217
205
  });
218
206
 
219
- it(`${view}: Number line 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
207
+ 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
220
208
  if (view === 'Grading view') {
221
209
  studentViewPage.steps.clearResponses();
222
210
  }
@@ -242,7 +230,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
242
230
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
243
231
  numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
244
232
  numberLinePage.steps.verifyCorrectAnswerSectionNotExist();
245
- cy.eyesCheckWindow(`Number line vertical ${view} - Attempting the question correctly`);
246
233
  });
247
234
  });
248
235
  });
@@ -17,14 +17,6 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
17
17
  cy.loginAs('admin');
18
18
  });
19
19
 
20
- beforeEach(() => {
21
- cy.startApplitools();
22
- });
23
-
24
- afterEach(() => {
25
- cy.eyesClose();
26
- });
27
-
28
20
  if (views.includes('Grading view')) {
29
21
  describe('Grading view contents', { tags: 'smoke' }, () => {
30
22
  abortEarlySetup();
@@ -78,14 +70,13 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
78
70
  utilities.verifyElementVisibilityState(numberLinePage.correctAnswersLabel(), 'visible');
79
71
  });
80
72
 
81
- it('Number line Vertical - Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
73
+ it('Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
82
74
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLinePreviewTab(range, [-4, -5]);
83
75
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
84
76
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [2]);
85
77
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [-4, -5]);
86
78
  numberLinePage.steps.verifyCorrectRayOnVerticalNumberLineCorrectAnswerSection('left', range, -7);
87
79
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
88
- cy.eyesCheckWindow(`Number line Vertical - Grading view contents`);
89
80
  });
90
81
 
91
82
  it('Points and the total score should be displayed', () => {
@@ -158,11 +149,10 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
158
149
  });
159
150
  });
160
151
 
161
- it('Number line Vertical - The correct answer set by user should be displayed in the correct answer view', () => {
152
+ it('The correct answer set by user should be displayed in the correct answer view', () => {
162
153
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLinePreviewTab(range, [-4, -5, 2]);
163
154
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
164
155
  numberLinePage.steps.verifyCorrectRayOnVerticalNumberLinePreviewTab('left', range, -7);
165
- cy.eyesCheckWindow(`Number line Vertical - Correct answer view contents`);
166
156
  });
167
157
 
168
158
  it('The points alloted to the question should be displayed', () => {
@@ -16,14 +16,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
16
16
  cy.loginAs('admin');
17
17
  });
18
18
 
19
- beforeEach(() => {
20
- cy.startApplitools();
21
- });
22
-
23
- afterEach(() => {
24
- cy.eyesClose();
25
- });
26
-
27
19
  views.forEach((view) => {
28
20
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
29
21
  abortEarlySetup();
@@ -93,11 +85,10 @@ describe('Create item page: Number line - Preview contents in all views', () =>
93
85
  numberLinePage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
94
86
  });
95
87
 
96
- it(`${view} view - Number line Vertical: By default, all controls should be in disabled state`, () => {
88
+ it('By default, all controls should be in disabled state', () => {
97
89
  controlOptions.forEach((controlOption) => {
98
90
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab(controlOption));
99
91
  });
100
- cy.eyesCheckWindow(`${view} view - Number line Vertical: Preview contents`);
101
92
  });
102
93
 
103
94
  it('Accessibility of preview content', { tags: 'a11y' }, () => {
@@ -144,12 +135,11 @@ describe('Create item page: Number line - Preview contents in all views', () =>
144
135
  numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('down', range, -8);
145
136
  });
146
137
 
147
- it(`${view} view - Number line Vertical: User should be able to draw a ray wave using the \'Open right ray\' tool option`, () => {
138
+ it('User should be able to draw a ray wave using the \'Open right ray\' tool option', () => {
148
139
  numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Open right ray');
149
140
  numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 8);
150
141
  numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [8]);
151
142
  numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('up', range, 8);
152
- cy.eyesCheckWindow(`${view} view - Number line Vertical: After plotting using point, segment and ray`);
153
143
  });
154
144
 
155
145
  it('When the user clicks on the \'Undo\' control option then the latest action should be reversed', () => {
@@ -187,14 +177,13 @@ describe('Create item page: Number line - Preview contents in all views', () =>
187
177
  numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('up', range, 8);
188
178
  });
189
179
 
190
- it(`${view} view - Number line Vertical: When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset`, () => {
180
+ it('When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset', () => {
191
181
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Reset');
192
182
  numberLinePage.steps.confirmReset();
193
183
  utilities.verifyElementVisibilityState(numberLinePage.numberLinePointPreviewTab(), 'notExist');
194
184
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Undo'));
195
185
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Redo'));
196
186
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Reset'));
197
- cy.eyesCheckWindow(`${view} view - Number line Vertical: After resetting the number line`);
198
187
  });
199
188
 
200
189
  it('User should be able to draw a ray using the \'Left ray\' tool option', () => {
@@ -204,12 +193,11 @@ describe('Create item page: Number line - Preview contents in all views', () =>
204
193
  numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('down', range, -6);
205
194
  });
206
195
 
207
- it(`${view} view - Number line Vertical: User should be able to draw a ray using the \'Right ray\' tool option`, () => {
196
+ it('User should be able to draw a ray using the \'Right ray\' tool option', () => {
208
197
  numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Right ray');
209
198
  numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 6);
210
199
  numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [6]);
211
200
  numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('up', range, 6);
212
- cy.eyesCheckWindow(`${view} view - Number line Vertical: After plotting ray`);
213
201
  });
214
202
  });
215
203
  });
@@ -12,14 +12,6 @@ describe('Create Item page - Number line label: All or nothing ', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
- beforeEach(() => {
16
- cy.startApplitools();
17
- });
18
-
19
- afterEach(() => {
20
- cy.eyesClose();
21
- });
22
-
23
15
  if (!grepTags || !grepTags.includes('smoke')) {
24
16
  describe('Question preview modes: Student view and Grading view', () => {
25
17
  abortEarlySetup();
@@ -113,7 +105,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
113
105
  });
114
106
  };
115
107
 
116
- it(`${view}: Number line Label Horizontal - 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('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');
@@ -129,10 +121,9 @@ describe('Create Item page - Number line label: All or nothing ', () => {
129
121
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
130
122
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
131
123
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
132
- cy.eyesCheckWindow(`Number line horizontal - ${view} view - Without attempting the question`);
133
124
  });
134
125
 
135
- it(`${view}: Number line Label Horizontal - When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
126
+ it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
136
127
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 4', 'horizontal', range, 0);
137
128
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [0]);
138
129
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'horizontal', range, 4);
@@ -152,10 +143,9 @@ describe('Create Item page - Number line label: All or nothing ', () => {
152
143
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
153
144
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
154
145
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
155
- cy.eyesCheckWindow(`Number line horizontal - ${view} - Attempting the question incorrectly`);
156
146
  });
157
147
 
158
- it(`${view}: Number line Label Horizontal - When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph`, () => {
148
+ it('When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
159
149
  if (view === 'Grading view') {
160
150
  studentViewPage.steps.clearResponses();
161
151
  }
@@ -181,10 +171,9 @@ describe('Create Item page - Number line label: All or nothing ', () => {
181
171
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
182
172
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
183
173
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
184
- cy.eyesCheckWindow(`Number line horizontal - ${view} - Attempting partially correct`);
185
174
  });
186
175
 
187
- it(`${view}: Number line Label Horizontal - When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
176
+ it('When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
188
177
  if (view === 'Grading view') {
189
178
  studentViewPage.steps.clearResponses();
190
179
  }
@@ -213,10 +202,9 @@ describe('Create Item page - Number line label: All or nothing ', () => {
213
202
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
214
203
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
215
204
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
216
- cy.eyesCheckWindow(`Number line horizontal - ${view} - Attempting partially correct with an incorrect response`);
217
205
  });
218
206
 
219
- it(`${view}: Number line Label Horizontal - 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
207
+ 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
220
208
  if (view === 'Grading view') {
221
209
  studentViewPage.steps.clearResponses();
222
210
  }
@@ -240,7 +228,6 @@ describe('Create Item page - Number line label: All or nothing ', () => {
240
228
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
241
229
  numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
242
230
  numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
243
- cy.eyesCheckWindow(`Number line horizontal - ${view} - Attempting the question correctly`);
244
231
  });
245
232
  });
246
233
  });
@@ -13,14 +13,6 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
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();
@@ -75,7 +67,6 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
75
67
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
76
68
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
77
69
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
78
- cy.eyesCheckWindow(`Number line label Horizontal - Grading view contents`);
79
70
  });
80
71
 
81
72
  it('The unattempted labels should be displayed in disabled state', () => {
@@ -149,7 +140,6 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
149
140
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
150
141
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 2', range, 9);
151
142
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 3', range, -9);
152
- cy.eyesCheckWindow(`Number line label Horizontal - Correct answer view contents`);
153
143
  });
154
144
 
155
145
  it('The points alloted to the question should be displayed', () => {
@@ -12,14 +12,6 @@ describe('Create item page: Number line label - 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
-
23
15
  views.forEach((view) => {
24
16
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
25
17
  abortEarlySetup();
@@ -106,11 +98,10 @@ describe('Create item page: Number line label - Preview contents in all views',
106
98
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [-9]);
107
99
  });
108
100
 
109
- it(`${view} view - Number line label Horizontal: The user should be able to change the plotted label on the number line`, () => {
101
+ it('The user should be able to change the plotted label on the number line', () => {
110
102
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('This is a bold option', 'horizontal', range, -8);
111
103
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [-8]);
112
104
  numberLineLabelPage.steps.verifyPointsNotExistOnNumberLinePreviewTab(range, [-9]);
113
- cy.eyesCheckWindow(`${view} view - Number line label Horizontal: Preview contents`);
114
105
  });
115
106
 
116
107
  it('CSS of number line label', { tags: 'css' }, () => {
@@ -12,14 +12,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
- beforeEach(() => {
16
- cy.startApplitools();
17
- });
18
-
19
- afterEach(() => {
20
- cy.eyesClose();
21
- });
22
-
23
15
  if (!grepTags || !grepTags.includes('smoke')) {
24
16
  describe('Question preview modes: Student view and Grading view', () => {
25
17
  abortEarlySetup();
@@ -113,7 +105,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
113
105
  });
114
106
  };
115
107
 
116
- it(`${view}: Number line Label Vertical - When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed`, () => {
108
+ it('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed', () => {
117
109
  if (view === 'Grading view') {
118
110
  studentViewPage.steps.submitResponse();
119
111
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -129,10 +121,9 @@ describe('Create Item page - Number line: All or nothing ', () => {
129
121
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
130
122
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
131
123
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
132
- cy.eyesCheckWindow(`Number line label vertical - ${view} view - Without attempting the question`);
133
124
  });
134
125
 
135
- it(`${view}: Number line Label Vertical - When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
126
+ it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
136
127
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 4', 'vertical', range, 0);
137
128
  numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [0]);
138
129
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'vertical', range, 4);
@@ -152,10 +143,9 @@ describe('Create Item page - Number line: All or nothing ', () => {
152
143
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
153
144
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
154
145
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
155
- cy.eyesCheckWindow(`Number line label vertical - ${view} - Attempting the question incorrectly`);
156
146
  });
157
147
 
158
- it(`${view}: Number line Label Vertical - When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph`, () => {
148
+ it('When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
159
149
  if (view === 'Grading view') {
160
150
  studentViewPage.steps.clearResponses();
161
151
  }
@@ -181,10 +171,9 @@ describe('Create Item page - Number line: All or nothing ', () => {
181
171
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
182
172
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
183
173
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
184
- cy.eyesCheckWindow(`Number line label vertical - ${view} - Attempting partially correct`);
185
174
  });
186
175
 
187
- it(`${view}: Number line Label Vertical - When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
176
+ it('When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
188
177
  if (view === 'Grading view') {
189
178
  studentViewPage.steps.clearResponses();
190
179
  }
@@ -213,10 +202,9 @@ describe('Create Item page - Number line: All or nothing ', () => {
213
202
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
214
203
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
215
204
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
216
- cy.eyesCheckWindow(`Number line label vertical - ${view} - Attempting partially correct with an incorrect response`);
217
205
  });
218
206
 
219
- it(`${view}: Number line Label 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
207
+ 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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
220
208
  if (view === 'Grading view') {
221
209
  studentViewPage.steps.clearResponses();
222
210
  }
@@ -240,7 +228,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
240
228
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
241
229
  numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
242
230
  numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
243
- cy.eyesCheckWindow(`Number line label vertical - ${view} - Attempting the question correctly`);
244
231
  });
245
232
  });
246
233
  });
@@ -13,14 +13,6 @@ describe('Create item page - Number line label - vertical: Grading view, Correct
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();
@@ -69,14 +61,13 @@ describe('Create item page - Number line label - vertical: Grading view, Correct
69
61
  utilities.verifyElementVisibilityState(numberLineLabelPage.correctAnswersLabel(), 'visible');
70
62
  });
71
63
 
72
- it('Number line label Vertical: Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
64
+ it('Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
73
65
  numberLineLabelPage.steps.verifyVerticalIncorrectResponseOnNumberLinePreviewTab('Label 3', range, -8);
74
66
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 2', range, 9);
75
67
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
76
68
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
77
69
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
78
70
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
79
- cy.eyesCheckWindow(`Number line label Vertical - Grading view contents`);
80
71
  });
81
72
 
82
73
  it('The unattempted labels should be displayed in disabled state', () => {
@@ -147,11 +138,10 @@ describe('Create item page - Number line label - vertical: Grading view, Correct
147
138
  utilities.verifyElementVisibilityState(numberLineLabelPage.questionInstructionsText(), 'visible');
148
139
  });
149
140
 
150
- it('Number line label Vertical: The correct answer set by user should be displayed in the correct answer view', () => {
141
+ it('The correct answer set by user should be displayed in the correct answer view', () => {
151
142
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerView('Label 1', 316);
152
143
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerView('Label 2', 59);
153
144
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerView('Label 3', 573);
154
- cy.eyesCheckWindow(`Number line label Vertical - Correct answer view contents`);
155
145
  });
156
146
 
157
147
  it('The points alloted to the question should be displayed', () => {
@@ -12,14 +12,6 @@ describe('Create item page: Number line label - 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
-
23
15
  views.forEach((view) => {
24
16
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
25
17
  abortEarlySetup();
@@ -98,10 +90,9 @@ describe('Create item page: Number line label - Preview contents in all views',
98
90
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('This is a bold option', 'vertical', range, -9);
99
91
  });
100
92
 
101
- it(`${view} view - Number line label Vertical: The user should be able to change the plotted label on the number line`, () => {
93
+ it('The user should be able to change the plotted label on the number line', () => {
102
94
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Solve the following', 'vertical', range, 5);
103
95
  numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [5]);
104
- cy.eyesCheckWindow(`${view} view - Number line label Vertical: Preview contents`);
105
96
  });
106
97
 
107
98
  it('CSS of number line label', { tags: 'css' }, () => {