mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-15 17:16:45 +00:00
Debugging Flaky End-to-End Tests - Usage
To debug flaky end-to-end (E2E) tests, use the following command:
pnpm run debug:flaky:e2e -- <grep_filter> <burn_count>
Parameters:
<grep_filter>: (Optional) A string to filter tests by theirit()ordescribe()block titles, or by tags if using the@cypress/grepplugin. If omitted, all tests will be run.<burn_count>: (Optional) The number of times to run the filtered tests. Defaults to 5 if not provided.
Examples:
-
Run all tests tagged with
CAT-726ten times:pnpm run debug:flaky:e2e CAT-726 10 -
Run all tests containing "login" five times (default burn count):
pnpm run debug:flaky:e2e login -
Run all tests five times (default grep and burn count):
pnpm run debug:flaky:e2e