@ -77,6 +77,12 @@ module OpenProject
array self['blacklisted_routes']
end
##
# Whether we're running a bim edition
def bim?
ENV['OPENPROJECT_EDITION'] == 'bim'
def available_file_uploaders
uploaders = {
@ -203,6 +203,11 @@ RSpec.feature 'Work package navigation', js: true, selenium: true do
# Click on All open
find('.wp-query-menu--item-link', text: 'All open').click
if OpenProject::Configuration.bim?
wp_display.expect_state 'Cards'
else
wp_display.expect_state 'Table'