diff --git a/e2e/cypress.json b/e2e/cypress.json index ab65e91..47cefca 100644 --- a/e2e/cypress.json +++ b/e2e/cypress.json @@ -3,13 +3,13 @@ "xxxretries": 3, "integrationFolder": "tests", "supportFile": "support", - "baseUrl": "http://localhost:7575", - "xxbaseUrl": "https://test.helloayanova.com", + "xbaseUrl": "http://localhost:7575", + "baseUrl": "https://test.helloayanova.com", "xxxbaseUrl": "http://localhost:8080", "video": false, "env": { - "apiBaseUrl": "http://localhost:7575/api/v8.0/", - "xapiBaseUrl": "https://test.helloayanova.com/api/v8.0/", + "xapiBaseUrl": "http://localhost:7575/api/v8.0/", + "apiBaseUrl": "https://test.helloayanova.com/api/v8.0/", "admin": { "login": "superuser", "password": "l3tm3in" diff --git a/e2e/package.json b/e2e/package.json index be2c6c2..e9a5cbf 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -7,7 +7,7 @@ "test": "tests" }, "devDependencies": { - "cypress": "^9.2.1" + "cypress": "^9.7.0" }, "scripts": { "open": "./node_modules/.bin/cypress open", diff --git a/e2e/tests/regression/0-setup/000-generate-test-db.js b/e2e/tests/regression/0-setup/000-generate-test-db.js index 40964c9..681ba89 100644 --- a/e2e/tests/regression/0-setup/000-generate-test-db.js +++ b/e2e/tests/regression/0-setup/000-generate-test-db.js @@ -14,9 +14,14 @@ describe("SMOKE SETUP", () => { .then((res) => { cy.request({ method: "POST", - url: `${Cypress.env("apiBaseUrl")}trial/seed/small/-7/true`, + url: `${Cypress.env("apiBaseUrl")}trial/seed`, auth: { bearer: res.data.token + }, ///small/-7/true + body: { + seedLevel: "small", + timeZoneOffset: -7, + e2e: true } }) .its("body") @@ -43,4 +48,4 @@ function confirmJobDone(jobId, authToken) { cy.wait(1000); confirmJobDone(jobId, authToken); }); -} \ No newline at end of file +}