This commit is contained in:
2022-05-26 20:57:59 +00:00
parent ebd5473e64
commit 16201c399f
3 changed files with 12 additions and 7 deletions

View File

@@ -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"

View File

@@ -7,7 +7,7 @@
"test": "tests"
},
"devDependencies": {
"cypress": "^9.2.1"
"cypress": "^9.7.0"
},
"scripts": {
"open": "./node_modules/.bin/cypress open",

View File

@@ -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);
});
}
}