Skip to content

Commit 46404b0

Browse files
peterrehmaik099
authored andcommitted
Skip testWindowMaximizeBeforePageVisit when using xvfb (#265)
Skip testWindowMaximizeBeforePageVisit when using xvfb
1 parent 739b757 commit 46404b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Selenium2Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function skipMessage($testCase, $test)
4141

4242
if (
4343
'Behat\Mink\Tests\Driver\Js\WindowTest' === $testCase
44-
&& 'testWindowMaximize' === $test
44+
&& (0 === strpos($test, 'testWindowMaximize'))
4545
&& 'true' === getenv('TRAVIS')
4646
) {
4747
return 'Maximizing the window does not work when running the browser in Xvfb.';

0 commit comments

Comments
 (0)