itemengine-cypress-automation 1.0.536-fix-graphing-e2f8781.0 → 1.0.536-fix-graphing-50309d6.0
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.
|
@@ -154,7 +154,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
154
154
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 2);
|
|
155
155
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
156
156
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
|
157
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
157
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
158
158
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
159
159
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
160
160
|
|
|
@@ -226,9 +226,9 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
226
226
|
//Preview tab
|
|
227
227
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
228
228
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
229
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
229
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
230
230
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
231
|
-
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(),
|
|
231
|
+
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 2);
|
|
232
232
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
233
233
|
|
|
234
234
|
//Correct answer section
|
|
@@ -269,7 +269,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
269
269
|
//Preview tab
|
|
270
270
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
271
271
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
272
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
272
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
273
273
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
274
274
|
graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
275
275
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
|
@@ -136,7 +136,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
|
136
136
|
//Correct answer section
|
|
137
137
|
utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 1);
|
|
138
138
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
139
|
-
utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(),
|
|
139
|
+
utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 2);
|
|
140
140
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
141
141
|
utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
|
|
142
142
|
|
|
@@ -173,7 +173,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
|
173
173
|
//Correct answer section
|
|
174
174
|
utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 1);
|
|
175
175
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
176
|
-
utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(),
|
|
176
|
+
utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 2);
|
|
177
177
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
178
178
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
179
179
|
utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
|
|
@@ -212,7 +212,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
|
212
212
|
//Correct answer section
|
|
213
213
|
utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 1);
|
|
214
214
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
215
|
-
utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(),
|
|
215
|
+
utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 2);
|
|
216
216
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
217
217
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
218
218
|
utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
|
|
@@ -241,7 +241,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
|
241
241
|
graphingPage.steps.verifyPreviewScore(0, 20);
|
|
242
242
|
graphingPage.steps.switchToGradingView();
|
|
243
243
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
244
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
244
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
|
245
245
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 2);
|
|
246
246
|
}
|
|
247
247
|
//Preview tab
|
|
@@ -255,7 +255,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
|
255
255
|
//Correct answer section
|
|
256
256
|
utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 1);
|
|
257
257
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
258
|
-
utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(),
|
|
258
|
+
utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 2);
|
|
259
259
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
260
260
|
graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
261
261
|
utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
|
|
@@ -285,7 +285,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
|
285
285
|
graphingPage.steps.verifyPreviewScore(20, 20);
|
|
286
286
|
graphingPage.steps.switchToGradingView();
|
|
287
287
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
288
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
288
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
289
289
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
|
290
290
|
}
|
|
291
291
|
//Preview tab
|