详细说明: - 修复了@n8n/config包的TypeScript配置错误 - 移除了不存在的jest-expect-message类型引用 - 清理了所有TypeScript构建缓存 - 更新了可行性分析文档,添加了技术实施方案 - 更新了Agent prompt文档 - 添加了会展策划工作流文档 - 包含了n8n-chinese-translation子项目 - 添加了exhibition-demo展示系统框架
33 lines
866 B
Markdown
Executable File
33 lines
866 B
Markdown
Executable File
## Debugging Flaky End-to-End Tests - Usage
|
|
|
|
To debug flaky end-to-end (E2E) tests, use the following command:
|
|
|
|
```bash
|
|
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:**
|
|
|
|
```bash
|
|
pnpm run debug:flaky:e2e CAT-726 10
|
|
```
|
|
|
|
2. **Run all tests containing "login" five times (default burn count):**
|
|
|
|
```bash
|
|
pnpm run debug:flaky:e2e login
|
|
```
|
|
|
|
3. **Run all tests five times (default grep and burn count):**
|
|
|
|
```bash
|
|
pnpm run debug:flaky:e2e
|
|
```
|