mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
19 lines
520 B
TypeScript
19 lines
520 B
TypeScript
import { WorkflowPage, NDV } from '../pages';
|
|
|
|
const workflowPage = new WorkflowPage();
|
|
const ndv = new NDV();
|
|
|
|
describe('Schedule Trigger node', () => {
|
|
beforeEach(() => {
|
|
workflowPage.actions.visit();
|
|
});
|
|
|
|
it('should execute and return the execution timestamp', () => {
|
|
workflowPage.actions.addInitialNodeToCanvas('Schedule Trigger');
|
|
workflowPage.actions.openNode('Schedule Trigger');
|
|
ndv.actions.execute();
|
|
ndv.getters.outputPanel().contains('timestamp');
|
|
ndv.getters.backToCanvas().click();
|
|
});
|
|
});
|