Posted 22 days ago. Visible to the public. Linked content. Auto-destruct in 37 days

capybara-lockstep 1.2.1 and 1.2.0 released

capybara-lockstep Archive 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.

Changes in 1.2.1

Changes in 1.2.0

Synchronization around history navigation

We now synchronize before and after history navigation using the following Capybara methods:

  • page.refresh
  • page.go_back
  • page.go_forward

We also synchronize before current_url in case running a JavaScript task wants to update the URL when done.

Support for tests with multiple tabs or frames

capybara-lockstep now supports test that work with multiple frames or multiple tabs or windows Archive .
We now synchronize before and after the following Capybara methods:

  • switch_to_frame
  • within_frame
  • switch_to_window
  • within_window

Improved logging

  • Only log when we're actually synchronizing
  • Log the reason why we're synchronizing (e.g. before node access)
  • Log which browser work we're waiting for (e.g. XHR request, image load)

Various changes

  • Synchronize before accessing page.html.

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

Owner of this card:

Henning Koch
Last edit:
22 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