test(engine): Run the EmailSend SMTP spec on engine v2 (#40455)

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
mfsiega
2026-10-07 08:33:56 +00:00
committed by GitHub
co-authored by Claude Opus 5
parent e1025f35e4
commit 779ddcc517
@@ -3,7 +3,7 @@ import { test, expect } from '../../../fixtures/base';
test.use({ capability: 'email' });
test(
'EmailSend node sends via SMTP',
'EmailSend node sends via SMTP @engine:v2',
{
annotation: [{ type: 'owner', description: 'NODES' }],
},
@@ -79,6 +79,9 @@ test(
'Workflow executed successfully',
);
// The run starts from the canvas, so check the engine the execution reached.
await api.workflows.assertLatestExecutionRoutedToEngine(workflowId);
const msg = await mailpit.waitForMessage({ to: toEmail, subject });
expect(msg).toBeTruthy();