File tree Expand file tree Collapse file tree 2 files changed +12
-26
lines changed Expand file tree Collapse file tree 2 files changed +12
-26
lines changed Original file line number Diff line number Diff line change 1
- name : Check Flaky E2E Test
1
+ name : Debug Flaky E2E Test (Temporary Push Trigger)
2
2
3
+ # Trigger automatically ONLY on pushes to your specific development branch
3
4
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
19
8
20
9
jobs :
21
10
debug-test :
22
- runs-on : blacksmith-2vcpu -ubuntu-2204
11
+ runs-on : blacksmith-4vcpu -ubuntu-2204
23
12
timeout-minutes : 60
24
13
25
14
steps :
15
+ # Checkout the code from the commit that triggered the push
26
16
- name : Checkout code
27
17
uses : actions/checkout@v4
28
- with :
29
- ref : ${{ github.event.inputs.branch }}
30
18
31
19
- name : Setup PNPM
32
20
uses : pnpm/action-setup@v4
60
48
working-directory : cypress
61
49
run : pnpm cypress:install
62
50
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
65
52
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"
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ describe('NDV', () => {
60
60
} ) ;
61
61
62
62
// eslint-disable-next-line n8n-local-rules/no-skipped-tests
63
- it . skip ( 'maps paired input and output items based on selected input node' , ( ) => {
63
+ it ( 'maps paired input and output items based on selected input node' , ( ) => {
64
64
cy . fixture ( 'Test_workflow_5.json' ) . then ( ( data ) => {
65
65
cy . get ( 'body' ) . paste ( JSON . stringify ( data ) ) ;
66
66
} ) ;
You can’t perform that action at this time.
0 commit comments