mirror of
https://github.com/block/buzz.git
synced 2026-10-27 04:30:52 +00:00
feat(web): scaffold browser-based Sprout web client (#474)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
web/tests/e2e/smoke.spec.ts
Normal file
13
web/tests/e2e/smoke.spec.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
|
||||
test("home page loads with Sprout heading", async ({ page }) => {
|
||||
await page.goto("/");
|
||||
await expect(page.locator("header")).toContainText("Sprout");
|
||||
});
|
||||
|
||||
test("relay URL is visible", async ({ page }) => {
|
||||
await page.goto("/");
|
||||
const relayUrl = page.getByTestId("relay-url");
|
||||
await expect(relayUrl).toBeVisible();
|
||||
await expect(relayUrl).toContainText("ws://");
|
||||
});
|
||||
Reference in New Issue
Block a user