RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

e2e gem

Unified, high-performance E2E testing framework for Ruby.

e2e is a modern wrapper around Playwright, designed to bring the elegance of Capybara and the speed of raw browser automation together.

  • Blazing Fast: Uses direct IPC (Pipes) to communicate with the browser, avoiding HTTP overhead.
  • Plug & Play: Zero configuration for most Rails apps. Includes a generator.
  • Clean DSL: Idiomatic Ruby API (click_button, find, visit) that feels like home.
  • Modern Engine: Powered by Microsoft Playwright (WebKit, Firefox, Chromium).
  • Escape Hatch: Direct access to the native Playwright object for any complex scenario.
  • Shared Connection: Built-in support for sharing DB connections between test and app threads (transactional tests support).
  • Lint Friendly: Includes auto-configuration for RuboCop to respect E2E testing patterns.

https://github.com/alec-c4/e2e

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in