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

#15893 Repro: Cannot use numeric value before an operator in Custom Expression (#15934)

parent 41133d17
Branches
Tags
No related merge requests found
......@@ -932,6 +932,22 @@ describe("scenarios > question > filter", () => {
cy.findByRole("button", { name: "Done" }).should("not.be.disabled");
});
it.skip("custom expression filter should work with numeric value before an operator (metabase#15893)", () => {
cy.intercept("POST", "/api/dataset").as("dataset");
openOrdersTable({ mode: "notebook" });
cy.findByText("Filter").click();
cy.findByText("Custom Expression").click();
cy.get("[contenteditable=true]")
.type("0 < [ID]")
.blur();
cy.findByRole("button", { name: "Done" }).click();
cy.findByText("Visualize").click();
cy.wait("@dataset").then(xhr => {
expect(xhr.response.body.error).to.not.exist;
});
});
it.skip("should work on twice summarized questions (metabase#15620)", () => {
visitQuestionAdhoc({
dataset_query: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment