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
@@ -11,14 +11,6 @@ describe('Create item page - Grid fill : 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();
@@ -82,7 +74,6 @@ describe('Create item page - Grid fill : Preview contents', () => {
82
74
  gridFillPage.steps.verifyRowsCountPreviewTab(4);
83
75
  gridFillPage.steps.verifyColumnsCountPreviewTab(6);
84
76
  gridFillPage.steps.getCellCountInGridPreviewTab(24);
85
- cy.eyesCheckWindow(`Grid fill - ${view} - Grid matrix`);
86
77
  });
87
78
 
88
79
  it('Cell with \'Hide\' customization should be displayed', () => {
@@ -90,6 +81,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
90
81
  });
91
82
 
92
83
  if (view !== 'Grading view' && view !== 'Correct answer view') {
84
+
93
85
  it('Cell with \'Shade\' customization should be displayed', () => {
94
86
  gridFillPage.steps.verifyCellSelectedPreviewTab(0, 0);
95
87
  });
@@ -16,14 +16,6 @@ describe('Create item page - Image highlight: All or nothing ', () => {
16
16
  cy.loginAs('admin');
17
17
  });
18
18
 
19
- beforeEach(() => {
20
- cy.startApplitools();
21
- });
22
-
23
- afterEach(() => {
24
- cy.eyesClose();
25
- });
26
-
27
19
  if (!grepTags || !grepTags.includes('smoke')) {
28
20
  describe('Question preview modes: Student view and Grading view', () => {
29
21
  abortEarlySetup();
@@ -114,7 +106,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
114
106
  });
115
107
  };
116
108
 
117
- it(`${view}: Image highlight - When the user selects \'Grading\' view without attempting the question, highlight numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration`, () => {
109
+ it('When the user selects \'Grading\' view without attempting the question, highlight numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
118
110
  if (view === 'Grading view') {
119
111
  studentViewPage.steps.submitResponse();
120
112
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -132,10 +124,9 @@ describe('Create item page - Image highlight: All or nothing ', () => {
132
124
  imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
133
125
  utilities.verifyInnerText(imageHighlightPage.correctAnswersLabel(), 'Correct answers');
134
126
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
135
-
136
127
  });
137
128
 
138
- it(`${view}: Image highlight - 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 numeration should be displayed`, () => {
129
+ 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 numeration should be displayed', () => {
139
130
  imageHighlightPage.steps.highlightARegionInPreviewTab(1);
140
131
  if (view === 'Grading view') {
141
132
  studentViewPage.steps.submitResponse();
@@ -155,7 +146,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
155
146
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
156
147
  });
157
148
 
158
- it(`${view}: Image highlight - When the user attempts the question partially correct then the user should be awarded 0 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 incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
149
+ it('When the user attempts the question partially correct then the user should be awarded 0 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 incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
159
150
  if (view === 'Grading view') {
160
151
  studentViewPage.steps.clearResponses();
161
152
  };
@@ -178,7 +169,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
178
169
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
179
170
  });
180
171
 
181
- it(`${view}: Image highlight - When the user attempts the question correct with an incorrect response, 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 numeration should be displayed`, () => {
172
+ it('When the user attempts the question correct with an incorrect response, 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 numeration should be displayed', () => {
182
173
  if (view === 'Grading view') {
183
174
  studentViewPage.steps.clearResponses();
184
175
  };
@@ -203,7 +194,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
203
194
  imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
204
195
  });
205
196
 
206
- it(`${view}: Image highlight - 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`, () => {
197
+ 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', () => {
207
198
  if (view === 'Grading view') {
208
199
  studentViewPage.steps.clearResponses();
209
200
  };
@@ -226,7 +217,6 @@ describe('Create item page - Image highlight: All or nothing ', () => {
226
217
  imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
227
218
  imageHighlightPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
228
219
  imageHighlightPage.steps.verifyCorrectAnswerSectionNotExists();
229
- cy.eyesCheckWindow(`Image highlight: ${view} view - Attempting the question correctly`);
230
220
  });
231
221
  });
232
222
  });
@@ -15,14 +15,6 @@ describe('Create item page - Image highlight - Preview contents in all views', (
15
15
  cy.loginAs('admin');
16
16
  });
17
17
 
18
- beforeEach(() => {
19
- cy.startApplitools();
20
- });
21
-
22
- afterEach(() => {
23
- cy.eyesClose();
24
- });
25
-
26
18
  views.forEach((view) => {
27
19
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
28
20
  abortEarlySetup();
@@ -82,16 +74,15 @@ describe('Create item page - Image highlight - Preview contents in all views', (
82
74
  utilities.verifyElementVisibilityState(imageHighlightPage.questionInstructionsText(), 'visible');
83
75
  });
84
76
 
85
- it(`${view} - Image highlight The uploaded image should be displayed in the preview tab`, () => {
77
+ it('The uploaded image should be displayed in the preview tab', () => {
86
78
  imageHighlightPage.steps.verifyImageUploadedPreviewTab();
87
79
  imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(3);
88
80
  imageHighlightPage.steps.verifyImageUploadedAltTextPreviewTab('Image alternative text');
89
81
  imageHighlightPage.steps.verifyImageUploadedWidthAndHeightPreviewTab('768', '432');
90
- cy.eyesCheckWindow(`Image highlight - ${view} - Uploaded image displayed`);
91
82
  });
92
83
 
93
84
  if (view !== 'Grading view' && view !== 'Correct answer view') {
94
- it(`The highlighted regions should be displayed`, () => {
85
+ it('The highlighted regions should be displayed', () => {
95
86
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
96
87
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, branchesHighlightRegion);
97
88
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, leafHighlightRegion);
@@ -119,7 +110,7 @@ describe('Create item page - Image highlight - Preview contents in all views', (
119
110
  imageHighlightPage.steps.removeHighlightOfARegionInPreviewTab(1);
120
111
  });
121
112
  } else if (view === 'Grading view') {
122
- it(`The highlighted regions should be displayed`, () => {
113
+ it('The highlighted regions should be displayed', () => {
123
114
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
124
115
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, leafHighlightRegion);
125
116
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, branchesHighlightRegion);
@@ -147,7 +138,7 @@ describe('Create item page - Image highlight - Preview contents in all views', (
147
138
  imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, branchesHighlightRegion);
148
139
  });
149
140
 
150
- it(`The highlight regions should be displayed with correct answers`, () => {
141
+ it('The highlight regions should be displayed with correct answers', () => {
151
142
  imageHighlightPage.steps.verifyCorrectHighlightRegion(0);
152
143
  imageHighlightPage.steps.verifyCorrectHighlightRegion(1);
153
144
  });
@@ -92,7 +92,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
92
92
  });
93
93
  };
94
94
 
95
- it(`${view}: List ordering dropdown - When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons should not 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 numeration should be displayed`, () => {
95
+ it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons should not 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 numeration should be displayed', () => {
96
96
  if (view === 'Grading view') {
97
97
  utilities.verifyElementDisabledClass(studentViewPage.submitButton());
98
98
  };
@@ -110,7 +110,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
110
110
  };
111
111
  });
112
112
 
113
- it(`${view}: List ordering dropdown - 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 numeration should be displayed`, () => {
113
+ 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 numeration should be displayed', () => {
114
114
  listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '1' }, { optionIndex: 1, position: '2' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }]);
115
115
  if (view === 'Grading view') {
116
116
  studentViewPage.steps.submitResponse();
@@ -130,7 +130,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
130
130
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
131
131
  });
132
132
 
133
- it(`${view}: List ordering dropdown - When the user attempts the question partially correct, 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 numeration should be displayed`, () => {
133
+ it('When the user attempts the question partially correct, 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 numeration should be displayed', () => {
134
134
  if (view === 'Grading view') {
135
135
  studentViewPage.steps.clearResponses();
136
136
  };
@@ -153,7 +153,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
153
153
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
154
154
  });
155
155
 
156
- it(`${view}: List ordering dropdown - 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`, () => {
156
+ 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', () => {
157
157
  if (view === 'Grading view') {
158
158
  studentViewPage.steps.clearResponses();
159
159
  };
@@ -12,14 +12,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
- beforeEach(() => {
16
- cy.startApplitools();
17
- });
18
-
19
- afterEach(() => {
20
- cy.eyesClose();
21
- });
22
-
23
15
  views.forEach((view) => {
24
16
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
25
17
  abortEarlySetup();
@@ -85,11 +77,10 @@ describe('Create item page - List ordering - Preview contents in all views', ()
85
77
  it('Question instructions should be visible', () => {
86
78
  utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
87
79
  utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
88
- cy.eyesCheckWindow(`List ordering: dropdown - ${view} - Options with image, bold text, and equation`);
89
80
  });
90
81
 
91
82
  if (view !== 'Grading view' && view !== 'Correct answer view') {
92
- it(`List ordering: dropdown When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container in ${view}`, () => {
83
+ it(`When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container in ${view}`, () => {
93
84
  listOrderingPage.steps.verifyOptionWithImageInPreviewTab(0);
94
85
  listOrderingPage.steps.verifyOptionWithBoldTextInPreviewTab(1);
95
86
  listOrderingPage.steps.verifyOptionWithEquationTextInPreviewTab(2);
@@ -114,7 +105,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
114
105
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '');
115
106
  });
116
107
 
117
- it(`User should be able to reorder options containing image, bold text and equation options in the list using position dropdowns. On setting position for all options, the alert message should get removed`, () => {
108
+ it('User should be able to reorder options containing image, bold text and equation options in the list using position dropdowns. On setting position for all options, the alert message should get removed', () => {
118
109
  listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '2' }, { optionIndex: 1, position: '1' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }])
119
110
  listOrderingPage.steps.verifyAlertMessageNotExists();
120
111
  });
@@ -137,7 +128,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
137
128
  utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), 2), '3');
138
129
  });
139
130
  } else {
140
- it(`The order of the options should be as per the correct answer order`, () => {
131
+ it('The order of the options should be as per the correct answer order', () => {
141
132
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '2');
142
133
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(1, '1');
143
134
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(2, '3');
@@ -14,14 +14,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
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
  views.forEach((view) => {
26
18
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
27
19
  abortEarlySetup();
@@ -88,7 +80,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
88
80
  it('Question instructions should be visible', () => {
89
81
  utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
90
82
  utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
91
- cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Default question view`);
92
83
  });
93
84
 
94
85
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -98,7 +89,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
98
89
  listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(2);
99
90
  });
100
91
 
101
- it(`${view} - List ordering: Horizontal orientationUser should be able to reorder options containing image, bold text and equation options in the list`, () => {
92
+ it('User should be able to reorder options containing image, bold text and equation options in the list', () => {
102
93
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('This is a bold option', 0);
103
94
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('Solve the following', 1);
104
95
  listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('This is a bold option', 0);
@@ -108,7 +99,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
108
99
  listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('alpha', 3);
109
100
  });
110
101
  } else if (view === 'Grading view') {
111
- it(`${view} - List ordering: Horizontal orientation The order of the responses should be as per the submitted response`, () => {
102
+ it(`The order of the responses should be as per the submitted response`, () => {
112
103
  listOrderingPage.steps.verifyHorizontalOptionWithBoldTextInPreviewTab(0);
113
104
  listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(1);
114
105
  listOrderingPage.steps.verifyHorizontalOptionWithImageInPreviewTab(2);
@@ -14,14 +14,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
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 (!grepTags || !grepTags.includes('smoke')) {
26
18
  describe('Question preview modes: Student view and Grading view', () => {
27
19
  abortEarlySetup();
@@ -104,7 +96,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
104
96
  });
105
97
  };
106
98
 
107
- it(`${view}: List ordering - When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed`, () => {
99
+ it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
108
100
  if (view === 'Grading view') {
109
101
  studentViewPage.steps.submitResponse();
110
102
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -122,7 +114,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
122
114
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
123
115
  });
124
116
 
125
- it(`${view}: List ordering - 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`, () => {
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 should be displayed', () => {
126
118
  listOrderingPage.steps.clickAndReorderOptionInPreviewTab('sprout', 3);
127
119
  listOrderingPage.steps.clickAndReorderOptionInPreviewTab('flower', 0);
128
120
  if (view === 'Grading view') {
@@ -143,7 +135,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
143
135
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
144
136
  });
145
137
 
146
- it(`${view}: List ordering - When the user attempts the question partially correct, 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 should be displayed`, () => {
138
+ it('When the user attempts the question partially correct, 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 should be displayed', () => {
147
139
  if (view === 'Grading view') {
148
140
  studentViewPage.steps.clearResponses();
149
141
  };
@@ -167,7 +159,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
167
159
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
168
160
  });
169
161
 
170
- it(`${view}: List ordering - 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`, () => {
162
+ 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', () => {
171
163
  if (view === 'Grading view') {
172
164
  studentViewPage.steps.clearResponses();
173
165
  };
@@ -190,7 +182,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
190
182
  listOrderingPage.steps.verifyCorrectOptionIcon('flower');
191
183
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
192
184
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
193
- cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question correctly`);
194
185
  });
195
186
  });
196
187
  });
@@ -15,7 +15,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
15
15
  });
16
16
 
17
17
  views.forEach((view) => {
18
- describe(`${view}: List ordering: Horizontal orientation - Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
18
+ describe(`${view}: Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
19
19
  abortEarlySetup();
20
20
  before(() => {
21
21
  switch (view) {
@@ -66,7 +66,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
66
66
  });
67
67
  };
68
68
 
69
- it(`${view}: List ordering: Horizontal orientation - When the user selects 'Grading' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed`, () => {
69
+ it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
70
70
  if (view === 'Grading view') {
71
71
  utilities.verifyElementVisibilityState(studentViewPage.submitButton(), 'visible');
72
72
  studentViewPage.steps.submitResponse();
@@ -85,7 +85,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
85
85
  listOrderingPage.steps.verifyCorrectOptionIconsCorrectAnswerSection();
86
86
  });
87
87
 
88
- it(`${view}: List ordering: Horizontal orientation - 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`, () => {
88
+ 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', () => {
89
89
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('sprout', 3);
90
90
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('flower', 0);
91
91
  if (view === 'Grading view') {
@@ -106,7 +106,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
106
106
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
107
107
  });
108
108
 
109
- it(`${view}: List ordering: Horizontal orientation - When the user attempts the question partially correct, 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 should be displayed`, () => {
109
+ it('When the user attempts the question partially correct, 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 should be displayed', () => {
110
110
  if (view === 'Grading view') {
111
111
  studentViewPage.steps.clearResponses();
112
112
  };
@@ -132,7 +132,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
132
132
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
133
133
  });
134
134
 
135
- it(`${view}: List ordering: Horizontal orientation - 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`, () => {
135
+ 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', () => {
136
136
  if (view === 'Grading view') {
137
137
  studentViewPage.steps.clearResponses();
138
138
  };
@@ -9,7 +9,7 @@ var itemReferenceID = "";
9
9
  const options = ['sprout', 'plant', 'flower', 'seed'];
10
10
  const correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
11
11
 
12
- describe('Create item page - List ordering - Reorder as a separate list: All or nothing for "Horizontal" option orientation', () => {
12
+ describe('Create item page - List ordering: All or nothing for "Horizontal" option orientation', () => {
13
13
  before(() => {
14
14
  cy.loginAs('admin');
15
15
  });
@@ -69,7 +69,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
69
69
  });
70
70
  };
71
71
  if (view === 'Question preview' || view === 'Item preview') {
72
- it(`${view}: List ordering - Reorder as a separate list:Reorder as a separate list- Horizontal - When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed`, () => {
72
+ it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
73
73
  listOrderingPage.steps.verifyPreviewScore(0, 20);
74
74
  listOrderingPage.steps.switchToGradingView();
75
75
  listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
@@ -78,8 +78,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
78
78
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
79
79
  });
80
80
  }
81
-
82
- it(`${view}: List ordering - Reorder as a separate list:Reorder as a separate list- Horizontal - 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`, () => {
81
+ 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', () => {
83
82
  listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
84
83
  listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
85
84
  listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
@@ -102,7 +101,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
102
101
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
103
102
  });
104
103
 
105
- it(`${view}: List ordering - Reorder as a separate list:Reorder as a separate list- Horizontal - When the user attempts the question partially correct, 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 should be displayed`, () => {
104
+ it('When the user attempts the question partially correct, 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 should be displayed', () => {
106
105
  if (view === 'Grading view') {
107
106
  studentViewPage.steps.clearResponses();
108
107
  };
@@ -128,7 +127,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
128
127
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
129
128
  });
130
129
 
131
- it(`${view}: List ordering - Reorder as a separate list:Reorder as a separate list- Horizontal - 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`, () => {
130
+ 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', () => {
132
131
  if (view === 'Grading view') {
133
132
  studentViewPage.steps.clearResponses();
134
133
  };
@@ -14,14 +14,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
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
  views.forEach((view) => {
26
18
  describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
27
19
  abortEarlySetup();
@@ -91,10 +83,9 @@ describe('Create item page - List ordering - Preview contents in all views', ()
91
83
  }
92
84
  });
93
85
 
94
- it(`List ordering - Reorder as a separate list: ${view} - Question instructions should be visible`, () => {
86
+ it('Question instructions should be visible', () => {
95
87
  utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
96
88
  utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
97
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Options with image, bold text and equation`);
98
89
  });
99
90
 
100
91
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -105,7 +96,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
105
96
  listOrderingPage.steps.verifyTextContentOfOptionInPreviewTabSeperateList('alpha', 3);
106
97
  });
107
98
 
108
- it(`User should be able to drop the options in the dropzone containing image, bold text and equation options in the list`, () => {
99
+ it('User should be able to drop the options in the dropzone containing image, bold text and equation options in the list', () => {
109
100
  listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
110
101
  listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
111
102
  listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
@@ -139,7 +130,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
139
130
  });
140
131
 
141
132
  } else {
142
- it(`The order of the options should be as per the correct answer order`, () => {
133
+ it('The order of the options should be as per the correct answer order', () => {
143
134
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
144
135
  listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
145
136
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);
@@ -14,14 +14,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
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 (!grepTags || !grepTags.includes('smoke')) {
26
18
  describe('Question preview modes: Student view and Grading view', () => {
27
19
  abortEarlySetup();
@@ -117,9 +109,8 @@ describe('Create item page - List ordering: All or nothing ', () => {
117
109
  itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
118
110
  });
119
111
  };
120
-
121
112
  if (view === 'Question preview' || view === 'Item preview') {
122
- it(`${view}: List ordering:Reorder as a separate list - When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed`, () => {
113
+ it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
123
114
  listOrderingPage.steps.verifyPreviewScore(0, 20);
124
115
  listOrderingPage.steps.switchToGradingView();
125
116
  listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
@@ -129,7 +120,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
129
120
  });
130
121
  };
131
122
 
132
- it(`${view}: List ordering:Reorder as a separate list - 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`, () => {
123
+ 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', () => {
133
124
  listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
134
125
  listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
135
126
  listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
@@ -152,7 +143,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
152
143
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
153
144
  });
154
145
 
155
- it(`${view}: List ordering:Reorder as a separate list - When the user attempts the question partially correct, 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 should be displayed`, () => {
146
+ it('When the user attempts the question partially correct, 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 should be displayed', () => {
156
147
  if (view === 'Grading view') {
157
148
  studentViewPage.steps.clearResponses();
158
149
  };
@@ -178,7 +169,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
178
169
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
179
170
  });
180
171
 
181
- it(`${view}: List ordering:Reorder as a separate list - 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`, () => {
172
+ 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', () => {
182
173
  if (view === 'Grading view') {
183
174
  studentViewPage.steps.clearResponses();
184
175
  };
@@ -203,7 +194,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
203
194
  listOrderingPage.steps.verifyCorrectOptionIconSeperateList('flower');
204
195
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
205
196
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
206
- cy.eyesCheckWindow(`List ordering:Reorder as a separate list ${view} view - Attempting the question correctly`);
207
197
  });
208
198
  });
209
199
  });
@@ -81,7 +81,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
81
81
  }
82
82
  });
83
83
 
84
- it(`List ordering: Reorder as a separate list - ${view} - Question instructions should be visible`, () => {
84
+ it('Question instructions should be visible', () => {
85
85
  utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
86
86
  utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
87
87
  });
@@ -93,7 +93,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
93
93
  listOrderingPage.steps.verifyOptionWithEquationTextInOptionsContainerPreviewTabSeperateList(2);
94
94
  });
95
95
 
96
- it(`User should be able to drop the options in the dropzone containing image, bold text and equation options in the list`, () => {
96
+ it('User should be able to drop the options in the dropzone containing image, bold text and equation options in the list', () => {
97
97
  listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
98
98
  listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
99
99
  listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
@@ -125,7 +125,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
125
125
  listOrderingPage.steps.verifyTextContentOfOptionInDropzonePreviewTabSeperateList('alpha', 3);
126
126
  });
127
127
  } else {
128
- it(`The order of the options should be as per the correct answer order`, () => {
128
+ it('The order of the options should be as per the correct answer order', () => {
129
129
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
130
130
  listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
131
131
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);