aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_ui_test_case.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-03-30 17:59:12 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-03-30 17:59:12 +0100
commitf9c251c7af0b3cb9766f12a852cf6c78c73953bc (patch)
tree76d37cc231701fd7dc1f0b897de96f1762777f28 /tests/test_framework/phpbb_ui_test_case.php
parent765739c2a9fef6cd90d9d21ebe2bce0c235343bb (diff)
parent220d388cac09883d554b9640976a082d8ebc5f9d (diff)
downloadforums-f9c251c7af0b3cb9766f12a852cf6c78c73953bc.tar
forums-f9c251c7af0b3cb9766f12a852cf6c78c73953bc.tar.gz
forums-f9c251c7af0b3cb9766f12a852cf6c78c73953bc.tar.bz2
forums-f9c251c7af0b3cb9766f12a852cf6c78c73953bc.tar.xz
forums-f9c251c7af0b3cb9766f12a852cf6c78c73953bc.zip
Merge pull request #5553 from marc1706/ticket/15997
[ticket/15997] Use higher than default timeout for webdriver connections
Diffstat (limited to 'tests/test_framework/phpbb_ui_test_case.php')
-rw-r--r--tests/test_framework/phpbb_ui_test_case.php7
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.');
}