Skip to content
Snippets Groups Projects
Unverified Commit 01e9387f authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Fix broken `filter` E2E test (#44051)

* Fix broken E2E test

* Remove linter warning
parent 14db7aee
Branches
Tags
No related merge requests found
......@@ -315,23 +315,20 @@ describe("scenarios > question > filter", () => {
enterCustomColumnDetails({ formula: "c", blur: false });
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.contains("case")
.closest("li")
cy.findAllByTestId("expression-suggestions-list-item")
.filter(":contains('case')")
.should("have.css", "background-color")
.and("not.eq", transparent);
cy.get("@formula").type("{downarrow}");
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.contains("case")
.closest("li")
cy.findAllByTestId("expression-suggestions-list-item")
.filter(":contains('case')")
.should("have.css", "background-color")
.and("eq", transparent);
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.contains("ceil")
.closest("li")
cy.findAllByTestId("expression-suggestions-list-item")
.filter(":contains('ceil')")
.should("have.css", "background-color")
.and("not.eq", transparent);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment