This commit is contained in:
@@ -3,13 +3,13 @@
|
|||||||
"xxxretries": 3,
|
"xxxretries": 3,
|
||||||
"integrationFolder": "tests",
|
"integrationFolder": "tests",
|
||||||
"supportFile": "support",
|
"supportFile": "support",
|
||||||
"baseUrl": "http://localhost:7575",
|
"xbaseUrl": "http://localhost:7575",
|
||||||
"xxbaseUrl": "https://test.helloayanova.com",
|
"baseUrl": "https://test.helloayanova.com",
|
||||||
"xxxbaseUrl": "http://localhost:8080",
|
"xxxbaseUrl": "http://localhost:8080",
|
||||||
"video": false,
|
"video": false,
|
||||||
"env": {
|
"env": {
|
||||||
"apiBaseUrl": "http://localhost:7575/api/v8.0/",
|
"xapiBaseUrl": "http://localhost:7575/api/v8.0/",
|
||||||
"xapiBaseUrl": "https://test.helloayanova.com/api/v8.0/",
|
"apiBaseUrl": "https://test.helloayanova.com/api/v8.0/",
|
||||||
"admin": {
|
"admin": {
|
||||||
"login": "superuser",
|
"login": "superuser",
|
||||||
"password": "l3tm3in"
|
"password": "l3tm3in"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"test": "tests"
|
"test": "tests"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cypress": "^9.2.1"
|
"cypress": "^9.7.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"open": "./node_modules/.bin/cypress open",
|
"open": "./node_modules/.bin/cypress open",
|
||||||
|
|||||||
@@ -14,9 +14,14 @@ describe("SMOKE SETUP", () => {
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
cy.request({
|
cy.request({
|
||||||
method: "POST",
|
method: "POST",
|
||||||
url: `${Cypress.env("apiBaseUrl")}trial/seed/small/-7/true`,
|
url: `${Cypress.env("apiBaseUrl")}trial/seed`,
|
||||||
auth: {
|
auth: {
|
||||||
bearer: res.data.token
|
bearer: res.data.token
|
||||||
|
}, ///small/-7/true
|
||||||
|
body: {
|
||||||
|
seedLevel: "small",
|
||||||
|
timeZoneOffset: -7,
|
||||||
|
e2e: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.its("body")
|
.its("body")
|
||||||
@@ -43,4 +48,4 @@ function confirmJobDone(jobId, authToken) {
|
|||||||
cy.wait(1000);
|
cy.wait(1000);
|
||||||
confirmJobDone(jobId, authToken);
|
confirmJobDone(jobId, authToken);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user