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

Disable warning about caching in 4.x when setting `Webdrivers.cache_t… #121

Merged
merged 1 commit into from
May 17, 2019
Merged

Disable warning about caching in 4.x when setting `Webdrivers.cache_t… #121

merged 1 commit into from
May 17, 2019

Conversation

ecbypi
Copy link
Contributor

@ecbypi ecbypi commented May 17, 2019

Hi there!

I recently updated to webdrivers v3.9.2 and found that setting Webdrivers.cache_time as mentioned in the warning about caching doesn't remove the warning. This was kind of confusing and could be a problem on teams that are fastidious about ensuring there are no warnings or deprecations when running tests.

I looked through the tests and didn't see anywhere that it made sense to add test coverage. I see the behavior around cache_time is checked, but nothing for cache_warning. Let me know if test coverage is a must for PRs.

Thanks for the work on this gem.

…ime`

Allows consumers of the gem to remove the warning when manually setting
`Webdrivers.cache_time`.
@titusfortner titusfortner merged commit 299e6e5 into titusfortner:master May 17, 2019
@ecbypi
Copy link
Contributor Author

ecbypi commented May 17, 2019

@titusfortner thanks!

@titusfortner
Copy link
Owner

Oh, my comment didn't go through. This is better than what I had written, thanks for the PR. Just released 3.9.3 which includes this.

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