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

Try retry block on help menu due to JS positioning error

Oliver Günther51bec3647e23
diff --git a/spec/support/onboarding_helper.rb b/spec/support/onboarding_helper.rb
index bfcc6d1a8eb..164972e22f2 100644
--- a/spec/support/onboarding_helper.rb
+++ b/spec/support/onboarding_helper.rb
@@ -67,8 +67,10 @@ module OnboardingHelper
expect(page).to have_text sanitize_string(I18n.t("js.onboarding.steps.quick_add_button")), normalize_ws: true
end
- next_button.click
- expect(page).to have_text sanitize_string(I18n.t("js.onboarding.steps.help_menu")), normalize_ws: true
+ retry_block do
+ next_button.click
+ expect(page).to have_text sanitize_string(I18n.t("js.onboarding.steps.help_menu")), normalize_ws: true
+ end
next_button.click
expect(page).to have_no_css ".enjoy_hint_label"