mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge pull request #5553 from marc1706/ticket/15997
[ticket/15997] Use higher than default timeout for webdriver connections
This commit is contained in:
commit
f9c251c7af
1 changed files with 6 additions and 1 deletions
|
@ -80,7 +80,12 @@ class phpbb_ui_test_case extends phpbb_test_case
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$capabilities = DesiredCapabilities::firefox();
|
$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) {
|
} catch (WebDriverCurlException $e) {
|
||||||
self::markTestSkipped('PhantomJS webserver is not running.');
|
self::markTestSkipped('PhantomJS webserver is not running.');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue