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 gallery

Oliver Günther4c8c01a35576
diff --git a/modules/bim/spec/support/components/bcf_details_viewpoints.rb b/modules/bim/spec/support/components/bcf_details_viewpoints.rb
index ea4666e8041..da163b9124d 100644
--- a/modules/bim/spec/support/components/bcf_details_viewpoints.rb
+++ b/modules/bim/spec/support/components/bcf_details_viewpoints.rb
@@ -29,7 +29,7 @@
module Components
module BcfDetailsViewpoints
def expect_viewpoint_count(number)
- expect(page).to have_selector('.ngx-gallery-thumbnail', visible: :all, count: number, wait: 20)
+ expect(page).to have_selector('a.ngx-gallery-thumbnail', visible: :all, count: number, wait: 20)
end
def expect_no_viewpoint_addable