From 8eec8d459b78a58afde97c4d014a604866496f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Carruitero?= Date: Wed, 9 Nov 2022 19:09:03 -0500 Subject: [PATCH] fix spec --- spec/features/admin/sidebar_spec.rb | 2 ++ 1 file changed, 2 insertions(+) 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