Maintenance: Stabilize maintenance mode selenium test.
This commit is contained in:
parent
498bd201fd
commit
07a0864989
1 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,7 @@ class MaintenanceModeTest < TestCase
|
|||
css: 'a[href="#system/maintenance"]',
|
||||
)
|
||||
|
||||
exists_not(
|
||||
watch_for_disappear(
|
||||
browser: browser2,
|
||||
css: '.js-maintenanceMode',
|
||||
)
|
||||
|
@ -88,6 +88,10 @@ class MaintenanceModeTest < TestCase
|
|||
css: 'a[href="#system/maintenance"]',
|
||||
)
|
||||
|
||||
watch_for(
|
||||
browser: browser1,
|
||||
css: '.content.active .js-modeSetting',
|
||||
)
|
||||
switch(
|
||||
browser: browser1,
|
||||
css: '.content.active .js-modeSetting',
|
||||
|
|
Loading…
Reference in a new issue