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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
need to wait for network idle before editing value
Ivan Kuchin74083d2cbcc0
diff --git a/spec/features/work_packages/update_ancestors_spec.rb b/spec/features/work_packages/update_ancestors_spec.rbindex 7a0afe6ce4e..167457f95e2 100644--- a/spec/features/work_packages/update_ancestors_spec.rb+++ b/spec/features/work_packages/update_ancestors_spec.rb@@ -107,7 +107,6 @@ RSpec.describe "Update ancestors", :js, :with_cuprite dowp_table.update_work_package_attributes(child, estimatedTime: child.estimated_hours + 1)parent.reloadchild.reload- # binding.irbend.to change(child, :remaining_hours).by(1) # remaining work increased as a side effect of increasing work.and change(parent, :derived_estimated_hours).by(1).and change(parent, :derived_done_ratio).to(33) # 12h total work and 8h total remaining work => 33% completediff --git a/spec/support/edit_fields/edit_field.rb b/spec/support/edit_fields/edit_field.rbindex 19096f9a4dd..50c3badf2e4 100644--- a/spec/support/edit_fields/edit_field.rb+++ b/spec/support/edit_fields/edit_field.rb@@ -244,6 +244,7 @@ class EditField# an attribute, which may cause an input not to open properly.retry_block doactivate_edition+ wait_for_network_idle if using_cuprite?set_value value# select fields are saved on change