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

ulfertse07c2b95fc9b
diff --git a/spec/features/custom_fields/multi_version_custom_field_spec.rb b/spec/features/custom_fields/multi_version_custom_field_spec.rb
index 2bed4cf83e6..50e6bf77559 100644
--- a/spec/features/custom_fields/multi_version_custom_field_spec.rb
+++ b/spec/features/custom_fields/multi_version_custom_field_spec.rb
@@ -37,6 +37,7 @@ RSpec.describe "multi version custom field", :js do
login_as current_user
wp_page.visit!
wp_page.ensure_page_loaded
+ wait_for_network_idle
end
it "is shown and allowed to be updated" do
@@ -101,7 +102,7 @@ RSpec.describe "multi version custom field", :js do
expect(page).to have_text "Version Old"
expect(page).to have_text "Version Current"
- page.find(".inline-edit--display-field", text: "Version Old").click
+ cf_edit_field.activate!
cf_edit_field.unset_value "Version Old", multi: true
expect_ng_option(cf_edit_field, version_old, grouping: project.name, results_selector: "body")