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

Repro #20469: Main page loading spinner spins forever on API error (#20675)

parent f214d903
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,18 @@ describe("scenarios > home > homepage", () => {
cy.signInAsAdmin();
});
it.skip("should handle server errors on load (metabase#20469)", () => {
cy.intercept("GET", "/api/database", req => {
req.reply({
statusCode: 500,
});
});
cy.visit("/");
// Even if we don't receive a list of our databases, we should still be able to load all items in the root collection
cy.findByText("Browse all items");
});
it("should allow basic navigation", () => {
cy.visit("/");
cy.findByText("Add my data").click();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment