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

Commit f777ca1

Browse files
andrewnicolsOndraM
authored andcommitted
Exlude minimizeWindow test from chrome
An issue with headless Chrome prevents us from testing this with Chrome at the moment. See https://bugs.chromium.org/p/chromedriver/issues/detail?id=3275 for further information.
1 parent 329de08 commit f777ca1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ script:
172172
- if [ -n "$SAUCELABS" ]; then EXCLUDE_GROUP+="exclude-saucelabs,"; fi
173173
- if [ "$BROWSER_NAME" = "MicrosoftEdge" ]; then EXCLUDE_GROUP+="exclude-edge,"; fi
174174
- if [ "$BROWSER_NAME" = "firefox" ]; then EXCLUDE_GROUP+="exclude-firefox,"; fi
175+
- if [ "$BROWSER_NAME" = "chrome" ]; then EXCLUDE_GROUP+="exclude-chrome,"; fi
175176
- if [ -n "$EXCLUDE_GROUP" ]; then EXTRA_PARAMS+=" --exclude-group $EXCLUDE_GROUP"; fi
176177
- ./vendor/bin/phpunit --coverage-clover ./logs/coverage-clover.xml $EXTRA_PARAMS
177178

tests/functional/WebDriverWindowTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ public function testShouldMaximizeWindow()
4848
$this->assertGreaterThanOrEqual($sizeBefore->getHeight(), $sizeAfter->getHeight());
4949
}
5050

51+
/**
52+
* @group exclude-saucelabs
53+
* @group exclude-chrome
54+
* @see https://bugs.chromium.org/p/chromium/issues/detail?id=1038050
55+
*/
5156
public function testShouldMinimizeWindow()
5257
{
5358
self::skipForJsonWireProtocol('"minimize" window is not supported in JsonWire protocol');

0 commit comments

Comments
 (0)