All Versions
127
Latest Version
Avg Release Cycle
31 days
Latest Release
-

Changelog History
Page 11

  • 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
  • v2.4.3 Changes

    Relase date: 2014-09-21

    πŸ›  Fixed

    • ⚑️ Update concurrency prevention to match Rails 4.2 behavior
  • v2.4.2 Changes

    πŸš€ Release date: 2014-09-20

    πŸ›  Fixed

    • βœ… Prevent concurrency issue when testing Rails app with default test environment [Thomas Walpole]
    • 🏷 Tags for windows API tests fixed [Dmitry Vorotilin]
    • πŸ“š Documentation Fixes [Andrey Botalov]
    • Always convert visit url to string, fixes issue with visit when always_include_port was enabled [Jake Goulding]
    • Check correct rspec version before including ::RSpec::Matchers::Composable in Capybara RSpec matchers [Thomas Walpole, Justin Ko]
  • v2.4.1 Changes

    πŸš€ Release date: 2014-07-03

    βž• Added

    • 'assert_text', 'assert_no_text', 'assert_title', 'assert_no_title' methods added [Andrey Botalov]
    • πŸ‘ have_title matcher now supports :wait option [Andrey Botalov]
    • More descriptive have_text error messages [Andrey Botalov]
    • New modal API ('accept_alert', 'accept_confirm', 'dismiss_confirm', 'accept_prompt', 'dismiss_prompt') - [Mike Pack, Thomas Walpole]
    • ⚠ Warning when attempting to set contents of a readonly element
    • Suport for and/or compounding of Capybara's RSpec matchers for RSpec 3 [Thomas Walpole]
    • :fill_options option for 'fill_in' method that propagates to 'set' to allow for driver specific modification of how fields are filled in [Gabriel Sobrinho, Thomas Walpole]
    • πŸ‘Œ Improved selector/filter description in failure messages [Thomas Walpole]

    πŸ›  Fixed

    • HaveText error message now shows the text checked all the time
    • βœ… RackTest driver no longer attempts to follow an anchor tag without an href attribute
    • ⚠ Warnings under RSpec 3
    • πŸ– Handle URI schemes like about: correctly [Andrey Botalov]
    • RSpecs expose_dsl_globally option is now followed [Myron Marston, Thomas Walpole]
  • v2.3.0 Changes

    πŸš€ Release date: 2014-06-02

    βž• Added

    • πŸ†• New window management API [Andrey Botalov]
    • βœ… Speed improvement for visible text detection in RackTest [Thomas Walpole] Thanks to Phillipe Creux for instigating this
    • RSpec 3 compatability
    • 'save_and_open_screenshot' functionality [Greg Lazarev]
    • πŸ”€ Server errors raised on visit and synchronize [Jonas Nicklas]

    πŸ›  Fixed

    • CSSHandlers now derives from BasicObject so globally included functions (concat, etc) shouldn't cause issues [Thomas Walpole]
    • touched reset after session is reset [lesliepc16]
  • v2.2.1 Changes

    πŸš€ Release date: 2014-01-06

    πŸ›  Fixed

    • βͺ Reverted a change in 2.2.0 which navigates to an empty file on reset. Capybara, now visits about:blank like it did before. [Jonas Nicklas]
  • v2.2.0 Changes

    πŸš€ Release date: 2013-11-21

    βž• Added

    • Add go_back and go_forward methods. [Vasiliy Ermolovich]
    • πŸ‘Œ Support RSpec 3 [Thomas Holmes]
    • has_button?, has_checked_field? and has_unchecked_field? accept options, like other matchers. [Carol Nichols]
    • The assert_selector and has_text? methods now support the :wait option [Vasiliy Ermolovich]
    • βœ… RackTest's visible? method now checks for the HTML5 hidden attribute.
    • Results from #all now delegate the sample method. [Phil Lee]
    • The set method now works for contenteditable attributes under Selenium. [Jon Rowe]
    • radio buttons and check boxes can be filtered by option value, useful when selecting by name [Jonas Nicklas]
    • πŸ”‹ feature blocks can be nested within other feature blocks in RSpec tests [Travis Gaff]

    πŸ›  Fixed

    • πŸ›  Fixed race conditions causing stale element errors when filtering by text. [Jonas Nicklas]
    • πŸ”€ Resetting the page is now synchronous and navigates to an empty HTML file, instead of about:blank, fixing hanging issues in JRuby. [Jonas Nicklas]
    • πŸ›  Fixed cookies not being set when path is blank under RackTest [Thomas Walpole]
    • Clearing fields now correctly causes change events [Jonas Nicklas]
    • Navigating to an absolute URI without trailing slash now works as expected under RackTest [Jonas Nicklas]
    • βœ… Checkboxes without assigned value default to on under RackTest [Nigel Sheridan-Smith]
    • βœ… Clicks on buttons with no form associated with them are ignored in RackTest instead of raising an obscure exception. [Thomas Walpole]
    • execute_script is now a session method [Andrey Botalov]
    • Nesting within_window and within_frame inside within resets the scope so that they behave like a user would expect [Thomas Walpole]
    • πŸ‘Œ Improve handling of newlines in textareas [Thomas Walpole]
    • Capybara::Result delegates its inspect method, so as not to confuse users [Sam Rawlins]
    • πŸ’Ύ save_page always returns a full path, fixes problems with Launchy [Jonas Nicklas]
    • πŸ’» Selenium driver's quit method does nothing when browser hasn't been loaded [randoum]
    • Capybara's WEBRick server now propertly respects the server_host option [Dmitry Vorotilin]
    • gemspec now includes license information [Jonas Nicklas]
  • v2.1.0 Changes

    πŸš€ Release date: 2013-04-09

    πŸ”„ Changed

    • πŸ’Ž Hard version requirement on Ruby >= 1.9.3. Capybara will no longer install on 1.8.7. [Felix SchΓ€fer]
    • Capybara no longer depends on the selenium-webdriver gem. Add it to your Gemfile if you wish to use the Selenium driver. [Jonas Nicklas]
    • Capybara.ignore_hidden_elements defaults to true. [Jonas Nicklas]
    • 0️⃣ In case of multiple matches smart matching is used by default. Set Capybara.match = :one to revert to old behaviour. [Jonas Nicklas].
    • Options in select boxes use smart matching and no longer need to match exactly. Set Capybara.exact_options = false to revert to old behaviour. [Jonas Nicklas].
    • Visibility of text depends on Capybara.ignore_hidden_elements instead of always returning only visible text. Set Capybara.visible_text_only = true to revert to old behaviour. [Jonas Nicklas]
    • Cucumber cleans up session after scenario instead. This is consistent with RSpec and makes more sense, since we raise server errors in reset!. [Jonas Nicklas]

    βž• Added

    • πŸ”— All actions (click_link, fill_in, etc...) and finders now take an options hash, which is passed through to find. [Jonas Nicklas]
    • CSS selectors are sent straight through to driver instead of being converted to XPath first. Enables the use of some pseudo selectors, such as invalid in some drivers. [Thomas Walpole]
    • Capybara.asset_host option, which inserts a base tag into the page on save_and_open_page, eases debugging with the Rails asset pipeline. [Steve Hull]
    • exact option, can specify whether to match substrings or entire text. [Jonas Nicklas]
    • match option, can specify behaviour in case of multiple matches. [Jonas Nicklas]
    • wait option, can specify how long to wait for a given action/finder. [Jonas Nicklas]
    • Config option which disables bubbling of errors raised inside server. [Jonas Nicklas]
    • text now takes a parameter which makes it possible to return either all text or only visible text. The default depends on Capybara.ignore_hidden_elements. Capybara.visible_text_only option is available for compatibility. [Jonas Nicklas]
    • has_content? and has_text? now take the same count options as has_selector? [Andrey Botalov]
    • current_scope is now public API, returns the current element when within is used. [Martijn Walraven]
    • find("input").disabled? returns true if a node is disabled. [Ben Lovell]
    • Find disabled fields and buttons with :disabled => false. [Jonas Nicklas]
    • 🚚 find("input").hover moves the mouse to the element in supported drivers. [Thomas Walpole]
    • βœ… RackTest driver now support form attribute on form elements. [Thomas Walpole]
    • page.title returns the page title. [Terry Progetto]
    • has_title? matcher to assert on page title. [Jonas Nicklas]
    • The gem is now signed with a certicficate. The public key is available in the repo. [Jonas Nicklas]
    • :select and :textarea are valid options for the :type filter on find_field and has_field?. [Yann Plancqueel]

    πŸ›  Fixed

    • πŸ›  Fixed race conditions when synchronizing across multiple nodes [Jonas Nicklas]
    • πŸ›  Fixed race conditions in deeply nested selectors [Jonas Nicklas]
    • πŸ›  Fix issue with within_frame, where selecting multiple nested frames didn't work as intended. [Thomas Walpole]
    • βœ… RackTest no longer fills in readonly textareas. [Thomas Walpole]
    • Don't use autoload to load files, require them directly instead. [Jonas Nicklas]
    • Rescue weird exceptions when booting server [John Wilger]
    • Non strings are now properly cast when using the maxlength attribute [Jonas Nicklas]
  • v2.0.3 Changes

    πŸš€ Release date: 2013-03-26

    • πŸš… Check against Rails version fixed to work with Rails' master branch now returning a Gem::Version [Jonas Nicklas]
    • πŸ‘‰ Use posix character class for whitespace replace, solves various encoding problems on Ruby 2.0.0 and JRuby. [Ben Cates]