Verified Commit 80d0db0c authored by Jess's avatar Jess
Browse files

Issue #3246152 by alexpott, smustgrave, vijaycs85:...

Issue #3246152 by alexpott, smustgrave, vijaycs85: \Drupal\FunctionalJavascriptTests\JSWebAssert::waitForHelper() should retry on more exceptions

(cherry picked from commit 90f669c0)
parent 1274a7b5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
use Behat\Mink\Element\Element;
use Behat\Mink\Element\TraversableElement;
use Drupal\FunctionalJavascriptTests\WebDriverCurlService;
use WebDriver\Exception\CurlExec;
use WebDriver\Exception;

/**
 * Document element.
@@ -100,7 +100,7 @@ public function waitFor($timeout, $callback) {
      try {
        return call_user_func($callback, $element);
      }
      catch (CurlExec $e) {
      catch (Exception $e) {
        return NULL;
      }
    };