This repository was archived by the owner on Mar 4, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ matrix:
59
59
php : ' 7.3'
60
60
env :
61
61
- BROWSER_NAME="chrome"
62
- - CHROME_HEADLESS="1"
63
62
addons :
64
63
chrome : stable
65
64
@@ -68,7 +67,6 @@ matrix:
68
67
php : ' 7.3'
69
68
env :
70
69
- BROWSER_NAME="chrome"
71
- - CHROME_HEADLESS="1"
72
70
- CHROMEDRIVER="1"
73
71
addons :
74
72
chrome : stable
@@ -78,7 +76,6 @@ matrix:
78
76
php : ' 7.3'
79
77
env :
80
78
- BROWSER_NAME="chrome"
81
- - CHROME_HEADLESS="1"
82
79
- CHROMEDRIVER="1"
83
80
- DISABLE_W3C_PROTOCOL="1"
84
81
addons :
Original file line number Diff line number Diff line change @@ -25,12 +25,6 @@ class WebDriverAlertTest extends WebDriverTestCase
25
25
{
26
26
protected function setUp ()
27
27
{
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
-
34
28
parent ::setUp ();
35
29
36
30
$ this ->driver ->get ($ this ->getTestPageUrl ('alert.html ' ));
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public static function isW3cProtocolBuild()
113
113
{
114
114
return getenv ('GECKODRIVER ' ) === '1 '
115
115
|| (getenv ('BROWSER_NAME ' ) === 'chrome ' && getenv ('DISABLE_W3C_PROTOCOL ' ) !== '1 ' )
116
- || getenv ('BROWSER_NAME ' ) === ' MicrosoftEdge ' ;
116
+ || ( self :: isSauceLabsBuild () && getenv ('DISABLE_W3C_PROTOCOL ' ) !== ' 1 ' ) ;
117
117
}
118
118
119
119
public static function skipForW3cProtocol ($ message = 'Not supported by W3C specification ' )
You can’t perform that action at this time.
0 commit comments