Skip to content

Commit 2fbc266

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

File tree

2 files changed

+12
-26
lines changed

2 files changed

+12
-26
lines changed

.github/workflows/e2e-flaky.yml

Lines changed: 11 additions & 25 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:
22-
runs-on: blacksmith-2vcpu-ubuntu-2204
11+
runs-on: blacksmith-4vcpu-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"

cypress/e2e/24-ndv-paired-item.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe('NDV', () => {
6060
});
6161

6262
// 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', () => {
6464
cy.fixture('Test_workflow_5.json').then((data) => {
6565
cy.get('body').paste(JSON.stringify(data));
6666
});

0 commit comments

Comments
 (0)