TEST008errorPro

playwright-test-slow-misuse

Detects incorrect test.slow() usage that silently skips tests.

Applies to: JavaScript, TypeScript

Why this matters

test.slow('title', fn) makes Playwright silently ignore the test - it won't appear in test listings or run. Use test('title', fn) with test.slow() inside the body instead.

Catch it before it ships

pip install stablestack # or: npx stablestackstablestack # scans your project, TEST008 includedstablestack explain TEST008

TEST008 is part of the Pro rule set. See pricing — the free tier ships 24 checks with no signup.

False positive in your codebase? Suppress a single line with # noqa: TEST008