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

Repro #26571: Do not show x-rays if feature is disabled (#28130)

[ci skip]
parent b06ac20c
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,21 @@ describe("scenarios > x-rays", () => {
const XRAY_DATASETS = 11; // enough to load most questions
it.skip("should not display x-rays if the feature is disabled in admin settings (metabase#26571)", () => {
cy.request("PUT", "api/setting/enable-xrays", { value: false });
cy.visit("/");
cy.findByText("Metabase tips");
cy.findByText(
"Try out these sample x-rays to see what Metabase can do.",
).should("not.exist");
cy.findByText(/^A summary of/).should("not.exist");
cy.findByText(/^A glance at/).should("not.exist");
cy.findByText(/^A look at/).should("not.exist");
cy.findByText(/^Some insights about/).should("not.exist");
});
it.skip("should work on questions with explicit joins (metabase#13112)", () => {
const PRODUCTS_ALIAS = "Products";
......
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