Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit a0d6be9

Browse files
committed
Simplify builds
1 parent ee14c43 commit a0d6be9

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ matrix:
5959
php: '7.3'
6060
env:
6161
- BROWSER_NAME="chrome"
62-
- CHROME_HEADLESS="1"
6362
addons:
6463
chrome: stable
6564

@@ -68,7 +67,6 @@ matrix:
6867
php: '7.3'
6968
env:
7069
- BROWSER_NAME="chrome"
71-
- CHROME_HEADLESS="1"
7270
- CHROMEDRIVER="1"
7371
addons:
7472
chrome: stable
@@ -78,7 +76,6 @@ matrix:
7876
php: '7.3'
7977
env:
8078
- BROWSER_NAME="chrome"
81-
- CHROME_HEADLESS="1"
8279
- CHROMEDRIVER="1"
8380
- DISABLE_W3C_PROTOCOL="1"
8481
addons:

tests/functional/WebDriverAlertTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ class WebDriverAlertTest extends WebDriverTestCase
2525
{
2626
protected function setUp()
2727
{
28-
if (getenv('CHROME_HEADLESS') === '1') {
29-
// Alerts in headless mode should be available in next Chrome version (61), see:
30-
// https://bugs.chromium.org/p/chromium/issues/detail?id=718235
31-
$this->markTestSkipped('Alerts not yet supported by headless Chrome');
32-
}
33-
3428
parent::setUp();
3529

3630
$this->driver->get($this->getTestPageUrl('alert.html'));

tests/functional/WebDriverTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public static function isW3cProtocolBuild()
113113
{
114114
return getenv('GECKODRIVER') === '1'
115115
|| (getenv('BROWSER_NAME') === 'chrome' && getenv('DISABLE_W3C_PROTOCOL') !== '1')
116-
|| getenv('BROWSER_NAME') === 'MicrosoftEdge';
116+
|| (self::isSauceLabsBuild() && getenv('DISABLE_W3C_PROTOCOL') !== '1');
117117
}
118118

119119
public static function skipForW3cProtocol($message = 'Not supported by W3C specification')

0 commit comments

Comments
 (0)