From a72b000d6681cc1f73091c23f0127beaeb9ba441 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 3 Apr 2020 21:11:21 +0000 Subject: [PATCH] --- ayanova/tests/e2e/specs/gz-data-table.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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");