itemengine-cypress-automation 1.0.280-applitools-0af112e.0 → 1.0.283-updatedPackageFile-3c0db7c.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -40
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -9
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +3 -15
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -12
  5. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
  6. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -2
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -24
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  9. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -18
  10. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -24
  11. package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  12. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -19
  13. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -24
  14. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  15. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -18
  16. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
  17. package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -20
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +4 -16
  20. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
  21. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -54
  22. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
  23. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -20
  24. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +3 -14
  25. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -16
  26. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +2 -13
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -18
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +4 -16
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -16
  30. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +2 -12
  31. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -16
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +3 -14
  33. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -16
  34. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +3 -14
  35. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -18
  36. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  37. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -16
  38. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -21
  39. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +0 -20
  40. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -19
  41. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -16
  42. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -16
  43. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +4 -16
  44. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -13
  45. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -16
  46. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -17
  47. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -18
  48. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +4 -16
  49. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -17
  50. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -16
  51. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -18
  52. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +5 -18
  53. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -18
  54. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -16
  55. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -22
  56. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +6 -19
  57. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -18
  58. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +6 -20
  59. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -18
  60. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  61. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -16
  62. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -18
  63. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  64. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -16
  65. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -18
  66. package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +0 -10
  67. package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
  68. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -18
  69. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  70. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -10
  71. package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
  72. package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
  73. package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
  74. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -14
  75. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +7 -17
  76. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
  77. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -14
  78. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +4 -16
  79. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -18
  80. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -16
  81. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -27
  82. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +9 -21
  83. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +3 -14
  84. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +13 -26
  85. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -15
  86. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -16
  87. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -20
  88. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +7 -19
  89. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -14
  90. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -13
  91. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
  92. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -18
  93. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -19
  94. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -14
  95. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -16
  96. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -14
  97. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -25
  98. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -12
  99. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -16
  100. package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
  101. package/package.json +1 -1
@@ -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();
@@ -97,7 +89,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
97
89
  listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(2);
98
90
  });
99
91
 
100
- 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', () => {
101
93
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('This is a bold option', 0);
102
94
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('Solve the following', 1);
103
95
  listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('This is a bold option', 0);
@@ -105,10 +97,9 @@ describe('Create item page - List ordering - Preview contents in all views', ()
105
97
  listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(1);
106
98
  listOrderingPage.steps.verifyHorizontalOptionWithImageInPreviewTab(2);
107
99
  listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('alpha', 3);
108
- cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Reordered options`);
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);
@@ -119,7 +110,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
119
110
  listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('alpha');
120
111
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
121
112
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
122
- cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Submitted response order`);
123
113
  });
124
114
 
125
115
  it('The order of the responses should not be editable', () => {
@@ -135,7 +125,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
135
125
  listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(1);
136
126
  listOrderingPage.steps.verifyHorizontalOptionWithImageInPreviewTab(2);
137
127
  listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('alpha', 3);
138
- cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Correct answer order`);
139
128
  });
140
129
  }
141
130
 
@@ -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');
@@ -120,10 +112,9 @@ describe('Create item page - List ordering: All or nothing ', () => {
120
112
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
121
113
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
122
114
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
123
- cy.eyesCheckWindow(`List ordering -${view} view - Without attempting the question`);
124
115
  });
125
116
 
126
- 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', () => {
127
118
  listOrderingPage.steps.clickAndReorderOptionInPreviewTab('sprout', 3);
128
119
  listOrderingPage.steps.clickAndReorderOptionInPreviewTab('flower', 0);
129
120
  if (view === 'Grading view') {
@@ -142,10 +133,9 @@ describe('Create item page - List ordering: All or nothing ', () => {
142
133
  listOrderingPage.steps.verifyIncorrectOptionIcon('seed');
143
134
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
144
135
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
145
- cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question incorrectly`);
146
136
  });
147
137
 
148
- 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', () => {
149
139
  if (view === 'Grading view') {
150
140
  studentViewPage.steps.clearResponses();
151
141
  };
@@ -167,10 +157,9 @@ describe('Create item page - List ordering: All or nothing ', () => {
167
157
  listOrderingPage.steps.verifyCorrectOptionIcon('flower');
168
158
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
169
159
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
170
- cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question partially correct`);
171
160
  });
172
161
 
173
- 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', () => {
174
163
  if (view === 'Grading view') {
175
164
  studentViewPage.steps.clearResponses();
176
165
  };
@@ -193,7 +182,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
193
182
  listOrderingPage.steps.verifyCorrectOptionIcon('flower');
194
183
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
195
184
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
196
- cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question correctly`);
197
185
  });
198
186
  });
199
187
  });
@@ -14,16 +14,8 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
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
- 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' }, () => {
27
19
  abortEarlySetup();
28
20
  before(() => {
29
21
  switch (view) {
@@ -74,7 +66,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
74
66
  });
75
67
  };
76
68
 
77
- 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', () => {
78
70
  if (view === 'Grading view') {
79
71
  utilities.verifyElementVisibilityState(studentViewPage.submitButton(), 'visible');
80
72
  studentViewPage.steps.submitResponse();
@@ -91,10 +83,9 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
91
83
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
92
84
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
93
85
  listOrderingPage.steps.verifyCorrectOptionIconsCorrectAnswerSection();
94
- cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Grading view without attempting`);
95
86
  });
96
87
 
97
- 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', () => {
98
89
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('sprout', 3);
99
90
  listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('flower', 0);
100
91
  if (view === 'Grading view') {
@@ -113,10 +104,9 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
113
104
  listOrderingPage.steps.verifyIncorrectOptionIconHorizontalOrientation('seed');
114
105
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
115
106
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
116
- cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Incorrect attempt`);
117
107
  });
118
108
 
119
- 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', () => {
120
110
  if (view === 'Grading view') {
121
111
  studentViewPage.steps.clearResponses();
122
112
  };
@@ -140,10 +130,9 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
140
130
  listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('flower');
141
131
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
142
132
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
143
- cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Partially correct attempt`);
144
133
  });
145
134
 
146
- 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', () => {
147
136
  if (view === 'Grading view') {
148
137
  studentViewPage.steps.clearResponses();
149
138
  };
@@ -168,7 +157,6 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
168
157
  listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('flower');
169
158
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
170
159
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
171
- cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Correct attempt`);
172
160
  });
173
161
  });
174
162
  });
@@ -9,19 +9,11 @@ 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
  });
16
16
 
17
- beforeEach(() => {
18
- cy.startApplitools();
19
- });
20
-
21
- afterEach(() => {
22
- cy.eyesClose();
23
- });
24
-
25
17
  views.forEach((view) => {
26
18
  describe(`${view}: Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
27
19
  abortEarlySetup();
@@ -77,18 +69,16 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
77
69
  });
78
70
  };
79
71
  if (view === 'Question preview' || view === 'Item preview') {
80
- 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', () => {
81
73
  listOrderingPage.steps.verifyPreviewScore(0, 20);
82
74
  listOrderingPage.steps.switchToGradingView();
83
75
  listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
84
76
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
85
77
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
86
78
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
87
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} view - Without attempting the question`);
88
79
  });
89
80
  }
90
-
91
- 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', () => {
92
82
  listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
93
83
  listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
94
84
  listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
@@ -109,10 +99,9 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
109
99
  listOrderingPage.steps.verifyIncorrectOptionIconSeperateList('seed');
110
100
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
111
101
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
112
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} view - Attempting the question incorrectly`);
113
102
  });
114
103
 
115
- 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', () => {
116
105
  if (view === 'Grading view') {
117
106
  studentViewPage.steps.clearResponses();
118
107
  };
@@ -136,10 +125,9 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
136
125
  listOrderingPage.steps.verifyIncorrectOptionIconSeperateList('sprout');
137
126
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
138
127
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
139
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} view - Attempting the question partially correct`);
140
128
  });
141
129
 
142
- 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', () => {
143
131
  if (view === 'Grading view') {
144
132
  studentViewPage.steps.clearResponses();
145
133
  };
@@ -164,7 +152,6 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
164
152
  listOrderingPage.steps.verifyCorrectOptionIconSeperateList('flower');
165
153
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
166
154
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
167
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} view - Attempting the question correctly`);
168
155
  });
169
156
  });
170
157
  });
@@ -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();
@@ -94,15 +86,14 @@ describe('Create item page - List ordering - Preview contents in all views', ()
94
86
  });
95
87
 
96
88
  if (view !== 'Grading view' && view !== 'Correct answer view') {
97
- it(`List ordering - Reorder as a separate list: ${view} - 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}`, () => {
89
+ 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}`, () => {
98
90
  listOrderingPage.steps.verifyOptionWithImageInOptionsContainerPreviewTabSeperateList(0);
99
91
  listOrderingPage.steps.verifyOptionWithBoldTextInOptionsContainerPreviewTabSeperateList(1);
100
92
  listOrderingPage.steps.verifyOptionWithEquationTextInOptionsContainerPreviewTabSeperateList(2);
101
93
  listOrderingPage.steps.verifyTextContentOfOptionInPreviewTabSeperateList('alpha', 3);
102
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Options container`);
103
94
  });
104
95
 
105
- it(`List ordering - Reorder as a separate list: ${view} - 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', () => {
106
97
  listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
107
98
  listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
108
99
  listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
@@ -111,11 +102,10 @@ describe('Create item page - List ordering - Preview contents in all views', ()
111
102
  listOrderingPage.steps.verifyOptionWithImageInDropzonePreviewTabSeperateList(1);
112
103
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzonePreviewTabSeperateList(2);
113
104
  listOrderingPage.steps.verifyTextContentOfOptionInDropzonePreviewTabSeperateList('alpha', 3);
114
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Dropzone options`);
115
105
  });
116
106
 
117
107
  } else if (view === 'Grading view') {
118
- it(`List ordering - Reorder as a separate list: ${view} - The order of the responses should be as per the submitted response`, () => {
108
+ it(`The order of the responses should be as per the submitted response`, () => {
119
109
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzonePreviewTabSeperateList(0);
120
110
  listOrderingPage.steps.verifyOptionWithImageInDropzonePreviewTabSeperateList(1);
121
111
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzonePreviewTabSeperateList(2);
@@ -126,7 +116,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
126
116
  listOrderingPage.steps.verifyCorrectOptionIconOrientationSeperateList('alpha');
127
117
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
128
118
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
129
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Submitted response order`);
130
119
  });
131
120
 
132
121
  it('The order of the responses should not be editable', () => {
@@ -138,12 +127,11 @@ describe('Create item page - List ordering - Preview contents in all views', ()
138
127
  });
139
128
 
140
129
  } else {
141
- it(`List ordering - Reorder as a separate list: ${view} - The order of the options should be as per the correct answer order`, () => {
130
+ it('The order of the options should be as per the correct answer order', () => {
142
131
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
143
132
  listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
144
133
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);
145
134
  listOrderingPage.steps.verifyTextContentOfOptionInDropzoneCorrectAnswerSectionSeperateList('alpha', 3);
146
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Correct answer order`);
147
135
  });
148
136
  }
149
137
 
@@ -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();
@@ -115,20 +107,18 @@ describe('Create item page - List ordering: All or nothing ', () => {
115
107
  itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
116
108
  });
117
109
  };
118
-
119
110
  if (view === 'Question preview' || view === 'Item preview') {
120
- 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`, () => {
111
+ 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', () => {
121
112
  listOrderingPage.steps.verifyPreviewScore(0, 20);
122
113
  listOrderingPage.steps.switchToGradingView();
123
114
  listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
124
115
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
125
116
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
126
117
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
127
- cy.eyesCheckWindow(`List ordering:Reorder as a separate list ${view} view - Without attempting the question`);
128
118
  });
129
119
  };
130
120
 
131
- 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`, () => {
121
+ 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', () => {
132
122
  listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
133
123
  listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
134
124
  listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
@@ -149,10 +139,9 @@ describe('Create item page - List ordering: All or nothing ', () => {
149
139
  listOrderingPage.steps.verifyIncorrectOptionIconSeperateList('seed');
150
140
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
151
141
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
152
- cy.eyesCheckWindow(`List ordering:Reorder as a separate list ${view} view - Attempting the question incorrectly`);
153
142
  });
154
143
 
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`, () => {
144
+ 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
145
  if (view === 'Grading view') {
157
146
  studentViewPage.steps.clearResponses();
158
147
  };
@@ -176,10 +165,9 @@ describe('Create item page - List ordering: All or nothing ', () => {
176
165
  listOrderingPage.steps.verifyIncorrectOptionIconSeperateList('sprout');
177
166
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
178
167
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
179
- cy.eyesCheckWindow(`List ordering:Reorder as a separate list ${view} view - Attempting the question partially correct`);
180
168
  });
181
169
 
182
- 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`, () => {
170
+ 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', () => {
183
171
  if (view === 'Grading view') {
184
172
  studentViewPage.steps.clearResponses();
185
173
  };
@@ -204,7 +192,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
204
192
  listOrderingPage.steps.verifyCorrectOptionIconSeperateList('flower');
205
193
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
206
194
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
207
- cy.eyesCheckWindow(`List ordering:Reorder as a separate list ${view} view - Attempting the question correctly`);
208
195
  });
209
196
  });
210
197
  });
@@ -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();
@@ -93,14 +85,13 @@ describe('Create item page - List ordering - Preview contents in all views', ()
93
85
  });
94
86
 
95
87
  if (view !== 'Grading view' && view !== 'Correct answer view') {
96
- it(`List ordering: Reorder as a separate list - ${view} - 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}`, () => {
88
+ 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}`, () => {
97
89
  listOrderingPage.steps.verifyOptionWithImageInOptionsContainerPreviewTabSeperateList(0);
98
90
  listOrderingPage.steps.verifyOptionWithBoldTextInOptionsContainerPreviewTabSeperateList(1);
99
91
  listOrderingPage.steps.verifyOptionWithEquationTextInOptionsContainerPreviewTabSeperateList(2);
100
- cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Options container with image, bold text, and equation`);
101
92
  });
102
93
 
103
- it(`List ordering: Reorder as a separate list - ${view} - User should be able to drop the options in the dropzone containing image, bold text and equation options in the list`, () => {
94
+ it('User should be able to drop the options in the dropzone containing image, bold text and equation options in the list', () => {
104
95
  listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
105
96
  listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
106
97
  listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
@@ -109,10 +100,9 @@ describe('Create item page - List ordering - Preview contents in all views', ()
109
100
  listOrderingPage.steps.verifyOptionWithImageInDropzonePreviewTabSeperateList(1);
110
101
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzonePreviewTabSeperateList(2);
111
102
  listOrderingPage.steps.verifyTextContentOfOptionInDropzonePreviewTabSeperateList('alpha', 3);
112
- cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Dropzone with image, bold text, and equation options`);
113
103
  });
114
104
  } else if (view === 'Grading view') {
115
- it(`List ordering: Reorder as a separate list - ${view} - The order of the responses should be as per the submitted response`, () => {
105
+ it(`The order of the responses should be as per the submitted response`, () => {
116
106
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzonePreviewTabSeperateList(0);
117
107
  listOrderingPage.steps.verifyOptionWithImageInDropzonePreviewTabSeperateList(1);
118
108
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzonePreviewTabSeperateList(2);
@@ -123,7 +113,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
123
113
  listOrderingPage.steps.verifyCorrectOptionIconOrientationSeperateList('alpha');
124
114
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
125
115
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
126
- cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Submitted response order`);
127
116
  });
128
117
 
129
118
  it('The order of the responses should not be editable', () => {
@@ -134,12 +123,11 @@ describe('Create item page - List ordering - Preview contents in all views', ()
134
123
  listOrderingPage.steps.verifyTextContentOfOptionInDropzonePreviewTabSeperateList('alpha', 3);
135
124
  });
136
125
  } else {
137
- it(`List ordering: Reorder as a separate list - ${view} - The order of the options should be as per the correct answer order`, () => {
126
+ it('The order of the options should be as per the correct answer order', () => {
138
127
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
139
128
  listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
140
129
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);
141
130
  listOrderingPage.steps.verifyTextContentOfOptionInDropzoneCorrectAnswerSectionSeperateList('alpha', 3);
142
- cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Correct answer order`);
143
131
  });
144
132
  }
145
133
 
@@ -14,14 +14,6 @@ describe('Create item page - Matching: 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();
@@ -105,7 +97,7 @@ describe('Create item page - Matching: All or nothing ', () => {
105
97
  });
106
98
  };
107
99
 
108
- it(`${view}: Matching - When the user selects \'Grading\' view without attempting the question, dropzone numeration should be displayed, then 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`, () => {
100
+ it('When the user selects \'Grading\' view without attempting the question, dropzone 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
101
  if (view === 'Grading view') {
110
102
  studentViewPage.steps.submitResponse();
111
103
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
@@ -122,10 +114,9 @@ describe('Create item page - Matching: All or nothing ', () => {
122
114
  matchingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
123
115
  utilities.verifyInnerText(matchingPage.correctAnswersLabel(), 'Correct answers');
124
116
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
125
- cy.eyesCheckWindow(`Matching ${view} view - Without attempting the question`);
126
117
  });
127
118
 
128
- it(`${view}:Matching - 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`, () => {
119
+ 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', () => {
129
120
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 1 }, { optionText: 'Fish', dropzoneIndex: 2 }]);
130
121
  if (view === 'Grading view') {
131
122
  studentViewPage.steps.submitResponse();
@@ -142,10 +133,9 @@ describe('Create item page - Matching: All or nothing ', () => {
142
133
  matchingPage.steps.verifyIncorrectOptionIcon(2);
143
134
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
144
135
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
145
- cy.eyesCheckWindow(`Matching ${view} - Attempting the question incorrectly`);
146
136
  });
147
137
 
148
- it(`${view}: Matching - When the user attempts the question partially correct with some correct, some incomplete, some incorrect options then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer 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`, () => {
138
+ it('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer 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', () => {
149
139
  if (view === 'Grading view') {
150
140
  studentViewPage.steps.clearResponses();
151
141
  };
@@ -165,10 +155,9 @@ describe('Create item page - Matching: All or nothing ', () => {
165
155
  matchingPage.steps.verifyIncorrectOptionIcon(2);
166
156
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
167
157
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
168
- cy.eyesCheckWindow(`Matching ${view} - Attempting partially correct with some correct, some incomplete and some incorrect options`);
169
158
  });
170
159
 
171
- it(`${view}: Matching - When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone 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 numeration should be displayed`, () => {
160
+ it('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone 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 numeration should be displayed', () => {
172
161
  if (view === 'Grading view') {
173
162
  studentViewPage.steps.clearResponses();
174
163
  };
@@ -188,10 +177,9 @@ describe('Create item page - Matching: All or nothing ', () => {
188
177
  matchingPage.steps.verifyCorrectOptionIcon(2);
189
178
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
190
179
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
191
- cy.eyesCheckWindow(`Matching ${view} - Attempting partially correct with incomplete response`);
192
180
  });
193
181
 
194
- it(`${view}: Matching - 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
+ 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', () => {
195
183
  if (view === 'Grading view') {
196
184
  studentViewPage.steps.clearResponses();
197
185
  };
@@ -212,7 +200,6 @@ describe('Create item page - Matching: All or nothing ', () => {
212
200
  matchingPage.steps.verifyCorrectOptionIcon(2);
213
201
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
214
202
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();
215
- cy.eyesCheckWindow(`Matching ${view} - Attempting the question correctly`);
216
203
  });
217
204
  });
218
205
  });