n8n/packages/testing/playwright/tests/e2e/nodes/schedule-trigger-node.spec.ts
Declan Carroll 66087e2dd5
chore: Apply biome formatting to playwright package (no-changelog) (#26586)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 10:47:20 +00:00

24 lines
561 B
TypeScript

import { test, expect } from '../../../fixtures/base';
test.describe(
'Schedule Trigger node',
{
annotation: [{ type: 'owner', description: 'NODES' }],
},
() => {
test.beforeEach(async ({ n8n }) => {
await n8n.start.fromBlankCanvas();
});
test('should execute schedule trigger node and return timestamp in output', async ({ n8n }) => {
await n8n.canvas.addNode('Schedule Trigger');
await n8n.ndv.execute();
await expect(n8n.ndv.outputPanel.get()).toContainText('timestamp');
await n8n.ndv.clickBackToCanvasButton();
});
},
);