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

Fix search specs

Benjamin Bädorf89fc49300db3
diff --git a/spec/support/components/projects/top_menu.rb b/spec/support/components/projects/top_menu.rb
index fc3690848f5..81ee859e852 100644
--- a/spec/support/components/projects/top_menu.rb
+++ b/spec/support/components/projects/top_menu.rb
@@ -44,7 +44,7 @@ module Components
end
def expect_current_project(name)
- page.find('[data-qa-selector="op-header-project-select--list"]', text: name)
+ page.find('#projects-menu', text: name)
end
def expect_open