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 feature test expectations regarding rounding issue

Christophe Bliard7aee487fb163
diff --git a/spec/features/work_packages/progress_modal_spec.rb b/spec/features/work_packages/progress_modal_spec.rb
index 642c3f27a0d..cc699396e8a 100644
--- a/spec/features/work_packages/progress_modal_spec.rb
+++ b/spec/features/work_packages/progress_modal_spec.rb
@@ -352,7 +352,7 @@ RSpec.describe "Progress modal", :js, :with_cuprite do
work_edit_field.expect_modal_field_value("10h")
remaining_work_edit_field.expect_modal_field_value("2.12h") # 2h 7m
- percent_complete_edit_field.expect_modal_field_value("78", readonly: true)
+ percent_complete_edit_field.expect_modal_field_value("79", readonly: true)
end
end