test: Update 20-workflow-executions e2e tests for new canvas (#12136)

This commit is contained in:
Alex Grozav
2024-12-11 12:12:47 +02:00
committed by GitHub
parent 0468945c99
commit e6985f79db
3 changed files with 15 additions and 1 deletions

View File

@@ -1485,6 +1485,13 @@ function unregisterCustomActions() {
unregisterCustomAction('showNodeCreator');
}
function showAddFirstStepIfEnabled() {
if (uiStore.addFirstStepOnLoad) {
void onOpenNodeCreatorForTriggerNodes(NODE_CREATOR_OPEN_SOURCES.TRIGGER_PLACEHOLDER_BUTTON);
uiStore.addFirstStepOnLoad = false;
}
}
/**
* Routing
*/
@@ -1547,6 +1554,7 @@ onMounted(() => {
onActivated(async () => {
addUndoRedoEventBindings();
showAddFirstStepIfEnabled();
});
onDeactivated(() => {