mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-13 09:54:10 +00:00
fix(cypress) Fix broken searchFilters.js cypress test (#13185)
This commit is contained in:
parent
ac9f3ca8ef
commit
ed0cfe911f
@ -44,9 +44,13 @@ describe("search", () => {
|
||||
cy.visit("/");
|
||||
cy.get("input[data-testid=search-input]").type("*{enter}");
|
||||
|
||||
// click tag filter dropdown inside of "More Filters"
|
||||
cy.get("[data-testid=more-filters-dropdown").click({ force: true });
|
||||
cy.get("[data-testid=more-filter-Tag").click({ force: true });
|
||||
// open up more filters so we can see all filters at once
|
||||
cy.get("[data-testid=more-filters-dropdown]").click();
|
||||
|
||||
// look for the high level tag filter first and select the more filter tag if it doesn't exist
|
||||
cy.get("[data-testid=filter-dropdown-Tag], [data-testid=more-filter-Tag]")
|
||||
.first()
|
||||
.click();
|
||||
|
||||
// click and search for tag, save that tag
|
||||
cy.get("[data-testid=search-bar").eq(1).type("cypress");
|
||||
|
Loading…
x
Reference in New Issue
Block a user