1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-04 13:35:13 +02:00

[ticket/15997] Use higher than default timeout for webdriver connections

PHPBB3-15997
This commit is contained in:
Marc Alexander 2019-03-19 21:20:38 +01:00
parent 0d04f53f37
commit 220d388cac
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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.');
}