playwright-flake-detector
v0.1.0
Published
Experimental fixture for Playwright to make flaky tests surface, by creating artificially bad conditions.
Readme
Playwright flake detector
Experimental fixture for Playwright to make flaky tests surface, by creating artificially bad conditions.
This fixture can help you detect:
- hydration issues
- missing await on action and web-first assertions
- explicit wait with
waitForTimeout
Usage
import { test, expect } from 'playwright-flake-detector';
test('example', async ({ page }) => {
// ...
});Contribute
I don't accept contributions for now
Run tests
npx playwright testTest burn in
npx playwright test --repeat-each=10npm publication is performed in CI. np is quite useful for everything else (bumping version, perform checks, prepare the release).
npx np --no-publish