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

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:
n8n-cat-bot[bot] 2026-05-26 13:09:45 +01:00 committed by GitHub
parent 9f0a69598a
commit fbdc808e97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 8 deletions

View File

@ -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 }) => {

View File

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