Skip to content
C

clerk-testing

E2E testing for Clerk apps. Use with Playwright or Cypress for auth flow tests

by clerkFree

Launch
#3319in AI Skills
0In stores

Description

clerk-testing is an agent skill from the Clerk skills collection that helps a coding agent write end-to-end tests for applications that use…

Highlights

  • E2E tests for Clerk sign-in flows
  • Works with Playwright or Cypress
  • clerkSetup() for the test environment
  • Testing token for bot detection during tests
  • storageState to reuse sign-in between tests
  • Decision tree for choosing a framework

Ratings & Reviews

No ratings yet

Be the first to rate clerk-testing.

People also visit

E

e2e-testing-patterns

Comprehensive guide to building reliable

AI Skills
Launch
M

migrate

Migrate from Cypress or Selenium to Playwright

AI Skills
Launch
P

playwright-expert

Writing E2E tests with Playwright, setting up test infrastructure

AI Skills
Launch
N

next-cache-components-optimizer

Optimize the meaningful UI available immediately

AI Skills
Launch
B

browser-automation

Build reliable browser checks

AI Skills
Launch
B

bats-testing-patterns

Master Bash Automated Testing System

AI Skills
Launch

clerk-testing FAQ

What does this skill do?

It helps a coding agent write end-to-end tests for apps that use Clerk, with Playwright or Cypress, including auth flow tests.

How do I install it?

Run npx skills add https://github.com/clerk/skills --skill clerk-testing.

What is the testing token for?

The skill says setupClerkTestingToken() bypasses bot detection, so automated test runs can sign in.

Why is each test fresh?

The skill's model is that test auth is isolated session state, so each test needs its own fresh authentication context.

Can tests reuse a sign-in?

Yes. storageState persists authentication between tests, which the skill says speeds up the suite.

What are the security audit results?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best clerk-testing alternatives?

Popular alternatives to clerk-testing include e2e-testing-patterns, migrate and playwright-expert. See all clerk-testing alternatives

Developer Stuff

Badges