Merge branch 'wip-mdl-56898-fixup' of https://github.com/rajeshtaneja/moodle

This commit is contained in:
Andrew Nicols 2016-11-22 11:33:25 +08:00
commit 282f0437f1

View file

@ -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);
}
}
}