Skip to content

Add Support for Playwright #150

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

Merged
merged 21 commits into from
Aug 7, 2025
Merged

Add Support for Playwright #150

merged 21 commits into from
Aug 7, 2025

Conversation

julliancalkins
Copy link
Contributor

Why?

We wanted a new project to easily set up playwright for running system tests using RoleModel Rails generators. Specifically, the capybara-playwright-driver gem for rspec, and the jasmine playwright runner for javascript tests.

What Changed

  • Replace Selenium with Playwright driver in RSpec generator
  • Include useful PlaywrightHelper and CapybaraHelper methods from GimmeCredit
  • Create jasmine playwright generator

Pre-merge checklist

  • Update relevant READMEs
  • Update version number in lib/rolemodel_rails/version.rb

Comment on lines 20 to 21
gem 'webdrivers'
gem 'marsh_grass'
gem 'pry'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need pry? And alphabetize?

Suggested change
gem 'webdrivers'
gem 'marsh_grass'
gem 'pry'
gem 'marsh_grass'
gem 'webdrivers'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pry is currently a dependency of marsh_grass.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm. We were thinking we might be able to remove that dependency but haven't gotten there yet.

@julliancalkins julliancalkins merged commit 50225e2 into master Aug 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants