Files
n8n-enterprise-unlocked/cypress
Jaakko Husso 3a13139f78 feat(core): Change workflow deletions to soft deletes (#14894)
Adds soft‑deletion support for workflows through a new boolean column `isArchived`.

When a workflow is archived we now set `isArchived` flag to true and the workflows
stays in the database and is omitted from the default workflow listing query.

Archived workflows can be viewed in read-only mode, but they cannot be activated.

Archived workflows are still available by ID and can be invoked as sub-executions,
so existing Execute Workflow nodes continue to work. Execution engine doesn't
care about isArchived flag.

Users can restore workflows via Unarchive action at the UI.
2025-05-06 17:48:24 +03: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