itemengine-cypress-automation 1.0.538 → 1.0.539-CypressFixes1410-1af1507.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.
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +4 -4
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -6
- package/cypress/pages/graphingPage.js +2 -2
- package/package.json +1 -1
|
@@ -128,7 +128,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
128
128
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 2);
|
|
129
129
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
130
130
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
|
131
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
131
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
|
132
132
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
133
133
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
134
134
|
|
|
@@ -199,9 +199,9 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
199
199
|
//Preview tab
|
|
200
200
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
201
201
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
202
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
202
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
|
203
203
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
204
|
-
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(),
|
|
204
|
+
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
|
|
205
205
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
206
206
|
|
|
207
207
|
//Correct answer section
|
|
@@ -241,7 +241,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
241
241
|
//Preview tab
|
|
242
242
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
243
243
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
244
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
244
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
|
245
245
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
246
246
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
247
247
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js
CHANGED
|
@@ -128,7 +128,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
128
128
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 2);
|
|
129
129
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
130
130
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
|
131
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
131
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
|
132
132
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
133
133
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
134
134
|
|
|
@@ -200,9 +200,9 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
200
200
|
//Preview tab
|
|
201
201
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
202
202
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
203
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
203
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
|
204
204
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
205
|
-
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(),
|
|
205
|
+
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
|
|
206
206
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
207
207
|
|
|
208
208
|
//Correct answer section
|
|
@@ -243,7 +243,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
243
243
|
//Preview tab
|
|
244
244
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
245
245
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
246
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
246
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
|
|
247
247
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
248
248
|
graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
249
249
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
|
@@ -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(), 1);
|
|
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(), 1);
|
|
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(), 1);
|
|
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(), 1);
|
|
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(), 6);
|
|
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(), 6);
|
|
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(), 6);
|
|
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(), 8);
|
|
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(), 6);
|
|
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(), 6);
|
|
289
289
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
|
290
290
|
}
|
|
291
291
|
//Preview tab
|
|
@@ -119,7 +119,7 @@ const selectors = {
|
|
|
119
119
|
xAxisLabelGraphPreviewTab: () => cy.get('[class*="GraphingQuestion"] .graph-footer .question-text-wrapper').eq(1),
|
|
120
120
|
xAxisGraphPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg line[stroke-linecap="butt"]').eq(0),
|
|
121
121
|
yAxisGraphPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg line[stroke-linecap="butt"]').eq(1),
|
|
122
|
-
graphLinePreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('line[tabindex="0"]
|
|
122
|
+
graphLinePreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('line[tabindex="0"]'),
|
|
123
123
|
graphLineSegmentsPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('line[tabindex="0"]'),
|
|
124
124
|
graphCirclePreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('ellipse[fill-opacity="0"]'),
|
|
125
125
|
graphPolygonPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('polygon'),
|
|
@@ -236,7 +236,7 @@ const selectors = {
|
|
|
236
236
|
correctAnswerLabel: () => cy.get('[class*="AnswerLabel"]'),
|
|
237
237
|
graphCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg'),
|
|
238
238
|
graphCircleCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('ellipse[fill-opacity="0"]'),
|
|
239
|
-
graphLineCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('line[tabindex="0"]
|
|
239
|
+
graphLineCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('line[tabindex="0"]'),
|
|
240
240
|
graphPolygonCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('polygon'),
|
|
241
241
|
graphSineWaveCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('[pointer-events="visiblePainted"][tabindex="0"][fill-rule="evenodd"]'),
|
|
242
242
|
correctIncorrectStatusMessageText: () => cy.get('[class*="Graphingstyles__CorrectIncorrectWrapper"]'),
|