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

#15333 Repro: Column filters not working for metrics (#15378)


* Use "new" style input field

Co-authored-by: default avatarflamber <1447303+flamber@users.noreply.github.com>
parent cdefa297
No related branches found
No related tags found
Loading
......@@ -743,4 +743,30 @@ describe("scenarios > question > filter", () => {
});
cy.findByText("wilma-muller");
});
it.skip("column filters should work for metrics (metabase#15333)", () => {
visitQuestionAdhoc({
dataset_query: {
type: "query",
query: {
"source-table": PRODUCTS_ID,
aggregation: [["count"]],
breakout: [["field-id", PRODUCTS.CATEGORY]],
},
database: 1,
},
display: "table",
});
cy.get(".cellData")
.contains("Count")
.click();
cy.findByText("Filter by this column").click();
cy.findByPlaceholderText("Enter a number").type("42");
cy.findByRole("button", { name: "Update filter" })
.should("not.be.disabled")
.click();
cy.findByText("Doohickey");
cy.findByText("Gizmo").should("not.exist");
});
});
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