Posted 17 days ago. Visible to the public. Linked content. Auto-destruct in 47 days

capybara-lockstep 1.1.0 released

capybara-lockstep synchronizes Capybara commands with client-side JavaScript and AJAX requests. This greatly improves the stability of an end-to-end ("E2E") test suite, even if that suite has timing issues.

1.1.0

  • The [data-initializing] attribute is no longer handled or required.
    Apps that have late initialization after the load event can just use CapybaraLockstep.startWork().
  • Remove useless tracking of interaction events like "click" or "focus".
    If such an event handler would start an AJAX request, it is already tracked.
  • On apps with Unpoly 0.x, wait for one more task after DOMContentLoaded to ensure that compilers have been called.
    Please upgrade to Unpoly 1.x or 2.x, as this logic will be removed in a year or so.

1.0.0

  • Replace option Capybara::Lockstep.config (true, false) with a more refined option .mode (:auto, :manual, :off)

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Avatar
Henning Koch
Last edit:
13 days ago
by Henning Koch
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev
This website uses short-lived cookies to improve usability.
Accept or learn more