Drop workers=1 — hydration helper is sufficient

The hydration helper alone fixes the flake; restoring CPU-count
workers locally cuts the suite from 55s to 22s. Cover the two
remaining /auth/login navigations the prior commit missed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-05-08 01:10:15 +02:00
parent b7ed54ba72
commit e6dc809e08
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
2 changed files with 3 additions and 5 deletions

View file

@ -67,6 +67,7 @@ test.describe("Passkey Authentication", () => {
// Sign in with passkey
await page.goto("/auth/login");
await waitForHydration(page);
await page.getByRole("button", { name: /Sign in with Passkey/ }).click();
await expect(page).toHaveURL("/", { timeout: 10000 });
await expect(page.getByRole("navigation").getByRole("button", { name: username })).toBeVisible({ timeout: 5000 });
@ -79,6 +80,7 @@ test.describe("Passkey Authentication", () => {
const authenticatorId = await setupVirtualAuthenticator(cdp);
await page.goto("/auth/login");
await waitForHydration(page);
await page.getByRole("button", { name: /Sign in with Passkey/ }).click();
await expect(page.getByText(/No passkey found/i)).toBeVisible({ timeout: 10000 });