Files
radicle-explorer/tests/build/smoke.spec.ts
T
Rūdolfs Ošiņš 73408cd826 Improve UX when a node is unreachable
When a saved node (e.g. localhost) is down, the app previously showed a
dead-end "Node not found" page with no way to navigate away.

Now the not-found page displays the seed selector inline with the error
title, showing which node failed and letting users switch to a different
one directly. The same treatment applies when navigating to a repo on an
unreachable node.
2026-03-06 15:38:00 -06:00

10 lines
393 B
TypeScript

import { test, expect } from "@tests/support/fixtures.js";
test("exceptions in production build", async ({ page }) => {
await page.goto("/nodes/127.0.0.1:8081");
// Wait for scripts to finish executing, there might be exceptions that
// happen after the page has been painted.
await page.waitForTimeout(2000);
await expect(page.getByText("Could not connect to")).toBeVisible();
});