Add Playwright E2E testing #43

Merged
ghost merged 4 commits from feat/playwright-e2e into main 2026-03-18 02:52:59 +00:00
Showing only changes of commit c957ee2504 - Show all commits
+2 -2
View File
@@ -54,6 +54,6 @@ test("clicking a client shows their details", async ({ page }) => {
await page.goto("/clients");
await expect(page.getByText("Alice Johnson")).toBeVisible();
await page.getByText("Alice Johnson").click();
// Client detail panel shows their email
await expect(page.getByText("alice@example.com")).toBeVisible();
// Email appears in both the list row and the detail panel once selected
await expect(page.getByText("alice@example.com")).toHaveCount(2);
});