Ensure Ruby 4 compatibility: fix test suite and CI#2832
Merged
twalpole merged 9 commits intoJul 6, 2026
Conversation
wynksaiddestroy
force-pushed
the
ruby-4-fix-test-suite-and-ci
branch
from
January 26, 2026 21:02
ee32e9e to
8ce7960
Compare
YusukeIwaki
added a commit
to YusukeIwaki/capybara-playwright-driver
that referenced
this pull request
Feb 11, 2026
Ruby 3.4 changed Hash#inspect to include spaces around `=>`, which causes two Capybara spec assertions to fail because they hardcode the old format. This is being fixed upstream in teamcapybara/capybara#2832 Refs #121 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3 tasks
wynksaiddestroy
force-pushed
the
ruby-4-fix-test-suite-and-ci
branch
from
March 12, 2026 20:03
2b1f688 to
0ba5fb6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I tried to fix the failing tests in the CI while making sure that the test suite also runs on Ruby 4.
I didn't quite reach my goal. Headless and Headless with base versions are still failing.
But I guess it's better than before. I'm excited to hear some thoughts on this.
Thanks in advance.