This commit is contained in:
@@ -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");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user