diff --git a/tests/e2e/passkey.test.ts b/tests/e2e/passkey.test.ts index 2c21861a1..512169d8c 100644 --- a/tests/e2e/passkey.test.ts +++ b/tests/e2e/passkey.test.ts @@ -1,10 +1,11 @@ import { faker } from '@faker-js/faker' +import { type Page } from '@playwright/test' import { expect, test } from '#tests/playwright-utils.ts' -async function setupWebAuthn(page: any) { +async function setupWebAuthn(page: Page) { const client = await page.context().newCDPSession(page) // https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn/ - await client.send('WebAuthn.enable', { options: { enableUI: true } }) + await client.send('WebAuthn.enable', { enableUI: true }) const result = await client.send('WebAuthn.addVirtualAuthenticator', { options: { protocol: 'ctap2',