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

Add a wait time

Klaus Zanders9da063198622
diff --git a/spec/features/work_packages/custom_actions/custom_actions_spec.rb b/spec/features/work_packages/custom_actions/custom_actions_spec.rb
index 806bd8179ab..0f70241d03c 100644
--- a/spec/features/work_packages/custom_actions/custom_actions_spec.rb
+++ b/spec/features/work_packages/custom_actions/custom_actions_spec.rb
@@ -324,7 +324,7 @@ RSpec.describe 'Custom actions', :js, :with_cuprite,
"customField#{list_custom_field.id}" => selected_list_custom_field_options.map(&:name).join("\n")
expect(page)
- .to have_css('.work-package-details-activities-activity-contents a.user-mention', text: other_member_user.name)
+ .to have_css('.work-package-details-activities-activity-contents a.user-mention', text: other_member_user.name, wait: 10)
wp_page.click_custom_action('Close')
wp_page.expect_attributes status: closed_status.name,