Percy Capybara Versions Save

Visual testing for Capybara with Percy.

v5.0.0

2 years ago

💥 Breaking Changes

  • ✨ Use @percy/cli (#160) @Robdel12

See the readme for updated install and usage instructions.

Upgrading from v4

If you're upgrading from v4, make sure you read the upgrade guides: https://github.com/percy/percy-capybara#upgrading

v5.0.0.pre.5

2 years ago

🐛 Bug fixes

  • 🐛 Pass snapshot options (#170) @Robdel12

v5.0.0.pre.4

2 years ago

🐛 Bug Fixes

  • 🐛 Gather current_session from Capybara rather than importing the DSL module (#168) @Robdel12

📝 Docs update

  • 📝 Update README migration instructions with API change (#166) @Robdel12

v5.0.0.pre.3

3 years ago

🐛 Bug Fixes

  • 🐛 require version in percy/capybara (#165) @Robdel12

v5.0.0.pre.2

3 years ago

🐛 Bug Fixes

  • 🐛 Use require_relative for ::VERSION (#164) @Robdel12

v5.0.0.pre.1

3 years ago

✨ Enhancements

  • ✨ Use @percy/cli (#160) @Robdel12

v5.0.0.pre.0

3 years ago

✨ Enhancements

  • ✨ Use @percy/cli (#160) @Robdel12

v4.3.3

3 years ago

What changed?

  • 🐛 6343cd6 - fix: Only wrap evaluate_script calls in IIFE (#153)

v4.3.2

3 years ago

What changed?

  • Use evaluate_script method if it's available, otherwise use execute_script as a fall back (#152)

v4.1.0

4 years ago

What changed?

You can now pass per-snapshot CSS that will only render in the Percy rendering env:

Percy.snapshot(page, { name: 'Home page', percy_css: "body { background-color: purple }" })

This requires @percy/agent v0.13.0+ to work