Open davekaro opened 3 weeks ago
@davekaro Hi, I haven't worked for MiniTest integration at this moment, however Pull Request is really welcome.
Probably, https://github.com/YusukeIwaki/playwright-ruby-client/blob/1.47.0/lib/playwright/test.rb#L65-L76 this is RSpec-specific matcher. We have to define minitest matcher when minitest is used.
Simple description about the feature
Add Minitest spec expectations for parity with rspec
Usecase / Motivation
I'm using Minitest spec in my project and trying to figure out what is needed to enable tests like the rspec examples on https://playwright-ruby-client.vercel.app/docs/article/guides/rspec_integration
I think the desired outcome would be something similar to capybara's expectations here https://github.com/teamcapybara/capybara/blob/master/lib/capybara/minitest/spec.rb
For example,
I'm happy to try and make a PR for this work, but wondered if any thought has already been done on how to handle, or maybe it already works and I just don't know the right syntax.