This commit is contained in:
27
ayanova/tests/e2e/specs/gz-data-table.js
Normal file
27
ayanova/tests/e2e/specs/gz-data-table.js
Normal file
@@ -0,0 +1,27 @@
|
||||
describe("GZ-DATA-TABLE", () => {
|
||||
it("Data table works", () => {
|
||||
cy.visit("/login");
|
||||
|
||||
cy.get("input[name=username]")
|
||||
.clear()
|
||||
.type("BizAdminFull");
|
||||
|
||||
// {enter} causes the form to submit
|
||||
cy.get("input[name=password]")
|
||||
.clear()
|
||||
.type("BizAdminFull{enter}");
|
||||
cy.url().should("include", "/home-dashboard");
|
||||
cy.visit("/widgets");
|
||||
cy.url().should("include", "/widgets");
|
||||
|
||||
// //navigate and confirm
|
||||
// //open nav and home menu
|
||||
// cy.get("[data-cy=navicon]").click();
|
||||
// cy.get("[data-cy=home]").click();
|
||||
// cy.get("[data-cy='nav/home-user-settings']").click();
|
||||
//
|
||||
// cy.get("[data-cy=contextmenu]").click();
|
||||
// cy.get("[data-cy='app:logout']").click();
|
||||
// cy.url().should("include", "/login");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user