fix: Removing call to actual endpoint (no-changelog) (#14687)

This commit is contained in:
shortstacked
2025-04-17 08:26:24 +01:00
committed by GitHub
parent 8b70fbcb5f
commit 874402e0b3
3 changed files with 13 additions and 2 deletions

View File

@@ -66,4 +66,4 @@ jobs:
NODE_OPTIONS: --dns-result-order=ipv4first
E2E_TESTS: true
SHELL: /bin/sh
CYPRESS_NODE_VIEW_VERSION: 2
CYPRESS_NODE_VIEW_VERSION: 2

View File

@@ -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 }}

View File

@@ -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();