fix(editor): Make sticky node content parameter non require to support empty stickies (#9192)

This commit is contained in:
Ricardo Espinoza
2024-04-23 21:56:33 -04:00
committed by GitHub
parent 93f23ea4b2
commit f6142ff275
3 changed files with 17 additions and 1 deletions

View File

@@ -419,6 +419,9 @@ export class WorkflowPage extends BasePage {
editSticky: (content: string) => {
this.getters.stickies().dblclick().find('textarea').clear().type(content).type('{esc}');
},
clearSticky: () => {
this.getters.stickies().dblclick().find('textarea').clear().type('{esc}');
},
shouldHaveWorkflowName: (name: string) => {
this.getters.workflowNameInputContainer().invoke('attr', 'title').should('include', name);
},