Add E2E tests to register and verify passkey.

This commit is contained in:
2025-12-03 02:52:39 +00:00
parent ca1ea9d90b
commit fd1aa11409
10 changed files with 1048 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"name": "passkey-auth-e2e",
"version": "1.0.0",
"private": true,
"description": "E2E tests for PasskeyAuth using Playwright with Virtual Authenticator",
"type": "module",
"scripts": {
"test": "bunx playwright test",
"test:headed": "bunx playwright test --headed",
"test:debug": "bunx playwright test --debug",
"test:ui": "bunx playwright test --ui",
"report": "bunx playwright show-report",
"install:browsers": "bunx playwright install chromium"
},
"devDependencies": {
"@playwright/test": "^1.49.0",
"@simplewebauthn/browser": "^13.1.2",
"@types/bun": "^1.3.3"
}
}