mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
MDL-58948 behat: Fix spin method when callback throws exception
Was preventing the sleep statements from running. This caused steps to fail too early when it was just waiting for something to change in the browser.
This commit is contained in:
parent
7cde2bb313
commit
f46a2dd913
@ -335,8 +335,6 @@ class behat_base extends Behat\MinkExtension\Context\RawMinkContext {
|
||||
if (!$exception) {
|
||||
$exception = $e;
|
||||
}
|
||||
// We wait until no exception is thrown or timeout expires.
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($this->running_javascript()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user