Skip to content
Snippets Groups Projects
Unverified Commit 6a9230f1 authored by Nick Fitzpatrick's avatar Nick Fitzpatrick Committed by GitHub
Browse files

Add repro for 38041 (#46003)

parent 03b802ee
Branches
Tags
No related merge requests found
......@@ -85,6 +85,25 @@ describeWithSnowplow(
expect(Number(result.rows[0].count)).to.equal(testFile.rowCount);
});
});
cy.log(
"Ensure that table is visible in admin without refreshing (metabase#38041)",
);
cy.findByTestId("app-bar").button(/gear/).click();
popover().findByText("Admin settings").click();
cy.findByRole("link", { name: "Table Metadata" }).click();
cy.findByTestId("admin-metadata-header")
.findByText("Sample Database")
.click();
popover().findByText("Writable Postgres12").click();
cy.findByTestId("admin-metadata-table-list").within(() => {
cy.findByText("1 Queryable Table").should("exist");
cy.findByText("Dog Breeds").should("exist");
});
});
["postgres", "mysql"].forEach(dialect => {
......
......@@ -61,6 +61,7 @@ const MetadataHeader = ({
return (
<div
data-testid="admin-metadata-header"
className={cx(
"MetadataEditor-header",
CS.flex,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment