Avoid http redirects, they will be cached on some browsers.
This commit is contained in:
parent
301688a3cf
commit
883f1bcfa7
1 changed files with 1 additions and 1 deletions
|
@ -37,9 +37,9 @@ class SwitchToUserTest < TestCase
|
||||||
)
|
)
|
||||||
login = @browser.find_elements( { css: '.user-menu .user a' } )[0].attribute('title')
|
login = @browser.find_elements( { css: '.user-menu .user a' } )[0].attribute('title')
|
||||||
assert_equal(login, 'nicole.braun@zammad.org')
|
assert_equal(login, 'nicole.braun@zammad.org')
|
||||||
|
|
||||||
click( css: '.switchBackToUser .js-close' )
|
click( css: '.switchBackToUser .js-close' )
|
||||||
|
|
||||||
|
sleep 5
|
||||||
login = @browser.find_elements( { css: '.user-menu .user a' } )[0].attribute('title')
|
login = @browser.find_elements( { css: '.user-menu .user a' } )[0].attribute('title')
|
||||||
assert_equal(login, 'master@example.com')
|
assert_equal(login, 'master@example.com')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue