itemengine-cypress-automation 1.0.280-applitools-0af112e.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 (101) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -40
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -9
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +3 -15
  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 -2
  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/package.json +1 -1
@@ -12,14 +12,6 @@ describe('Create Item page - Text entry math: 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();
@@ -127,14 +119,14 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
127
119
  });
128
120
  };
129
121
 
130
- it(`TEM ${view}: When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
122
+ it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed', () => {
131
123
  if (view === 'Grading view') {
132
124
  studentViewPage.steps.submitResponse();
133
125
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
134
126
  studentViewPage.steps.clickOnGoToGradingViewButton();
135
127
  gradingViewPage.steps.verifyGradingViewScore(0, 20);
136
128
  }
137
- if (view === 'Item preview' || view === 'Question preview') {
129
+ if (view === 'Question preview' || view === 'Item preview') {
138
130
  textEntryMathPage.steps.switchToGradingView();
139
131
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
140
132
  }
@@ -146,10 +138,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
146
138
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
147
139
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
148
140
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
149
- cy.eyesCheckWindow(`TEM ${view} view - Without attempting the question`);
150
141
  });
151
142
 
152
- it(`TEM ${view}: When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
143
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
153
144
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
154
145
  textEntryMathPage.steps.enterTextInPreviewInputFieldNew(0, 'Incorrect answer 1');
155
146
  equationEditorFlyout.steps.clickOnOkButton();
@@ -165,9 +156,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
165
156
  studentViewPage.steps.clickOnGoToGradingViewButton();
166
157
  gradingViewPage.steps.verifyGradingViewScore(0, 20);
167
158
  }
168
- if (view === 'Item preview' || view === 'Question preview') {
169
- textEntryMathPage.steps.switchToGradingView();
159
+ if (view === 'Question preview' || view === 'Item preview') {
170
160
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
161
+ textEntryMathPage.steps.switchToGradingView();
171
162
  }
172
163
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
173
164
  textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
@@ -177,10 +168,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
177
168
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
178
169
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
179
170
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
180
- cy.eyesCheckWindow(`TEM ${view} - Attempting the question incorrectly`);
181
171
  });
182
172
 
183
- it(`TEM ${view}: When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
173
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
184
174
  if (view === 'Grading view') {
185
175
  studentViewPage.steps.clearResponses();
186
176
  }
@@ -198,9 +188,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
198
188
  studentViewPage.steps.clickOnGoToGradingViewButton();
199
189
  gradingViewPage.steps.verifyGradingViewScore(0, 20);
200
190
  }
201
- if (view === 'Item preview' || view === 'Question preview') {
202
- textEntryMathPage.steps.switchToGradingView();
191
+ if (view === 'Question preview' || view === 'Item preview') {
203
192
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
193
+ textEntryMathPage.steps.switchToGradingView();
204
194
  }
205
195
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
206
196
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
@@ -210,10 +200,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
210
200
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
211
201
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
212
202
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
213
- cy.eyesCheckWindow(`TEM ${view} - Attempting partially correct`);
214
203
  });
215
204
 
216
- it(`TEM ${view}: When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed`, () => {
205
+ it('When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed', () => {
217
206
  if (view === 'Grading view') {
218
207
  studentViewPage.steps.clearResponses();
219
208
  }
@@ -228,9 +217,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
228
217
  studentViewPage.steps.clickOnGoToGradingViewButton();
229
218
  gradingViewPage.steps.verifyGradingViewScore(0, 20);
230
219
  }
231
- if (view === 'Item preview' || view === 'Question preview') {
232
- textEntryMathPage.steps.switchToGradingView();
220
+ if (view === 'Question preview' || view === 'Item preview') {
233
221
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
222
+ textEntryMathPage.steps.switchToGradingView();
234
223
  }
235
224
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
236
225
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
@@ -240,10 +229,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
240
229
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
241
230
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
242
231
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
243
- cy.eyesCheckWindow(`TEM ${view} - Attempting partially correct with incomplete response`);
244
232
  });
245
233
 
246
- it(`TEM ${view}: When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, and \'Your answer is correct\' should be displayed`, () => {
234
+ it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, and \'Your answer is correct\' should be displayed', () => {
247
235
  if (view === 'Grading view') {
248
236
  studentViewPage.steps.clearResponses();
249
237
  }
@@ -262,16 +250,15 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
262
250
  cy.wait(1000);
263
251
  gradingViewPage.steps.verifyGradingViewScore(20, 20);
264
252
  }
265
- if (view === 'Item preview' || view === 'Question preview') {
266
- textEntryMathPage.steps.switchToGradingView();
253
+ if (view === 'Question preview' || view === 'Item preview') {
267
254
  textEntryMathPage.steps.verifyPreviewScore(20, 20);
255
+ textEntryMathPage.steps.switchToGradingView();
268
256
  }
269
257
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
270
258
  textEntryMathPage.steps.verifyCorrectResponseIcon(1);
271
259
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
272
260
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
273
261
  textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
274
- cy.eyesCheckWindow(`TEM ${view} - Attempting the question correctly`);
275
262
  });
276
263
  });
277
264
  });
@@ -12,14 +12,6 @@ describe('Create Item page - Text entry math: 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
  views.forEach((view) => {
24
16
  describe(`Text entry math: all or nothing scoring - ${view}`, { tags: 'smoke' }, () => {
25
17
  abortEarlySetup();
@@ -39,7 +31,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
39
31
  equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
40
32
  equationEditorFlyout.steps.clickOnOkButton();
41
33
  textEntryMathPage.steps.expandLayoutAccordion();
42
- textEntryMathPage.steps.focusInLayoutInputField(0);
34
+ textEntryMathPage.steps.focusInLayoutInputFieldNew(0);
43
35
  textEntryMathPage.steps.addResponseContainer();
44
36
  equationEditorFlyout.steps.clickOnOkButton();
45
37
  textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(0);
@@ -47,7 +39,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
47
39
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
48
40
  equationEditorFlyout.steps.enterQuadraticEquation();
49
41
  textEntryMathPage.steps.expandLayoutAccordion();
50
- textEntryMathPage.steps.focusInLayoutInputField(1);
42
+ textEntryMathPage.steps.focusInLayoutInputFieldNew(1);
51
43
  textEntryMathPage.steps.addResponseContainer();
52
44
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['x', 'square', 'y', 'square'] }]);
53
45
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['add'] }]);
@@ -61,7 +53,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
61
53
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
62
54
  equationEditorFlyout.steps.enterEquationUsingPiSymbol();
63
55
  textEntryMathPage.steps.expandLayoutAccordion();
64
- textEntryMathPage.steps.focusInLayoutInputField(2);
56
+ textEntryMathPage.steps.focusInLayoutInputFieldNew(2);
65
57
  textEntryMathPage.steps.addResponseContainer();
66
58
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['multiply'] }, { categoryName: 'intermediate', symbolName: ['pi'] }]);
67
59
  equationEditorFlyout.steps.clickOnOkButton();
@@ -104,7 +96,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
104
96
  });
105
97
  };
106
98
 
107
- it(`${view}: Formula template: When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
99
+ it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed', () => {
108
100
  if (view === 'Grading view') {
109
101
  studentViewPage.steps.submitResponse();
110
102
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -123,10 +115,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
123
115
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
124
116
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
125
117
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
126
- cy.eyesCheckWindow(`Formula template: ${view} view - Without attempting the question`);
127
118
  });
128
119
 
129
- it(`${view}: Formula template: When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
120
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
130
121
  textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
131
122
  equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 1');
132
123
  equationEditorFlyout.steps.clickOnOkButton();
@@ -160,10 +151,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
160
151
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
161
152
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
162
153
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
163
- cy.eyesCheckWindow(`Formula template: ${view} view - Incorrect attempt`);
164
154
  });
165
155
 
166
- it(`${view}: Formula template: When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
156
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
167
157
  if (view === 'Grading view') {
168
158
  studentViewPage.steps.clearResponses();
169
159
  }
@@ -200,10 +190,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
200
190
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
201
191
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
202
192
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
203
- cy.eyesCheckWindow(`Formula template: ${view} view - Partial correct attempt`);
204
193
  });
205
194
 
206
- it(`${view}: Formula template: When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed`, () => {
195
+ it('When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed', () => {
207
196
  if (view === 'Grading view') {
208
197
  studentViewPage.steps.clearResponses();
209
198
  }
@@ -237,10 +226,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
237
226
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
238
227
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
239
228
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
240
- cy.eyesCheckWindow(`Formula template: ${view} view - Partial correct with incomplete response`);
241
229
  });
242
230
 
243
- it(`${view}: Formula template: When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, and \'Your answer is correct\' should be displayed`, () => {
231
+ it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, and \'Your answer is correct\' should be displayed', () => {
244
232
  if (view === 'Grading view') {
245
233
  studentViewPage.steps.clearResponses();
246
234
  }
@@ -276,8 +264,8 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
276
264
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
277
265
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
278
266
  textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
279
- cy.eyesCheckWindow(`Formula template: ${view} view - Correct attempt`);
280
267
  });
281
268
  });
282
269
  });
270
+
283
271
  });
@@ -12,14 +12,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
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();
@@ -89,7 +81,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
89
81
  utilities.verifyElementCount(textEntryMathPage.responseFieldPreviewTab(), '2');
90
82
  });
91
83
 
92
- it(`TEM User should able to enter answers in the response fields for ${view}`, () => {
84
+ it(`User should able to enter answers in the response fields for ${view}`, () => {
93
85
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
94
86
  equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
95
87
  equationEditorFlyout.steps.clickOnOkButton();
@@ -97,21 +89,18 @@ describe('Create item page - Text entry math: Preview contents', () => {
97
89
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
98
90
  equationEditorFlyout.steps.enterQuadraticEquation();
99
91
  textEntryMathPage.steps.verifyResponseAreaContainsTextPreviewTab(1, '2x2y2+4xy+4');
100
- cy.eyesCheckWindow(`TEM ${view}: User should able to enter answers in the response fields`);
101
92
  });
102
93
  } else if (view === 'Grading view') {
103
- it(`TEM The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
94
+ it(`The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
104
95
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, 'Correct1');
105
96
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
106
97
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
107
98
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
108
- cy.eyesCheckWindow(`TEM ${view}: User should able to enter answers in the response fields`);
109
99
  });
110
100
  } else {
111
- it(`TEM The response input fields should be displayed filled with correct answers`, () => {
101
+ it(`The response input fields should be displayed filled with correct answers`, () => {
112
102
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, 'Correct1');
113
103
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
114
- cy.eyesCheckWindow(`TEM ${view}: User should able to enter answers in the response fields`);
115
104
  });
116
105
  }
117
106
 
@@ -12,14 +12,6 @@ describe('Create Item page - Text entry math: 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();
@@ -81,7 +73,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
81
73
  textEntryMathWithImagePage.steps.verifyImageIsUploaded();
82
74
  textEntryMathWithImagePage.steps.insertResponseArea(10);
83
75
  textEntryMathWithImagePage.steps.insertResponseArea(40);
84
- textEntryMathWithImagePage.steps.insertResponseArea(50);
76
+ textEntryMathWithImagePage.steps.insertResponseArea(80);
85
77
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
86
78
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
87
79
  equationEditorFlyout.steps.clearAll();
@@ -129,7 +121,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
129
121
  });
130
122
  };
131
123
 
132
- it(`TEM Image ${view} - When the user selects 'Grading' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed`, () => {
124
+ it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed', () => {
133
125
  if (view === 'Grading view') {
134
126
  studentViewPage.steps.submitResponse();
135
127
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -140,7 +132,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
140
132
  textEntryMathWithImagePage.steps.switchToGradingView();
141
133
  textEntryMathWithImagePage.steps.verifyPreviewScore(0, 20);
142
134
  }
143
- cy.eyesCheckWindow(`TEM Image ${view} - Grading view without attempting`);
144
135
  textEntryMathWithImagePage.steps.verifyResponseFieldNumerationPreviewTab();
145
136
  textEntryMathWithImagePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['12', '2⁢x2⁢y2+4⁢x⁢y+4', '6×π']);
146
137
  textEntryMathWithImagePage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
@@ -151,15 +142,15 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
151
142
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
152
143
  });
153
144
 
154
- it(`TEM Image ${view} - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to 'Grading' view, incorrect icons should be displayed besides all incorrect responses, and 'Your answer is incorrect' label should be displayed`, () => {
145
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
155
146
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
156
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '13');
147
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '13');
157
148
  equationEditorFlyout.steps.clickOnOkButton();
158
149
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
159
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(1, '14');
150
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 1, '14');
160
151
  equationEditorFlyout.steps.clickOnOkButton();
161
152
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
162
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(2, '15');
153
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 2, '15');
163
154
  equationEditorFlyout.steps.clickOnOkButton();
164
155
  if (view === 'Grading view') {
165
156
  studentViewPage.steps.submitResponse();
@@ -171,7 +162,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
171
162
  textEntryMathWithImagePage.steps.verifyPreviewScore(0, 20);
172
163
  textEntryMathWithImagePage.steps.switchToGradingView();
173
164
  }
174
- cy.eyesCheckWindow(`TEM Image ${view} - Incorrect attempt`);
175
165
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(0);
176
166
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(1);
177
167
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(2);
@@ -182,17 +172,17 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
182
172
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
183
173
  });
184
174
 
185
- it(`TEM Image ${view} - When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to 'Grading' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and 'Your answer is incorrect' label should be displayed`, () => {
175
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
186
176
  if (view === 'Grading view') {
187
177
  studentViewPage.steps.clearResponses();
188
178
  }
189
179
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
190
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
180
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
191
181
  equationEditorFlyout.steps.clickOnOkButton();
192
182
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
193
183
  equationEditorFlyout.steps.enterQuadraticEquation();
194
184
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
195
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(2, '13');
185
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 2, '13');
196
186
  equationEditorFlyout.steps.clickOnOkButton();
197
187
  if (view === 'Grading view') {
198
188
  studentViewPage.steps.submitResponse();
@@ -204,7 +194,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
204
194
  textEntryMathWithImagePage.steps.verifyPreviewScore(0, 20);
205
195
  textEntryMathWithImagePage.steps.switchToGradingView();
206
196
  }
207
- cy.eyesCheckWindow(`TEM Image ${view} - Partial correct attempt`);
208
197
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(0);
209
198
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(1);
210
199
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(2);
@@ -215,12 +204,12 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
215
204
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
216
205
  });
217
206
 
218
- it(`TEM Image ${view} - When the user attempts the question partially correct with an incomplete response, then the user should be awarded 0 points and on switching to 'Grading' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, 'Your answer is incorrect' should be displayed`, () => {
207
+ it('When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed', () => {
219
208
  if (view === 'Grading view') {
220
209
  studentViewPage.steps.clearResponses();
221
210
  }
222
211
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
223
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
212
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
224
213
  equationEditorFlyout.steps.clickOnOkButton();
225
214
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
226
215
  equationEditorFlyout.steps.enterQuadraticEquation();
@@ -234,7 +223,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
234
223
  textEntryMathWithImagePage.steps.verifyPreviewScore(0, 20);
235
224
  textEntryMathWithImagePage.steps.switchToGradingView();
236
225
  }
237
- cy.eyesCheckWindow(`TEM Image ${view} - Partial correct with incomplete response`);
238
226
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(0);
239
227
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(1);
240
228
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(2);
@@ -245,12 +233,12 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
245
233
  textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
246
234
  });
247
235
 
248
- it(`TEM Image ${view} - When user attempts the question correctly, the user should be awarded full points and on switching to 'Grading' view, then correct icons should be displayed beside all the correct responses, and 'Your answer is correct' should be displayed`, () => {
236
+ it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, and \'Your answer is correct\' should be displayed', () => {
249
237
  if (view === 'Grading view') {
250
238
  studentViewPage.steps.clearResponses();
251
239
  }
252
240
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
253
- textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
241
+ textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
254
242
  equationEditorFlyout.steps.clickOnOkButton();
255
243
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
256
244
  equationEditorFlyout.steps.enterQuadraticEquation();
@@ -266,7 +254,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
266
254
  textEntryMathWithImagePage.steps.verifyPreviewScore(20, 20);
267
255
  textEntryMathWithImagePage.steps.switchToGradingView();
268
256
  }
269
- cy.eyesCheckWindow(`TEM Image ${view} - Correct attempt`);
270
257
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(0);
271
258
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(1);
272
259
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(2);
@@ -12,14 +12,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
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();
@@ -84,6 +76,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
84
76
  utilities.verifyElementVisibilityState(textEntryMathWithImagePage.questionInstructionsText(), 'visible');
85
77
  });
86
78
 
79
+
87
80
  it('The text area should be displayed on the image canvas', () => {
88
81
  textEntryMathWithImagePage.steps.verifyTextInTextAreaPreviewTab('This is a text area');
89
82
  });
@@ -93,13 +86,13 @@ describe('Create item page - Text entry math: Preview contents', () => {
93
86
  });
94
87
 
95
88
  if (view !== 'Grading view' && view !== 'Correct answer view') {
96
- it(`Two empty response fields should be disabled ${view}`, () => {
89
+ it(`The two empty response fields should be disabled ${view}`, () => {
97
90
  utilities.verifyTextContent(textEntryMathWithImagePage.responseFieldPreviewTab(), '')
98
91
  utilities.verifyElementVisibilityState(textEntryMathWithImagePage.responseFieldPreviewTab(), 'visible');
99
92
  utilities.verifyElementCount(textEntryMathWithImagePage.responseFieldPreviewTab(), '2');
100
93
  });
101
94
 
102
- it(`TEM Image User should able to enter answers in the response fields for ${view}`, () => {
95
+ it(`User should able to enter answers in the response fields for ${view}`, () => {
103
96
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
104
97
  textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
105
98
  equationEditorFlyout.steps.clickOnOkButton();
@@ -107,21 +100,18 @@ describe('Create item page - Text entry math: Preview contents', () => {
107
100
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
108
101
  equationEditorFlyout.steps.enterQuadraticEquation();
109
102
  textEntryMathWithImagePage.steps.verifyResponseAreaContainsTextPreviewTab(1, '2x2y2+4xy+4');
110
- cy.eyesCheckWindow(`TEM Image ${view} Verify response fields with answers`);
111
103
  });
112
104
  } else if (view === 'Grading view') {
113
- it(`TEM Image The response fields should be filled with the submitted responses and user should not be able to edit them in the grading view`, () => {
105
+ it(`The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
114
106
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(0, '12');
115
107
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
116
108
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
117
109
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
118
- cy.eyesCheckWindow(`TEM Image ${view} Verify response submitted answers`);
119
110
  });
120
111
  } else {
121
- it(`TEM Image The responses should be displayed filled with correct answers`, () => {
112
+ it(`The response input fields should be displayed filled with correct answers`, () => {
122
113
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(0, '12');
123
114
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
124
- cy.eyesCheckWindow(`TEM Image ${view} Verify response fields filled with correct answers`);
125
115
  });
126
116
  }
127
117
 
@@ -250,18 +250,9 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
250
250
  textSelectionPage.steps.switchToPreviewTab();
251
251
  });
252
252
 
253
- beforeEach(() => {
254
- cy.startApplitools();
255
- });
256
-
257
- afterEach(() => {
258
- cy.eyesClose();
259
- });
260
-
261
- it('Text selection: When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
253
+ it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
262
254
  textSelectionPage.steps.verifyPreviewScore(0, 20);
263
255
  textSelectionPage.steps.switchToGradingView();
264
- cy.eyesCheckWindow('Text selection: Grading view - without attempting the question');
265
256
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[0]);
266
257
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[1]);
267
258
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(sentenceTextArray[0]);
@@ -269,13 +260,12 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
269
260
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
270
261
  });
271
262
 
272
- it('Text selection: When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
263
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
273
264
  textSelectionPage.steps.resetQuestionPreview();
274
265
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
275
266
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[3]);
276
267
  textSelectionPage.steps.verifyPreviewScore(0, 20);
277
268
  textSelectionPage.steps.switchToGradingView();
278
- cy.eyesCheckWindow('Text selection: Grading view - incorrect attempt');
279
269
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[0]);
280
270
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[1]);
281
271
  textSelectionPage.steps.verifyIncorrectIconForOption(sentenceTextArray[2]);
@@ -294,13 +284,12 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
294
284
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
295
285
  });
296
286
 
297
- it('Text selection: When the user attempts the question partially correct with some correct and some incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
287
+ it('When the user attempts the question partially correct with some correct and some incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
298
288
  textSelectionPage.steps.resetQuestionPreview();
299
289
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
300
290
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
301
291
  textSelectionPage.steps.verifyPreviewScore(0, 20);
302
292
  textSelectionPage.steps.switchToGradingView();
303
- cy.eyesCheckWindow('Text selection: Grading view - partially correct attempt');
304
293
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[0]);
305
294
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[1]);
306
295
  textSelectionPage.steps.verifyIncorrectIconForOption(sentenceTextArray[2]);
@@ -319,13 +308,12 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
319
308
  textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
320
309
  });
321
310
 
322
- it('Text selection: When the user attempts the question correctly then the user should be awarded full points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
311
+ it('When the user attempts the question correctly then the user should be awarded full points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
323
312
  textSelectionPage.steps.resetQuestionPreview();
324
313
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
325
314
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[1]);
326
315
  textSelectionPage.steps.verifyPreviewScore(20, 20);
327
316
  textSelectionPage.steps.switchToGradingView();
328
- cy.eyesCheckWindow('Text selection: Grading view - correct attempt');
329
317
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[0]);
330
318
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[1]);
331
319
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(sentenceTextArray[2]);