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 flaky test by adding change detection

Christophe Bliard3e18acec4b64
diff --git a/frontend/src/app/shared/components/datepicker/wp-multi-date-form/wp-multi-date-form.component.ts b/frontend/src/app/shared/components/datepicker/wp-multi-date-form/wp-multi-date-form.component.ts
index d440290b14c..ec2e7781ded 100644
--- a/frontend/src/app/shared/components/datepicker/wp-multi-date-form/wp-multi-date-form.component.ts
+++ b/frontend/src/app/shared/components/datepicker/wp-multi-date-form/wp-multi-date-form.component.ts
@@ -414,6 +414,7 @@ export class OpWpMultiDateFormComponent extends UntilDestroyedMixin implements A
handleDurationFocusOut():void {
setTimeout(() => {
this.durationFocused = false;
+ this.cdRef.detectChanges();
});
}