mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-11 22:50:06 +00:00
test(engine): Run responseNode webhook E2E tests on engine v2 (#39761)
This commit is contained in:
@@ -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 =
|
||||
|
||||
+3
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user