Files
radicle-explorer/tests/build/smoke.spec.ts
T
2022-12-16 15:06:05 +01:00

14 lines
482 B
TypeScript

import { test, expect } from "@tests/support/fixtures.js";
test("exceptions in production build", async ({ page }) => {
await page.goto("/");
// 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.locator(
"text=Radicle enables developers to securely collaborate on software over a peer-to-peer network built on Git.",
),
).toBeVisible();
});