1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

[ticket/16078] Use chrome as webdriver

PHPBB3-16078
This commit is contained in:
Marc Alexander 2019-06-06 18:51:52 +02:00
parent ddc9a4dff6
commit 34a6493fb5
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -79,12 +79,12 @@ class phpbb_ui_test_case extends phpbb_test_case
}
try {
$capabilities = DesiredCapabilities::firefox();
$capabilities = DesiredCapabilities::chrome();
self::$webDriver = RemoteWebDriver::create(
self::$host . ':' . self::$port,
$capabilities,
60 * 1000, // 60 seconds connection timeout
60 * 1000 // 60 seconds request timeout
30 * 1000, // 30 seconds connection timeout
30 * 1000 // 30 seconds request timeout
);
} catch (WebDriverCurlException $e) {
self::markTestSkipped('PhantomJS webserver is not running.');