MOBILE-3833 behat: Delay verifying item selection
Before this fix it was happening too fast some times and giving false negativesmain
parent
12da416a51
commit
9997217214
|
@ -811,6 +811,8 @@ class behat_app extends behat_base {
|
|||
}
|
||||
|
||||
// Check that it worked as expected.
|
||||
usleep(1000000);
|
||||
|
||||
$result = $this->evaluate_script("return window.behat.isSelected($locatorjson);");
|
||||
|
||||
switch ($result) {
|
||||
|
|
Loading…
Reference in New Issue