Skip to content

Commit

Permalink
fix(testing): add note about running test setup in serial mode (#1798)
Browse files Browse the repository at this point in the history
  • Loading branch information
BRKalow authored Dec 12, 2024
1 parent 769e60b commit a34d0fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/testing/playwright/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ description: Use Playwright to write end-to-end tests with Clerk.
import { clerkSetup } from '@clerk/testing/playwright'
import { test as setup } from '@playwright/test'

// Setup must be run serially, this is necessary if Playwright is configured to run fully parallel: https://playwright.dev/docs/test-parallel
setup.describe.configure({ mode: 'serial' })

setup('global setup', async ({}) => {
await clerkSetup()
})
Expand Down

0 comments on commit a34d0fd

Please sign in to comment.