mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-03 02:07:06 +02:00
22 lines
549 B
TypeScript
22 lines
549 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();
|
|
});
|
|
});
|