2 November 2017 - 1.0.17 -> 1.0.18
- RSpec 3.3 support
- Add support for selenium_chrome and selenium_chrome_headless
- Less dependencies for S3 uploads
Special thanks to the fine contribution from Matt Bricston
17 July 2017 - 1.0.16 -> 1.0.17
12 July 2017 - 1.0.15 -> 1.0.16
12 July 2017 - 1.0.14 -> 1.0.15
- SVG badges added
- Ensure the reporter module is not loaded multiple times
- S3 object config option
- Saver can use injected page
- After* callbacks
15 Sep 2016 - 1.0.13 -> 1.0.14
- CI stable again - dropped CI support for older versions of Ruby and JRuby. It is just too painful and there is no evidence that our users need this or that Capybara Screenshot is indeed broken. It is better to have a reliable build system so that PRs can get merged in reliably and easily.
- Fixed an inconsistency in the use of
save_and_open_page_path
- Improved debugging of Aruba tests so that contributors can easily understand why their builds break
- Path fixes thanks to Ryan McGarvey
23 May 2016 - 1.0.12 -> 1.0.13
- Fixes mkmf bug 162 and mkmf bug 174
- Fix for
Capybara.save_path
method existence assumption
29 March 2016 - 1.0.11 -> 1.0.12
- Aruba upgrade - passing CI
- imgcat support
- Fix for capaybara root when Rails not defined
- Fix using_session_with_screenshot
- Skip screenshot on skipped test
- Don't output screenshot paths if not saved
22 July 2015 - 1.0.10 -> 1.0.11
Thanks to Kai Schlichting
29 June 2015 - 1.0.9 -> 1.0.10
Thanks to Systho
Thanks to Jan Lelis
- Less aggressive pruning
- Fix capybara-webkit bug, see mattheworiordan#119
- Fix Travis CI builds in Ruby < 2.1 and added Ruby 2.2 support
- Removed dependency on the colored gem
Thanks to François Bernier
- Added support for appending a random string to the filename
Thanks to Brad Wedell
- Added support for Poltergeist Billy
- Don't initialize a new Capybara::Session in after hook
Thanks to Neodude and Dominik Masur
- Added ability to prune screenshots automatically, see mattheworiordan#100
Thanks to Anton Kolomiychuk for his contribution.
- Improved documentation to cover RSpec 3's new approach to using
rails_helper
in place ofspec_helper
for Rails tests - Updated documentation to use Ruby formatting in language blocks
- Removed need to manually
require 'capybara-screenshot'
for RSpec
- Hot fix for RSpec version issue that assumed RSpec base library was always available, now uses
RSpec::Core::VERSION
- Improve Travis CI performance and stability
Because of the broad test coverage now across RSpec, Cucumber, Spinach, Minitest and TestUnit using Aruba, I feel that this gem is ready for its first major release. New features and refactoring can now reliably be done without the fear of regressions.
The major changes in this 1.0 release are:
- Acceptance test coverage for RSpec, Cucumber, Spinach, Minitest and TestUnit
- Travis CI test coverage across a matrix of old and new versions of the aforementioned testing frameworks, see https://github.com/mattheworiordan/capybara-screenshot/blob/master/.travis.yml
- Support for RSpec 3 using the custom formatters
- Support for sessions using
using_session
, see mattheworiordan#91 for more info - Support for RSpec DocumentationFormatter
- Considerable refactoring of the test suite
Special thanks goes to Andrew Brown who has contributed a huge amount of the code that has helped enable this Gem to have its stable major version release.
Replaced colorize gem with colored due to license issue, see mattheworiordan#93.
As a result of recent merges and insufficient test coverage, it seems that for test suites other than RSpec the HTML or Image screenshot path was no longer being outputted in the test results. This has now been fixed, and screenshot output format for RSpec and all other test suites has been standardised.
- Added reporters to improve screenshot info in RSpec output
- Added support for Webkit options such as width and height
Thanks to https://github.com/multiplegeorges and https://github.com/noniq
- Added support Spinach, thanks to https://github.com/suchitpuri
- Added support for RSpec 3 and cleaned up the logging so there is less noise within the test results when a driver does not support a particular format.
- Updated Travis to test against Ruby 2.0 and Ruby 2.1
Thanks to https://github.com/noniq
Bug fix for Minitest 5, thanks to https://github.com/cschramm
Added support for Test Unit, fixed RSpec deprecation warnings and fixed a dependency issue.
Thanks to:
- https://github.com/budnik
- https://github.com/jkraemer
- https://github.com/mariovisic
https://github.com/stevenwilkin contributed code to display a warning for Mechanize users.
Dropped Ruby 1.8 support for this Gem because of conflicts with Nokogiri requiring a later version of Ruby. Instead, there is a new branch https://github.com/mattheworiordan/capybara-screenshot/tree/ruby-1.8-support which can be used if requiring backwards compatabiltiy.
Improved documentation, Ruby 1.8.7 support by not allowing Capybara 2.1 to be used, improved Sinatra support. RSpec screenshot fix to only screenshot when applicable: mattheworiordan#44
Support for Terminus, thanks to https://github.com/jamesotron
Previos version bump broke Ruby 1.8.7 support, so Travis CI build added to this Gem and Ruby 1.8.7 support along with JRuby support added.
After some consideration, and continued problems with load order of capybara-screenshot in relation to other required gems, the commits from @adzap in the pull request mattheworiordan#29 have been incorporated. Moving forwards, for every testing framework you use, you will be required to add an explicit require.
Merged pull request mattheworiordan#14 to limit when capybara-screenshot is fired for RSpec
Merged pull request from https://github.com/hlascelles to support Padrino
Removed unnecessary and annoying warning that a screen shot cannot be taken. This message was being shown when RSpec tests were run that did not even invoke Capybara
Updated documentation to reflect support for more frameworks, mattheworiordan#9
Removed Cucumber dependency mattheworiordan#7 Allowed PNG save path to be configured using capybara.save_and_open_page_path
More robust handling of Minitest for users who have it installed as a dependency mattheworiordan#5
Fixed bug related to teardown hook not being available in Minitest for some reason (possibly version issues). mattheworiordan#5
Added support for:
- More platforms (Poltergeist)
- Removed Rails dependencies (bug)
- Added screenshot capability for Selenium
- Added support for embed for HTML reports
Thanks to https://github.com/rb2k for 2 great commits
Added support for Minitest using teardown hooks
Added support for RSpec by adding a RSpec configuration after hook and checking if Capybara is being used.
Ensured that tests run other than Cucumber won't fail. Prior to this Cucumber was required.