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

#13468 Repro: Question with joins causes re-run overlay after first save (#17535)

parent e8c7140a
No related merge requests found
import { restore, openOrdersTable } from "__support__/e2e/cypress";
describe.skip("issue 13468", () => {
beforeEach(() => {
cy.intercept("POST", "/api/dataset").as("dataset");
restore();
cy.signInAsAdmin();
});
it("should not show run overlay after save on a joined question (metabase#13468)", () => {
openOrdersTable({ mode: "notebook" });
cy.findByText("Join data").click();
cy.findByText("Products").click();
visualizeResults();
saveQuestion();
// Cypress cannot click elements that are blocked by an overlay so this will immediately fail if the issue is not fixed
cy.findByText("110.93").click();
cy.findByText("Filter by this value");
});
});
function visualizeResults() {
cy.button("Visualize").click();
cy.wait("@dataset");
}
function saveQuestion() {
cy.findByText("Save").click();
cy.button("Save").click();
cy.button("Not now").click();
}
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