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

attempt to fix flickering spec - no reload happening here

ulferts0fc5905bcd66
diff --git a/spec/features/custom_fields/multi_user_custom_field_spec.rb b/spec/features/custom_fields/multi_user_custom_field_spec.rb
index 57465d143a0..aeef3d4c372 100644
--- a/spec/features/custom_fields/multi_user_custom_field_spec.rb
+++ b/spec/features/custom_fields/multi_user_custom_field_spec.rb
@@ -31,7 +31,7 @@ RSpec.describe "multi select custom values", :js do
before do
login_as current_user
wp_page.visit!
- wait_for_reload
+ wait_for_network_idle
end
describe "with mixed users, group, and placeholders" do
@@ -175,7 +175,7 @@ RSpec.describe "multi select custom values", :js do
page.find(".inline-edit--display-field", text: "Billy Nobbler").click
- wait_for_reload
+ wait_for_network_idle
cf_edit_field.unset_value "Anton Lupin", multi: true
cf_edit_field.set_value "Cooper Quatermaine"