Files
n8n-enterprise-unlocked/cypress
Michael Kret 24638420bd feat: Community Nodes in the Nodes Panel (#13923)
Co-authored-by: Dana Lee <dana@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2025-05-09 11:14:41 +01: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 their it() or describe() block titles, or by tags if using the @cypress/grep plugin. 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:

  1. Run all tests tagged with CAT-726 ten times:

    pnpm run debug:flaky:e2e CAT-726 10
    
  2. Run all tests containing "login" five times (default burn count):

    pnpm run debug:flaky:e2e login
    
  3. Run all tests five times (default grep and burn count):

    pnpm run debug:flaky:e2e