itemengine-cypress-automation 1.0.282-applitools-8c400f4.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 (77) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +0 -4
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +0 -3
  3. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -2
  4. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +0 -1
  5. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +0 -6
  6. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +0 -2
  7. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +0 -6
  8. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +0 -2
  9. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +0 -6
  10. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +0 -2
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +2 -6
  12. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +4 -7
  13. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +0 -19
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +1 -5
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -7
  16. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +0 -2
  17. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +4 -6
  18. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +0 -3
  19. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +1 -4
  20. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +0 -2
  21. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +4 -5
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +0 -2
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +5 -7
  24. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +0 -2
  25. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +2 -4
  26. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +0 -3
  27. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +3 -6
  28. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +1 -5
  29. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +0 -12
  30. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +0 -3
  31. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +3 -6
  32. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +0 -2
  33. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +4 -7
  34. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +0 -2
  35. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +0 -2
  36. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +0 -2
  37. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +6 -9
  38. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +0 -2
  39. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +6 -9
  40. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +0 -3
  41. package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +5 -9
  42. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +0 -3
  43. package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +3 -6
  44. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +0 -2
  45. package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +4 -8
  46. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +0 -3
  47. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +2 -6
  48. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +0 -3
  49. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +0 -3
  50. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +0 -3
  51. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +0 -3
  52. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +0 -3
  53. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +0 -3
  54. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +0 -1
  55. package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +5 -7
  56. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +0 -1
  57. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +3 -6
  58. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +0 -3
  59. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +3 -6
  60. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -3
  61. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +0 -3
  62. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +2 -4
  63. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +0 -3
  64. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +1 -3
  65. package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +0 -2
  66. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -3
  67. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +9 -12
  68. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +0 -2
  69. package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +0 -1
  70. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +0 -4
  71. package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +0 -2
  72. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +0 -2
  73. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -2
  74. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +0 -2
  75. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +0 -6
  76. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +0 -2
  77. package/package.json +1 -1
@@ -115,7 +115,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
115
115
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
116
116
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
117
117
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
118
- cy.eyesCheckWindow(`List ordering dropdown - ${view} view - Without attempting the question`);
119
118
  };
120
119
  });
121
120
 
@@ -161,7 +160,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
161
160
  listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(3);
162
161
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
163
162
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
164
- cy.eyesCheckWindow(`List ordering dropdown - ${view} view - Attempting the question partially correct`);
165
163
  });
166
164
 
167
165
  it(`${view}: List ordering dropdown - When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed`, () => {
@@ -85,6 +85,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
85
85
  it('Question instructions should be visible', () => {
86
86
  utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
87
87
  utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
88
+ cy.eyesCheckWindow(`List ordering: dropdown - ${view} - Options with image, bold text, and equation`);
88
89
  });
89
90
 
90
91
  if (view !== 'Grading view' && view !== 'Correct answer view') {
@@ -92,7 +93,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
92
93
  listOrderingPage.steps.verifyOptionWithImageInPreviewTab(0);
93
94
  listOrderingPage.steps.verifyOptionWithBoldTextInPreviewTab(1);
94
95
  listOrderingPage.steps.verifyOptionWithEquationTextInPreviewTab(2);
95
- cy.eyesCheckWindow(`List ordering: dropdown - ${view} - Options with image, bold text, and equation`);
96
96
  });
97
97
 
98
98
  it('When the user expands a position dropdown, based on the number of options in the list to order, a list of dropdown options to place the particular option in the list order should be displayed', () => {
@@ -114,13 +114,12 @@ describe('Create item page - List ordering - Preview contents in all views', ()
114
114
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '');
115
115
  });
116
116
 
117
- it(`List ordering: dropdown - ${view} User should be able to reorder options containing image, bold text and equation options in the list using position dropdowns. On setting position for all options, the alert message should get removed`, () => {
117
+ it(`User should be able to reorder options containing image, bold text and equation options in the list using position dropdowns. On setting position for all options, the alert message should get removed`, () => {
118
118
  listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '2' }, { optionIndex: 1, position: '1' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }])
119
119
  listOrderingPage.steps.verifyAlertMessageNotExists();
120
- cy.eyesCheckWindow(`List ordering: dropdown - ${view} - Reorder options`);
121
120
  });
122
121
  } else if (view === 'Grading view') {
123
- it(`List ordering: dropdown - ${view} The order of the responses should be as per the submitted response`, () => {
122
+ it(`The order of the responses should be as per the submitted response`, () => {
124
123
  listOrderingPage.steps.verifyOptionWithImageDropdownLayoutInGradingView(0);
125
124
  listOrderingPage.steps.verifyOptionWithBoldTextDropdownLayoutInGradingView(1);
126
125
  listOrderingPage.steps.verifyOptionWithEquationTextDropdownLayoutInGradingView(2);
@@ -131,7 +130,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
131
130
  listOrderingPage.steps.verifyCorrectOptionIconDropdownLayout(3);
132
131
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
133
132
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
134
- cy.eyesCheckWindow(`List ordering: dropdown - ${view} - Submitted response order`);
135
133
  });
136
134
 
137
135
  it('The order of the responses should not be editable', () => {
@@ -139,7 +137,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
139
137
  utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), 2), '3');
140
138
  });
141
139
  } else {
142
- it(`List ordering: dropdown - ${view} The order of the options should be as per the correct answer order`, () => {
140
+ it(`The order of the options should be as per the correct answer order`, () => {
143
141
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '2');
144
142
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(1, '1');
145
143
  listOrderingPage.steps.verifySelectedOptionPositionDropdown(2, '3');
@@ -148,7 +146,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
148
146
  listOrderingPage.steps.verifyCorrectOptionIconDropdownLayout(1);
149
147
  listOrderingPage.steps.verifyCorrectOptionIconDropdownLayout(2);
150
148
  listOrderingPage.steps.verifyCorrectOptionIconDropdownLayout(3);
151
- cy.eyesCheckWindow(`List ordering: dropdown - ${view} - Correct answer order`);
152
149
  });
153
150
  }
154
151
 
@@ -120,7 +120,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
120
120
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
121
121
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
122
122
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
123
- cy.eyesCheckWindow(`List ordering -${view} view - Without attempting the question`);
124
123
  });
125
124
 
126
125
  it(`${view}: List ordering - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed`, () => {
@@ -167,7 +166,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
167
166
  listOrderingPage.steps.verifyCorrectOptionIcon('flower');
168
167
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
169
168
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
170
- cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question partially correct`);
171
169
  });
172
170
 
173
171
  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`, () => {
@@ -91,7 +91,6 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
91
91
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
92
92
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
93
93
  listOrderingPage.steps.verifyCorrectOptionIconsCorrectAnswerSection();
94
- cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Grading view without attempting`);
95
94
  });
96
95
 
97
96
  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`, () => {
@@ -140,7 +139,6 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
140
139
  listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('flower');
141
140
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
142
141
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
143
- cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Partially correct attempt`);
144
142
  });
145
143
 
146
144
  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`, () => {
@@ -84,7 +84,6 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
84
84
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
85
85
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
86
86
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
87
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} view - Without attempting the question`);
88
87
  });
89
88
  }
90
89
 
@@ -136,7 +135,6 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
136
135
  listOrderingPage.steps.verifyIncorrectOptionIconSeperateList('sprout');
137
136
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
138
137
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
139
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} view - Attempting the question partially correct`);
140
138
  });
141
139
 
142
140
  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`, () => {
@@ -88,21 +88,21 @@ describe('Create item page - List ordering - Preview contents in all views', ()
88
88
  }
89
89
  });
90
90
 
91
- it('Question instructions should be visible', () => {
91
+ it(`List ordering - Reorder as a separate list: ${view} - Question instructions should be visible`, () => {
92
92
  utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
93
93
  utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
94
+ cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Options with image, bold text and equation`);
94
95
  });
95
96
 
96
97
  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}`, () => {
98
+ 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
99
  listOrderingPage.steps.verifyOptionWithImageInOptionsContainerPreviewTabSeperateList(0);
99
100
  listOrderingPage.steps.verifyOptionWithBoldTextInOptionsContainerPreviewTabSeperateList(1);
100
101
  listOrderingPage.steps.verifyOptionWithEquationTextInOptionsContainerPreviewTabSeperateList(2);
101
102
  listOrderingPage.steps.verifyTextContentOfOptionInPreviewTabSeperateList('alpha', 3);
102
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Options container`);
103
103
  });
104
104
 
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`, () => {
105
+ it(`User should be able to drop the options in the dropzone containing image, bold text and equation options in the list`, () => {
106
106
  listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
107
107
  listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
108
108
  listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
@@ -111,11 +111,10 @@ describe('Create item page - List ordering - Preview contents in all views', ()
111
111
  listOrderingPage.steps.verifyOptionWithImageInDropzonePreviewTabSeperateList(1);
112
112
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzonePreviewTabSeperateList(2);
113
113
  listOrderingPage.steps.verifyTextContentOfOptionInDropzonePreviewTabSeperateList('alpha', 3);
114
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Dropzone options`);
115
114
  });
116
115
 
117
116
  } 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`, () => {
117
+ it(`The order of the responses should be as per the submitted response`, () => {
119
118
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzonePreviewTabSeperateList(0);
120
119
  listOrderingPage.steps.verifyOptionWithImageInDropzonePreviewTabSeperateList(1);
121
120
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzonePreviewTabSeperateList(2);
@@ -126,7 +125,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
126
125
  listOrderingPage.steps.verifyCorrectOptionIconOrientationSeperateList('alpha');
127
126
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
128
127
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
129
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Submitted response order`);
130
128
  });
131
129
 
132
130
  it('The order of the responses should not be editable', () => {
@@ -138,12 +136,11 @@ describe('Create item page - List ordering - Preview contents in all views', ()
138
136
  });
139
137
 
140
138
  } else {
141
- it(`List ordering - Reorder as a separate list: ${view} - The order of the options should be as per the correct answer order`, () => {
139
+ it(`The order of the options should be as per the correct answer order`, () => {
142
140
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
143
141
  listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
144
142
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);
145
143
  listOrderingPage.steps.verifyTextContentOfOptionInDropzoneCorrectAnswerSectionSeperateList('alpha', 3);
146
- cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Correct answer order`);
147
144
  });
148
145
  }
149
146
 
@@ -124,7 +124,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
124
124
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
125
125
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
126
126
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
127
- cy.eyesCheckWindow(`List ordering:Reorder as a separate list ${view} view - Without attempting the question`);
128
127
  });
129
128
  };
130
129
 
@@ -176,7 +175,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
176
175
  listOrderingPage.steps.verifyIncorrectOptionIconSeperateList('sprout');
177
176
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
178
177
  listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
179
- cy.eyesCheckWindow(`List ordering:Reorder as a separate list ${view} view - Attempting the question partially correct`);
180
178
  });
181
179
 
182
180
  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`, () => {
@@ -87,20 +87,20 @@ describe('Create item page - List ordering - Preview contents in all views', ()
87
87
  }
88
88
  });
89
89
 
90
- it('Question instructions should be visible', () => {
90
+ it(`List ordering: Reorder as a separate list - ${view} - Question instructions should be visible`, () => {
91
91
  utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
92
92
  utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
93
+ cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Options container with image, bold text, and equation`);
93
94
  });
94
95
 
95
96
  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}`, () => {
97
+ 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
98
  listOrderingPage.steps.verifyOptionWithImageInOptionsContainerPreviewTabSeperateList(0);
98
99
  listOrderingPage.steps.verifyOptionWithBoldTextInOptionsContainerPreviewTabSeperateList(1);
99
100
  listOrderingPage.steps.verifyOptionWithEquationTextInOptionsContainerPreviewTabSeperateList(2);
100
- cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Options container with image, bold text, and equation`);
101
101
  });
102
102
 
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`, () => {
103
+ it(`User should be able to drop the options in the dropzone containing image, bold text and equation options in the list`, () => {
104
104
  listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
105
105
  listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
106
106
  listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
@@ -109,10 +109,9 @@ describe('Create item page - List ordering - Preview contents in all views', ()
109
109
  listOrderingPage.steps.verifyOptionWithImageInDropzonePreviewTabSeperateList(1);
110
110
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzonePreviewTabSeperateList(2);
111
111
  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
112
  });
114
113
  } 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`, () => {
114
+ it(`The order of the responses should be as per the submitted response`, () => {
116
115
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzonePreviewTabSeperateList(0);
117
116
  listOrderingPage.steps.verifyOptionWithImageInDropzonePreviewTabSeperateList(1);
118
117
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzonePreviewTabSeperateList(2);
@@ -123,7 +122,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
123
122
  listOrderingPage.steps.verifyCorrectOptionIconOrientationSeperateList('alpha');
124
123
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
125
124
  listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
126
- cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Submitted response order`);
127
125
  });
128
126
 
129
127
  it('The order of the responses should not be editable', () => {
@@ -134,12 +132,11 @@ describe('Create item page - List ordering - Preview contents in all views', ()
134
132
  listOrderingPage.steps.verifyTextContentOfOptionInDropzonePreviewTabSeperateList('alpha', 3);
135
133
  });
136
134
  } else {
137
- it(`List ordering: Reorder as a separate list - ${view} - The order of the options should be as per the correct answer order`, () => {
135
+ it(`The order of the options should be as per the correct answer order`, () => {
138
136
  listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
139
137
  listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
140
138
  listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);
141
139
  listOrderingPage.steps.verifyTextContentOfOptionInDropzoneCorrectAnswerSectionSeperateList('alpha', 3);
142
- cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Correct answer order`);
143
140
  });
144
141
  }
145
142
 
@@ -122,7 +122,6 @@ describe('Create item page - Matching: All or nothing ', () => {
122
122
  matchingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
123
123
  utilities.verifyInnerText(matchingPage.correctAnswersLabel(), 'Correct answers');
124
124
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
125
- cy.eyesCheckWindow(`Matching ${view} view - Without attempting the question`);
126
125
  });
127
126
 
128
127
  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`, () => {
@@ -165,7 +164,6 @@ describe('Create item page - Matching: All or nothing ', () => {
165
164
  matchingPage.steps.verifyIncorrectOptionIcon(2);
166
165
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
167
166
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
168
- cy.eyesCheckWindow(`Matching ${view} - Attempting partially correct with some correct, some incomplete and some incorrect options`);
169
167
  });
170
168
 
171
169
  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`, () => {
@@ -188,7 +186,6 @@ describe('Create item page - Matching: All or nothing ', () => {
188
186
  matchingPage.steps.verifyCorrectOptionIcon(2);
189
187
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
190
188
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
191
- cy.eyesCheckWindow(`Matching ${view} - Attempting partially correct with incomplete response`);
192
189
  });
193
190
 
194
191
  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`, () => {
@@ -97,7 +97,7 @@ describe('Create item page - Matching - Preview contents in all views', () => {
97
97
  }
98
98
  });
99
99
 
100
- it('Question instructions should be visible', () => {
100
+ it(`Question instructions should be visible`, () => {
101
101
  utilities.verifyInnerText(matchingPage.questionInstructionsText(), 'Fill the categories with the right answer.');
102
102
  utilities.verifyElementVisibilityState(matchingPage.questionInstructionsText(), 'visible');
103
103
  });
@@ -110,27 +110,25 @@ describe('Create item page - Matching - Preview contents in all views', () => {
110
110
  });
111
111
 
112
112
  if (view !== 'Grading view' && view !== 'Correct answer view') {
113
- it(`Matching - ${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}`, () => {
113
+ 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}`, () => {
114
114
  matchingPage.steps.verifyDraggableOptionWithImageInPreviewTab(0);
115
115
  matchingPage.steps.verifyDraggableOptionWithBoldTextInPreviewTab(1);
116
116
  matchingPage.steps.verifyDraggableOptionWithEquationTextInPreviewTab(2);
117
117
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(0, '');
118
118
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(1, '');
119
119
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(2, '');
120
- cy.eyesCheckWindow(`Matching - ${view} - Options container with image, equation, bold text`);
121
120
  });
122
121
 
123
- it(`Matching - ${view} - User should be able to drag and drop image, bold text and equation options in the dropzone`, () => {
122
+ it(`User should be able to drag and drop image, bold text and equation options in the dropzone`, () => {
124
123
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fox', dropzoneIndex: 0 }, { optionText: 'This is a bold option', dropzoneIndex: 1 }, { optionText: 'Solve the following', dropzoneIndex: 2 }]);
125
124
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(0, 'Fox');
126
125
  matchingPage.steps.verifyDropzoneWithImageInPreviewTab(0);
127
126
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(1, 'This is a bold option');
128
127
  matchingPage.steps.verifyDropzoneContainsTextPreviewTab(2, 'Solve the following');
129
128
  matchingPage.steps.verifyDropzoneWithEquationTextInPreviewTab(2);
130
- cy.eyesCheckWindow(`Matching - ${view} - Drag and drop options in dropzone`);
131
129
  });
132
130
  } else if (view === 'Grading view') {
133
- it(`Matching - ${view} - The submitted options should be in the respective dropzone and the options container should not be displayed`, () => {
131
+ it(`The submitted options should be in the respective dropzone and the options container should not be displayed`, () => {
134
132
  matchingPage.steps.verifyDropzoneContainsTextPreviewTab(0, 'Fox');
135
133
  matchingPage.steps.verifyDropzoneContainsTextPreviewTab(1, 'This is a bold option');
136
134
  matchingPage.steps.verifyDropzoneWithImageInPreviewTab(0);
@@ -140,20 +138,18 @@ describe('Create item page - Matching - Preview contents in all views', () => {
140
138
  matchingPage.steps.verifyCorrectOptionIcon(2);
141
139
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
142
140
  utilities.verifyElementVisibilityState(matchingPage.correctAnswersOptions(), 'notExist');
143
- cy.eyesCheckWindow(`Matching - ${view} - Submitted options in dropzone`);
144
141
  });
145
142
 
146
143
  it('The content in the dropzone should not be editable', () => {
147
144
  matchingPage.steps.verifyGradingViewOptionDisabled([{ optionText: 'Elephant', dropzoneIndex: 0 }]);
148
145
  });
149
146
  } else {
150
- it(`Matching - ${view} - The dropzone should be displayed filled with answers`, () => {
147
+ it(`The dropzone should be displayed filled with answers`, () => {
151
148
  utilities.verifyElementCount(matchingPage.dropzonePreviewTab(), 3);
152
149
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(0, 'Fox');
153
150
  matchingPage.steps.verifyDropzoneWithImageInPreviewTab(0);
154
151
  matchingPage.steps.verifyDropzoneTextContentPreviewTab(1, 'This is a bold option');
155
152
  matchingPage.steps.verifyDropzoneWithEquationTextInPreviewTab(2);
156
- cy.eyesCheckWindow(`Matching - ${view} - Dropzone filled with answers`);
157
153
  });
158
154
  }
159
155
  });
@@ -125,7 +125,6 @@ describe('Create item page - Matching: All or nothing ', () => {
125
125
  matchingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
126
126
  utilities.verifyInnerText(matchingPage.correctAnswersLabel(), 'Correct answers');
127
127
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
128
- cy.eyesCheckWindow(`Matching dropdown - ${view} view - Without attempting the question`);
129
128
  });
130
129
 
131
130
  it(`${view}: Matching dropdown - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed`, () => {
@@ -168,7 +167,6 @@ describe('Create item page - Matching: All or nothing ', () => {
168
167
  matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
169
168
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
170
169
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
171
- cy.eyesCheckWindow(`Matching dropdown - ${view} view - Attempting the question partially correct with some correct, some incomplete and some incorrect options`);
172
170
  });
173
171
 
174
172
  it(`${view}: Matching dropdown - When the user attempts the question partially correct with all the dropdowns correctly attempted but one dropdown 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`, () => {
@@ -191,7 +189,6 @@ describe('Create item page - Matching: All or nothing ', () => {
191
189
  matchingPage.steps.verifyCorrectOptionIconDropdown(2);
192
190
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
193
191
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
194
- cy.eyesCheckWindow(`Matching dropdown - ${view} view - Attempting the question partially correct with one dropdown incomplete`);
195
192
  });
196
193
 
197
194
  it(`${view}: Matching dropdown - When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed`, () => {
@@ -96,12 +96,11 @@ describe('Create item page - Matching - Preview contents in all views', () => {
96
96
  });
97
97
 
98
98
  if (view !== 'Grading view' && view !== 'Correct answer view') {
99
- it(`Matching dropdown - ${view} - User should be able to attempt the question by selecting option from the dropdowns`, () => {
99
+ it(`User should be able to attempt the question by selecting option from the dropdowns`, () => {
100
100
  matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[0] }, { dropdownIndex: 1, dropdownOption: optionsArray[1] }, { dropdownIndex: 2, dropdownOption: optionsArray[2] }]);
101
- cy.eyesCheckWindow(`Matching dropdown - ${view} - Attempt question by selecting options`);
102
101
  });
103
102
  } else if (view === 'Grading view') {
104
- it(`Matching dropdown - ${view} - The dropdowns should be displayed filled with answers`, () => {
103
+ it(`The dropdowns should be displayed filled with answers`, () => {
105
104
  utilities.verifyElementCount(matchingPage.dropdownPreviewTab(), 3);
106
105
  matchingPage.steps.verifyTextDisplayedInDropdownPreviewTab(0, 'Fox');
107
106
  matchingPage.steps.verifyTextDisplayedInDropdownPreviewTab(1, 'This is a bold option');
@@ -111,7 +110,6 @@ describe('Create item page - Matching - Preview contents in all views', () => {
111
110
  matchingPage.steps.verifyCorrectOptionIconDropdown(2);
112
111
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
113
112
  utilities.verifyElementVisibilityState(matchingPage.correctAnswersOptions(), 'notExist');
114
- cy.eyesCheckWindow(`Matching dropdown - ${view} - Dropdowns filled with answers`);
115
113
  });
116
114
 
117
115
  it('The dropdowns should be in disabled state', () => {
@@ -120,7 +118,7 @@ describe('Create item page - Matching - Preview contents in all views', () => {
120
118
  matchingPage.steps.verifyDropdownIsDisabled(2);
121
119
  });
122
120
  } else {
123
- it(`Matching dropdown - ${view} - The dropdowns should be displayed filled with answers`, () => {
121
+ it(`The dropdowns should be displayed filled with answers`, () => {
124
122
  utilities.verifyElementCount(matchingPage.dropdownPreviewTab(), 3);
125
123
  matchingPage.steps.verifyTextDisplayedInDropdownPreviewTab(0, 'Fox');
126
124
  matchingPage.steps.verifyTextDisplayedInDropdownPreviewTab(1, 'This is a bold option');
@@ -128,7 +126,6 @@ describe('Create item page - Matching - Preview contents in all views', () => {
128
126
  matchingPage.steps.verifyCorrectOptionIconDropdown(0);
129
127
  matchingPage.steps.verifyCorrectOptionIconDropdown(1);
130
128
  matchingPage.steps.verifyCorrectOptionIconDropdown(2);
131
- cy.eyesCheckWindow(`Matching dropdown - ${view} - Dropdowns filled with answers`);
132
129
  });
133
130
  }
134
131
  });
@@ -122,7 +122,6 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
122
122
  multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
123
123
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
124
124
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
125
- cy.eyesCheckWindow(`Multiple selection ${view} view - Without attempting the question`);
126
125
  });
127
126
 
128
127
  it(`${view}: Multiple selection - When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, no icons should be displayed besides unattempted responses options and status message \'Your answer is incorrect\'should be displayed below the question preview and correct answer should be displayed in correct answer section`, () => {
@@ -175,7 +174,6 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
175
174
  multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
176
175
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
177
176
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
178
- cy.eyesCheckWindow(`Multiple selection ${view} view - Attempting the question partially correct`);
179
177
  });
180
178
 
181
179
  it(`${view}: Multiple selection - 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 status message \'Your answer is correct\'should be displayed below the question preview and correct answer section should not be displayed`, () => {
@@ -93,22 +93,20 @@ describe('Create item page - Multiple selection: Preview contents', () => {
93
93
  });
94
94
 
95
95
  if (view !== 'Grading view' && view !== 'Correct answer view') {
96
- it(`Multiple selection - ${view} - All the options should be in unchecked state`, () => {
96
+ it(`All the options should be in unchecked state`, () => {
97
97
  for (let index = 0; index < 4; index++) {
98
98
  multipleSelectionPage.steps.verifyOptionsCheckboxInPreviewTabUncheckedState(index);
99
99
  }
100
- cy.eyesCheckWindow(`Multiple selection - ${view} - Options Unchecked State`);
101
100
  });
102
101
 
103
- it(`Multiple selection - ${view} - User should able to select options in the ${view}`, () => {
102
+ it(`User should able to select options in the ${view}`, () => {
104
103
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
105
104
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
106
105
  multipleSelectionPage.steps.verifyOptionsCheckboxInPreviewTabCheckedState(0);
107
106
  multipleSelectionPage.steps.verifyOptionsCheckboxInPreviewTabCheckedState(1);
108
- cy.eyesCheckWindow(`Multiple selection - ${view} - Options Checked State`);
109
107
  });
110
108
  } else if (view === 'Grading view') {
111
- it(`Multiple selection - ${view} - The submitted options should be in checked state and they should not be editable`, () => {
109
+ it(`The submitted options should be in checked state and they should not be editable`, () => {
112
110
  multipleSelectionPage.steps.verifyOptionsCheckboxInPreviewTabCheckedState(0);
113
111
  multipleSelectionPage.steps.verifyOptionsCheckboxInPreviewTabCheckedState(1);
114
112
  multipleSelectionPage.steps.verifyOptionsCheckboxInPreviewTabUncheckedState(2);
@@ -116,16 +114,14 @@ describe('Create item page - Multiple selection: Preview contents', () => {
116
114
  options.forEach((_, index) => {
117
115
  multipleSelectionPage.steps.verifyOptionCheckBoxIsDisabled(index);
118
116
  });
119
- cy.eyesCheckWindow(`Multiple selection - ${view} - Submitted Options Checked State`);
120
117
  });
121
118
  } else {
122
- it(`Multiple selection - ${view} - The correct options should have correct icons besides them`, () => {
119
+ it(`The correct options should have correct icons besides them`, () => {
123
120
  // Need to remove comment once https://redmine.zeuslearning.com/issues/576368 is resolved
124
121
  // multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(0);
125
122
  // multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
126
123
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleGradingView(2);
127
124
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleGradingView(3);
128
- cy.eyesCheckWindow(`Multiple selection - ${view} - Correct Options Icons`);
129
125
  });
130
126
  }
131
127
 
@@ -116,7 +116,6 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
116
116
  multipleSelectionGridPage.steps.verifyCorrectIncorrectIconsNotExist();
117
117
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
118
118
  multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
119
- cy.eyesCheckWindow(`Multiple selection grid - ${view} view - Without attempting the question`);
120
119
  });
121
120
 
122
121
  it(`${view}: Multiple selection grid - 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`, () => {
@@ -159,7 +158,6 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
159
158
  multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
160
159
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
161
160
  multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
162
- cy.eyesCheckWindow(`Multiple selection grid - ${view} - Attempting the question partially correct with incorrect responses`);
163
161
  });
164
162
 
165
163
  it(`${view}: Multiple selection grid - 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 - Multiple selection grid: All or nothing ', () => {
183
181
  multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
184
182
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
185
183
  multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
186
- cy.eyesCheckWindow(`Multiple selection grid - ${view} - Attempting the question partially correct with incomplete responses`);
187
184
  });
188
185
 
189
186
  it(`${view}: Multiple selection grid - 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`, () => {
@@ -110,27 +110,24 @@ describe('Create item page - Multiple selection grid: Preview contents', () => {
110
110
  multipleSelectionGridPage.steps.verifyTableCellWithImageInPreviewTab({ row: 1, column: 1 });
111
111
  multipleSelectionGridPage.steps.verifyTableCellWithBoldTextInPreviewTab({ row: 3, column: 1 });
112
112
  multipleSelectionGridPage.steps.verifyTableCellWithEquationTextInPreviewTab({ row: 3, column: 0 });
113
- cy.eyesCheckWindow(`Multiple selection grid - ${view} - Image, equation, bold text displayed`);
114
113
  });
115
114
 
116
115
  it(`Multiple selection grid - User should be able to select options in the ${view}`, () => {
117
116
  multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
118
- cy.eyesCheckWindow(`Multiple selection grid - ${view} - Options selected`);
119
117
  });
120
118
  } else if (view === 'Grading view') {
121
- it(`Multiple selection grid - ${view} - The submitted options should be in checked state`, () => {
119
+ it(`The submitted options should be in checked state`, () => {
122
120
  multipleSelectionGridPage.steps.verifyOptionWithCheckboxSelectedState({ row: 1, column: 0 });
123
121
  multipleSelectionGridPage.steps.verifyOptionWithoutCheckboxSelectedState({ row: 2, column: 1 });
124
122
  multipleSelectionGridPage.steps.verifyOptionWithoutCheckboxSelectedState({ row: 3, column: 0 });
125
123
  multipleSelectionGridPage.steps.verifyOptionWithoutCheckboxSelectedState({ row: 4, column: 1 });
126
- cy.eyesCheckWindow(`Multiple selection grid - ${view} - Submitted options checked state`);
127
124
  });
128
125
 
129
126
  it('Multiple selection grid - The content in the grid should not be editable', () => {
130
127
  multipleSelectionGridPage.steps.verifyOptionDisabledState({ row: 1, column: 1 });
131
128
  });
132
129
  } else {
133
- it(`Multiple 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`, () => {
130
+ it(`The correct options should be in checked state, correct icons should be displayed besides them, correct background should be displayed behind the option`, () => {
134
131
  multipleSelectionGridPage.steps.verifyOptionWithCheckboxSelectedState({ row: 1, column: 0 });
135
132
  multipleSelectionGridPage.steps.verifyOptionWithoutCheckboxSelectedState({ row: 2, column: 1 });
136
133
  multipleSelectionGridPage.steps.verifyOptionWithoutCheckboxSelectedState({ row: 3, column: 0 });
@@ -139,7 +136,6 @@ describe('Create item page - Multiple selection grid: Preview contents', () => {
139
136
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
140
137
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
141
138
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
142
- cy.eyesCheckWindow(`Multiple selection grid - ${view} - Correct options checked state and icons`);
143
139
  });
144
140
  }
145
141
 
@@ -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
  });