diff --git a/spec/features/admin/sidebar_spec.rb b/spec/features/admin/sidebar_spec.rb index 41aabd7..929f111 100644 --- a/spec/features/admin/sidebar_spec.rb +++ b/spec/features/admin/sidebar_spec.rb @@ -12,6 +12,8 @@ end it 'shows Content menu item in the sidebar' do + find('#admin-nav-toggle').click + within '[data-hook="admin_tabs"]' do expect(page).to have_text(I18n.t(:content, scope: %i[spree admin tab])) end