itemengine-cypress-automation 1.0.528-dependabot-npm-and-yarn-multi-c7c3a225fc-8be56cb.0 → 1.0.528
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/config-files/ildev.json +5 -5
- package/cypress/config-files/ilprod.json +5 -5
- package/cypress/config-files/ilqa.json +5 -5
- package/cypress/config-files/ilstage.json +5 -5
- package/cypress/e2e/Sessions/scores.js +3 -3
- package/cypress/support/helpers/createItem.js +4 -4
- package/package.json +2 -2
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
|
-
"baseUrl": "https://
|
2
|
+
"baseUrl": "https://itemengine-sandbox-dev.content-nonprod.imaginelearning.com",
|
3
3
|
"env": {
|
4
4
|
"itemEngineHomePage": "/item-engine",
|
5
5
|
"GRAPHQL_URL": "/api/graphql",
|
6
|
-
"SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph
|
7
|
-
"SANDBOX_SERVICES_URL": "https://
|
6
|
+
"SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph-dev.content-nonprod.imaginelearning.com/graphql",
|
7
|
+
"SANDBOX_SERVICES_URL": "https://itemengine-sandbox-dev.content-nonprod.imaginelearning.com",
|
8
8
|
"SERVICES_URL": "https://itemengine-graph.itemengine-dev.il-apps.com",
|
9
|
-
"AUTH_URL": "https://itemengine-sandbox-auth
|
10
|
-
"scriptSrc": "https://assets
|
9
|
+
"AUTH_URL": "https://itemengine-sandbox-auth-dev.content-nonprod.imaginelearning.com/auth",
|
10
|
+
"scriptSrc": "https://assets-itemengine-dev.imaginelearning.com/content/itemengine-assets-dev/v2/author-loader-nocache.js",
|
11
11
|
"admin_username": "demouser-ilc",
|
12
12
|
"admin_password": "J9>EL)ZaN!A>tA5v",
|
13
13
|
"organisation_id": "eb7d4a20-c96c-4852-9b34-7e3231016315"
|
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
|
-
"baseUrl": "https://
|
2
|
+
"baseUrl": "https://itemengine-sandbox-prod.content-prod.imaginelearning.com",
|
3
3
|
"env": {
|
4
4
|
"itemEngineHomePage": "/item-engine",
|
5
5
|
"GRAPHQL_URL": "/api/graphql",
|
6
|
-
"SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph
|
7
|
-
"SANDBOX_SERVICES_URL": "https://
|
6
|
+
"SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph-prod.content-prod.imaginelearning.com/graphql",
|
7
|
+
"SANDBOX_SERVICES_URL": "https://itemengine-sandbox-prod.content-prod.imaginelearning.com",
|
8
8
|
"SERVICES_URL": "https://itemengine-graph-api.itemengine-prod.il-apps.com",
|
9
|
-
"AUTH_URL": "https://itemengine-sandbox-auth
|
10
|
-
"scriptSrc": "https://assets.itemengine-prod
|
9
|
+
"AUTH_URL": "https://itemengine-sandbox-auth-prod.content-prod.imaginelearning.com/auth",
|
10
|
+
"scriptSrc": "https://assets-itemengine.imaginelearning.com/content/itemengine-assets-prod/v2/author-loader-nocache.js",
|
11
11
|
"admin_username": "demouser-ilc",
|
12
12
|
"admin_password": "GzL1Ezjou4wVFL8o",
|
13
13
|
"organisation_id": "eb7d4a20-c96c-4852-9b34-7e3231016315",
|
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
|
-
"baseUrl": "https://
|
2
|
+
"baseUrl": "https://itemengine-sandbox-qa.content-nonprod.imaginelearning.com",
|
3
3
|
"env": {
|
4
4
|
"itemEngineHomePage": "/item-engine",
|
5
5
|
"GRAPHQL_URL": "/api/graphql",
|
6
|
-
"SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph
|
7
|
-
"SANDBOX_SERVICES_URL": "https://
|
6
|
+
"SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph-qa.content-nonprod.imaginelearning.com/graphql",
|
7
|
+
"SANDBOX_SERVICES_URL": "https://itemengine-sandbox-qa.content-nonprod.imaginelearning.com",
|
8
8
|
"SERVICES_URL": "https://itemengine-graph-api.itemengine-qa.il-apps.com",
|
9
|
-
"AUTH_URL": "https://itemengine-sandbox-auth
|
10
|
-
"scriptSrc": "https://assets
|
9
|
+
"AUTH_URL": "https://itemengine-sandbox-auth-qa.content-nonprod.imaginelearning.com/auth",
|
10
|
+
"scriptSrc": "https://assets-itemengine-qa.imaginelearning.com/content/itemengine-assets-qa/v2/author-loader-nocache.js",
|
11
11
|
"admin_username": "demouser-ilc",
|
12
12
|
"admin_password": "GtOrLiig9surpeW1",
|
13
13
|
"organisation_id": "eb7d4a20-c96c-4852-9b34-7e3231016315",
|
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
|
-
"baseUrl": "https://
|
2
|
+
"baseUrl": "https://itemengine-sandbox-staging.content-nonprod.imaginelearning.com",
|
3
3
|
"env": {
|
4
4
|
"itemEngineHomePage": "/item-engine",
|
5
5
|
"GRAPHQL_URL": "/api/graphql",
|
6
|
-
"SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph
|
7
|
-
"SANDBOX_SERVICES_URL": "https://
|
6
|
+
"SANDBOX_GRAPHQL_SERVICES_URL": "https://itemengine-sandbox-graph-staging.content-nonprod.imaginelearning.com/graphql",
|
7
|
+
"SANDBOX_SERVICES_URL": "https://itemengine-sandbox-staging.content-nonprod.imaginelearning.com",
|
8
8
|
"SERVICES_URL": "https://itemengine-graph-api.itemengine-staging.il-apps.com",
|
9
|
-
"AUTH_URL": "https://itemengine-sandbox-auth
|
10
|
-
"scriptSrc": "https://assets
|
9
|
+
"AUTH_URL": "https://itemengine-sandbox-auth-staging.content-nonprod.imaginelearning.com/auth",
|
10
|
+
"scriptSrc": "https://assets-itemengine-staging.imaginelearning.com/content/itemengine-assets-staging/v2/author-loader-nocache.js",
|
11
11
|
"admin_username": "demouser-ilc",
|
12
12
|
"admin_password": "T6b9FK0pC6Tg8wDz",
|
13
13
|
"organisation_id": "eb7d4a20-c96c-4852-9b34-7e3231016315"
|
@@ -8,9 +8,9 @@ describe('Scores API cases', () => {
|
|
8
8
|
|
9
9
|
let itemReferenceIdNew;
|
10
10
|
const domainMapping = {
|
11
|
-
'
|
12
|
-
'
|
13
|
-
'
|
11
|
+
'itemengine-sandbox-qa.content-nonprod.imaginelearning.com': "0ee6c7-ef6e-717-4b8-cda87eaac101",
|
12
|
+
'itemengine-sandbox-staging.content-nonprod.imaginelearning.com': "a50ba14-5603-b55e-7cc-d17404ce5afb",
|
13
|
+
'itemengine-sandbox-prod.content-prod.imaginelearning.com': "444d582-3e4-b18f-e52c-5c8c732717"
|
14
14
|
};
|
15
15
|
|
16
16
|
itemReferenceIdNew = domainMapping[domainName] || null;
|
@@ -6,13 +6,13 @@ export var createdAndUpdatedAtDate = [];
|
|
6
6
|
const domainName = `${Cypress.env('SANDBOX_SERVICES_URL')}`.slice(8);
|
7
7
|
|
8
8
|
let referenceIdsItem = [];
|
9
|
-
if (domainName === '
|
9
|
+
if (domainName === 'itemengine-sandbox-dev.content-nonprod.imaginelearning.com') {
|
10
10
|
referenceIdsItem = ["bdf0e1d-2a1b-6dc4-851d-e14c4b75f4c8"];
|
11
|
-
} else if (domainName === '
|
11
|
+
} else if (domainName === 'itemengine-sandbox-qa.content-nonprod.imaginelearning.com') {
|
12
12
|
referenceIdsItem = ["a61f2-1a16-eff1-421d-ba3defd3e643"];
|
13
|
-
} else if (domainName === '
|
13
|
+
} else if (domainName === 'itemengine-sandbox-staging.content-nonprod.imaginelearning.com') {
|
14
14
|
referenceIdsItem = ["f72bdb8-e6ad-64f-617b-fe40d2b0a7"];
|
15
|
-
} else if (domainName === '
|
15
|
+
} else if (domainName === 'itemengine-sandbox-prod.content-prod.imaginelearning.com') {
|
16
16
|
referenceIdsItem = ["0bd4400-7737-5b10-86d-d24ddd101da"];
|
17
17
|
}
|
18
18
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "itemengine-cypress-automation",
|
3
|
-
"version": "1.0.528
|
3
|
+
"version": "1.0.528",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"axios": "^1.12.2",
|
43
43
|
"cy-verify-downloads": "^0.1.11",
|
44
44
|
"cy2": "^4.0.9",
|
45
|
-
"cypress": "^
|
45
|
+
"cypress": "^12.17.2",
|
46
46
|
"cypress-axe": "^1.4.0",
|
47
47
|
"cypress-file-upload": "^5.0.8",
|
48
48
|
"cypress-real-events": "^1.7.6",
|