All Versions
125
Latest Version
Avg Release Cycle
31 days
Latest Release
-
Changelog History
Page 10
Changelog History
Page 10
-
v2.9.0 Changes
π Release date: 2016-09-19
π Fixed
- β
Issue with rack-test driver and obselete mime-types when using
#attach_file
- Issue #1756 [Thomas Walpole]
β Added
:class
option to many of the built-in selectors [Thomas Walpole]- β Removed need to specify value when creating
:boolean
filter type in custom selectors [Thomas Walpole] - Filters can now be implemented through the XPath/CSS expressions in custom selectors [Thomas Walpole]
Element#matches_xpath?
andElement#matches_css?
[Thomas Walpole]
- β
Issue with rack-test driver and obselete mime-types when using
-
v2.8.1 Changes
π Release date: 2016-08-25
π Fixed
- π Fixed error message from have_text when text is not found but contains regex special characters [Ryunosuke Sato]
- Warn when :exact option is passed that has no effect [Thomas Walpole]
-
v2.8.0 Changes
π Release date: 2016-08-16
π Fixed
- Issue with modals present when closing the page using selenium - Issue #1696 [Jonas Nicklas, Thomas Walpole]
- β Server errors raised in test code have the cause set to an explanatory exception in rubies that support Exception#cause rather than a confusing ExpectationNotMet - Issue #1719 [Thomas Walpole]
- background/given/given! RSpec aliases will work if RSpec config.shared_context_metadata_behavior == :apply_to_host_groups [Thomas Walpole]
- π Fixed setting of unexpectedAlertError now that Selenium will be freezing the Capabilities::DEFAULTS [Thomas Walpole]
β Added
- 'check', 'uncheck', and 'choose' can now optionally click the associated label if the checkbox/radio button is not visible [Thomas Walpole]
- 0οΈβ£ Raise error if Capybara.app_host/default_host are specified incorrectly [Thomas Walpole]
- Capybara::Selector::FilterSet allows for sharing filter definitions between selectors [Thomas Walpole]
- β Remove need to pass nil locator in most node actions when locator is not needed [Thomas Walpole]
- π New frames API for drivers - Issue #1365 [Thomas Walpole]
- π Deprecated Element#parent in favor of Element#query_scope to better indicate what it is [Thomas Walpole]
- π Improved error messages for have_text matcher [Alex Chaffee, Thomas Walpole]
- The
:with
option for the field selector now accepts a regular expression for matching the field value [Uwe Kubosch] - π Support matching on aria-label attribute when finding fields/links/buttons - Issue #1528 [Thomas Walpole]
- β‘οΈ Optimize Capybara::Result to only apply fields as necessary in common use-case of
.all[idx]
[Thomas Walpole]
-
v2.7.1 Changes
π Release date: 2016-05-01
π Fixed
- π Issue where within_Frame would fail with Selenium if the frame is removed from within itself [Thomas Walpole]
- Reset sessions in reverse order so sessions with active servers are reset last - Issue #1692 [Jonas Nicklas, Thomas Walpole]
-
v2.7.0 Changes
π Release date: 2016-04-07
π Fixed
- β Element#visible?/checked?/disabled?/selected? Now return boolean as expected when using the rack_test driver [Thomas Walpole]
- β The rack_test driver now considers <input type="hidden"> elements as non-visible [Thomas Walpole]
- A nil locator passed to the built-in html type selectors now behaves consistently, and finds elements of the expected types [Thomas Walpole]
- Capybara::Server now searches for available ports on the same interface it binds to [Aaron Stone]
- Selenium Driver handles system modals that appear when page is unloading [Thomas Walpole]
- β Warning output if unused parameters are passed to a selector query [Thomas Walpole]
β Added
- Capybara now waits for requests to Capybaras server to complete while restting the session [John Hawthorn, Thomas Walpole]
- Capybara.reuse_server option to allow disabling of sharing server instance between sessions [Thomas Walpole]
- :multiple filter added to relevant selectors [Thomas Walpole]
- β Provided server registrations for :webrick and :puma. Capybara.server = :puma for testing with Rails 5 [Thomas Walpole]
- π Deprecate passing a block to Capybara::server user Capybara::register_server instead [Thomas Walpole]
- π :option selector supports :selected and :disabled filters [Thomas Walpole]
- Element#matches_selector? and associated matchers (match_selector, match_css, etc) for comparing an element to a selector [Thomas Walpole]
- π Deprecated Driver#browser_initialized? - Driver#reset! is required to be synchronous [Jonas Nicklas, Thomas Walpole]
- Deprecated Capybara.save_and_open_page_path in favor of Capybara.save_path with slightly different behavior when using relative paths with save_page/save_screenshot [Thomas Walpole]
- :label selector [Thomas Walpole]
-
v2.6.2 Changes
Relase date: 2016-01-27
π Fixed
- π support for more than just addressable 2.4.0 [Thomas Walpole]
-
v2.6.1 Changes
π Release date: 2016-01-27
π Fixed
- β Add missing require for addressable [Jorge Bejar]
-
v2.6.0 Changes
Relase date: 2016-01-17
π Fixed
- π Fixed path escaping issue with current_path matchers [Thomas Walpole, Luke Rollans] (Issue #1611)
- π Fixed circular require [David RodrΓguez]
- β Capybara::RackTest::Form no longer overrides Object#method [David Rodriguez]
- options and with_options filter for :select selector have more intuitive visibility behavior [Nathan]
- β Test for nested modal API method support [Thomas Walpole]
β Added
- Capybara.modify_selector [Thomas Walpole]
- xfeature and ffeature aliases added when using RSpec [Filip Bartuzi]
- π Selenium driver supports a :clear option to #set to handle different strategies for clearing a field [Thomas Walpole]
- π Support the use of rack 2.0 with the rack_test driver [Travis Grathwell, Thomas Walpole]
- 0οΈβ£ Disabled option for default selectors now supports true, false, or :all [Jillian Rosile, Thomas Walpole]
- Modal API methods now default wait time to Capybara.default_max_wait_time [Thomas Walpole]
-
v2.5.0 Changes
π Release date: 2015-08-25
π Fixed
- Error message now raised correctly when invalid options passed to 'have_text'/'have_content' [Thomas Walpole]
- β Rack-test driver correctly gets document title when elements on the page have nested title elements (SVG) [Thomas Walpole]
- 'save_page' no longer errors when using Capybara.asset_host if the page has no <head> element [Travis Grathwell]
- β rack-test driver will ignore clicks on links with href starting with '#' or 'javascript:'
β Added
- has_current_path? and associated asserts/matchers added [Thomas Walpole]
- Implement Node#path in selenium driver [Soutaro Matsumoto]
- 'using_session' is now nestable [Thomas Walpole]
- 'switch_to_window' will now use waiting behavior for a matching window to appear [Thomas Walpole]
- β Warning when attempting to select a disabled option
- 0οΈβ£ Capybara matchers are now available in RSpec view specs by default [Joshua Clayton]
- π 'have_link' and 'click_link' now accept Regexp for href matching [Yaniv Savir]
- 'find_all' as an alias of 'all' due to collision with RSpec
- Capybara.wait_on_first_by_default setting (default is false) If set to true 'first' will use Capybaras waiting behavior to wait for at least one element to appear by default
- β Capybara waiting behavior uses the monotonic clock if supported to ease restrictions on freezing time in tests [Dmitry Maksyoma, Thomas Walpole]
- π§ Capybara.server_errors setting that allows to configure what type of errors will be raised from the server thread [Thomas Walpole]
- Node#send_keys to allow for sending keypresses directly to elements [Thomas Walpole]
- β 'formmethod' attribute support in RackTest driver [Emilia Andrzejewska]
- Clear field using backspaces in Selenium driver by using
:fill_options => { :clear => :backspace }
[Joe Lencioni]
π Deprecated
- Capybara.default_wait_time deprecated in favor of Capybara.default_max_wait_time to more clearly explain its purpose [Paul Pettengill]
-
v2.4.4 Changes
π Release date: 2014-10-13
π Fixed
- β‘οΈ Test for visit behavior updated [Phil Baker]
- β Removed concurrency prevention in favor of a note in the README - due to load order issues