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

Add repro for extra case related to metabase#42385 (#45083)

parent d0445347
No related branches found
No related tags found
No related merge requests found
......@@ -1262,4 +1262,28 @@ describe("issue 42385", { tags: "@external" }, () => {
cy.findByLabelText("Right column").should("not.exist");
});
});
it("should remove invalid join clause in incomplete draft state when query database changes (metabase#42385)", () => {
openOrdersTable({ mode: "notebook" });
join();
entityPickerModal().within(() => {
entityPickerModalTab("Tables").click();
cy.findByText("Products").click();
});
getNotebookStep("join")
.findByLabelText("Right table")
.findByText("Products")
.click();
entityPickerModal().findByText("Reviews").click();
getNotebookStep("data").findByTestId("data-step-cell").click();
entityPickerModal().within(() => {
cy.findByText("QA Postgres12").click();
cy.findByText("Reviews").click();
});
getNotebookStep("join").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