mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-01 01:07:04 +02:00
test: Deflake debug and inject-previous execution specs (#31107)
Some checks are pending
Build: Benchmark Image / build (push) Waiting to run
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (22.22.3) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.15.0) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Util: Sync API Docs / sync-public-api (push) Waiting to run
Some checks are pending
Build: Benchmark Image / build (push) Waiting to run
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (22.22.3) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.15.0) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Util: Sync API Docs / sync-public-api (push) Waiting to run
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: Declan Carroll <declan@n8n.io>
This commit is contained in:
parent
9f0a69598a
commit
fbdc808e97
|
|
@ -56,6 +56,7 @@ test.describe(
|
|||
await createBasicWorkflow(n8n, URLS.FAILING);
|
||||
await n8n.workflowComposer.executeWorkflowAndWaitForNotification(
|
||||
NOTIFICATIONS.PROBLEM_IN_NODE,
|
||||
{ timeout: 10_000 },
|
||||
);
|
||||
await importExecutionForDebugging(n8n);
|
||||
|
||||
|
|
@ -64,8 +65,10 @@ test.describe(
|
|||
await n8n.canvas.waitForSaveWorkflowCompleted();
|
||||
await n8n.ndv.close();
|
||||
|
||||
await n8n.workflowComposer.executeWorkflowAndWaitForNotification(NOTIFICATIONS.SUCCESSFUL);
|
||||
expect(n8n.page.url()).not.toContain('/debug');
|
||||
await n8n.workflowComposer.executeWorkflowAndWaitForNotification(NOTIFICATIONS.SUCCESSFUL, {
|
||||
timeout: 10_000,
|
||||
});
|
||||
await expect(n8n.page).not.toHaveURL(/\/debug/);
|
||||
});
|
||||
|
||||
test('should handle pinned data conflicts during execution import', async ({ n8n }) => {
|
||||
|
|
|
|||
|
|
@ -17,9 +17,7 @@ test.describe(
|
|||
await expect(n8n.canvas.getExecuteWorkflowButton()).toBeVisible();
|
||||
|
||||
await n8n.canvas.clickZoomToFitButton();
|
||||
await n8n.canvas.clickExecuteWorkflowButton();
|
||||
|
||||
await n8n.notifications.waitForNotificationAndClose(
|
||||
await n8n.workflowComposer.executeWorkflowAndWaitForNotification(
|
||||
NOTIFICATIONS.WORKFLOW_EXECUTED_SUCCESSFULLY,
|
||||
);
|
||||
|
||||
|
|
@ -47,9 +45,7 @@ test.describe(
|
|||
await expect(n8n.canvas.getExecuteWorkflowButton()).toBeVisible();
|
||||
|
||||
await n8n.canvas.clickZoomToFitButton();
|
||||
await n8n.canvas.clickExecuteWorkflowButton();
|
||||
|
||||
await n8n.notifications.waitForNotificationAndClose(
|
||||
await n8n.workflowComposer.executeWorkflowAndWaitForNotification(
|
||||
NOTIFICATIONS.WORKFLOW_EXECUTED_SUCCESSFULLY,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user