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

Changelog History
Page 13

  • v0.4.0 Changes

    ๐Ÿš€ Release date: 2010-10-22

    ๐Ÿ”„ Changed

    • ๐Ÿ‘€ The Selector API was changed slightly, use Capybara.add_selector, see README

    ๐Ÿ›  Fixed

    • Celerity driver is registered properly
    • has_selector? and has_no_selector? added to DSL
    • Multiple selects return correct values under C[cu]lerity
    • โœ… Naked query strings are handled correctly by rack-test
  • v0.4.0.rc Changes

    ๐Ÿš€ Release date: 2010-10-12

    ๐Ÿ”„ Changed

    • within and find/locate now follow the XPath spec in that //foo finds all nodes in the document, instead of only for the context node. See this post for details: http://groups.google.com/group/ruby-capybara/browse_thread/thread/b129067979df21b3
    • within now executes within the first found instance of the selector, not in all of them
    • ๐Ÿ‘ป find now waits for AJAX requests and raises an exception when the element is not found (same as locate used to do)
    • 0๏ธโƒฃ The default selector is now CSS, not XPath

    ๐Ÿ—„ Deprecated

    • ๐Ÿ”— Session#click has been renamed click_link_or_button and the old click has been deprecated
    • Node#node has been renamed native
    • ๐Ÿ—„ Node#locate is deprecated in favor of Node#find, which now behaves identically
    • Session#drag is deprecated, please use Node#drag_to(other_node) instead

    โž• Added

    • Pretty much everything is properly documented now
    • It's now possible to call all session methods on nodes, like find('#foo').fill_in(...)
    • Custom selectors can be added with Capybara::Selector.add
    • 0๏ธโƒฃ The :id selector is added by default, use it lile find(:id, 'foo') or find(:foo)
    • โž• Added Node#has_selector? so any kind of selector can be queried.
    • โž• Added Capybara.configure for less wordy configuration
    • โž• Added within_window to switch between different windows (currently Selenium only)
    • 0๏ธโƒฃ Capybara.server_port to provide a fixed port if wanted (defaults to automatic selection)

    ๐Ÿ›  Fixed

    • CSS selectors with multiple selectors, such as "h1, h2" now work correctly
    • Port is automatically assigned instead of guessing
    • โœ… Strip encodings in rack-test, no more warnings!
    • โœ… RackTest no longer submits disabled fields
    • Servers no longer output annoying debug information when started
    • ๐Ÿ’Ž TCP port selection is left to Ruby to decide, no more port guessing
    • Select boxes now return option value instead of text if present
    • 0๏ธโƒฃ The default has been changed from localhost to 127.0.0.1, should fix some obscure selenium bugs
    • โœ… RackTest now supports complex field names, such as foo[bar][][baz]
  • v0.3.9 Changes

    ๐Ÿš€ Release date: 2010-07-03

    โž• Added

    • status_code which returns the HTTP status code of the last response (no Selenium!)
    • Capybara.save_and_open_page to store tempfiles
    • โœ… RackTest and Culerity drivers now clean up after themselves properly

    ๐Ÿ›  Fixed

    • When no rack app is set and the app is called, a more descriptive error is raised
    • select now works with optgroups
    • โœ… Don't submit image buttons unless they were clicked under rack-test
    • ๐Ÿ‘Œ Support custom field types under Selenium
    • ๐Ÿ‘Œ Support input fields without a type, treat them as though they were text fields
    • Redirect now throws an error after 5 redirects, as per RFC
    • Selenium now properly raises an error when Node#trigger is called
    • โœ… Node#value now returns the correct value for textareas under rack-test
  • v0.3.8 Changes

    ๐Ÿš€ Release date: 2010-05-12

    โž• Added

    • Within_frame method to execute a block of code within a particular iframe (Selenium only!)

    ๐Ÿ›  Fixed

    • โœ… Single quotes are properly escaped with select under rack-test and Selenium.
    • The :text option for searches now escapes regexp special characters when a string is given.
    • Selenium now correctly checks already checked checkboxes (same with uncheck)
    • Timing issue which caused Selenium to hang under certain circumstances.
    • Selenium now resolves attributes even if they are given as a Symbol
  • v0.3.7 Changes

    ๐Ÿš€ Release date: 2010-04-09

    ๐Ÿš€ This is a drop in compatible maintainance release. It's mostly important for driver authors.

    โž• Added

    • โœ… RackTest scans for data-method which rails3 uses to change the request method

    ๐Ÿ›  Fixed

    • Don't hang when starting server on Windoze

    ๐Ÿ”„ Changed

    • The driver and session specs are now located inside lib! Driver authors can simply require them.
  • v0.3.6 Changes

    ๐Ÿš€ Release date: 2010-03-22

    ๐Ÿš€ This is a maintainance release with minor bug fixes, should be โฌ‡๏ธ drop in compatible.

    โž• Added

    • It's now possible to load in external drivers

    ๐Ÿ›  Fixed

    • has_content? ignores whitespace
    • Trigger events when choosing radios and checking checkboxes under Selenium
    • ๐Ÿ‘‰ Make Capybara.app totally optional when running without server
    • ๐Ÿ”„ Changed fallback host so it matches the one set up by Rails' integration tests
  • v0.3.5 Changes

    ๐Ÿš€ Release date: 2010-02-26

    ๐Ÿš€ This is a mostly backwards compatible release, it does break the API in some minor places, which should hopefully not affect ๐Ÿš€ too many users, please read the release notes carefully!

    ๐Ÿ’ฅ Breaking

    • Relative searching in a node (e.g. find('//p').all('//a')) will now follow XPath standard this means that if you want to find descendant nodes only, you'll need to prefix a dot!
    • ๐Ÿ‘ visit now accepts fully qualified URLs for drivers that support it.
    • Capybara will always try to run a rack server, unless you set Capybara.run_sever = false

    ๐Ÿ”„ Changed

    • ๐Ÿ’Ž thin is preferred over mongrel and webrick, since it is Ruby 1.9 compatible
    • โœ… click_button and click will find , clicking them does nothing in RackTest

    โž• Added

    • Much improved error messages in a multitude of places
    • ๐Ÿ”— More semantic page querying with has_link?, has_button?, etc...
    • Option to ignore hidden elements when querying and interacting with the page
    • ๐Ÿ‘Œ Support for multiple selects

    ๐Ÿ›  Fixed

    • find_by_id is no longer broken
    • clicking links where the image's alt attribute contains the text is now possible
    • within_fieldset and within_table work when the default selector is CSS
    • boolean attributes work the same across drivers (return true/false)