4643
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"admin": { "login": "superuser", "password": "l3tm3in" },
|
||||
"accounting": { "login": "Accounting", "password": "Accounting" },
|
||||
"service": { "login": "Service", "password": "Service" },
|
||||
"customer": { "login": "Customer", "password": "Customer" }
|
||||
"customer": { "login": "Customer", "password": "Customer" },
|
||||
"bizadmin": { "login": "BizAdmin", "password": "BizAdmin" }
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
// Basic nav and menu test just to confirm each section menu works
|
||||
describe("SMOKE NAV", () => {
|
||||
it("Nav and menu functions correctly", () => {
|
||||
cy.ayLogin("admin");
|
||||
cy.ayLogin("bizadmin");
|
||||
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
cy.get("[data-cy=home]").click();
|
||||
cy.get("[data-cy='nav/home-dashboard']").click();//26fail Timed out retrying after 5000ms: Expected to find element: [data-cy='nav/home-dashboard'], but never found it.
|
||||
cy.get("[data-cy='nav/home-dashboard']").click();
|
||||
cy.get("[data-cy=generalerror]").should("not.exist");
|
||||
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
|
||||
Reference in New Issue
Block a user