Merge branch 'master' into 2761-diagnostic-suite
[arvados.git] / apps / workbench / test / integration / application_layout_test.rb
index b224be0bf14faf2b4c69bf3050d1b1637a7464a3..6ec535b7b6ec99aa9e319e2a494545bf4c6fa493 100644 (file)
@@ -123,15 +123,14 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
 
       check_help_menu
     end
-  end
-
-  [
-    ['active', api_fixture('users')['active']],
-    ['admin', api_fixture('users')['admin']],
-  ].each do |token, user|
 
     test "test system menu for user #{token}" do
-      visit page_with_token(token)
+      if !token
+        visit ('/')
+      else
+        visit page_with_token(token)
+      end
+
       verify_system_menu user
     end
   end