depfu / example-ruby

✨ See our pull requests in action
4 stars 5 forks source link

Upgrade capybara: 2.18.0 → 3.29.0 (major) #147

Closed depfu[bot] closed 5 years ago

depfu[bot] commented 5 years ago

👉 This PR is queued up to get rebased by Depfu

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ capybara (2.18.0 → 3.29.0) · Repo · Changelog

Release Notes

3.29.0 (from changelog)

Release date: Unreleased

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

3.28.0 (from changelog)

Release date: 2019-08-03

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

3.27.0 (from changelog)

Release date: 2019-07-28

Added

  • Allow to use chromedriver/geckodriver native is_element_displayed endpoint via Selenium driver native_displayed option for performance reasons. Disabled by default due to endpoints currently not handling <details> element descendants visibility correctly.

Fixed

  • Ignore negative lookahead/lookbehind regex when performing initial XPath text matching
  • Reloading of elements found via ancestor and sibling
  • Only default puma settings to queue_requests: false when using SSL
  • Visibility of descendants of <details> elements is correctly determined when using rack_test and the selenium driver with Capybara optimized atoms
  • local/session storage clearance in Chrome when clearing only one of them - Issue #2233

3.26.0 (from changelog)

Release date: 2019-07-15

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

3.25.0 (from changelog)

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

3.24.0 (from changelog)

Release date: 2019-06-13

Added

  • Log access when using the Selenium driver with Chrome 75 in W3C mode has been reenabled.

Changed

  • Selenium driver now selects all current content and then sends keys rather than clearing field by JS and then sending keys when setting values to text inputs in order to more closely simulate user behavior

Fixed

  • Relative paths passed to attach_file will be assumed to be relative to the current working directory when using the Selenium driver

3.23.0 (from changelog)

Release date: 2019-06-10

Added

  • Improved error message when using Chrome in W3C mode and attempting to access logs
  • Support driver specific options for Element#drag_to
  • Support setting <input type="color"> elements with the selenium driver

Fixed

  • Tightened conditions when in expression text option matching will be used
  • Improved Selenium drivers HTML5 drag and drop emulation compatibility with SortableJS library (and others)

3.22.0 (from changelog)

Release date: 2019-05-29

Added

  • ancestor/sibling assertions and matchers added
  • Documentation Updates and Fixes - Many thanks again to Masafumi Koba! [Masafumi Koba]
  • Added :with alias for :option filter on :checkbox and :radio_button selectors

Changed

  • Selenium driver with Chrome >= 73 now resets cookies and local/session storage after navigating to 'about:blank' when possible to minimize potential race condition

3.21.0 (from changelog)

Release date: 2019-05-24

Added

  • Element#drop - Chrome and Firefox, via the selenium driver, support dropping files/data on elements
  • Default CSS used for attach_file make_visible: true now includes auto for height and width to handle more ways of hiding the file input element
  • Documentation Updates and Fixes - Many thanks to Masafumi Koba! [Masafumi Koba]

Changed

  • Deprecate support for CSS locator being a Symbol

3.20.2 (from changelog)

Release date: 2019-05-19

Fixed

  • Move uglifier from runtime to development dependency [miyucy]

Not all release notes shown. View the full release notes

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ addressable (indirect, 2.5.2 → 2.7.0) · Repo · Changelog

Release Notes

2.7.0 (from changelog)

  • added :compacted flag to normalized_query
  • heuristic_parse handles mailto: more intuitively
  • refactored validation to use a prepended module
  • dropped explicit support for JRuby 9.0.5.0
  • compatibility w/ public_suffix 4.x
  • performance improvements

2.6.0 (from changelog)

  • added tld= method to allow assignment to the public suffix
  • most heuristic_parse patterns are now case-insensitive
  • heuristic_parse handles more file:// URI variations
  • fixes bug in heuristic_parse when uri starts with digit
  • fixes bug in request_uri= with query strings
  • fixes template issues with nil and ? operator
  • frozen_string_literal pragmas added
  • minor performance improvements in regexps
  • fixes to eliminate warnings

Does any of this look wrong? Please let us know.

↗️ mini_mime (indirect, 1.0.0 → 1.0.2) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 25 commits:

↗️ nokogiri (indirect, 1.10.1 → 1.10.4) · Repo · Changelog

Release Notes

1.10.4

1.10.4 / 2019-08-11

Security

Address CVE-2019-5477 (#1915)

A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess by Ruby's Kernel.open method. Processes are vulnerable only if the undocumented method Nokogiri::CSS::Tokenizer#load_file is being passed untrusted user input.

This vulnerability appears in code generated by the Rexical gem versions v1.0.6 and earlier. Rexical is used by Nokogiri to generate lexical scanner code for parsing CSS queries. The underlying vulnerability was addressed in Rexical v1.0.7 and Nokogiri upgraded to this version of Rexical in Nokogiri v1.10.4.

This CVE's public notice is #1915

1.10.3

1.10.3 / 2019-04-22

Security Notes

[MRI] Pulled in upstream patch from libxslt that addresses CVE-2019-11068. Full details are available in #1892. Note that this patch is not yet (as of 2019-04-22) in an upstream release of libxslt.

1.10.2

1.10.2 / 2019-03-24

Security

  • [MRI] Remove support from vendored libxml2 for future script macros. [#1871]
  • [MRI] Remove support from vendored libxml2 for server-side includes within attributes. [#1877]

Bug fixes

  • [JRuby] Fix node ownership in duplicated documents. [#1060]
  • [JRuby] Rethrow exceptions caught by Java SAX handler. [#1847, #1872] (Thanks, @adjam!)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ public_suffix (indirect, 3.0.2 → 4.0.1) · Repo · Changelog

Release Notes

4.0.1 (from changelog)

  • CHANGED: Updated definitions.

4.0.0 (from changelog)

  • CHANGED: Minimum Ruby version is 2.3

3.1.1 (from changelog)

  • CHANGED: Updated definitions.
  • CHANGED: Rolled back support for Ruby 2.3 (GH-161, GH-162)

IMPORTANT: 3.x is the latest version compatible with Ruby 2.1 and Ruby 2.2.

3.1.0 (from changelog)

  • CHANGED: Updated definitions.
  • CHANGED: Minimum Ruby version is 2.3
  • CHANGED: Upgraded to Bundler 2.x

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 27 commits:

↗️ rack (indirect, 2.0.6 → 2.0.7) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 4 commits:

↗️ xpath (indirect, 3.0.0 → 3.2.0) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

🆕 regexp_parser (added, 1.6.0)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)