Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix custom action title flaky spec by fetching titles on initialization.

Dombi Attila39ff65c10ce2
diff --git a/frontend/src/app/features/work-packages/components/wp-custom-actions/wp-custom-actions/wp-custom-action.component.ts b/frontend/src/app/features/work-packages/components/wp-custom-actions/wp-custom-actions/wp-custom-action.component.ts
index 84dba6bb8c4..52890b3af35 100644
--- a/frontend/src/app/features/work-packages/components/wp-custom-actions/wp-custom-actions/wp-custom-action.component.ts
+++ b/frontend/src/app/features/work-packages/components/wp-custom-actions/wp-custom-actions/wp-custom-action.component.ts
@@ -74,6 +74,7 @@ export class WpCustomActionComponent extends UntilDestroyedMixin implements OnIn
this.untilDestroyed(),
)
.subscribe(() => this.cdRef.detectChanges());
+ this.fetchAction();
}
private fetchAction() {