Skip to main content
E2E on Rails

Cypress + Playwright on Rails

E2E browser tests for Rails.

Use Cypress or Playwright with Rails scenarios, factories, fixtures, app commands, VCR, and clean test data.

Rails-side state

Keep factories, fixtures, scenarios, and cleanup in Ruby where Rails teams can maintain them.

Two browser runners

Use Cypress or Playwright without duplicating the Rails bridge that prepares app state.

Clean test data

Reset state and call explicit app commands so browser specs stay focused on user-visible behavior.