diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-03-19 21:20:38 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-03-19 21:20:38 +0100 |
commit | 220d388cac09883d554b9640976a082d8ebc5f9d (patch) | |
tree | 5f124b917bcb83904c673359159155797afac4d9 /tests | |
parent | 0d04f53f374db12a1a285992a9c789a836848b3e (diff) | |
download | forums-220d388cac09883d554b9640976a082d8ebc5f9d.tar forums-220d388cac09883d554b9640976a082d8ebc5f9d.tar.gz forums-220d388cac09883d554b9640976a082d8ebc5f9d.tar.bz2 forums-220d388cac09883d554b9640976a082d8ebc5f9d.tar.xz forums-220d388cac09883d554b9640976a082d8ebc5f9d.zip |
[ticket/15997] Use higher than default timeout for webdriver connections
PHPBB3-15997
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_framework/phpbb_ui_test_case.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_ui_test_case.php b/tests/test_framework/phpbb_ui_test_case.php index 15a1cd375e..7b950a7d5d 100644 --- a/tests/test_framework/phpbb_ui_test_case.php +++ b/tests/test_framework/phpbb_ui_test_case.php @@ -80,7 +80,12 @@ class phpbb_ui_test_case extends phpbb_test_case try { $capabilities = DesiredCapabilities::firefox(); - self::$webDriver = RemoteWebDriver::create(self::$host . ':' . self::$port, $capabilities); + self::$webDriver = RemoteWebDriver::create( + self::$host . ':' . self::$port, + $capabilities, + 60 * 1000, // 60 seconds connection timeout + 60 * 1000 // 60 seconds request timeout + ); } catch (WebDriverCurlException $e) { self::markTestSkipped('PhantomJS webserver is not running.'); } |