This commit is contained in:
2021-12-21 00:53:23 +00:00
parent cfad5d39cd
commit f18cea9ef3
2 changed files with 8 additions and 7 deletions

View File

@@ -3,13 +3,13 @@
"xxxretries": 3, "xxxretries": 3,
"integrationFolder": "tests", "integrationFolder": "tests",
"supportFile": "support", "supportFile": "support",
"xbaseUrl": "http://localhost:7575", "baseUrl": "http://localhost:7575",
"baseUrl": "https://test.helloayanova.com", "xxbaseUrl": "https://test.helloayanova.com",
"xxxxbaseUrl": "http://localhost:8080", "xxxxbaseUrl": "http://localhost:8080",
"video": false, "video": false,
"env": { "env": {
"xapiBaseUrl": "http://localhost:7575/api/v8.0/", "apiBaseUrl": "http://localhost:7575/api/v8.0/",
"apiBaseUrl": "https://test.helloayanova.com/api/v8.0/", "xapiBaseUrl": "https://test.helloayanova.com/api/v8.0/",
"admin": { "admin": {
"login": "superuser", "login": "superuser",
"password": "l3tm3in" "password": "l3tm3in"

View File

@@ -74,9 +74,10 @@ describe("Contract create, review, history", () => {
cy.contains(`${Cypress.config("cyid")}-test-review`); cy.contains(`${Cypress.config("cyid")}-test-review`);
//HISTORY //HISTORY
// cy.get("[data-cy=navicon]").click(); cy.get("[data-cy=navicon]").click();
// cy.get("[data-cy='nav/home-history']").click(); cy.get("[data-cy=home]").click();
cy.visit("/history"); cy.get("[data-cy='nav/home-history']").click();
//cy.visit("/history");
cy.url().should("include", "/history"); cy.url().should("include", "/history");
cy.contains(`${Cypress.config("cyid")}-test-contract`); cy.contains(`${Cypress.config("cyid")}-test-contract`);
cy.contains(`${Cypress.config("cyid")}-test-review`); cy.contains(`${Cypress.config("cyid")}-test-review`);