Skip to content

Commit b8323a8

Browse files
committed
ci: temp change to test workflow
1 parent 3fbca25 commit b8323a8

File tree

1 file changed

+10
-24
lines changed

1 file changed

+10
-24
lines changed

.github/workflows/e2e-flaky.yml

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,20 @@
1-
name: Check Flaky E2E Test
1+
name: Debug Flaky E2E Test (Temporary Push Trigger)
22

3+
# Trigger automatically ONLY on pushes to your specific development branch
34
on:
4-
workflow_dispatch:
5-
inputs:
6-
test_name:
7-
description: 'The name of the test to filter.'
8-
required: true
9-
type: string
10-
burn_count:
11-
description: 'Number of times to run the test.'
12-
required: false
13-
type: number
14-
default: 50
15-
branch:
16-
description: 'Optional: GitHub branch, tag, or SHA to test. Defaults to the branch selected in UI.'
17-
required: false
18-
type: string
5+
push:
6+
branches:
7+
- CAT-754-flaky-test-workflow
198

209
jobs:
2110
debug-test:
2211
runs-on: blacksmith-2vcpu-ubuntu-2204
2312
timeout-minutes: 60
2413

2514
steps:
15+
# Checkout the code from the commit that triggered the push
2616
- name: Checkout code
2717
uses: actions/checkout@v4
28-
with:
29-
ref: ${{ github.event.inputs.branch }}
3018

3119
- name: Setup PNPM
3220
uses: pnpm/action-setup@v4
@@ -60,10 +48,8 @@ jobs:
6048
working-directory: cypress
6149
run: pnpm cypress:install
6250

63-
- name: Run Flaky Debug Command
64-
run: pnpm run debug:flaky:e2e "${{ github.event.inputs.test_name }}" ${{ github.event.inputs.burn_count }}
51+
- name: Run Flaky Debug Command via ENV
6552
env:
66-
NODE_OPTIONS: --dns-result-order=ipv4first
67-
E2E_TESTS: true
68-
SHELL: /bin/sh
69-
CYPRESS_NODE_VIEW_VERSION: 2
53+
E2E_DEBUG_FILTER: "maps paired input and output items based on selected input node"
54+
E2E_DEBUG_COUNT: 50
55+
run: pnpm run debug:flaky:e2e $E2E_DEBUG_FILTER $E2E_DEBUG_COUNT

0 commit comments

Comments
 (0)