2024-07-22 03:49:28 -07:00
|
|
|
import { WorkflowPage, NDV } from '../pages';
|
2023-02-07 03:41:44 -08:00
|
|
|
|
|
|
|
const workflowPage = new WorkflowPage();
|
|
|
|
const ndv = new NDV();
|
|
|
|
|
2024-06-10 06:49:50 -07:00
|
|
|
describe('Schedule Trigger node', () => {
|
2023-05-26 08:15:06 -07:00
|
|
|
beforeEach(() => {
|
|
|
|
workflowPage.actions.visit();
|
|
|
|
});
|
|
|
|
|
2023-02-07 03:41:44 -08:00
|
|
|
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();
|
|
|
|
});
|
|
|
|
});
|