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

Update Capybara monkey patch to check Capybara.raise_server_errors #128

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

afn
Copy link
Contributor

@afn afn commented Sep 22, 2023

If Capybara.raise_server_errors is temporarily disabled for a spec,
reset each session's errors to prevent reset_sessions_after_rescue!
from raising an error after raise_server_errors has been reset.

Fixes #127.

If `Capybara.raise_server_errors` is temporarily disabled for a spec,
reset each session's errors to prevent `reset_sessions_after_rescue!`
from raising an error after `raise_server_errors` has been reset.

Fixes ConradIrwin#127.
@ConradIrwin ConradIrwin merged commit 5f0dc5c into ConradIrwin:master Sep 24, 2023
@ConradIrwin
Copy link
Owner

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.

Capybara monkey patch causes raise_server_errors to be evaluated at the wrong time
2 participants