mirror of
https://github.com/block/buzz.git
synced 2026-10-27 04:30:52 +00:00
14 lines
427 B
TypeScript
14 lines
427 B
TypeScript
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://");
|
|
});
|