Files
n8n-enterprise-unlocked/cypress
shortstacked b0b674e85a fix: Add Exact Match Option for NDV (no-changelog) (#15787)
Co-authored-by: Eugene Molodkin <eugene@n8n.io>
2025-05-28 13:34:06 +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