Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip testWindowMaximizeBeforePageVisit when using xvfb #265

Merged
merged 2 commits into from
Jul 10, 2017

Conversation

peterrehm
Copy link
Contributor

Needed when minkphp/driver-testsuite#10 gets merged.

@@ -41,7 +41,7 @@ public function skipMessage($testCase, $test)

if (
'Behat\Mink\Tests\Driver\Js\WindowTest' === $testCase
&& 'testWindowMaximize' === $test
&& ('testWindowMaximize' === $test || 'testWindowMaximizeBeforePageVisit' === $test)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or maybe you can check, that test name starts with testWindowMaximize.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall I change as follows?

0 === strpos($test, 'testWindowMaximize')

@peterrehm
Copy link
Contributor Author

I updated it as per your remark

@aik099
Copy link
Member

aik099 commented Jul 10, 2017

Merging, thanks @peterrehm .

@peterrehm
Copy link
Contributor Author

Thanks. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants