Testing
1,718 installs
clerk-testing
by clerk/skills
E2E testing for Clerk apps. Use with Playwright or Cypress for auth flow tests.
Skill content
Testing Decision Tree Framework Documentation Overview https://clerk.com/docs/guides/development/testing/overview Playwright https://clerk.com/docs/guides/development/testing/playwright/overview Cypress https://clerk.com/docs/guides/development/testing/cypress/overview Mental Model Test auth = isolated session state. Each test needs fresh auth context. - clerkSetup() initializes test environment - setupClerkTestingToken() bypasses bot detection - storageState persists auth between tests for speed Workflow