./www/ruby-capybara, Integration testing tool for rack based web applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.3, Package name: ruby24-capybara-3.0.3, Maintainer: pkgsrc-users

Capybara is an integration testing tool for rack based web applications. It
simulates how a user would interact with a website.


Required to run:
[textproc/ruby-nokogiri] [net/ruby-addressable] [www/ruby-rack-test] [textproc/ruby-xpath] [www/ruby-rack16] [lang/ruby24-base] [mail/ruby-mini_mime]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: faad6468dbcc45cc5097782ee9f45f5c1e1c0d00
RMD160: 1a286a923b3748d98766ab3db7bb2b23f86499ee
Filesize: 270 KB

Version history: (Expand)


CVS history: (Expand)


   2018-05-06 04:24:54 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-capybara: update to 3.0.3

# 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]

# 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

# 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

# Version 3.0.0
Release date: 2018-04-05

### Changed

* Selenium driver only closes extra windows for browsers where that is known to \ 
work (Firefox, Chrome)
* "threadsafe" mode is no longer considered beta

### Fixes

* Multiple file attach_file with Firefox
* Use Puma::Server directly rather than Rack::Handler::Puma so signal handlers \ 
don't prevent test quitting

# Version 3.0.0.rc2
Release date: 2018-03-23

### Changed

* Visibile text whitespace is no longer fully normalized in favor of being more \ 
in line with the WebDriver spec for visible text
* Drivers are expected to close extra windows when resetting the session
* Selenium driver supports Date/Time when filling in date/time/datetime-local inputs
* `current_url` returns the url for the top level browsing context
* `title` returns the title for the top level browsing context

### Added

* `Driver#frame_url` returns the url for the current frame
* `Driver#frame_title` returns the title for the current frame

# Version 3.0.0.rc1
Release date: 2018-03-02

### Added
* Support for libraries wrapping Capybara elements and providing a \ 
`#to_capybara_node` method

### Changed

* `first` now raises ElementNotFound, by default, instead of returning nil when \ 
no matches are found  - Issue #1507
* 'all' now waits for at least one matching element by default.  Pass `wait: \ 
false` if you want the previous
  behavior where an empty result would be returned immediately if no matching \ 
elements exist yet.
* ArgumentError raised if extra parameters passed to selector queries

### Removed

* Ruby < 2.2.2 support
* `Capybara.exact_options` no longer exists. Just use `exact: true` on relevant \ 
actions/finders if necessary.
* All previously deprecated methods removed
* RSpec 2.x support
* selenium-webdriver 2.x support
* Nokogiri < 1.8 support
* `field_labeled` alias for `find_field`
   2018-03-17 15:26:23 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-capybara: update to 2.18.0

#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+

# 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]

# Version 2.16.1
Release date: 2017-11-20

### Fixed

* 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]

# 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

# 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

# Version 2.15.3
Release date: 2017-10-03

### Fixed
*  Visiting '/' when Capybara.app_host has a trailing '/' - Issue #1918 [Thomas \ 
Walpole]

# 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]
   2018-01-01 23:30:04 by Roland Illig | Files touched by this commit (537)
Log message:
Sort PLIST files.

Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
   2017-09-16 21:27:31 by Thomas Klausner | Files touched by this commit (372)
Log message:
Reset maintainer
   2017-09-10 18:14:59 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-capybara to 2.15.1.

# Version 2.15.1

Release date: 2017-08-04

### Fixed

*  `attach_file` with no extension/MIME type when using the `:rack_test` driver
   [Thomas Walpole]

# Version 2.15.0

Release date: 2017-08-04

### Added

*  `sibling` and `ancestor` finders added [Thomas Walpole]
*  Added ability to pass options to registered servers when setting
*  Added basic built-in driver registrations `:selenium_chrome` and
   `:selenium_chrome_headless` [Thomas Walpole]
*  Add `and_then` to Capybara RSpec matchers which behaves like the previous
   `and` compounder. [Thomas Walpole]
*  Compound RSpec expectations with Capybara matchers now run both matchers
   inside a retry loop rather than waiting for one to pass/fail before
   checking the second.  Will make `#or` more performant and confirm both
   conditions are true "simultaneously" for `and`.  [Thomas Walpole] If you
   still want the
*  Default filter values are now included in error descriptions [Thomas Walpole]
*  Add `Session#refresh` [Thomas Walpole]
*  Loosened restrictions on where `Session#within_window` can be called from
   [Thomas Walpole]
*  Switched from `mime-types` dependency to `mini_mime` [Jason Frey]
   2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229)
Log message:
Switch github HOMEPAGEs to https.
   2017-06-21 16:31:02 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-capybara to 2.14.3.

# Version 2.14.3

Release date: 2017-06-15

### Fixed

* Minitest assertions now raise the correct error type - Issue #1879
  [Thomas Walpole]
* Improve flexibility of detecting Chrome headless mode [Thomas Walpole]
   2017-06-10 17:59:37 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-capybara to 2.14.2.

* pkgsrc chagnge: depends on ruby-rack14 instead of ruby-rack16.

# 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