mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/16078] Use chrome as webdriver
PHPBB3-16078
This commit is contained in:
parent
ddc9a4dff6
commit
34a6493fb5
1 changed files with 3 additions and 3 deletions
|
@ -79,12 +79,12 @@ class phpbb_ui_test_case extends phpbb_test_case
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$capabilities = DesiredCapabilities::firefox();
|
$capabilities = DesiredCapabilities::chrome();
|
||||||
self::$webDriver = RemoteWebDriver::create(
|
self::$webDriver = RemoteWebDriver::create(
|
||||||
self::$host . ':' . self::$port,
|
self::$host . ':' . self::$port,
|
||||||
$capabilities,
|
$capabilities,
|
||||||
60 * 1000, // 60 seconds connection timeout
|
30 * 1000, // 30 seconds connection timeout
|
||||||
60 * 1000 // 60 seconds request timeout
|
30 * 1000 // 30 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