mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-56898 behat: Wait for pending JS after setting password
This commit is contained in:
parent
727145bf1c
commit
45e862c4bd
@ -60,5 +60,10 @@ JS;
|
||||
}
|
||||
|
||||
$this->field->setValue($value);
|
||||
|
||||
// Ensure all pending JS is finished.
|
||||
if ($this->running_javascript()) {
|
||||
$this->session->wait(behat_base::TIMEOUT * 1000, behat_base::PAGE_READY_JS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user