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

Reinstate the open_history_modal method

Mir Bhatiac48b27551fe1
diff --git a/modules/meeting/spec/support/pages/structured_meeting/history.rb b/modules/meeting/spec/support/pages/structured_meeting/history.rb
index 2713c8ebe83..61e5f7c022e 100644
--- a/modules/meeting/spec/support/pages/structured_meeting/history.rb
+++ b/modules/meeting/spec/support/pages/structured_meeting/history.rb
@@ -33,7 +33,9 @@ module Pages::StructuredMeeting
@meeting = meeting
end
- def expect_modal_open
+ def open_history_modal
+ click_link_or_button "op-meetings-header-action-trigger"
+ click_link_or_button "History"
# dynamically wait for the modal to be loaded
# otherwise running into timing issues with `item = history_page.first_item`
expect(page).to have_css(".op-activity-list--item")