itemengine-cypress-automation 1.0.536-fix-graphing-e2f8781.0 → 1.0.536-fix-graphing-d8a6feb.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.
@@ -2,10 +2,10 @@
2
2
  "baseUrl": "https://itemengine-sandbox-dev.content-nonprod.imaginelearning.com",
3
3
  "env": {
4
4
  "itemEngineHomePage": "/item-engine",
5
- "GRAPHQL_URL": "/api/graphql",
5
+ "GRAPHQL_URL": "/graph/graphql/",
6
6
  "SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph-dev.content-nonprod.imaginelearning.com/graphql",
7
7
  "SANDBOX_SERVICES_URL": "https://itemengine-sandbox-dev.content-nonprod.imaginelearning.com",
8
- "SERVICES_URL": "https://itemengine-graph.itemengine-dev.il-apps.com",
8
+ "SERVICES_URL": "https://itemengine-graph-api-dev.content-nonprod.imaginelearning.com",
9
9
  "AUTH_URL": "https://itemengine-sandbox-auth-dev.content-nonprod.imaginelearning.com/auth",
10
10
  "scriptSrc": "https://assets-itemengine-dev.imaginelearning.com/content/itemengine-assets-dev/v2/author-loader-nocache.js",
11
11
  "admin_username": "demouser-ilc",
@@ -2,10 +2,10 @@
2
2
  "baseUrl": "https://itemengine-sandbox-qa.content-nonprod.imaginelearning.com",
3
3
  "env": {
4
4
  "itemEngineHomePage": "/item-engine",
5
- "GRAPHQL_URL": "/api/graphql",
5
+ "GRAPHQL_URL": "/graph/graphql/",
6
6
  "SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph-qa.content-nonprod.imaginelearning.com/graphql",
7
7
  "SANDBOX_SERVICES_URL": "https://itemengine-sandbox-qa.content-nonprod.imaginelearning.com",
8
- "SERVICES_URL": "https://itemengine-graph-api.itemengine-qa.il-apps.com",
8
+ "SERVICES_URL": "https://itemengine-graph-api-qa.content-nonprod.imaginelearning.com",
9
9
  "AUTH_URL": "https://itemengine-sandbox-auth-qa.content-nonprod.imaginelearning.com/auth",
10
10
  "scriptSrc": "https://assets-itemengine-qa.imaginelearning.com/content/itemengine-assets-qa/v2/author-loader-nocache.js",
11
11
  "admin_username": "demouser-ilc",
@@ -2,10 +2,10 @@
2
2
  "baseUrl": "https://itemengine-sandbox-staging.content-nonprod.imaginelearning.com",
3
3
  "env": {
4
4
  "itemEngineHomePage": "/item-engine",
5
- "GRAPHQL_URL": "/api/graphql",
5
+ "GRAPHQL_URL": "/graph/graphql/",
6
6
  "SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph-staging.content-nonprod.imaginelearning.com/graphql",
7
7
  "SANDBOX_SERVICES_URL": "https://itemengine-sandbox-staging.content-nonprod.imaginelearning.com",
8
- "SERVICES_URL": "https://itemengine-graph-api.itemengine-staging.il-apps.com",
8
+ "SERVICES_URL": "https://itemengine-graph-api-staging.content-nonprod.imaginelearning.com",
9
9
  "AUTH_URL": "https://itemengine-sandbox-auth-staging.content-nonprod.imaginelearning.com/auth",
10
10
  "scriptSrc": "https://assets-itemengine-staging.imaginelearning.com/content/itemengine-assets-staging/v2/author-loader-nocache.js",
11
11
  "admin_username": "demouser-ilc",
@@ -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(), 1);
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(), 1);
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(), 1);
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(), 1);
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(), 6);
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(), 6);
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(), 6);
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(), 8);
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(), 6);
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(), 6);
288
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
289
289
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
290
290
  }
291
291
  //Preview tab
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.536-fix-graphing-e2f8781.0",
3
+ "version": "1.0.536-fix-graphing-d8a6feb.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {