diff --git a/features/steps/shared/active_tab.rb b/features/steps/shared/active_tab.rb
index 6e4370696abe991a4c0b89d60d2a68b2fb32133c..104d024fee2093d0fdf81995ef125792c8651eee 100644
--- a/features/steps/shared/active_tab.rb
+++ b/features/steps/shared/active_tab.rb
@@ -7,7 +7,7 @@ module SharedActiveTab
   end
 
   def ensure_active_main_tab(content)
-    expect(first('.sidebar-top-level-items > li.active')).to have_content(content)
+    expect(find('.sidebar-top-level-items > li.active')).to have_content(content)
   end
 
   def ensure_active_sub_tab(content)