Skip to content

Ensure Ruby 4 compatibility: fix test suite and CI#2832

Merged
twalpole merged 9 commits into
teamcapybara:masterfrom
wynksaiddestroy:ruby-4-fix-test-suite-and-ci
Jul 6, 2026
Merged

Ensure Ruby 4 compatibility: fix test suite and CI#2832
twalpole merged 9 commits into
teamcapybara:masterfrom
wynksaiddestroy:ruby-4-fix-test-suite-and-ci

Conversation

@wynksaiddestroy

@wynksaiddestroy wynksaiddestroy commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

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.

@wynksaiddestroy
wynksaiddestroy force-pushed the ruby-4-fix-test-suite-and-ci branch from ee32e9e to 8ce7960 Compare January 26, 2026 21:02
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>
@wynksaiddestroy
wynksaiddestroy force-pushed the ruby-4-fix-test-suite-and-ci branch from 2b1f688 to 0ba5fb6 Compare March 12, 2026 20:03
@twalpole
twalpole merged commit fcd2c2f into teamcapybara:master Jul 6, 2026
@wynksaiddestroy
wynksaiddestroy deleted the ruby-4-fix-test-suite-and-ci branch July 7, 2026 18:47
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