diff --git a/.github/workflows/e2e-flaky.yml b/.github/workflows/e2e-flaky.yml index ce5de72113..3410148980 100644 --- a/.github/workflows/e2e-flaky.yml +++ b/.github/workflows/e2e-flaky.yml @@ -66,4 +66,4 @@ jobs: NODE_OPTIONS: --dns-result-order=ipv4first E2E_TESTS: true SHELL: /bin/sh - CYPRESS_NODE_VIEW_VERSION: 2 \ No newline at end of file + CYPRESS_NODE_VIEW_VERSION: 2 diff --git a/.github/workflows/units-tests-reusable.yml b/.github/workflows/units-tests-reusable.yml index 917ea8c02b..953e4ac539 100644 --- a/.github/workflows/units-tests-reusable.yml +++ b/.github/workflows/units-tests-reusable.yml @@ -86,7 +86,7 @@ jobs: run: pnpm test:frontend - name: Upload test results to Codecov - if: ${{ !cancelled() }} # Run even if tests fail + if: ${{ !cancelled() }} # Run even if tests fail uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/cypress/e2e/19-execution.cy.ts b/cypress/e2e/19-execution.cy.ts index 7de005670f..6001143473 100644 --- a/cypress/e2e/19-execution.cy.ts +++ b/cypress/e2e/19-execution.cy.ts @@ -473,6 +473,17 @@ describe('Execution', () => { }); it('should send proper payload for node rerun', () => { + const mockUserData = [ + { + firstname: 'Lawrence', + lastname: 'Kertzmann', + }, + ]; + cy.intercept('GET', 'https://internal.users.n8n.cloud/webhook/random-data-api', { + statusCode: 200, + body: mockUserData, + }).as('getRandomUsers'); + cy.createFixtureWorkflow('Multiple_trigger_node_rerun.json', 'Multiple trigger node rerun'); workflowPage.getters.zoomToFitButton().click();