itemengine-cypress-automation 1.0.280-applitools-0af112e.0 → 1.0.283-applitools-caab082.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +0 -4
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +8 -3
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -3
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +0 -1
  5. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +8 -0
  6. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +0 -6
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +0 -2
  8. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +0 -6
  9. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +0 -2
  10. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +0 -6
  11. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +0 -2
  12. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +2 -6
  13. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +4 -7
  14. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +0 -19
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +1 -5
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -7
  17. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +0 -2
  18. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +4 -6
  19. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +0 -3
  20. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +1 -4
  21. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +0 -2
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +4 -5
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +0 -2
  24. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +5 -7
  25. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +0 -2
  26. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +2 -4
  27. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +0 -3
  28. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +3 -6
  29. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +1 -5
  30. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +0 -12
  31. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +0 -3
  32. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +3 -6
  33. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +0 -2
  34. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +4 -7
  35. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +0 -2
  36. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +0 -2
  37. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +0 -2
  38. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +6 -9
  39. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +0 -2
  40. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +6 -9
  41. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +0 -3
  42. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +5 -9
  43. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +0 -3
  44. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +3 -6
  45. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +0 -2
  46. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +4 -8
  47. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +0 -3
  48. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +2 -6
  49. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +0 -3
  50. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +0 -3
  51. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +0 -3
  52. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +0 -3
  53. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +0 -3
  54. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +0 -3
  55. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +0 -1
  56. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +5 -7
  57. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +0 -1
  58. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +3 -6
  59. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +0 -3
  60. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +3 -6
  61. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -3
  62. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +0 -3
  63. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +2 -4
  64. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +0 -3
  65. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +1 -3
  66. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +0 -2
  67. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -3
  68. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +9 -12
  69. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +0 -2
  70. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +0 -1
  71. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +0 -4
  72. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +0 -2
  73. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +0 -2
  74. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -2
  75. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +0 -2
  76. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +0 -6
  77. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +0 -2
  78. package/cypress/e2e/applitools.config.js +14 -0
  79. package/cypress/support/commands.js +11 -0
  80. package/cypress/support/e2e.js +1 -0
  81. package/package.json +4 -1
@@ -132,7 +132,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
132
132
  numberLinePage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
133
133
  numberLinePage.steps.verifyCorrectPointsOnNumberLineCorrectAnswerSection(range, [2]);
134
134
  numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
135
- cy.eyesCheckWindow(`Number line horizontal ${view} view - Without attempting the question`);
136
135
  });
137
136
 
138
137
  it(`${view}: Number line Horizontal - When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
@@ -183,7 +182,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
183
182
  numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect')
184
183
  numberLinePage.steps.verifyCorrectPointsOnNumberLineCorrectAnswerSection(range, [2]);
185
184
  numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
186
- cy.eyesCheckWindow(`Number line horizontal ${view} - Attempting the question partially correct`);
187
185
  });
188
186
 
189
187
  it(`${view}: Number line Horizontal - When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
@@ -217,7 +215,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
217
215
  numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
218
216
  numberLinePage.steps.verifyCorrectPointsOnNumberLineCorrectAnswerSection(range, [-4, -5]);
219
217
  numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
220
- cy.eyesCheckWindow(`Number line horizontal ${view} - Attempting the question partially correct with an incorrect response`);
221
218
  });
222
219
 
223
220
  it(`${view}: Number line Horizontal - When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
@@ -148,7 +148,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
148
148
  numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 7);
149
149
  numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [7]);
150
150
  numberLinePage.steps.verifyRayOnNumberLinePreviewTab('right', range, 7);
151
- cy.eyesCheckWindow(`${view} view - Number line Horizontal: After plotting using point, segment and ray`);
152
151
  });
153
152
 
154
153
  it('When the user clicks on the \'Undo\' control option then the latest action should be reversed', () => {
@@ -193,7 +192,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
193
192
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Undo'));
194
193
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Redo'));
195
194
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Reset'));
196
- cy.eyesCheckWindow(`${view} view - Number line Horizontal: After resetting the number line`);
197
195
  });
198
196
 
199
197
  it('User should be able to draw a ray using the \'Left ray\' tool option', () => {
@@ -208,7 +206,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
208
206
  numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 6);
209
207
  numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [6]);
210
208
  numberLinePage.steps.verifyRayOnNumberLinePreviewTab('right', range, 6);
211
- cy.eyesCheckWindow(`${view} view - Number line Horizontal: After plotting ray`);
212
209
  });
213
210
  });
214
211
  });
@@ -131,7 +131,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
131
131
  //numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
132
132
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [2]);
133
133
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
134
- cy.eyesCheckWindow(`Number line vertical ${view} view - Without attempting the question`);
135
134
  });
136
135
 
137
136
  it(`${view}: Number line Vertical - When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
@@ -180,7 +179,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
180
179
  numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect')
181
180
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [2]);
182
181
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
183
- cy.eyesCheckWindow(`Number line vertical ${view} - Attempting the question partially correct`);
184
182
  });
185
183
 
186
184
  it(`${view}: Number line Vertical - When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
@@ -213,7 +211,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
213
211
  numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
214
212
  numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [-4, -5]);
215
213
  numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
216
- cy.eyesCheckWindow(`Number line vertical ${view} - Attempting the question partially correct with an incorrect response`);
217
214
  });
218
215
 
219
216
  it(`${view}: Number line Vertical - When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
@@ -149,7 +149,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
149
149
  numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 8);
150
150
  numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [8]);
151
151
  numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('up', range, 8);
152
- cy.eyesCheckWindow(`${view} view - Number line Vertical: After plotting using point, segment and ray`);
153
152
  });
154
153
 
155
154
  it('When the user clicks on the \'Undo\' control option then the latest action should be reversed', () => {
@@ -194,7 +193,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
194
193
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Undo'));
195
194
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Redo'));
196
195
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Reset'));
197
- cy.eyesCheckWindow(`${view} view - Number line Vertical: After resetting the number line`);
198
196
  });
199
197
 
200
198
  it('User should be able to draw a ray using the \'Left ray\' tool option', () => {
@@ -209,7 +207,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
209
207
  numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 6);
210
208
  numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [6]);
211
209
  numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('up', range, 6);
212
- cy.eyesCheckWindow(`${view} view - Number line Vertical: After plotting ray`);
213
210
  });
214
211
  });
215
212
  });
@@ -129,7 +129,6 @@ describe('Create Item page - Number line label: All or nothing ', () => {
129
129
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
130
130
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
131
131
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
132
- cy.eyesCheckWindow(`Number line horizontal - ${view} view - Without attempting the question`);
133
132
  });
134
133
 
135
134
  it(`${view}: Number line Label Horizontal - When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
@@ -181,7 +180,6 @@ describe('Create Item page - Number line label: All or nothing ', () => {
181
180
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
182
181
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
183
182
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
184
- cy.eyesCheckWindow(`Number line horizontal - ${view} - Attempting partially correct`);
185
183
  });
186
184
 
187
185
  it(`${view}: Number line Label Horizontal - When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
@@ -213,7 +211,6 @@ describe('Create Item page - Number line label: All or nothing ', () => {
213
211
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
214
212
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
215
213
  numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
216
- cy.eyesCheckWindow(`Number line horizontal - ${view} - Attempting partially correct with an incorrect response`);
217
214
  });
218
215
 
219
216
  it(`${view}: Number line Label Horizontal - When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
@@ -129,7 +129,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
129
129
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
130
130
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
131
131
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
132
- cy.eyesCheckWindow(`Number line label vertical - ${view} view - Without attempting the question`);
133
132
  });
134
133
 
135
134
  it(`${view}: Number line Label Vertical - When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph`, () => {
@@ -181,7 +180,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
181
180
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
182
181
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
183
182
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
184
- cy.eyesCheckWindow(`Number line label vertical - ${view} - Attempting partially correct`);
185
183
  });
186
184
 
187
185
  it(`${view}: Number line Label Vertical - When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph`, () => {
@@ -213,7 +211,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
213
211
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
214
212
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
215
213
  numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
216
- cy.eyesCheckWindow(`Number line label vertical - ${view} - Attempting partially correct with an incorrect response`);
217
214
  });
218
215
 
219
216
  it(`${view}: Number line Label Vertical - When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed and the attempted graph should be displayed correct and the correct answer section graph should not be displayed`, () => {
@@ -111,7 +111,6 @@ describe('Create item page - Short text response: All or nothing', () => {
111
111
  //Need to remove comment once https://redmine.zeuslearning.com/issues/576511 is resolved
112
112
  // shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
113
113
  shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Buildings');
114
- cy.eyesCheckWindow(`Short text response - ${view} - Grading view without attempting`);
115
114
  });
116
115
 
117
116
  it(`Short text response - ${view} - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to 'Grading' view, incorrect icon should be displayed besides incorrect response, incorrect answer border around response field and correct answer should be displayed in the question preview`, () => {
@@ -65,28 +65,26 @@ describe('Create item page - Short text response : Preview contents', () => {
65
65
  }
66
66
  });
67
67
 
68
- it(`${view} - Question instructions should be visible`, () => {
68
+ it(`${view} - Short text response - Question instructions should be visible`, () => {
69
69
  utilities.verifyInnerText(shortTextResponsePage.questionInstructionsText(), 'Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
70
70
  utilities.verifyElementVisibilityState(shortTextResponsePage.questionInstructionsText(), 'visible');
71
+ cy.eyesCheckWindow(`Short text response - ${view} - Answer input field visible and empty`);
71
72
  });
72
73
 
73
74
  if (view !== 'Grading view' && view !== 'Correct answer view') {
74
- it(`Short text response - ${view} - Answer input field should be visible and by default it should be empty`, () => {
75
+ it(`Answer input field should be visible and by default it should be empty`, () => {
75
76
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('');
76
77
  utilities.verifyElementVisibilityState(shortTextResponsePage.previewTabResponseField(), 'visible');
77
- cy.eyesCheckWindow(`Short text response - ${view} - Answer input field visible and empty`);
78
78
  });
79
79
 
80
- it(`Short text response - ${view} - User should be able to enter text in answer input field`, () => {
80
+ it(`User should be able to enter text in answer input field`, () => {
81
81
  shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('The quick brown fox');
82
82
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('The quick brown fox');
83
- cy.eyesCheckWindow(`Short text response - ${view} - Text entered in answer input field`);
84
83
  });
85
84
  } else {
86
- it(`Short text response - ${view} - The response field should be displayed filled with correct answer`, () => {
85
+ it(`The response field should be displayed filled with correct answer`, () => {
87
86
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('The quick brown fox');
88
87
  utilities.verifyElementDisabled(shortTextResponsePage.previewTabResponseField());
89
- cy.eyesCheckWindow(`Short text response - ${view} - Response field filled with correct answer`);
90
88
  });
91
89
  }
92
90
 
@@ -120,7 +120,6 @@ describe('Create Item page - Single Selection: Scoring cases', () => {
120
120
  singleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
121
121
  //correct answer section
122
122
  singleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
123
- cy.eyesCheckWindow(`Single selection ${view} - Grading view without attempting the question`);
124
123
  });
125
124
 
126
125
  it(`Single selection ${view} - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to 'Grading' view, incorrect icons should be displayed besides incorrect responses, no icons should be displayed besides unattempted responses, incorrect answer border and label should not be displayed below the question preview and correct answer should be displayed in correct answer section`, () => {
@@ -96,11 +96,10 @@ describe('Create item page - Single selection: Preview contents', () => {
96
96
  });
97
97
 
98
98
  if (view !== 'Grading view' && view !== 'Correct answer view') {
99
- it(`Single selection - ${view} - All the options should be in unchecked state`, () => {
99
+ it(`All the options should be in unchecked state`, () => {
100
100
  for (let index = 0; index < 4; index++) {
101
101
  singleSelectionPage.steps.verifyOptionInPreviewTabUncheckedState(index);
102
102
  };
103
- cy.eyesCheckWindow(`Single selection - ${view} - Unchecked options`);
104
103
  });
105
104
 
106
105
  it(`User should able to select options in the ${view}`, () => {
@@ -108,7 +107,7 @@ describe('Create item page - Single selection: Preview contents', () => {
108
107
  singleSelectionPage.steps.verifyOptionInPreviewTabCheckedState(1);
109
108
  });
110
109
  } else if (view === 'Grading view') {
111
- it(`Single selection - ${view} - The submitted/correct options should be in checked state and they should not be editable`, () => {
110
+ it(`The submitted/correct options should be in checked state and they should not be editable`, () => {
112
111
  singleSelectionPage.steps.verifyOptionInPreviewTabCheckedState(1);
113
112
  singleSelectionPage.steps.verifyOptionInPreviewTabUncheckedState(0);
114
113
  singleSelectionPage.steps.verifyOptionInPreviewTabUncheckedState(2);
@@ -116,16 +115,14 @@ describe('Create item page - Single selection: Preview contents', () => {
116
115
  options.forEach((options, index) => {
117
116
  singleSelectionPage.steps.verifyOptionRadioButtonIsDisabled(index)
118
117
  });
119
- cy.eyesCheckWindow(`Single selection - ${view} - Checked and disabled options`);
120
118
  });
121
119
  } else {
122
- it(`Single selection - ${view} - The correct options should have correct icons besides them`, () => {
120
+ it(`The correct options should have correct icons besides them`, () => {
123
121
  // Need to remove comment once https://redmine.zeuslearning.com/issues/576368 is resolved
124
122
  // singleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
125
123
  singleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleGradingView(0);
126
124
  singleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleGradingView(2);
127
125
  singleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleGradingView(3);
128
- cy.eyesCheckWindow(`Single selection - ${view} - Correct icons`);
129
126
  });
130
127
  }
131
128
 
@@ -115,7 +115,6 @@ describe('Create item page - Single selection grid: All or nothing ', () => {
115
115
  };
116
116
  singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
117
117
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
118
- cy.eyesCheckWindow(`Single selection - grid ${view} - Correct answers section displayed`);
119
118
  });
120
119
 
121
120
  it(`Single selection - grid ${view} - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to 'Grading' view, incorrect icons should be displayed besides all incorrect responses, a status message with text 'Your answer is incorrect' and correct answer section with a preview of the entire grid with correct answers should be displayed`, () => {
@@ -158,7 +157,6 @@ describe('Create item page - Single selection grid: All or nothing ', () => {
158
157
  singleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
159
158
  singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
160
159
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
161
- cy.eyesCheckWindow(`Single selection - grid ${view} - Partially correct responses displayed`);
162
160
  });
163
161
 
164
162
  it(`Single selection - grid ${view} - When the user attempts the question partially correct with incomplete responses, then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer responses, no icons should be displayed besides unattempted responses, a status message with text 'Your answer is incorrect' and correct answer section with a preview of the entire grid with correct answers should be displayed`, () => {
@@ -183,7 +181,6 @@ describe('Create item page - Single selection grid: All or nothing ', () => {
183
181
  //singleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
184
182
  singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
185
183
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
186
- cy.eyesCheckWindow(`Single selection - grid ${view} - Incomplete responses displayed`);
187
184
  });
188
185
 
189
186
  it(`Single selection - grid ${view} - When user attempts the question correctly, the user should be awarded full points and on switching to 'Grading' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text 'Your answer is correct' and correct answer section should not be displayed`, () => {
@@ -105,30 +105,28 @@ describe('Create item page - Single selection grid: Preview contents', () => {
105
105
  });
106
106
 
107
107
  if (view !== 'Grading view' && view !== 'Correct answer view') {
108
- it(`Single selection - grid ${view} - When the user has added image, equation, bold text to the options, then they should be displayed in the grid in ${view}`, () => {
108
+ it(`When the user has added image, equation, bold text to the options, then they should be displayed in the grid in ${view}`, () => {
109
109
  singleSelectionGridPage.steps.verifyTableCellWithImageInPreviewTab({ row: 1, column: 1 });
110
110
  singleSelectionGridPage.steps.verifyTableCellWithBoldTextInPreviewTab({ row: 3, column: 1 });
111
111
  singleSelectionGridPage.steps.verifyTableCellWithEquationTextInPreviewTab({ row: 3, column: 0 });
112
- cy.eyesCheckWindow(`Single selection - grid ${view} - Image, equation, bold text displayed`);
113
112
  });
114
113
 
115
114
  it(`User should be able to select options in the ${view}`, () => {
116
115
  singleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
117
116
  });
118
117
  } else if (view === 'Grading view') {
119
- it(`Single selection - grid ${view} - The submitted options should be in checked state`, () => {
118
+ it(`The submitted options should be in checked state`, () => {
120
119
  singleSelectionGridPage.steps.verifyOptionWithRadioButtonSelectedState({ row: 1, column: 0 });
121
120
  singleSelectionGridPage.steps.verifyOptionWithoutRadioButtonSelectedState({ row: 2, column: 1 });
122
121
  singleSelectionGridPage.steps.verifyOptionWithoutRadioButtonSelectedState({ row: 3, column: 0 });
123
122
  singleSelectionGridPage.steps.verifyOptionWithoutRadioButtonSelectedState({ row: 4, column: 1 });
124
- cy.eyesCheckWindow(`Single selection - grid ${view} - Submitted options checked state`);
125
123
  });
126
124
 
127
125
  it('The content in the grid should not be editable', () => {
128
126
  singleSelectionGridPage.steps.verifyOptionDisabledState({ row: 1, column: 1 });
129
127
  });
130
128
  } else {
131
- it(`Single selection - grid ${view} - The correct options should be in checked state, correct icons should be displayed besides them, correct background should be displayed behind the option`, () => {
129
+ it(`The correct options should be in checked state, correct icons should be displayed besides them, correct background should be displayed behind the option`, () => {
132
130
  singleSelectionGridPage.steps.verifyOptionWithRadioButtonSelectedState({ row: 1, column: 0 });
133
131
  singleSelectionGridPage.steps.verifyOptionWithoutRadioButtonSelectedState({ row: 2, column: 1 });
134
132
  singleSelectionGridPage.steps.verifyOptionWithoutRadioButtonSelectedState({ row: 3, column: 0 });
@@ -137,7 +135,6 @@ describe('Create item page - Single selection grid: Preview contents', () => {
137
135
  singleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
138
136
  singleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
139
137
  singleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
140
- cy.eyesCheckWindow(`Single selection - grid ${view} - Correct options checked state and icons`);
141
138
  });
142
139
  }
143
140
 
@@ -146,7 +146,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
146
146
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
147
147
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
148
148
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
149
- cy.eyesCheckWindow(`TEM ${view} view - Without attempting the question`);
150
149
  });
151
150
 
152
151
  it(`TEM ${view}: When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
@@ -210,7 +209,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
210
209
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
211
210
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
212
211
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
213
- cy.eyesCheckWindow(`TEM ${view} - Attempting partially correct`);
214
212
  });
215
213
 
216
214
  it(`TEM ${view}: When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed`, () => {
@@ -240,7 +238,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
240
238
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
241
239
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
242
240
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
243
- cy.eyesCheckWindow(`TEM ${view} - Attempting partially correct with incomplete response`);
244
241
  });
245
242
 
246
243
  it(`TEM ${view}: When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, and \'Your answer is correct\' should be displayed`, () => {
@@ -123,7 +123,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
123
123
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
124
124
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
125
125
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
126
- cy.eyesCheckWindow(`Formula template: ${view} view - Without attempting the question`);
127
126
  });
128
127
 
129
128
  it(`${view}: Formula template: When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, and \'Your answer is incorrect\' label should be displayed`, () => {
@@ -200,7 +199,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
200
199
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
201
200
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
202
201
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
203
- cy.eyesCheckWindow(`Formula template: ${view} view - Partial correct attempt`);
204
202
  });
205
203
 
206
204
  it(`${view}: Formula template: When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed`, () => {
@@ -237,7 +235,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
237
235
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
238
236
  textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(2, '6 times pi');
239
237
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
240
- cy.eyesCheckWindow(`Formula template: ${view} view - Partial correct with incomplete response`);
241
238
  });
242
239
 
243
240
  it(`${view}: Formula template: When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, and \'Your answer is correct\' should be displayed`, () => {
@@ -77,9 +77,10 @@ describe('Create item page - Text entry math: Preview contents', () => {
77
77
  }
78
78
  });
79
79
 
80
- it('Question instructions should be visible', () => {
80
+ it(`TEM ${view}: Question instructions should be visible`, () => {
81
81
  utilities.verifyInnerText(textEntryMathPage.questionInstructionsText(), 'Enter the correct answer in the response field');
82
82
  utilities.verifyElementVisibilityState(textEntryMathPage.questionInstructionsText(), 'visible');
83
+ cy.eyesCheckWindow(`TEM ${view}: Default state`);
83
84
  });
84
85
 
85
86
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -97,7 +98,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
97
98
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
98
99
  equationEditorFlyout.steps.enterQuadraticEquation();
99
100
  textEntryMathPage.steps.verifyResponseAreaContainsTextPreviewTab(1, '2x2y2+4xy+4');
100
- cy.eyesCheckWindow(`TEM ${view}: User should able to enter answers in the response fields`);
101
101
  });
102
102
  } else if (view === 'Grading view') {
103
103
  it(`TEM The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
@@ -105,13 +105,11 @@ describe('Create item page - Text entry math: Preview contents', () => {
105
105
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
106
106
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
107
107
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
108
- cy.eyesCheckWindow(`TEM ${view}: User should able to enter answers in the response fields`);
109
108
  });
110
109
  } else {
111
110
  it(`TEM The response input fields should be displayed filled with correct answers`, () => {
112
111
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(0, 'Correct1');
113
112
  textEntryMathPage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
114
- cy.eyesCheckWindow(`TEM ${view}: User should able to enter answers in the response fields`);
115
113
  });
116
114
  }
117
115
 
@@ -140,7 +140,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
140
140
  textEntryMathWithImagePage.steps.switchToGradingView();
141
141
  textEntryMathWithImagePage.steps.verifyPreviewScore(0, 20);
142
142
  }
143
- cy.eyesCheckWindow(`TEM Image ${view} - Grading view without attempting`);
144
143
  textEntryMathWithImagePage.steps.verifyResponseFieldNumerationPreviewTab();
145
144
  textEntryMathWithImagePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['12', '2⁢x2⁢y2+4⁢x⁢y+4', '6×π']);
146
145
  textEntryMathWithImagePage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
@@ -204,7 +203,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
204
203
  textEntryMathWithImagePage.steps.verifyPreviewScore(0, 20);
205
204
  textEntryMathWithImagePage.steps.switchToGradingView();
206
205
  }
207
- cy.eyesCheckWindow(`TEM Image ${view} - Partial correct attempt`);
208
206
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(0);
209
207
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(1);
210
208
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(2);
@@ -234,7 +232,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
234
232
  textEntryMathWithImagePage.steps.verifyPreviewScore(0, 20);
235
233
  textEntryMathWithImagePage.steps.switchToGradingView();
236
234
  }
237
- cy.eyesCheckWindow(`TEM Image ${view} - Partial correct with incomplete response`);
238
235
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(0);
239
236
  textEntryMathWithImagePage.steps.verifyCorrectResponseIcon(1);
240
237
  textEntryMathWithImagePage.steps.verifyIncorrectResponseIcon(2);
@@ -99,7 +99,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
99
99
  utilities.verifyElementCount(textEntryMathWithImagePage.responseFieldPreviewTab(), '2');
100
100
  });
101
101
 
102
- it(`TEM Image User should able to enter answers in the response fields for ${view}`, () => {
102
+ it(`TEM Image ${view} User should able to enter answers in the response fields for ${view}`, () => {
103
103
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
104
104
  textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
105
105
  equationEditorFlyout.steps.clickOnOkButton();
@@ -115,13 +115,11 @@ describe('Create item page - Text entry math: Preview contents', () => {
115
115
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
116
116
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
117
117
  utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
118
- cy.eyesCheckWindow(`TEM Image ${view} Verify response submitted answers`);
119
118
  });
120
119
  } else {
121
120
  it(`TEM Image The responses should be displayed filled with correct answers`, () => {
122
121
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(0, '12');
123
122
  textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
124
- cy.eyesCheckWindow(`TEM Image ${view} Verify response fields filled with correct answers`);
125
123
  });
126
124
  }
127
125
 
@@ -261,7 +261,6 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
261
261
  it('Text selection: When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
262
262
  textSelectionPage.steps.verifyPreviewScore(0, 20);
263
263
  textSelectionPage.steps.switchToGradingView();
264
- cy.eyesCheckWindow('Text selection: Grading view - without attempting the question');
265
264
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[0]);
266
265
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[1]);
267
266
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(sentenceTextArray[0]);
@@ -300,7 +299,6 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
300
299
  textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
301
300
  textSelectionPage.steps.verifyPreviewScore(0, 20);
302
301
  textSelectionPage.steps.switchToGradingView();
303
- cy.eyesCheckWindow('Text selection: Grading view - partially correct attempt');
304
302
  textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[0]);
305
303
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[1]);
306
304
  textSelectionPage.steps.verifyIncorrectIconForOption(sentenceTextArray[2]);
@@ -140,7 +140,6 @@ describe('Create item page - Text selection: All or nothing ', () => {
140
140
  // utilities.verifyInnerText(textSelectionPage.correctAnswersLabel(), 'Correct answers');
141
141
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
142
142
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
143
- cy.eyesCheckWindow(`Text selection - ${view} - Grading view without attempting`);
144
143
  });
145
144
 
146
145
  it(`Text selection - ${view} - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to 'Grading' view, incorrect icons should be displayed besides all incorrect responses, a status message with text 'Your answer is incorrect' and correct answer section with all correct answers should be displayed`, () => {
@@ -188,7 +187,6 @@ describe('Create item page - Text selection: All or nothing ', () => {
188
187
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
189
188
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
190
189
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
191
- cy.eyesCheckWindow(`Text selection - ${view} - Partially correct attempt`);
192
190
  });
193
191
 
194
192
  it(`Text selection - ${view} - When the user attempts the question partially correct with some correct and some incorrect answers then the user should be awarded 0 points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response a status message with text 'Your answer is incorrect' and correct answer section with all correct answers should be displayed`, () => {
@@ -214,7 +212,6 @@ describe('Create item page - Text selection: All or nothing ', () => {
214
212
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
215
213
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
216
214
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
217
- cy.eyesCheckWindow(`Text selection - ${view} - Partially correct with incorrect answers`);
218
215
  });
219
216
 
220
217
  it(`Text selection - ${view} - When the user attempts the question correct then the user should be awarded full points and on switching to 'Grading' view, correct icon should be displayed besides the correct answer responses, a status message with text 'Your answer is correct' should be displayed and correct answer section should not be displayed`, () => {
@@ -90,56 +90,53 @@ describe('Create item page - Text selection : Preview contents', () => {
90
90
  });
91
91
  });
92
92
 
93
- it('The text which is not available as option should not be interactive in preview tab', () => {
93
+ it(`Text selection - ${view} - The text which is not available as option should not be interactive in preview tab`, () => {
94
94
  textSelectionPage.steps.verifyNonOptionTextIsNotInteractiveInPreviewTab(paragraphTextArray[3]);
95
+ cy.eyesCheckWindow(`Text selection - ${view} - Default state`);
95
96
  });
96
97
 
97
98
  if (view !== 'Grading view' && view !== 'Correct answer view') {
98
- it(`Text selection - ${view} - The selected options in specify possible options section should be displayed and by default all options should not be selected`, () => {
99
+ it(`The selected options in specify possible options section should be displayed and by default all options should not be selected`, () => {
99
100
  for (let index = 0; index < 3; index++) {
100
101
  utilities.verifyInnerText(utilities.getNthElement(textSelectionPage.optionPreviewTab(), index), paragraphTextArray[index]);
101
102
  utilities.verifyElementVisibilityState(utilities.getNthElement(textSelectionPage.optionPreviewTab(), index), 'visible');
102
103
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(paragraphTextArray[index]);
103
104
  };
104
105
  utilities.verifyElementCount(textSelectionPage.optionPreviewTab(), 3);
105
- cy.eyesCheckWindow(`Text selection - ${view} - Options displayed and not selected`);
106
106
  });
107
107
 
108
- it(`${view} - When user hovers on the available options, then those options should be displayed in hover state highlight`, () => {
108
+ it(`When user hovers on the available options, then those options should be displayed in hover state highlight`, () => {
109
109
  for (let index = 0; index < 3; index++) {
110
110
  textSelectionPage.steps.verifyHoverStateOfOptionInPreviewTab(paragraphTextArray[index], "blue");
111
111
  };
112
112
  });
113
113
 
114
- it(`Text selection - ${view} - When user selects an option, then that option should be displayed in selected state`, () => {
114
+ it(`When user selects an option, then that option should be displayed in selected state`, () => {
115
115
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
116
116
  textSelectionPage.steps.verifySelectedStateOptionInPreviewTab(paragraphTextArray[0], "blue");
117
117
  textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
118
118
  textSelectionPage.steps.verifySelectedStateOptionInPreviewTab(paragraphTextArray[1], "blue");
119
- cy.eyesCheckWindow(`Text selection - ${view} - Option selected state`);
120
119
  });
121
120
 
122
- it(`${view} - When user clicks on a selected option, then that option should be deselected`, () => {
121
+ it(`When user clicks on a selected option, then that option should be deselected`, () => {
123
122
  textSelectionPage.steps.deselectOptionInPreviewTab(paragraphTextArray[0]);
124
123
  textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[0]);
125
124
  });
126
125
  } else if (view === 'Grading view') {
127
- it(`${view} - The question text should be displayed with the selected correct options and status message 'Your answer is incorrect' should be displayed`, () => {
126
+ it(`The question text should be displayed with the selected correct options and status message 'Your answer is incorrect' should be displayed`, () => {
128
127
  textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[1]);
129
128
  textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
130
129
  });
131
130
 
132
- it(`Text selection - ${view} - The submitted answer options should not be editable`, () => {
131
+ it(`The submitted answer options should not be editable`, () => {
133
132
  textSelectionPage.steps.verifyAnswerSectionNotEditableInPreviewTab();
134
- cy.eyesCheckWindow(`Text selection - ${view} - Submitted answers should not be editable and status message should be displayed`);
135
133
  });
136
134
  } else {
137
- it(`Text selection - ${view} - The question text should be displayed with the selected correct options`, () => {
135
+ it(`The question text should be displayed with the selected correct options`, () => {
138
136
  for (let index = 0; index < 2; index++) {
139
137
  textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[index]);
140
138
  };
141
139
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(paragraphTextArray[2]);
142
- cy.eyesCheckWindow(`Text selection - ${view} - Correct options displayed`);
143
140
  });
144
141
  }
145
142
  });
@@ -101,7 +101,6 @@ describe('Preview tab contents for all views', () => {
101
101
  audioPlayerPage.steps.startPlayback();
102
102
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'visible');
103
103
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'notExist');
104
- cy.eyesCheckWindow(`${view} view - Tool audio player: When user clicks on Play button then playback should be resumed and Play button should be replaced with Pause button`);
105
104
  });
106
105
 
107
106
  it('When the user seeks the progress bar slider while the audio is playing, then the audio should continue to play from the position where the slider is seeked', () => {
@@ -115,7 +114,6 @@ describe('Preview tab contents for all views', () => {
115
114
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'visible');
116
115
  utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'notExist');
117
116
  audioPlayerPage.steps.verifyProgressBarSliderPosition(99);
118
- cy.eyesCheckWindow(`${view} view - Tool audio player: When the audio playback is completed, the Pause button should get replaced with Play button`);
119
117
  });
120
118
 
121
119
  it('The added audio description and transcript should be displayed in preview tab', () => {
@@ -87,7 +87,6 @@ describe('Tool settings content for all views', () => {
87
87
  rulerPage.steps.verifyRulerVisible();
88
88
  rulerPage.steps.verifyPreviewTabRulerVisibilityButtonLabel('Hide');
89
89
  rulerPage.steps.verifyLengthOfRulerInPreview('15cm');
90
- cy.eyesCheckWindow(`${view} - Ruler visibility`);
91
90
  });
92
91
 
93
92
  it('CSS of the \'Hide ruler\' button', { tags: 'css' }, () => {