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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Dismiss the notification before opening items
Oliver Günthere3bb5c9de44c
diff --git a/spec/support/components/grids/grid_area.rb b/spec/support/components/grids/grid_area.rbindex 29672bad784..a1fe1ce9edd 100644--- a/spec/support/components/grids/grid_area.rb+++ b/spec/support/components/grids/grid_area.rb@@ -22,6 +22,9 @@ module Componentsenddef click_menu_item(text)+ # Ensure there are no active notifications+ dismiss_notification!+open_menufind('a.menu-item', text: text).click@@ -129,6 +132,14 @@ module Componentsaction.performend++ def dismiss_notification!+ if page.has_selector?('.notification-box--close')+ page.find('.notification-box--close').click+ end++ expect(page).to have_no_selector('.notification-box')+ endendendend