itemengine-cypress-automation 1.0.295-applitools-219e3f5.0 → 1.0.295
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +19 -19
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +1 -12
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editQuestion.smoke.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +4 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -19
- package/cypress/e2e/ILC/EditItem/editItem.ts +7 -7
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editQuestion.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +1 -11
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +1 -10
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editQuestion.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +1 -10
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +1 -11
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +1 -11
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -19
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -3
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +0 -10
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -23
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -5
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -16
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/pages/components/autoScoredScoringPreviewTab.js +1 -0
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
- package/cypress/pages/components/gridQuestionCommonComponent.js +39 -1
- package/cypress/pages/components/optionsWrapperComponent.js +0 -3
- package/cypress/pages/createItemPage.js +2 -2
- package/cypress/pages/multipleSelectionPage.js +39 -1
- package/cypress/pages/singleSelectionPage.js +39 -1
- package/cypress/support/commands.js +0 -11
- package/cypress/support/e2e.js +0 -1
- package/package.json +1 -4
- package/scripts/sorry-cypress.mjs +5 -0
- package/cypress/e2e/applitools.config.js +0 -14
@@ -11,14 +11,6 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
if (!grepTags || !grepTags.includes('smoke')) {
|
23
15
|
describe('Question preview modes: Student view and Grading view', () => {
|
24
16
|
abortEarlySetup();
|
@@ -154,7 +146,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
154
146
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
155
147
|
});
|
156
148
|
|
157
|
-
it(
|
149
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
158
150
|
if (view === 'Grading view') {
|
159
151
|
studentViewPage.steps.clearResponses();
|
160
152
|
};
|
@@ -175,7 +167,6 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
175
167
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
176
168
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
177
169
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
178
|
-
cy.eyesCheckWindow(`Fill in the gaps text - ${view} - Attempting the question correctly`);
|
179
170
|
});
|
180
171
|
});
|
181
172
|
});
|
@@ -11,14 +11,6 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -68,10 +60,9 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
|
|
68
60
|
}
|
69
61
|
});
|
70
62
|
|
71
|
-
it(
|
63
|
+
it('Question instructions should be visible', () => {
|
72
64
|
utilities.verifyInnerText(fillInTheGapsTextPage.questionInstructionsText(), 'Fill in the gaps');
|
73
65
|
utilities.verifyElementVisibilityState(fillInTheGapsTextPage.questionInstructionsText(), 'visible');
|
74
|
-
cy.eyesCheckWindow(`Fill in the gaps text - ${view} - Default question state`);
|
75
66
|
});
|
76
67
|
|
77
68
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -122,7 +113,7 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
|
|
122
113
|
'border': `0px none ${css.color.text}`,
|
123
114
|
});
|
124
115
|
utilities.verifyCSS(fillInTheGapsTextPage.answerInputFieldPreviewTab(), {
|
125
|
-
|
116
|
+
'color': css.color.text,
|
126
117
|
'font-size': css.fontSize.default,
|
127
118
|
'font-weight': css.fontWeight.regular
|
128
119
|
});
|
@@ -143,7 +134,7 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
|
|
143
134
|
'border': `0px none ${css.color.text}`,
|
144
135
|
});
|
145
136
|
utilities.verifyCSS(fillInTheGapsTextPage.answerInputFieldPreviewTab(), {
|
146
|
-
|
137
|
+
'color': css.color.text,
|
147
138
|
'font-size': css.fontSize.default,
|
148
139
|
'font-weight': css.fontWeight.regular
|
149
140
|
});
|
@@ -14,14 +14,6 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (views.includes('Grading view')) {
|
26
18
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -67,14 +59,13 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
|
|
67
59
|
utilities.verifyElementVisibilityState(graphingPage.graphControlOptionPreviewTab(), 'notExist');
|
68
60
|
});
|
69
61
|
|
70
|
-
it('
|
62
|
+
it('The graph plotted by the author in the edit tab should be displayed in the grading view', () => {
|
71
63
|
utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionSineWave(), 'visible');
|
72
64
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 7, yRange: 20 }, { x: 1, xRange: 20, y: 8, yRange: 20 }]);
|
73
65
|
utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionCircle(), 'visible');
|
74
66
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
75
67
|
utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionLine(), 'visible');
|
76
68
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
77
|
-
cy.eyesCheckWindow('Graphing - The graph plotted by the author in the edit tab should be displayed in the grading view');
|
78
69
|
});
|
79
70
|
|
80
71
|
it('Correct answer label should be displayed', () => {
|
@@ -173,14 +164,13 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
|
|
173
164
|
utilities.verifyElementVisibilityState(graphingPage.graphControlOptionPreviewTab(), 'notExist');
|
174
165
|
});
|
175
166
|
|
176
|
-
it('
|
167
|
+
it('The graph plotted by the author along with the correct answer should be displayed in the correct answer view', () => {
|
177
168
|
utilities.verifyElementVisibilityState(graphingPage.graphLine(), 'visible');
|
178
169
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }])
|
179
170
|
utilities.verifyElementVisibilityState(graphingPage.graphPolygon(), 'visible');
|
180
171
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }])
|
181
172
|
utilities.verifyElementVisibilityState(graphingPage.graphCircle(), 'visible');
|
182
173
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }])
|
183
|
-
cy.eyesCheckWindow('Graphing - The graph plotted by the author should be displayed in the correct answer view');
|
184
174
|
});
|
185
175
|
|
186
176
|
it('The points alloted to the question should be displayed', () => {
|
@@ -15,14 +15,6 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
|
|
15
15
|
cy.loginAs('admin');
|
16
16
|
});
|
17
17
|
|
18
|
-
beforeEach(() => {
|
19
|
-
cy.startApplitools();
|
20
|
-
});
|
21
|
-
|
22
|
-
afterEach(() => {
|
23
|
-
cy.eyesClose();
|
24
|
-
});
|
25
|
-
|
26
18
|
views.forEach((view) => {
|
27
19
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
28
20
|
abortEarlySetup();
|
@@ -94,14 +86,14 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
|
|
94
86
|
graphingPage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
|
95
87
|
});
|
96
88
|
|
97
|
-
it(
|
89
|
+
it('By default, the move control should be in enabled state and all other controls should be disabled', () => {
|
98
90
|
utilities.verifyElementNotDisabled(graphingPage.graphControlOptionPreviewTab('Move'));
|
99
91
|
controlOptions.splice(1, controlOptions.length).forEach((controlOption) => {
|
100
92
|
utilities.verifyElementDisabled(graphingPage.graphControlOptionPreviewTab(controlOption));
|
101
93
|
});
|
102
94
|
});
|
103
95
|
|
104
|
-
it(
|
96
|
+
it('User should be able to plot points using the \'Point\' tool options', () => {
|
105
97
|
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -4, xRange: 20, y: -4, yRange: 20 }]);
|
106
98
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -4, xRange: 20, y: -4, yRange: 20 }]);
|
107
99
|
});
|
@@ -170,12 +162,11 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
|
|
170
162
|
utilities.verifyElementCount(graphingPage.graphSineAndParabolaPreviewTab(), 2);
|
171
163
|
});
|
172
164
|
|
173
|
-
it(
|
165
|
+
it('User should be able to draw a polygon using the \'Polygon\' tool option', () => {
|
174
166
|
graphingPage.steps.selectGraphToolOptionPreviewTab('Polygon');
|
175
167
|
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }]);
|
176
168
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }]);
|
177
169
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
178
|
-
cy.eyesCheckWindow(`${view} - Graphing - Plotted points using all tools`);
|
179
170
|
});
|
180
171
|
|
181
172
|
it('When the user clicks on the \'Undo\' control option then the latest action should be reversed', () => {
|
@@ -188,7 +179,7 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
|
|
188
179
|
utilities.verifyElementVisibilityState(graphingPage.graphPolygonPreviewTab(), 'visible');
|
189
180
|
});
|
190
181
|
|
191
|
-
it(
|
182
|
+
it('When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset', () => {
|
192
183
|
graphingPage.steps.selectGraphControlOptionPreviewTab('Reset');
|
193
184
|
graphingPage.steps.confirmReset();
|
194
185
|
utilities.verifyElementVisibilityState(graphingPage.graphPolygonPreviewTab(), 'notExist');
|
@@ -13,15 +13,6 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
-
beforeEach(() => {
|
17
|
-
cy.startApplitools();
|
18
|
-
});
|
19
|
-
|
20
|
-
afterEach(() => {
|
21
|
-
cy.eyesClose();
|
22
|
-
});
|
23
|
-
|
24
|
-
|
25
16
|
if (!grepTags || !grepTags.includes('smoke')) {
|
26
17
|
describe('Question preview modes: Student view and Grading view', () => {
|
27
18
|
abortEarlySetup();
|
@@ -207,7 +198,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
207
198
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
208
199
|
});
|
209
200
|
|
210
|
-
it(
|
201
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icon should be displayed in the correct cell, correct answer border around correct cell and a status message with text \'Your answer is correct\' should be displayed in the question preview', () => {
|
211
202
|
if (view === 'Grading view') {
|
212
203
|
studentViewPage.steps.clearResponses();
|
213
204
|
};
|
@@ -226,7 +217,6 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
226
217
|
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
227
218
|
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
228
219
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
229
|
-
cy.eyesCheckWindow(`Grid fill - ${view} view - Attempting the question correctly`);
|
230
220
|
});
|
231
221
|
});
|
232
222
|
});
|
@@ -11,14 +11,6 @@ describe('Create item page - Grid fill : Preview contents', () => {
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -82,7 +74,6 @@ describe('Create item page - Grid fill : Preview contents', () => {
|
|
82
74
|
gridFillPage.steps.verifyRowsCountPreviewTab(4);
|
83
75
|
gridFillPage.steps.verifyColumnsCountPreviewTab(6);
|
84
76
|
gridFillPage.steps.getCellCountInGridPreviewTab(24);
|
85
|
-
cy.eyesCheckWindow(`Grid fill - ${view} - Grid matrix`);
|
86
77
|
});
|
87
78
|
|
88
79
|
it('Cell with \'Hide\' customization should be displayed', () => {
|
@@ -90,6 +81,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
|
|
90
81
|
});
|
91
82
|
|
92
83
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
84
|
+
|
93
85
|
it('Cell with \'Shade\' customization should be displayed', () => {
|
94
86
|
gridFillPage.steps.verifyCellSelectedPreviewTab(0, 0);
|
95
87
|
});
|
@@ -16,14 +16,6 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
16
16
|
cy.loginAs('admin');
|
17
17
|
});
|
18
18
|
|
19
|
-
beforeEach(() => {
|
20
|
-
cy.startApplitools();
|
21
|
-
});
|
22
|
-
|
23
|
-
afterEach(() => {
|
24
|
-
cy.eyesClose();
|
25
|
-
});
|
26
|
-
|
27
19
|
if (!grepTags || !grepTags.includes('smoke')) {
|
28
20
|
describe('Question preview modes: Student view and Grading view', () => {
|
29
21
|
abortEarlySetup();
|
@@ -132,7 +124,6 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
132
124
|
imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
|
133
125
|
utilities.verifyInnerText(imageHighlightPage.correctAnswersLabel(), 'Correct answers');
|
134
126
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
135
|
-
|
136
127
|
});
|
137
128
|
|
138
129
|
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
@@ -203,7 +194,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
203
194
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
204
195
|
});
|
205
196
|
|
206
|
-
it(
|
197
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
207
198
|
if (view === 'Grading view') {
|
208
199
|
studentViewPage.steps.clearResponses();
|
209
200
|
};
|
@@ -226,7 +217,6 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
226
217
|
imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
|
227
218
|
imageHighlightPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
228
219
|
imageHighlightPage.steps.verifyCorrectAnswerSectionNotExists();
|
229
|
-
cy.eyesCheckWindow(`Image highlight: ${view} view - Attempting the question correctly`);
|
230
220
|
});
|
231
221
|
});
|
232
222
|
});
|
@@ -15,14 +15,6 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
15
15
|
cy.loginAs('admin');
|
16
16
|
});
|
17
17
|
|
18
|
-
beforeEach(() => {
|
19
|
-
cy.startApplitools();
|
20
|
-
});
|
21
|
-
|
22
|
-
afterEach(() => {
|
23
|
-
cy.eyesClose();
|
24
|
-
});
|
25
|
-
|
26
18
|
views.forEach((view) => {
|
27
19
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
28
20
|
abortEarlySetup();
|
@@ -82,16 +74,15 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
82
74
|
utilities.verifyElementVisibilityState(imageHighlightPage.questionInstructionsText(), 'visible');
|
83
75
|
});
|
84
76
|
|
85
|
-
it(
|
77
|
+
it('The uploaded image should be displayed in the preview tab', () => {
|
86
78
|
imageHighlightPage.steps.verifyImageUploadedPreviewTab();
|
87
79
|
imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(3);
|
88
80
|
imageHighlightPage.steps.verifyImageUploadedAltTextPreviewTab('Image alternative text');
|
89
81
|
imageHighlightPage.steps.verifyImageUploadedWidthAndHeightPreviewTab('768', '432');
|
90
|
-
cy.eyesCheckWindow(`Image highlight - ${view} - Uploaded image displayed`);
|
91
82
|
});
|
92
83
|
|
93
84
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
94
|
-
it(
|
85
|
+
it('The highlighted regions should be displayed', () => {
|
95
86
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
|
96
87
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, branchesHighlightRegion);
|
97
88
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, leafHighlightRegion);
|
@@ -119,7 +110,7 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
119
110
|
imageHighlightPage.steps.removeHighlightOfARegionInPreviewTab(1);
|
120
111
|
});
|
121
112
|
} else if (view === 'Grading view') {
|
122
|
-
it(
|
113
|
+
it('The highlighted regions should be displayed', () => {
|
123
114
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
|
124
115
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, leafHighlightRegion);
|
125
116
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, branchesHighlightRegion);
|
@@ -147,7 +138,7 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
147
138
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, branchesHighlightRegion);
|
148
139
|
});
|
149
140
|
|
150
|
-
it(
|
141
|
+
it('The highlight regions should be displayed with correct answers', () => {
|
151
142
|
imageHighlightPage.steps.verifyCorrectHighlightRegion(0);
|
152
143
|
imageHighlightPage.steps.verifyCorrectHighlightRegion(1);
|
153
144
|
});
|
@@ -12,14 +12,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
views.forEach((view) => {
|
24
16
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
25
17
|
abortEarlySetup();
|
@@ -85,11 +77,10 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
85
77
|
it('Question instructions should be visible', () => {
|
86
78
|
utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
|
87
79
|
utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
|
88
|
-
cy.eyesCheckWindow(`List ordering: dropdown - ${view} - Options with image, bold text, and equation`);
|
89
80
|
});
|
90
81
|
|
91
82
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
92
|
-
it(`
|
83
|
+
it(`When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container in ${view}`, () => {
|
93
84
|
listOrderingPage.steps.verifyOptionWithImageInPreviewTab(0);
|
94
85
|
listOrderingPage.steps.verifyOptionWithBoldTextInPreviewTab(1);
|
95
86
|
listOrderingPage.steps.verifyOptionWithEquationTextInPreviewTab(2);
|
@@ -114,7 +105,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
114
105
|
listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '');
|
115
106
|
});
|
116
107
|
|
117
|
-
it(
|
108
|
+
it('User should be able to reorder options containing image, bold text and equation options in the list using position dropdowns. On setting position for all options, the alert message should get removed', () => {
|
118
109
|
listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '2' }, { optionIndex: 1, position: '1' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }])
|
119
110
|
listOrderingPage.steps.verifyAlertMessageNotExists();
|
120
111
|
});
|
@@ -137,7 +128,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
137
128
|
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), 2), '3');
|
138
129
|
});
|
139
130
|
} else {
|
140
|
-
it(
|
131
|
+
it('The order of the options should be as per the correct answer order', () => {
|
141
132
|
listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '2');
|
142
133
|
listOrderingPage.steps.verifySelectedOptionPositionDropdown(1, '1');
|
143
134
|
listOrderingPage.steps.verifySelectedOptionPositionDropdown(2, '3');
|
package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js
CHANGED
@@ -14,14 +14,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
views.forEach((view) => {
|
26
18
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -85,10 +77,9 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
85
77
|
}
|
86
78
|
});
|
87
79
|
|
88
|
-
it(
|
80
|
+
it('Question instructions should be visible', () => {
|
89
81
|
utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
|
90
82
|
utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
|
91
|
-
cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Default question view`);
|
92
83
|
});
|
93
84
|
|
94
85
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -14,14 +14,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (!grepTags || !grepTags.includes('smoke')) {
|
26
18
|
describe('Question preview modes: Student view and Grading view', () => {
|
27
19
|
abortEarlySetup();
|
@@ -167,7 +159,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
167
159
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
168
160
|
});
|
169
161
|
|
170
|
-
it(
|
162
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
171
163
|
if (view === 'Grading view') {
|
172
164
|
studentViewPage.steps.clearResponses();
|
173
165
|
};
|
@@ -190,7 +182,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
190
182
|
listOrderingPage.steps.verifyCorrectOptionIcon('flower');
|
191
183
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
192
184
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
193
|
-
cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question correctly`);
|
194
185
|
});
|
195
186
|
});
|
196
187
|
});
|
@@ -14,14 +14,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
views.forEach((view) => {
|
26
18
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -91,10 +83,9 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
91
83
|
}
|
92
84
|
});
|
93
85
|
|
94
|
-
it(
|
86
|
+
it('Question instructions should be visible', () => {
|
95
87
|
utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
|
96
88
|
utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
|
97
|
-
cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Options with image, bold text and equation`);
|
98
89
|
});
|
99
90
|
|
100
91
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -105,7 +96,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
105
96
|
listOrderingPage.steps.verifyTextContentOfOptionInPreviewTabSeperateList('alpha', 3);
|
106
97
|
});
|
107
98
|
|
108
|
-
it(
|
99
|
+
it('User should be able to drop the options in the dropzone containing image, bold text and equation options in the list', () => {
|
109
100
|
listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
|
110
101
|
listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
|
111
102
|
listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
|
@@ -139,7 +130,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
139
130
|
});
|
140
131
|
|
141
132
|
} else {
|
142
|
-
it(
|
133
|
+
it('The order of the options should be as per the correct answer order', () => {
|
143
134
|
listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
|
144
135
|
listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
|
145
136
|
listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);
|
@@ -14,14 +14,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (!grepTags || !grepTags.includes('smoke')) {
|
26
18
|
describe('Question preview modes: Student view and Grading view', () => {
|
27
19
|
abortEarlySetup();
|
@@ -117,9 +109,8 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
117
109
|
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
118
110
|
});
|
119
111
|
};
|
120
|
-
|
121
112
|
if (view === 'Question preview' || view === 'Item preview') {
|
122
|
-
it(
|
113
|
+
it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
123
114
|
listOrderingPage.steps.verifyPreviewScore(0, 20);
|
124
115
|
listOrderingPage.steps.switchToGradingView();
|
125
116
|
listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
@@ -129,7 +120,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
129
120
|
});
|
130
121
|
};
|
131
122
|
|
132
|
-
it(
|
123
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
133
124
|
listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
|
134
125
|
listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
|
135
126
|
listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
|
@@ -152,7 +143,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
152
143
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
153
144
|
});
|
154
145
|
|
155
|
-
it(
|
146
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
156
147
|
if (view === 'Grading view') {
|
157
148
|
studentViewPage.steps.clearResponses();
|
158
149
|
};
|
@@ -178,7 +169,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
178
169
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
179
170
|
});
|
180
171
|
|
181
|
-
it(
|
172
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
182
173
|
if (view === 'Grading view') {
|
183
174
|
studentViewPage.steps.clearResponses();
|
184
175
|
};
|
@@ -203,7 +194,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
203
194
|
listOrderingPage.steps.verifyCorrectOptionIconSeperateList('flower');
|
204
195
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
205
196
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
206
|
-
cy.eyesCheckWindow(`List ordering:Reorder as a separate list ${view} view - Attempting the question correctly`);
|
207
197
|
});
|
208
198
|
});
|
209
199
|
});
|
package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js
CHANGED
@@ -81,7 +81,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
81
81
|
}
|
82
82
|
});
|
83
83
|
|
84
|
-
it(
|
84
|
+
it('Question instructions should be visible', () => {
|
85
85
|
utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
|
86
86
|
utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
|
87
87
|
});
|
@@ -93,7 +93,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
93
93
|
listOrderingPage.steps.verifyOptionWithEquationTextInOptionsContainerPreviewTabSeperateList(2);
|
94
94
|
});
|
95
95
|
|
96
|
-
it(
|
96
|
+
it('User should be able to drop the options in the dropzone containing image, bold text and equation options in the list', () => {
|
97
97
|
listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
|
98
98
|
listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
|
99
99
|
listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
|
@@ -125,7 +125,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
125
125
|
listOrderingPage.steps.verifyTextContentOfOptionInDropzonePreviewTabSeperateList('alpha', 3);
|
126
126
|
});
|
127
127
|
} else {
|
128
|
-
it(
|
128
|
+
it('The order of the options should be as per the correct answer order', () => {
|
129
129
|
listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
|
130
130
|
listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
|
131
131
|
listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);
|