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

#13217 Repro: Custom Field `concat` only shows filter options as numeric (#15830)

parent 0bdbd391
Branches
Tags
No related merge requests found
......@@ -4,6 +4,7 @@ import {
_typeUsingGet,
_typeUsingPlaceholder,
openOrdersTable,
openPeopleTable,
visitQuestionAdhoc,
} from "__support__/cypress";
......@@ -557,4 +558,21 @@ describe("scenarios > question > custom columns", () => {
.click();
cy.findByPlaceholderText("Enter a number").should("not.exist");
});
it.skip("filter based on `concat` function should not offer numeric options (metabase#13217)", () => {
openPeopleTable({ mode: "notebook" });
cy.findByText("Custom column").click();
popover().within(() => {
cy.get("[contenteditable='true']")
.type(`concat("State: ", [State])`)
.blur();
cy.findByPlaceholderText("Something nice and descriptive").type("13217");
cy.findByRole("button", { name: "Done" }).click();
});
cy.findByText("Filter").click();
popover()
.findByText("13217")
.click();
cy.findByPlaceholderText("Enter a number").should("not.exist");
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment