mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Behat jQuery reference
This commit is contained in:
parent
7542a205f6
commit
6a665b4ca2
@ -299,7 +299,7 @@ class CmsUiContext extends BehatContext
|
||||
$driver->switchToIFrame('cms-preview-iframe');
|
||||
$this->getSession()->wait(
|
||||
5000,
|
||||
"!jQuery('iframe[name=cms-preview-iframe]').hasClass('loading')"
|
||||
"window.jQuery && !window.jQuery('iframe[name=cms-preview-iframe]').hasClass('loading')"
|
||||
);
|
||||
$driver->switchToWindow($origWindowName);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user