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:
Mark Nielsen 2017-06-28 12:42:50 -07:00
parent 7cde2bb313
commit f46a2dd913

View File

@ -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()) {