Fixed ff - timing/event issue on unfocused windows.

This commit is contained in:
Martin Edenhofer 2016-08-17 15:49:26 +02:00
parent 902d9a0151
commit 3a6ebc253b

View file

@ -181,11 +181,6 @@ class MaintenanceTest < TestCase
url: browser_url,
)
browser2 = browser_instance
location(
browser: browser2,
url: browser_url,
)
click(
browser: browser1,
css: 'a[href="#manage"]',
@ -195,11 +190,6 @@ class MaintenanceTest < TestCase
css: 'a[href="#system/maintenance"]',
)
exists_not(
browser: browser2,
css: '.js-maintenanceLogin',
)
string = rand(99_999_999_999_999_999).to_s
message = "test <b>#{string}</b>"
set(
@ -212,7 +202,16 @@ class MaintenanceTest < TestCase
css: '#global-search',
)
sleep 3
browser2 = browser_instance
location(
browser: browser2,
url: browser_url,
)
exists_not(
browser: browser2,
css: '.js-maintenanceLogin',
)
switch(
browser: browser1,
css: '#content .js-loginSetting',
@ -235,7 +234,6 @@ class MaintenanceTest < TestCase
browser: browser2,
css: '.js-maintenanceLogin',
)
end
def test_mode