test(engine): Run responseNode webhook E2E tests on engine v2 (#39761)

This commit is contained in:
Tomi Turtiainen
2026-09-28 13:59:41 +00:00
committed by GitHub
parent 20807d2d3d
commit 697e0bb8a6
2 changed files with 7 additions and 1 deletions
@@ -38,6 +38,10 @@ test.describe(
'webhook-last-node-text-html-content-type',
'webhook-response-data-csp-header',
'webhook-last-node-csp-header',
'respond-to-webhook-text-no-content-type',
'respond-to-webhook-text-content-type-text-html',
'respond-to-webhook-text-csp-header',
'respond-to-webhook-json-as-text-html',
]);
const expectedCSP =
@@ -125,7 +125,9 @@ test.describe(
expect(executionDetails.data).toContain('draft-version');
});
test('production execution should use published version of sub-workflow', async ({ api }) => {
test('production execution should use published version of sub-workflow @engine:v2-pending', async ({
api,
}) => {
const childFilePath = resolveFromRoot('workflows', 'subworkflow-version-child.json');
const childDefinition = JSON.parse(readFileSync(childFilePath, 'utf8')) as IWorkflowBase;
const childAssignmentsParam = childDefinition.nodes[1].parameters.assignments;