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

#18364 Repro: Unable to save a nested question in the "Our analytics" collection (#18380)

parent 54a2477b
Branches
Tags
No related merge requests found
import { restore } from "__support__/e2e/cypress";
const questionDetails = {
name: "REVIEWS SQL",
native: { query: "select REVIEWER from REVIEWS LIMIT 1" },
};
describe.skip("issue 18364", () => {
beforeEach(() => {
cy.intercept("POST", "/api/card").as("cardCreated");
restore();
cy.signInAsAdmin();
});
it("should be able to save a nested question (metabase#18364)", () => {
cy.createNativeQuestion(questionDetails, { visitQuestion: true });
cy.findByText("Explore results").click();
cy.findByText("Save").click();
cy.get(".Modal")
.button("Save")
.click();
cy.wait("@cardCreated").then(({ response: { body } }) => {
expect(body.error).not.to.exist;
});
cy.button("Failed").should("not.exist");
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment