Read more

Updated: Raising JavaScript errors in Ruby E2E tests (RSpec, Cucumber)

Henning Koch
January 11, 2023Software engineer at makandra GmbH

I rewrote everything:

  • Helper is now packaged in a BrowserConsole class
  • Now also works for RSpec feature specs
  • Cucumber: Errors now also show up with the default progress runner
  • Improved test performance by only checking the browser console after a user interaction (instead of after every step). In an example project I measured 20% fewer checks.
  • Cleaner API to ignore errors
  • Cleaned up default ignore rules
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more
Posted by Henning Koch to makandra dev (2023-01-11 17:04)