n8n/cypress/e2e/15-scheduler-node.cy.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
520 B
TypeScript
Raw Normal View History

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();
});
});