Skip to content
Snippets Groups Projects
Unverified Commit 73e1b126 authored by Kamil Mielnik's avatar Kamil Mielnik Committed by GitHub
Browse files

Add repro for #42999 (#43000)

parent 5597f0fe
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ import {
popover,
clearFilterWidget,
filterWidget,
getDashboardCard,
editDashboard,
saveDashboard,
setFilter,
......@@ -46,6 +47,31 @@ describe("scenarios > dashboard > filters > text/category", () => {
});
});
it.skip("should drill to a question with multi-value 'contains' filter applied (metabase#42999)", () => {
setFilter("Text or Category", "Contains");
cy.findAllByRole("radio", { name: "Multiple values" }).should("be.checked");
cy.findByTestId("visualization-root").findByText("Select…").click();
popover().contains("Source").click();
saveDashboard();
waitDashboardCardQuery();
filterWidget().eq(0).click();
applyFilterByType("Contains", "oo,aa");
waitDashboardCardQuery();
getDashboardCard().findByText("test question").click();
cy.location("href").should("contain", "/question#");
cy.findByTestId("filter-pill").should(
"contain.text",
"User → Source contains 2 selections",
);
cy.findByTestId("app-bar").should(
"contain.text",
"Started from test question",
);
});
it("should work when set through the filter widget", () => {
DASHBOARD_TEXT_FILTERS.forEach(({ operator, single }) => {
cy.log(`Make sure we can connect ${operator} filter`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment