diff --git a/ayanova/tests/e2e/specs/gz-data-table.js b/ayanova/tests/e2e/specs/gz-data-table.js index f32e12a0..f55d787b 100644 --- a/ayanova/tests/e2e/specs/gz-data-table.js +++ b/ayanova/tests/e2e/specs/gz-data-table.js @@ -27,6 +27,9 @@ describe("GZ-DATA-TABLE", () => { //change datafilters cy.get("[data-cy=selectlistview]").type("-{enter}", { force: true }); + //confirm the first column is the widget name + cy.get("thead > tr > th:nth-child(1) > span").contains("Name"); + //filter cy.get("[data-cy=filter]").click(); cy.contains("List view"); @@ -38,11 +41,8 @@ describe("GZ-DATA-TABLE", () => { //go back to widgetlist cy.go("back"); - //confirm the first column is the username - // console.log( - // cy.get("thead > tr > th:nth-child(1) > span").invoke("innerText") - // ); - cy.get("thead > tr > th:nth-child(1) > span").contains("NUser"); + //confirm the first column is now the username + cy.get("thead > tr > th:nth-child(1) > span").contains("User"); //cy.get("thead > tr > th:nth-child(1)").contains("User");