mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-28 07:17:04 +02:00
24 lines
561 B
TypeScript
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();
|
|
});
|
|
},
|
|
);
|