mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-11 22:50:06 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user