Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mschnitzer:ruby:extensions
rubygem-capybara
rubygem-capybara.changes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-capybara.changes of Package rubygem-capybara
------------------------------------------------------------------- Tue Nov 14 18:24:14 UTC 2023 - Dan Čermák <dan.cermak@posteo.net> - New upstream release 3.39.2, see bundled History.md ------------------------------------------------------------------- Wed Dec 7 11:14:55 UTC 2022 - Stephan Kulow <coolo@suse.com> updated to version 3.38.0 see installed History.md # Version 3.38.0 Release date: 2022-11-03 ### Changed * Capybara.w3c_click_offset now defaults to true. If you need click offsets to be from the elements top left corner set it to false in your config ### Added * Support Selenium 4.3 changes to click offset calculations * `click`, `double_click`, `right_click` can now be called on the session to click the currently scoped element (or document) * `Session#within` now passes the scoped element to the block * Support rack-test 2+ * Retry interval is now configurable [Masahiro NOMOTO] * Support Puma 6 - Issue #2590 * Selenium: DetachedShadowRootError is treated as an invalid element error [Perryn Fowler] * Selenium: When inspected shadow roots will have a tag name of "ShadowRoot" * `evaluate_async_script` added to Session::DSL_METHODS [Henry Blyth] ### Fixed * Use higher precision clock in Capybara::Helpers::Timer if available * rack-test driver behavior with \r\n - Issue #2547 [Stefan Hoffmann] * Updated for deprecation of positional parameters in Selenium::WebDriver::ActionBuilder#pause * Explicitly set cause on server raised errors * Options no longer duplicated in have_xxx invalid option error message [Yudai Takada] * Animation disabler is now threadsafe [Daniel Sheppard] * Server connection count tracking [Oleksandr K.] * Ensure scopes are reset when session is [Henry Blyth] ------------------------------------------------------------------- Sun May 15 15:26:15 UTC 2022 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.37.1 Relesae date: 2022-05-09 ### Fixed * Regression in rack-test visit - Issue #2548 ------------------------------------------------------------------- Tue Dec 21 22:49:54 UTC 2021 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.36.0 Release date: 2021-10-24 ### Changed * Ruby 2.6.0+ is now required * Minimum selenium-webdriver supported is now 3.142.7 ### Added * Support for selenium-webdriver 4.x * `allow_label_click` accepts click options to be used when clicking an associated label * Deprecated `allow_gumbo=` in favor of `use_html5_parsing=` to enable use of Nokogiri::HTML5 when available * `Session#active_element` returns the element with focus - Not supported by the `RackTest` driver [Sean Doyle] * Support `focused:` filter for finding interactive elements - Not supported by the `RackTest` driver [Sean Doyle] ### Fixed * Sibling and ancestor queries now work with Simple::Node - Issue #2452 * rack_test correctly ignores readonly attribute on specific input element types * `Node#all_text` always returns a string - Issue #2477 * `have_any_of_selectors` negated match - Issue #2473 * `Document#scroll_to` fixed for standards behavior - pass quirks: true if you need the older behavior [Eric Anderson] * Use capture on attach file event listener for better React compatibility [Jeff Way] * Animation disabler produces valid HTML [Javi Martin] ### Removed * References to non-w3c mode in drivers/tests. Non-w3c mode is obsolete and no one should be using it anymore. Capybara hasn't been testing/supporting it in a while ------------------------------------------------------------------- Sat Feb 6 11:49:32 UTC 2021 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.35.3 # Version 3.35.3 Release date: 2021-01-29 ### Fixed * Just a release to have the correct dates in the History.md in released gem # Version 3.35.2 Release date: 2021-01-29 ### Fixed * Selenium deprecation suppressor with Selenium 3.x # Version 3.35.1 Release date: 2021-01-26 ### Fixed * Default chrome driver registrations use chrome - Issue #2442 [Yuriy Alekseyev] * 'Capybara.test_id' usage with the :button selector - Issue #2443 # Version 3.35.0 Release date: 2021-01-25 ### Added * Support Regexp matching for individual class names in :class filter passed an Array * Animation disabler now supports JQuery animation disabling when JQuery loaded from body [Chien-Wei Huang] ### Fixed * :button selector type use with `enable_aria_role` [Sean Doyle] * <label> elements don't associate with aria-role buttons * Ignore Selenium::WebDriver::Error::InvalidSessionIdError when quitting driver [Robin Daugherty] * Firefox: Don't click input when sending keys if already focused * Miscellaneous issues with selenium-webdriver 4.0.0.alphas * Nil return error in node details optimizations * Animation disabler now inserts XHTML compliant content [Dale Morgan] ------------------------------------------------------------------- Fri Dec 11 03:10:51 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.34.0 Release date: 2020-11-26 ### Added * Ability to fill in with emoji when using Chrome with selenium driver (Firefox already worked) * Current path assertions/expectations accept optional filter block * Animation disabler now specifies `scroll-behavior: auto;` [Nathan Broadbent] * :button selector can now find elements by label text [Sean Doyle] * `Session#send_keys` to send keys to the current element with focus in drivers that support the concept of a current element [Sean Doyle] ### Changed * Text query validates the type parameter to prevent undefined behavior ### Fixed * racktest driver better handles fragments and redirection to urls that include fragments * Don't error when attempting to get XPath location of a shadow element * Missing `readonly?` added to Node::Simple * Selenium version detection when loaded via alternate method [Joel Hawksley] * Connection count issue if REQUEST_URI value changed by app [Blake Williams] * Maintain URI fragment when redirecting in rack-test driver * Text query error message [Wojciech Wnętrzak] * Checking a checkbox/radio button with `allow_label_click` now works if there are multiple labels (Issue #2421) * `drop` with `Pathname` (Issue #2424)[Máximo Mussini] ------------------------------------------------------------------- Thu Jun 25 10:15:38 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.33.0 Release date: 2020-06-21 ### Added * Block passed to `within_session` now receives the new and old session * Support for aria-role button when enabled [Seiei Miyagi] * Support for aria-role link when enabled * Support for `validation_message` filter with :field and :fillable_field selectors ### Changed * Ruby 2.5.0+ is now required * Deprecated direct manupulation of the driver and server registries ### Fixed * Ruby 2.7 warning in minitest `assert_text` [Eileen M. Uchitelle] ------------------------------------------------------------------- Wed May 27 11:18:01 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.32.2 ### Fixed * Don't use lazy enumerator with JRuby due to leaking threads * Ruby 2.7 deprecation warning when registering Webrick [Jon Zeppieri] * `have_text` description [Juan Pablo Rinaldi] ------------------------------------------------------------------- Mon Apr 27 13:20:14 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.32.1 ### Fixed * Rapid set now respects field maxlength (Issue #2332) * Only patch pause into legacy actions in Selenium < 4 (Issue #2334) ------------------------------------------------------------------- Mon Jan 27 12:38:44 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.31.0 Release date: 2020-01-26 ### Added * Support setting range inputs with the selenium driver [Andrew White] * Support setting range inputs with the rack driver * Support drop modifier keys in drag & drop [Elliot Crosby-McCullough] * `enabled_options` and `disabled options` filters for select selector * Support beginless ranges * Optionally allow `all` results to be reloaded when stable - Beta feature - may be removed in future version if problems occur ### Fixed * Fix Ruby 2.7 deprecation notices around keyword arguments. I have tried to do this without any breaking changes, but due to the nature of the 2.7 changes and some selector types accepting Hashes as locators there are a lot of edge cases. If you find any broken cases please report them and I'll see if they're fixable. * Clicking on details/summary element behavior in rack_test driver_ ------------------------------------------------------------------- Tue Nov 12 16:37:08 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.29.0 Release date: 2019-09-02 ### Added * Allow clicking on file input when using the block version of `attach_file` with Chrome and Firefox * Spatial filters (`left_of`, `right_of`, `above`, `below`, `near`) * rack_test driver now supports clicking on details elements to open/close them ### Fixed * rack_test driver correctly determines visibility for open details elements descendants ### Changed * Results will now be lazily evaluated when using JRuby >= 9.2.8.0 ------------------------------------------------------------------- Thu Aug 15 18:10:32 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.28.0 ### Added * Allow forcing HTML5 or legacy dragging via the `:html5` option to `drag_to` when using Selenium with Chrome or Firefox * Autodetection of drag type interprets not seeing the mousedown event as legacy. * HTML5 form validation `:valid` node filter added to `:field` and `:fillable_field` selectors * When using Capybara registered :puma server - patches Puma 4.0.x to fix SSL connection behavior. Removes default `queue_requests` setting - Issue #2227 ------------------------------------------------------------------- Fri Jul 19 07:26:49 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.26.0 ### Added * `w3c_click_offset` configuration option applies to `right_click` and `double_click` as well as `click` * Warning when passing `nil` to the text/content assertions/expectations * `Session#server_url` returns the base url the AUT is being run at (when controlled by Capybara) * `option` selector type accepts an integer as locator ### Fixed * Default puma server registration now specifies `queue_requests: false` - Issue #2227 * Workaround issue with FF 68 and hanging during reset if a system modal is visible * Don't expand file path if it's already absolute - Issue #2228 ------------------------------------------------------------------- Mon Jul 8 08:35:22 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 3.25.0 Release date: 2019-06-27 ### Added * Animation disabler also disables before and after pseudoelements - Issue #2221 [Daniel Heath] * `w3c_click_offset` configuration option to determine whether click offsets are calculated from element center or top left corner ### Fixed * Woraround issue with chromedriver 76/77 in W3C mode losing mouse state during legacy drag. Only fixed if both source and target are simultaenously inside the viewport - Issue #2223 * Negative ancestor expectations/predicates were incorrectly checking siblings rather than ancestors ------------------------------------------------------------------- Mon May 20 12:17:16 UTC 2019 - Lukas Krause <lukas.krause@suse.com> - updated to version 3.20.2 see installed History.md # Version 3.20.2 Release date: 2019-05-19 ### Fixed * Move uglifier from runtime to development dependency # Version 3.20.1 Release date: 2019-05-17 ### Fixed * RackTest driver considers <template> elements to be non-visible and ignores the contents ------------------------------------------------------------------- Fri May 17 10:57:11 UTC 2019 - Lukas Krause <lukas.krause@suse.com> - updated to version 3.20.0 see installed History.md # Version 3.20.0 Release date: 2019-05-14 ### Added * Node#obscured? to check viewport presence and element overlap * :obscured system filter to check whether elements are obscured in finders, assertions, and expectations * :label selector :for option can be a regexp * Significantly smaller isDisplayed/getAttribute atoms for selenium driver. If these produce issues you can disable their use by setting an environment variable named 'DISABLE_CAPYBARA_SELENIUM_OPTIMIZATIONS' (Please also report any issues). * href: false option with find_link/click_link/:link selector ignores href presence/absence ### Fixed * Workaround Safari issue with send_keys not correctly using top level modifiers * Workaround Safari not retrying click due to incorrect error type * Fix Safari attach_file block mode when clicking elements associated to the file input * Workaround Safari issue with repeated hover # Version 3.19.1 Release date: 2019-05-11 ### Fixed * Fix access to specializations when Selenium::Driver is subclassed # Version 3.19.0 Release date: 2019-05-09 ### Added * Syntactic sugar #once, #twice, #thrice, #exactly, #at_least, #at_most, and #times added to have_selector, have_css, have_xpath, and have_text RSpec matchers * Support for multiple expression types in Selector definitions * Reduced wirecalls for common actions in Selenium driver ### Fixed * Workaround Chrome 75 appending files to multiple file inputs * Suppressed retry when detecting http vs https server connection ------------------------------------------------------------------- Sun May 5 09:21:06 UTC 2019 - Stephan Kulow <coolo@suse.com> - updated to version 3.18.0 see installed History.md # Version 3.18.0 Release date: 2019-04-22 ### Added * XPath Selector query optimized to make use of Regexp :text option in initial element find ### Fixed * Workaround issue where Chrome/chromedriver 74 can return the wrong error type when a click is intercepted # Version 3.17.0 Release date: 2019-04-18 ### Added * Initial support for selenium-webdriver 4.0.0.alpha1 * :button selector will now also match on `name` attribute ### Fixed * Suppress warnings generated by using selenium-webdriver 3.141.5926 * Mask Appium issue with finder visibility optimizations (non-optimal) # Version 3.16.2 Release date: 2019-04-10 ### Fixed * Fix Session#quit resetting of memoized document # Version 3.16.1 Release date: 2019-03-30 ### Fixed * Fix potential 'uninitialized constant' error when using the :selenium_chrome driver [jeffclemens-ab] ------------------------------------------------------------------- Fri Mar 29 05:57:37 UTC 2019 - Stephan Kulow <coolo@suse.com> - updated to version 3.16.0 see installed History.md # Version 3.16 Release date: 2019-03-28 ### Changed * Ruby 2.4.0+ is now required * Selenium driver now defaults to using a persistent http client connection ### Added * :wait option in predicates now accepts `true` to selectively override when `Capybara.predicates_wait == false` ------------------------------------------------------------------- Thu Mar 21 10:35:54 UTC 2019 - manuel <mschnitzer@suse.com> - updated to version 3.15.0 ### Added * `attach_file` now supports a block mode on JS capable drivers to more accurately test user behavior when file inputs are hidden (beta) * :table selector now supports `with_rows`, 'rows', `with_cols`, and 'cols' filters ### Fixed * Fix link selector when `Capybara.test_id` is set - Issue #2166 [bingjyang] ------------------------------------------------------------------- Sat Mar 2 15:08:26 UTC 2019 - Stephan Kulow <coolo@suse.com> - updated to version 3.14.0 see installed History.md # Version 3.14 Release date: 2019-02-25 ### Added * rack_test driver now supports reloading elements when the document changes - Issue #2157 * Selenium driver HTML5 drag-drop emulation now emits multiple move events so drag direction is determinable [Erkki Eilonen, Thomas Walpole] * Capybara.server_errors now defaults to [Exception] - Issue #2160 [Edgars Beigarts] ### Fixed * Workaround hover issue with FF 65 - Issue #2156 * Workaround chromedriver issue when setting blank strings to react controlled text fields * Workaround chromedriver issue with popup windows not loading content - https://bugs.chromium.org/p/chromedriver/issues/detail?id=2650&q=load&sort=-id&colspec=ID%20Status%20Pri%20Owner%20Summary ------------------------------------------------------------------- Fri Feb 8 11:26:07 UTC 2019 - mschnitzer@suse.com - updated to version 3.13.2 ### Fixed * Remove extraneous output # From Version 3.13.1 Release date: 2019-01-24 ### Fixed * Only use Selenium visibility optimization when JS atom is available - Issue #2151 # Version 3.13.0 Release date: 2019-01-23 ### Added * Session#quit added * #scroll_to added to allow scrolling page/elements to specified locations * Speed optimizations around multiple element location and path generation when using the Selenium driver * Support for locator type checking in custom selectors * Allow configuration of gumbo use - defaults to off * `assert_style`/`has_style`/`have_style` deprecated in favor of `assert_matches_style`/`matches_styles?`/`match_style` * :style filter added to selectors ------------------------------------------------------------------- Sat Dec 8 16:19:17 UTC 2018 - Stephan Kulow <coolo@suse.com> - updated to version 3.12.0 see installed History.md # Version 3.12.0 Release date: 2018-11-28 ### Added * Support Ruby 2.6 endless range in Result#[] and query `:between` option * Pre-registered headless firefox driver :selenium_headless [Andrew Havens] * Selenium driver now defaults to clearing `sessionStorage` and `localStorage`. To disable pass `clear_local_storage: false` and/or `clear_session_storage: false` when creating Capybara::Selenium::Driver instance in your driver registration ### Fixed * Raise error if only :x or :y are passed as an offset to click methods ### Removed * Support for RSpec < 3.5 ------------------------------------------------------------------- Thu Nov 22 05:01:42 UTC 2018 - Stephan Kulow <coolo@suse.com> - updated to version 3.11.1 see installed History.md ------------------------------------------------------------------- Tue Nov 20 07:41:21 UTC 2018 - mschnitzer@suse.com - updated to version 3.11.1 ### Fixed * Fixed :link_or_button XPath generation when it has had an expression filter added # Fixes since version 3.11.0 ### Added * Ability for node filters to set detailed error messages * `Capybara::HTML` Will use `nokogumbo` for HTML parsing if installed * `Selector#locator_filter` added to allow for dynamic locator in selectors ### Fixed * Node filters are evaluated in the context of the Selector they are used in to ensure the correct options are used ------------------------------------------------------------------- Tue Nov 6 10:17:05 UTC 2018 - mschnitzer@suse.com - updated to version 3.10.1 ### Fixed * Fix `aria-label` and `test_id` matching for `link_or_button` selector type - Issue #2125 * Fixed crash in element path creation for matcher failure messages - Issue #2120 ------------------------------------------------------------------- Mon Oct 29 06:27:33 UTC 2018 - mschnitzer@suse.com - updated to version 3.10.0 ### Added * :class filter can now check for class names starting with ! * Selector `xpath`/`css` expression definitions will get filter names from block parameters if not explicitly provided * `any_of_selectors` assertions and matchers to complement `all_of_selectors` and `none_of_selectors` ### Fixed * Selector `css` expression definiton declared filters now work again * Cleaned up warnings [Yuji Yaginuma] * Workaround installation of rspec matcher proxies under jruby by reverting to the old solution not using prepend, so jruby bugs are not hit - Issue #2115 Changes since version 3.9.0: ### Added * Selenium with Chrome removes all cookies at session reset instead of just cookies from current domain if possible * Support for Regexp for system :id and :class filters where possible * `using_session` now accepts a session object as well as the name of the session for users who manually manage sessions * The `:field` selector will now find `type = "hidden"` fields if the `type: "hidden"` filter option is provided ------------------------------------------------------------------- Thu Sep 27 07:40:26 UTC 2018 - mschnitzer@suse.com - updated to version 3.8.2 ### Fixed * Fixed negated class selector option - Issue #2103 ------------------------------------------------------------------- Sun Sep 23 19:22:42 UTC 2018 - mschnitzer@suse.com - updated to version 3.8.1 ### Fixed * Filling in of date fields with a string when using selenium chrome regression [Micah Geisel] - New features/fixes since 3.8.0 ### Added * Workaround geckodriver 0.22 issue with undefined pause durations * :element selector ignores XML namespaces ### Fixed * Added Errno::ECONNRESET to the errors which will allows https server detection ------------------------------------------------------------------- Mon Sep 17 09:34:20 UTC 2018 - mschnitzer@suse.com - updated to version 3.7.2 Release date: 2018-09-12 ### Fixed * Fix MatchQuery based matchers when used on a root element found using any type of parent/ancestor query - Issue #2097 * Fix Chrome/FF HTML5 drag simulation for elements (a, img) which default to draggable - Issue #2098 # Version 3.7.1 Release date: 2018-09-05 ### Fixed * Restored ability to pass symbol as the CSS selector when calling `has_css?`/`have_css`/etc - Issue #2093 ------------------------------------------------------------------- Wed Sep 5 10:05:23 UTC 2018 - coolo@suse.com - updated to version 3.7.0 see installed History.md # Version 3.7.0 Release date: 2018-09-02 ### Added * `Capybara.disable_animation` can be set to a CSS selector to identify which elements will have animation disabled [Michael Glass] * `Capybara.default_normalize_ws` option which sets whether or not text predicates and matchers (`has_text?`, `has_content?`, `assert_text`, etc) use `normalize_ws` option by default. Defaults to false. [Stegalin Ivan] * Selector based predicates, matchers, and finders now support the `:normalize_ws` option for the `:text`/`:exact_text` filters. Defaults to the `Capybara.default_normalize_ws`setting above. * Element `choose`/`check`/`uncheck`/`attach_file`/`fill_in` can now operate on the element they're called on or a descendant if no locator is passed. ### Fixed * All CSS styles applied by the `Element#attach_file` `:make_visible` option will now have `!important` priority set to ensure they override any other specified style. * Firefox file inputs are only manually cleared when necessary. * ------------------------------------------------------------------- Thu Aug 16 10:17:32 UTC 2018 - mschnitzer@suse.com - updated to version 3.6.0 Release date: 2018-08-14 ### Added * Workaround geckodriver/firefox send_keys issues as much as possible using the Selenium actions API * Workaround lack of HTML5 native drag and drop events when using Selenium driver with Chrome and FF >= 62 * `Capybara.predicates_wait` option which sets whether or not Capybaras matcher predicate methods (`has_css?`, `has_selector?`, `has_text?`, etc.) default to using waiting/retrying behavior (defaults to true) ------------------------------------------------------------------- Sat Aug 4 10:20:37 UTC 2018 - mschnitzer@suse.com - update to version 3.5.1 Release date: 2018-08-03 ### Fixed * Fixed misspelled method name `refute_matches_elector` => `refute_matches_selector` ------------------------------------------------------------------- Thu Aug 2 11:54:53 UTC 2018 - mschnitzer@suse.com - update to version 3.5.0 Release date: 2018-08-01 ### Added * text predicates and matchers (`has_text?`, `has_content?`, `assert_text`, etc) now support a `normalize_ws` option ### Fixed * `attach_file` with Selenium and local Firefox 62+ now correctly generates only one change event when attaching multiple files ------------------------------------------------------------------- Tue Jul 24 20:24:39 UTC 2018 - mschnitzer@suse.com - update to version 3.4.2 Release date: 2018-07-24 ### Fixed * `match_xxx` selectors and `matches_xxx?` predicates work correctly with elements found using a sibling selector - Issue #2073 ------------------------------------------------------------------- Sun Jul 22 08:41:54 UTC 2018 - coolo@suse.com - updated to version 3.4.1 see installed History.md # Version 3.4.1 Release date: 2018-07-20 ### Fixed * `Session#evaluate_script` now strips the script in `Session` rather than only in the Selenium driver ------------------------------------------------------------------- Fri Jul 20 07:02:25 UTC 2018 - bgeuken@suse.com - Update to version 3.4.0 # Fixed * Make selenium driver :backspace clear stategy work even if caret location is in middle of field content [Champier Cyril] * Selenium issue with fieldset nested in disabled fieldset not being considered disabled * Session#evaluate_script and Element#evaluate_script now strip leading/trailing whitespace from scripts [Ian Lesperance] # Added * Work around Selenium lack of support for file_detector with remote geckodriver * #within_frame locator is optional when only one frame exists * Capybara.test_id option that allows for matching the Capybara provided selector types on an arbitrary attribute (defaults to nil), set to your test id attribute ('data-test-id, etc) if using test id attributes in your project ------------------------------------------------------------------- Wed Jun 27 20:02:33 UTC 2018 - factory-auto@kulow.org - updated to version 3.3.1 see installed History.md # Version 3.3.1 Release date: 2018-06-27 ### Fixed * `selenium-webdriver` version check [ahorek] * Selenium driver correctly responds to `disabled?` for fieldset elements - Issue #2059 [Thomas Walpole] ------------------------------------------------------------------- Mon Jun 25 19:02:02 UTC 2018 - factory-auto@kulow.org - updated to version 3.3.0 see installed History.md # Version 3.3.0 Release date: 2018-06-25 ### Added * RackTest driver now handles 307/308 redirects * `execute_async_script` can now be called on elements to run the JS in the context of the element * `:download` filter option on `:link' selector * `Window#fullscreen` * `Element#style` and associated matchers ### Changed * Minimum "supported" `selenium-webdriver` is raised to 3.5.0 (but you really should be using newer than that) ### Fixes * Selenium driver with Firefox workaround for clicking on table row - https://github.com/mozilla/geckodriver/issues/1228 * :class and :id filters applied to CSS based selectors now correctly handle the CSS comma * Selenium driver handles namespaces when generating an elements `#path` - Issue #2048 ------------------------------------------------------------------- Mon Jun 4 17:01:58 UTC 2018 - factory-auto@kulow.org - updated to version 3.2.1 see installed History.md # Version 3.2.1 Release date: 2018-06-04 ### Fixes * Only split CSS selectors when :class or :id options are given. Restores 3.1.1 functionality for now but the underlying issue will require a larger fix, hopefully coming soon. - Issue #2044 [Thomas Walpole] ------------------------------------------------------------------- Fri Jun 1 22:02:54 UTC 2018 - factory-auto@kulow.org - updated to version 3.2.0 see installed History.md # Version 3.2.0 Release date: 2018-06-01 ### Changed * Ruby 2.3.0+ is now required * `ElementNotFound` errors raised in selector filters are interpreted as non-matches ### Added * New global configuration `default_set_options` used in `Capybara::Node::Element#set` as default `options` hash [Champier Cyril] * `execute_javascript` and `evaluate_javascript` can now be called on elements to run the JS in the context of the element [Thomas Walpole] * Filters in custom selectors now support a `matcher` Regexp to handle multiple filter options [Thomas Walpole] * `:element` selector type which will match on any attribute (other than the reserved names) passed as a filter option [Thomas Walpole] * `:class` filter option now supports preceding class names with `!` to indicate not having that class [Thomas Walpole] * `:class` and `:id` filter options now accept `XPath::Expression` objects to allow for more flexibility in matching [Thomas Walpole] * `Capybara.disable_animation` setting which triggers loading of a middleware that attempts to disable animations in pages. This is very much a beta feature and may change/disappear in the future. [Thomas Walpole] ------------------------------------------------------------------- Fri May 25 22:01:53 UTC 2018 - factory-auto@kulow.org - updated to version 3.1.1 see installed History.md # Version 3.1.1 Release date: 2018-05-25 ### Fixes * Ensure keystrokes are sent when setting time/date fields to a string with the Selenium driver [Thomas Walpole] ------------------------------------------------------------------- Wed May 16 07:56:12 UTC 2018 - factory-auto@kulow.org - updated to version 3.1.0 see installed History.md # Version 3.1.0 Release date: 2018-05-10 ### Added * Support for using `select` with text inputs associated with a datalist element * `type` filter on `:button` selector * Support for server operating in https mode * Selenium driver now uses JS to fill_in/set date and time fields when passed date or time objects [Aleksei Gusev, Thomas Walpole] ------------------------------------------------------------------- Mon Apr 30 20:02:00 UTC 2018 - factory-auto@kulow.org - updated to version 3.0.3 see installed History.md # Version 3.0.3 Release date: 2018-04-30 ### Fixes * Issue in `check` where the locator string could not be omitted * Selenium browser type detection when using remote [Ian Ker-Seymer] * Potential hang when waiting for requests to complete [Chris Zetter] ------------------------------------------------------------------- Fri Apr 13 20:29:15 UTC 2018 - factory-auto@kulow.org - updated to version 3.0.2 see installed History.md # Version 3.0.2 Release date: 2018-04-13 ### Fixes * Fix expression filter descriptions in some selector failure messages * Fix compounding of negated matechers - Issue #2010 ------------------------------------------------------------------- Sat Apr 7 04:28:29 UTC 2018 - factory-auto@kulow.org - updated to version 3.0.1 see installed History.md # Version 3.0.1 Release date: 2018-04-06 ### Changed * Restored ability for `Capybara.server=` to accept a proc which was accidentally removed in 3.0.0 ------------------------------------------------------------------- Fri Apr 6 04:28:27 UTC 2018 - factory-auto@kulow.org - updated to version 3.0.0 see installed History.md ------------------------------------------------------------------- Tue Feb 13 05:28:42 UTC 2018 - factory-auto@kulow.org - updated to version 2.18.0 see installed History.md #Version 2.18.0 Release date: 2018-02-12 ### Fixed * Firefox/geckodriver setting of contenteditable childs contents * Ignore Selenium::WebDriver::Error::SessionNotCreatedError when quitting driver [Tim Connor] ### Removed * Headless chrome modal JS injection that is no longer needed for Chrome 64+/chromedriver 2.35+ ------------------------------------------------------------------- Wed Jan 3 08:43:19 UTC 2018 - dkang@suse.com - Updated to version 2.17.0 Release date: 2018-01-02 #Added - have_all_of_selectors, have_none_of_selectors RSpec matchers for parity with minitest assertions [Thomas Walpole] #Fixed - Allow xpath 3.x gem [Thomas Walpole] - Issue when drivers returned nil for current_path and a matcher was used with a Regexp [Thomas Walpole] - Error message when visible element not found, but non-visible was [Andy Klimczak] ------------------------------------------------------------------- Tue Nov 21 09:59:06 UTC 2017 - mschnitzer@suse.com - updated to version 2.16.1 * Fix rack_test driver for rack_test 0.7.1/0.8.0 [Thomas Walpole] * accept_prompt response text can contain quotes when using selenium with headless chrome [Thomas Walpole] ------------------------------------------------------------------- Fri Nov 17 09:49:01 UTC 2017 - mschnitzer@suse.com - updated to version 2.16.0 Release date: 2017-11-13 # Added - Attempt to move element into view when selenium doesn't correctly do it - See PR #1917 [Thomas Walpole] - current_path matchers will now autodetect path vs url based on string to be matched. Deprecates :only_path in favor of :ignore_query option [Thomas Walpole] - Session#evaluate_async_script [Thomas Walpole] # Fixed - Default prompt value when using headless Chrome works correctly [Thomas Walpole] - Support new modal error returned by selenium-webdriver 3.7 for W3C drivers [Thomas Walpole] - Calling respond_to? on the object passed to Capybara.configure block - Issue #1935 ------------------------------------------------------------------- Mon Oct 9 06:51:37 UTC 2017 - mschnitzer@suse.com - updated to version 2.15.4 Release date: 2017-10-07 # Fixed * Visiting an absolute URL shouldn't overwrite the port when no server or always_include_port=false - Issue #1921 ------------------------------------------------------------------- Wed Oct 4 06:39:44 UTC 2017 - mschnitzer@suse.com - updated to version 2.15.3 Release date: 2017-10-03 # Fixed * Visiting '/' when Capybara.app_host has a trailing '/' - Issue #1918 [Thomas Walpole] Changelog of version 2.15.2: Release date: 2017-10-02 # Fixed * Include within scope description in element not found/ambiguous errors [Thomas Walpole] * Raise error when no activation block is passed to modal methods if using headless chrome [Thomas Walpole] * Don't retry element access when inspecting [Ivan Neverov] * Don't override a specified port (even if it is default port) in visited url [Thomas Walpole] ------------------------------------------------------------------- Mon Aug 7 08:31:09 UTC 2017 - mschnitzer@suse.com - Update to 2.15.1 * attach_file with no extension/MIME type when using the :rack_test driver [Thomas Walpole] ------------------------------------------------------------------- Thu Aug 3 14:45:56 UTC 2017 - hvogel@suse.com - Update to 2.14.3. * Fix retrieval of session_options for HaveSelector matcher descriptions ------------------------------------------------------------------- Fri Jun 23 15:14:18 UTC 2017 - bgeuken@suse.com - Update to 2.14.3. No changelog found. ------------------------------------------------------------------- Tue Jun 13 20:45:20 UTC 2017 - coolo@suse.com - updated to version 2.14.2 see installed History.md # Version 2.14.2 Release date: 2017-06-09 ### Fixed * Workaround for system modals when using headless Chrome now works if the page changes # Version 2.14.1 Release date: 2017-06-07 ### Fixed * Catch correct error when unexpected system modals are discovered in latest selenium [Thomas Walpole] * Update default `puma` server registration to encourage it to run in single mode [Thomas Walpole] * Suppress invalid element errors raised while lazily evaluating the results of `all` [Thomas Walpole] * Added missing `with_selected` option to the :select selector to match `options`/`with_options` options - Issue #1865 [Bartosz Nowak] * Workaround broken system modals when using selenium with headless Chrome ------------------------------------------------------------------- Tue May 23 09:44:34 UTC 2017 - coolo@suse.com - updated to version 2.14.0 see installed History.md ------------------------------------------------------------------- Fri Mar 17 05:29:03 UTC 2017 - coolo@suse.com - updated to version 2.13.0 see installed History.md #Version 2.13.0 Release date: 2017-03-16 ### Added * Selenium driver supports returning element(s) from evaluate_script [Thomas Walpole] * rack_test driver supports click on checkboxes and radio buttons to change their states [Thomas Walpole] * Support RSpec equivalent assertions and expectations for MiniTest [Thomas Walpole] ### Foxed * Editing of content editable children with selenium ------------------------------------------------------------------- Fri Feb 17 05:29:13 UTC 2017 - coolo@suse.com - updated to version 2.12.1 see installed History.md #Version 2.12.1 Release date: 2017-02-16 ### Fixed * Disable lazy Capybara::Results evaluation for JRuby due to ongoing issues ------------------------------------------------------------------- Wed Jan 25 09:50:42 UTC 2017 - ammartinez@suse.com - updated to version 2.12.0 ------------------------------------------------------------------- Fri Dec 9 05:29:09 UTC 2016 - coolo@suse.com - updated to version 2.11.0 see installed History.md #2.11.0 Release date: 2016-12-05 ### Added * Options for clearing session/local storage on reset added to the Selenium driver * Window size changes wait for the size to stabilize * Defined return value for most actions * Ignore specific error when qutting selenium driver instance - Issue #1773 [Dylan Reichstadt, Thomas Walpole] * Warn on selenium unknown errors rather than raising when quitting driver [Adam Pohorecki, Thomas Walpole] * Capybara::Result#each now returns an `Enumerator` when called without a block - Issue #1777 [Thomas Walpole] ### Fixed * Selenium driver with Chrome should support multiple file upload [Thomas Walpole] * Fix visible: :hidden with :text option behavior [Thomas Walpole] ------------------------------------------------------------------- Thu Dec 1 05:29:50 UTC 2016 - coolo@suse.com - updated to version 2.10.2 see installed History.md #2.10.2 Release date: 2016-11-30 ### Fixed * App exceptions with multiple parameter initializers now re-raised correctly - Issue #1785 [Michael Lutsiuk] * Use Addressable::URI when parsing current_path since it's more lenient of technically invalid URLs - Issue #1801 [Marcos Duque, Thomas Walpole] ------------------------------------------------------------------- Fri Oct 28 08:00:14 UTC 2016 - hvogel@suse.com - updated to version 2.10.1 see installed History.md #2.10.1 Release date: 2016-10-08 ### Fixed * App errors are now correctly raised with the explanatory cause in JRuby [Thomas Walpole] * Capybara::Result optimization disabled in JRuby due to issue with lazy enumerator evaluation [Thomas Walpole] See: https://github.com/jruby/jruby/issues/4212 #2.10.0 Release date: 2016-10-05 ### Added * Select `<button>` elements with descendant images with `alt` attributes matching the locator [Ian Lesperance] * Locator string is optional in selector based matchers [Thomas Walpole] * Selectors can specify their default visible setting [Thomas Walpole] * Selector based finders and matchers can be passed a block to filter the results within the retry behavior [Thomas Walpole] #Version 2.9.2 Release date: 2016-09-29 ### Fixed * :label built-in selector finds nested label/control by control id if the label has no 'for' attribute [Thomas Walpole] * Warning issued if an unknown selector type is specified [Thomas Walpole] #Version 2.9.1 Release date: 2016-09-23 ### Fixed * allow_label_click option did not work in some cases with Poltergeist - Issue #1762 [Thomas Walpole] * matches_selector? should have access to all of a selectors options except the count options [Thomas Walpole] #Version 2.9.0 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?` and `Element#matches_css?` [Thomas Walpole] ------------------------------------------------------------------- Sat Sep 10 04:29:38 UTC 2016 - coolo@suse.com - updated to version 2.8.1 see installed History.md #Version 2.8.1 Release data: 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] ------------------------------------------------------------------- Wed Aug 17 04:29:17 UTC 2016 - coolo@suse.com - updated to version 2.8.0 see installed History.md # Version 2.8.0 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! RSoec 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] * 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] ------------------------------------------------------------------- Mon May 2 04:29:42 UTC 2016 - coolo@suse.com - updated to version 2.7.1 see installed History.md #Version 2.7.1 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] ------------------------------------------------------------------- Fri Apr 8 04:28:40 UTC 2016 - coolo@suse.com - updated to version 2.7.0 see installed History.md # Version 2.7.0 Release date: unreleased ### 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] ------------------------------------------------------------------- Thu Jan 28 05:28:43 UTC 2016 - coolo@suse.com - updated to version 2.6.2 see installed History.md #Version 2.6.2 Relase date: 2016-01-27 ### Fixed * support for more than just addressable 2.4.0 [Thomas Walpole] # Version 2.6.1 Release date: 2016-01-27 ### Fixed * Add missing require for addressable [Jorge Bejar] ------------------------------------------------------------------- Mon Jan 18 05:32:49 UTC 2016 - coolo@suse.com - updated to version 2.6.0 see installed History.md # Version 2.6.0 Relase date: 2016-01-17 ### Fixed * Fixed path escaping issue with current_path matchers [Tom 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 [Tom Walpole] ### Added * Capybara.modify_selector [Tom 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 [Tom Walpole] * Support the use of rack 2.0 with the rack_test driver [Travis Grathwell, Tom Walpole] * Disabled option for default selectors now supports true, false, or :all [Jillian Rosile, Tom Walpole] * Modal API methods now default wait time to Capybara.max_default_wait_time [Tom Walpole] ------------------------------------------------------------------- Thu Aug 27 04:28:34 UTC 2015 - coolo@suse.com - updated to version 2.5.0 see installed History.md # Version 2.5.0 Release date: 2015-08-25 ### Fixed * Error message now raised correctly when invalid options passed to 'have_text'/'have_content' [Tom Walpole] * Rack-test driver correctly gets document title when elements on the page have nested title elements (SVG) [Tom 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 [Tom Walpole] * Implement Node#path in selenium driver [Soutaro Matsumoto] * 'using_session' is now nestable [Tom Walpole] * 'switch_to_window' will now use waiting behavior for a matching window to appear [Tom Walpole] * Capybara.default_wait_time deprecated in favor of Capybara.default_max_wait_time to more clearly explain its purpose [Paul Pettengill] * Warning when attempting to select a disabled option * 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, Tom Walpole] * Capybara.server_errors setting that allows to configure what type of errors will be raised from the server thread [Tom Walpole] * Node#send_keys to allow for sending keypresses directly to elements [Tom Walpole] * 'formmethod' attribute support in RackTest driver [Emilia Andrzejewska] * Clear field using backspaces in Selenium driver by using `:fill_options => { :clear => :backspace }` [Joe Lencioni] ------------------------------------------------------------------- Tue Oct 14 20:27:37 UTC 2014 - coolo@suse.com - updated to version 2.4.4 ###Fixed * Test for visit behavior updated [Phil Baker] * Removed concurrency prevention in favor of a note in the README - due to load order issues # Version 2.4.3 Relase date: 2014-09-21 ###Fixed * Update concurrency prevention to match Rails 4.2 behavior # Version 2.4.2 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] ------------------------------------------------------------------- Mon Oct 13 05:46:15 UTC 2014 - coolo@suse.com - adapt to new rubygem packaging ------------------------------------------------------------------- Mon Jul 21 08:11:04 UTC 2014 - coolo@suse.com - updated to version 2.4.1 ### 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] # Version 2.3.0 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] # Version 2.2.1 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] ------------------------------------------------------------------- Mon Jan 20 09:29:43 UTC 2014 - coolo@suse.com - updated to version 2.2.1 This is a bug fix release which reverts a change in 2.2.0 whereby resetting the page navigated to an empty file under Selenium ------------------------------------------------------------------- Fri Nov 22 08:40:38 UTC 2013 - coolo@suse.com - updated to version 2.2.0 ### 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 absolut 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] ------------------------------------------------------------------- Fri Apr 12 07:49:54 UTC 2013 - coolo@suse.com - updated to version 2.1.0 ### 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] * 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] ------------------------------------------------------------------- Wed Jan 2 08:04:41 UTC 2013 - coolo@suse.com - updated to version 2.0.2 ### Changed * Capybara no longer uses thin as a server if it is available, due to thread safety issues. Now Capybara always defaults to WEBrick. [Jonas Nicklas] ### Fixed * Suppress several warnings [Kouhei Sutou] * Fix default host becoming nil [Brian Cardarella] * Fix regression in 2.0.1 which caused node comparisons with non node objects to throw an exception [Kouhei Sotou] * A few changes to the specs, only relevant to driver authors [Jonas Nicklas] * Encoding error under JRuby [Piotr Krawiec] * Ruby 2 encoding fix [Murahashi Sanemat Kenichi] * Catch correct exception on server timeout [Jonathan del Strother] ------------------------------------------------------------------- Mon Nov 26 11:03:17 UTC 2012 - coolo@suse.com - updated to version 2.0.1 ### Changed * Move the RackTest driver override with the `:respect_data_method` option enabled from capybara/rspec to capybara/rails, so that it is enabled in Rails projects that don't use RSpec. [Carlos Antonio da Silva] * Source is now an alias for `body`. RackTest no longer returns modifications to `body`. This basically codifies the behaviour which we've had for a while anyway, and should have minimal impact for end users. It is important to driver authors though. [Jonas Nicklas] ### Fixed * Visiting relative URLs when `app_host` is set and no server is running works as expected. [Jonas Nicklas] * `fill_in` works properly under Selenium again when the caret is not at the end of the field before the method is called. [Douwe Maan, Jonas Nicklas, Jari Bakken] * `attach_file` can once again be given a Pathname [Jake Goulding] ------------------------------------------------------------------- Thu Nov 15 09:07:40 UTC 2012 - coolo@suse.com - updated to version 2.0.0, see History.md ------------------------------------------------------------------- Wed Oct 31 08:15:43 UTC 2012 - coolo@suse.com - updated to version 1.1.3 ------------------------------------------------------------------- Thu Jan 5 12:42:32 UTC 2012 - suse@ammler.ch - update to 1.1.2 * Fix: Make attach_file work with selenium-webdriver >=2.12 - move part of summary to description as it was too long - rubygem-selenium-webdriver-2 is provided by rubygem-selenium-webdriver ------------------------------------------------------------------- Fri Sep 9 07:12:30 UTC 2011 - dmacvicar@suse.de - update to 1.1.0 - Fixed * Sensible inspect for Capybara::Session * Fix headers and host on redirect * using_driver now restores the old driver instead of reverting to the default * Errors when following links relative to the root path under rack-test * Make sure exit codes are propagated properly - Changed * resynchronization is off by default under Selenium - Added * Elements are automatically reloaded (including parents) during wait * Rescue driver specific element errors, such as the dreaded ObsoleteElementError and retry * Raise an error if something has frozen time * Allow within to take a node instead of a selector * Using wait_time_time to change wait time for a block of code * Option for rack-test driver to disable data-method hack ------------------------------------------------------------------- Wed Aug 24 19:40:24 UTC 2011 - fcastelli@novell.com - Resolve multiple choices conflict caused by json_pure. ------------------------------------------------------------------- Wed Aug 24 13:04:33 UTC 2011 - fcastelli@novell.com - update to 1.0.1 - Fixed * Dependend on selenium-webdriver ~>2.0 and fix deprecations [Thomas Walpole, Jo Liss] * Depend on Launch 2.0 [Jeremy Hinegardner] * Rack-Test ignores fill in on fields with maxlength="" - Version 1.0.0 - Added * Added DSL for acceptance tests, inspired by Luismi Cavallé's Steak [Luismi Cavalle and Jonas Nicklas] * Selenium driver automatically waits for AJAX requests to finish [mgiambalvo, Nicklas Ramhöj and Jonas Nicklas] * Support for switching between multiple named sessions [Tristan Dunn] * failure_message can be specified for Selectors [Jonas Nicklas] * RSpec matchers [David Chelimsky and Jonas Nicklas] * Added save_page to save tempfile without opening in browser [Jeff Kreeftmeijer] * Cucumber now switches automatically to a registered driver if the tag matches the name [Jonas Nicklas] * Added Session#text [Jonas Nicklas and Scott Cytacki] * Added Session#html as an alias for Session#body [Jo Liss] * Added Session#current_host method [Jonas Nicklas] * Buttons can now be clicked by title [Javier Martin] * :headers option for RackTest driver to set custom HTTP headers [Jonas Nicklas] - Removed * Culerity and Celerity drivers have been removed and split into separate gems [Gabriel Sobrinho] - Deprecated * `include Capybara` has been deprecated in favour of `include Capybara::DSL` [Jonas Nicklas] - Changed * Rack test driver class has been renamed from Capybara::Driver::RackTest to Capybara::RackTest::Driver [Jonas Nicklas] * Selenium driver class has been renamed from Capybara::Driver::Selenium to Capybara::Selenium::Driver [Jonas Nicklas] * Capybara now prefers visible elements over hidden elements, disable by setting Capybara.prefer_visible_elements = false [Jonas Nicklas and Nicklas Ramhöj] * For RSpec, :type => :request is now supported (and preferred over :acceptance) [Jo Liss] * Selenium driver tried to wait for AJAX requests to finish before proceeding [Jonas Nicklas and Nicklas Ramhöj] * Session no longer uses method missing, uses explicit delegates instead [Jonas Nicklas] - Fixed * The Rack::Test driver now respects maxlength on text fields [Guilherme Carvalho] * Allow for more than one save_and_open_page call per second [Jo Liss] * Automatically convert options to :count, :minimum, :maximum, etc. to integers [Keith Marcum] * Rack::Test driver honours maxlength on input fields [Guilherme Carvalho] * Rack::Test now works as expected with domains and subdomains [Jonas Nicklas] * Session is reset more thoroughly between tests. [Jonas Nicklas] * Raise error when uploading non-existant file [Jonas Nicklas] * Rack reponse body should respond to #each [Piotr Sarnacki] * Deprecation warnings with selenium webdriver 0.2.0 [Aaron Gibraltar] * Selenium Chrome no longer YELLS tagname [Carl Jackson & David W. Frank] * Capybara no longer strips encoding before sending to Rack [Jonas Nicklas] * Improve handling of relative URLs [John Barton] * Readd and fix build_rack_mock_session [Jonas Nicklas, Jon Leighton] ------------------------------------------------------------------- Wed Mar 30 11:45:06 UTC 2011 - dmacvicar@suse.de - update to 0.4.1.2 - See https://github.com/jnicklas/capybara/blob/master/History.txt for changes since 0.3.9 - remove patch for issues#69 as browser can be registered using register_driver now - remove patch for radiobutton bug ------------------------------------------------------------------- Wed Oct 27 17:17:24 CEST 2010 - mc@suse.de - add capybara-0.3.9-radiobutton-fix.dif add :with option to choose ------------------------------------------------------------------- Thu Aug 5 13:38:40 UTC 2010 - dmacvicar@novell.com - update to 0.3.9 - 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 - 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 ------------------------------------------------------------------- Wed Jun 30 11:38:43 UTC 2010 - kkaempf@novell.com - add fix for issue#69: Ability to access @driver variable (http://github.com/jnicklas/capybara/issues#issue/69) ------------------------------------------------------------------- Fri Jun 11 13:49:50 UTC 2010 - mrueckert@suse.de - update to version 0.3.8 - Within_frame method to execute a block of code within a particular iframe (Selenium only!) - 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 - additional changes from version 0.3.7 - RackTest scans for data-method which rails3 uses to change the request method - Don't hang when starting server on Windoze - The driver and session specs are now located inside lib! Driver authors can simply require them. - additional changes from version 0.3.6 - It's now possible to load in external drivers - 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 - additional changes from version 0.3.5 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 - thin is preferred over mongrel and webrick, since it is Ruby 1.9 compatible - click_button and click will find <input type="button">, clicking them does nothing in RackTest - 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 - 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) ------------------------------------------------------------------- Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de - use rubygems_requires macro ------------------------------------------------------------------- Sun Feb 14 16:25:53 UTC 2010 - dmacvicar@novell.com - initial package for 0.3.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor