Browse Source

Avoid http redirects, they will be cached on some browsers.

Martin Edenhofer 9 years ago
parent
commit
883f1bcfa7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/browser/switch_to_user_test.rb

+ 1 - 1
test/browser/switch_to_user_test.rb

@@ -37,9 +37,9 @@ class SwitchToUserTest < TestCase
     )
     login = @browser.find_elements( { css: '.user-menu .user a' } )[0].attribute('title')
     assert_equal(login, 'nicole.braun@zammad.org')
-
     click( css: '.switchBackToUser .js-close' )
 
+    sleep 5
     login = @browser.find_elements( { css: '.user-menu .user a' } )[0].attribute('title')
     assert_equal(login, 'master@example.com')