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

feat(tests): Run tests for both Chrome and Firefox #162

Merged

Conversation

tehhowch
Copy link
Contributor

npm test will now test both chrome and firefox browsers.

Refs #152

Adding support for testing against Safari will require a different approach. My first thought is passing an environment variable and conditionally generating a wdio.conf.js that excludes the chrome & firefox capabilities. The GitHub Action job for testing would then be updated with a macOS host test that specifies this environment variable. (I don't plan to implement this myself, btw.)

Copy link
Contributor

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

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

Mhm .. seems that Firefox has issues booting on the CI machine.

`-binary` should point at e.g. firefox.exe, not geckodriver.exe
@tehhowch
Copy link
Contributor Author

tehhowch commented Nov 1, 2021

@christian-bromann fixed

Copy link
Contributor

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

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

👍 thanks!

@christian-bromann christian-bromann merged commit aa1f9d4 into webdriverio-community:main Nov 1, 2021
@tehhowch tehhowch deleted the ci/geckodriver branch November 1, 2021 13:31
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