This commit is contained in:
Charlie Kolb 2025-03-05 16:04:11 +00:00 committed by GitHub
commit 56c2e3f466
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,6 +139,9 @@ describe('Sub-workflow creation and typed usage', () => {
cy.window().then((win) => { cy.window().then((win) => {
cy.stub(win, 'open').callsFake((url) => { cy.stub(win, 'open').callsFake((url) => {
cy.visit(url); cy.visit(url);
});
});
selectResourceLocatorItem('workflowId', 0, 'Create a'); selectResourceLocatorItem('workflowId', 0, 'Create a');
openNode('When Executed by Another Workflow'); openNode('When Executed by Another Workflow');
@ -167,14 +170,12 @@ describe('Sub-workflow creation and typed usage', () => {
); );
assertOutputTableContent([ assertOutputTableContent([
['[null]', '[null]', '[null]', '[null]', '[null]', 'true'], ['[null]', '[null]', '[null]', '[null]', '[null]', 'false'],
['[null]', '[null]', '[null]', '[null]', '[null]', 'true'], ['[null]', '[null]', '[null]', '[null]', '[null]', 'false'],
]); ]);
clickExecuteNode(); clickExecuteNode();
}); });
});
});
it('should show node issue when no fields are defined in manual mode', () => { it('should show node issue when no fields are defined in manual mode', () => {
getExecuteNodeButton().should('be.disabled'); getExecuteNodeButton().should('be.disabled');