mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Allow radicle-explorer to connect to a locally running radicle-httpd via https://app.radicle.xyz/nodes/localhost. This was previously disabled to encourage use of Radicle Desktop, but is now useful for testing the new always-on node in local development environments. Remove support for /nodes/radicle.local, an undocumented and unused convention. Fix remote node loading when Cloudflare URL-encodes port separator (: → %3A).
10 lines
387 B
TypeScript
10 lines
387 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("Node not found")).toBeVisible();
|
|
});
|