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

This commit is contained in:
Martin Edenhofer 2016-01-26 07:56:51 +01:00
parent 301688a3cf
commit 883f1bcfa7

View file

@ -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')