This commit is contained in:
2020-10-20 21:14:48 +00:00
parent 28d2443368
commit 66f367b879
2 changed files with 13 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
describe("HELP DOCS", () => { describe("HELP DOCS", () => {
it("is accessible", () => { it("is accessible", () => {
cy.visit("http://localhost:7575/docs/"); cy.visit("/docs/");
cy.contains("WELCOME TO AYANOVA"); cy.contains("WELCOME TO AYANOVA");
}); });
}); });

View File

@@ -14,11 +14,10 @@ describe("TRANSLATION", () => {
.clear() .clear()
.type("fr{enter}"); .type("fr{enter}");
cy.wait(50);
//nav to about form //nav to about form
cy.get("[data-cy=contextmenu]").click(); // cy.get("[data-cy=contextmenu]").click();
cy.get('[data-cy="app:nav:abt"]').click(); // cy.get('[data-cy="app:nav:abt"]').click();
cy.visit("/about");
cy.url().should("include", "/about"); cy.url().should("include", "/about");
//ensure there is french on the form //ensure there is french on the form
@@ -50,8 +49,9 @@ describe("TRANSLATION", () => {
cy.wait(50); cy.wait(50);
//nav to about form //nav to about form
cy.get("[data-cy=contextmenu]").click(); // cy.get("[data-cy=contextmenu]").click();
cy.get('[data-cy="app:nav:abt"]').click(); // cy.get('[data-cy="app:nav:abt"]').click();
cy.visit("/about");
//ensure there is translated text on the form //ensure there is translated text on the form
//title //title
@@ -79,8 +79,9 @@ describe("TRANSLATION", () => {
cy.wait(50); cy.wait(50);
//nav to about form //nav to about form
cy.get("[data-cy=contextmenu]").click(); // cy.get("[data-cy=contextmenu]").click();
cy.get('[data-cy="app:nav:abt"]').click(); // cy.get('[data-cy="app:nav:abt"]').click();
cy.visit("/about");
//ensure there is translated text on the form //ensure there is translated text on the form
//title //title
@@ -108,8 +109,9 @@ describe("TRANSLATION", () => {
cy.url().should("include", "/customer-csr-list"); cy.url().should("include", "/customer-csr-list");
//nav to about form //nav to about form
cy.get("[data-cy=contextmenu]").click(); // cy.get("[data-cy=contextmenu]").click();
cy.get('[data-cy="app:nav:abt"]').click(); // cy.get('[data-cy="app:nav:abt"]').click();
cy.visit("/about");
//ensure there is translated text on the form //ensure there is translated text on the form
//title //title