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

Mark browser-tests for conditional executions #466

Merged
merged 4 commits into from
Jul 31, 2024

Conversation

AugustoMagalhaes
Copy link
Contributor

@AugustoMagalhaes AugustoMagalhaes commented Jun 27, 2024

Issue
Resolves #446

Approach
Following the issue's comment made by @kwinkunks
"But we could mark tests requiring the driver, however, so that if situations like this happen again, we can easily turn off the tests temporarily.", the approach went on marking the tests that requires dash / Selenium as "browser-test", which can be skipped with the command "pytest --skip-browser-tests".

Pre review checklist

  • Added appropriate labels

@AugustoMagalhaes AugustoMagalhaes marked this pull request as draft June 27, 2024 13:31
@AugustoMagalhaes AugustoMagalhaes marked this pull request as ready for review June 28, 2024 13:13
@eivindjahren
Copy link
Contributor

Hi! Thanks for your contribution! We are looking at your PR now, but we are currently coming back from vacation. Don't be afraid to reach out if you have any questions :)

Copy link
Contributor

@eivindjahren eivindjahren left a comment

Choose a reason for hiding this comment

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

The PR overall looks really good! I just had a small comment about the behavior in case of invalid chromium driver version.

tests/conftest.py Outdated Show resolved Hide resolved
@eivindjahren eivindjahren merged commit 1e839aa into equinor:main Jul 31, 2024
4 checks passed
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.

Mark tests requiring dash / Selenium so they can be turned off
2 participants