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

Switch to click link or button

Oliver Günther1522869d49f0
diff --git a/modules/meeting/spec/features/structured_meetings/structured_meeting_update_flash_spec.rb b/modules/meeting/spec/features/structured_meetings/structured_meeting_update_flash_spec.rb
index 766f12e4a76..2d739c450e2 100644
--- a/modules/meeting/spec/features/structured_meetings/structured_meeting_update_flash_spec.rb
+++ b/modules/meeting/spec/features/structured_meetings/structured_meeting_update_flash_spec.rb
@@ -147,7 +147,7 @@ RSpec.describe "Structured meetings CRUD",
show_page.trigger_change_poll
expect(page).to have_text I18n.t(:notice_meeting_updated)
- click_on "Reload"
+ click_link_or_button "Reload"
## Close meeting
find_test_selector("close-meeting-button").click
@@ -158,7 +158,7 @@ RSpec.describe "Structured meetings CRUD",
show_page.trigger_change_poll
expect(page).to have_css(flash_component, wait: 5)
expect(page).to have_text I18n.t(:notice_meeting_updated)
- click_on "Reload"
+ click_link_or_button "Reload"
end
# Expect no notification in window2