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