Skip to content

Commit

Permalink
Version 2.2.0
Browse files Browse the repository at this point in the history
triskweline committed Feb 12, 2024
1 parent 963300d commit f13f666
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


# 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.


# 2.1.0

- We now synchronize for an additional [JavaScript task](https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/) after `history.pushState()`, `history.replaceState()`, `history.forward()`, `history.back()` and `history.go()`.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
capybara-lockstep (2.1.0)
capybara-lockstep (2.2.0)
activesupport (>= 4.2)
capybara (>= 3.0)
ruby2_keywords
2 changes: 1 addition & 1 deletion lib/capybara-lockstep/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Capybara
module Lockstep
VERSION = "2.1.0"
VERSION = "2.2.0"
end
end

0 comments on commit f13f666

Please sign in to comment.