From eab5070635c427c7d4eaed566018163b6e82ea59 Mon Sep 17 00:00:00 2001 From: "yousef.code" Date: Wed, 15 Jul 2026 23:14:46 +0300 Subject: [PATCH] fix(ci): wait for identity hydration in UI tests --- e2e-tests/tests/ui/example-shell.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e-tests/tests/ui/example-shell.spec.ts b/e2e-tests/tests/ui/example-shell.spec.ts index ba2e11a..5699ddf 100644 --- a/e2e-tests/tests/ui/example-shell.spec.ts +++ b/e2e-tests/tests/ui/example-shell.spec.ts @@ -1,4 +1,5 @@ import { test, expect } from '@playwright/test'; +import { waitForIdentityHydration } from '../support/live-authority.js'; test.describe('passkey-first example shell', () => { test('navigates from the landing page to the accessible identity UI', async ({ page }) => { @@ -44,6 +45,7 @@ test.describe('passkey-first example shell', () => { test('keeps sign-in keyboard reachable while unnamed registration is disabled', async ({ page }) => { await page.goto('/identity'); + await waitForIdentityHydration(page); await page.getByRole('textbox', { name: 'Passkey name', exact: true }).focus(); await page.keyboard.press('Tab');