Read more

capybara-lockstep 2.2.0 released

Henning Koch
February 12, 2024Software engineer at makandra GmbH

The capybara-lockstep gem Show snapshot 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 2.2.0

  • We now wait for <video> and <audio> elements to load their metadata. This addresses a race condition where a media element is inserted into the DOM, but another user action deletes or renames the source before the browser could load the initial metadata frames.
  • We now wait for <script type="module">.
  • We no longer wait for <img loading="lazy"> or <iframe loading="lazy">. This prevents a deadlock where we would wait forever for an element that defers loading until it is scrolled into the viewport.
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show snapshot
Posted by Henning Koch to makandra dev (2024-02-12 13:25)