itemengine-cypress-automation 1.0.294-applitools-09785a6.0 → 1.0.294

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