Comments (1)
Answer is:
you need to write
require 'capybara/screenshot/diff'
not
require 'capybara-screenshot-diff'
And
include Capybara::Screenshot::Diff::TestMethods
from capybara-screenshot-diff.
Related Issues (20)
- Feature: allow to use ruby-vips or imagemagick for performance HOT 3
- Auto-switch driver HOT 2
- Load failure if vips is not installed HOT 3
- Silently fails if screenshot is the wrong size HOT 1
- WIP: Adds integration tests for JavaScript Code HOT 1
- Compare without annotations for quick equal HOT 3
- Remove dependency on Rails to run tests HOT 2
- Feature Request: I want to easily see the areas of the screenshot that are different HOT 6
- Allow to skip area or crop by css selectors HOT 1
- assert_image_not changed with rspec usage HOT 9
- Error implementing lib HOT 3
- Is it possible to use gem with Cucumber + Capybara + RSpec? HOT 9
- Tolerance erroring out HOT 2
- Crop is wrong by a factor of 2 HOT 14
- Publish new releases by GitHub Actions
- wrong number of arguments (given 7, expected 6) for decode_png_image_pass HOT 1
- Source line for screenshot call is missing in the error report.
- Is it possible for capybara-screenshot-diff NOT to try to require minitest? HOT 1
- skip_area with CSS selector not covering full area with vips driver HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capybara-screenshot-diff.