gitlab-org--gitlab-foss/spec/support/shared_examples/features/issuable_sidebar_shared_exa...

12 lines
261 B
Ruby

# frozen_string_literal: true
RSpec.shared_examples 'issue sidebar stays collapsed on mobile' do
before do
resize_screen_xs
end
it 'keeps the sidebar collapsed' do
expect(page).not_to have_css('.right-sidebar.right-sidebar-collapsed')
end
end