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

Repro #22822: Do not offer "Explore results" unless the database supports it (#22948)

parent 4a567c28
Branches jest-role-hidden
No related tags found
No related merge requests found
import { restore } from "__support__/e2e/cypress";
const MONGO_DB_ID = 2;
const questionDetails = {
name: "22822",
database: MONGO_DB_ID,
native: {
query: '[{"$limit": 2}]',
collection: "products",
},
};
describe.skip("issue 22822", () => {
beforeEach(() => {
restore("mongo-4");
cy.signInAsAdmin();
});
it("should not show 'Explore Results' for databases that do not support nested queries (metabase#22822)", () => {
cy.createNativeQuestion(questionDetails, { visitQuestion: true });
cy.findByTextEnsureVisible("Rustic Paper Wallet");
cy.findByText("Explore results").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