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

Make the WorkPacakge::Filters#expect_loaded method to work for mobile view as well

Dombi Attila10c5d2f4f7ce
diff --git a/spec/support/components/work_packages/filters.rb b/spec/support/components/work_packages/filters.rb
index 2774c110a8e..04fa768107e 100644
--- a/spec/support/components/work_packages/filters.rb
+++ b/spec/support/components/work_packages/filters.rb
@@ -98,7 +98,7 @@ module Components
def expect_loaded
SeleniumHubWaiter.wait
- expect(filter_button).to have_css('.badge', wait: 2)
+ expect(filter_button).to have_css('.badge', wait: 2, visible: :all)
end
def add_filter(name)