diff --git a/tests/e2e/support.ts b/tests/e2e/support.ts index 403fcac..d18fe9d 100644 --- a/tests/e2e/support.ts +++ b/tests/e2e/support.ts @@ -16,6 +16,9 @@ export const SAMPLE_ROOT = process.env.E2E_STACK_ROOT ?? ''; * switching the scheme is instant and axe never measures a colour halfway through a transition. */ export async function expectAccessible(page: Page) { + // A client-side navigation can show the new page's heading before Next.js commits its