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

#18384 Repro: Data Model shows blank page if there are any hidden tables in the database (#18391)

parent f725073c
No related branches found
No related tags found
No related merge requests found
import { restore } from "__support__/e2e/cypress";
import { SAMPLE_DATASET } from "__support__/e2e/cypress_sample_dataset";
const { PEOPLE_ID, PEOPLE, REVIEWS_ID } = SAMPLE_DATASET;
describe.skip("issue 18384", () => {
beforeEach(() => {
restore();
cy.signInAsAdmin();
// Hide Reviews table
cy.request("PUT", "/api/table", {
ids: [REVIEWS_ID],
visibility_type: "hidden",
});
});
it("should be able to open field properties even when one of the tables is hidden (metabase#18384)", () => {
cy.visit(`/admin/datamodel/database/1/table/${PEOPLE_ID}`);
cy.findByDisplayValue("Address")
.parent()
.find(".Icon-gear")
.click();
cy.location("pathname").should(
"eq",
`/admin/datamodel/database/1/table/${PEOPLE_ID}/${PEOPLE.ADDRESS}/general`,
);
cy.findByText(/Address – Field Settings/i);
});
});
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