garris / garris/BackstopJS

selector body:noclip error

Open
#180 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

v1.2.1

In my scenario. I am using the body:noclip to invoke a full screen capture instead of casper.captureSelector(), thus below is my setting.
...
"selectors": [
"body:noclip"
],
...
npm run test > fails at 'compare' as it could not find the 0_bodynoclip_0_phone.png as there is no such file in my backstop_data. Is my scenario setting for body:noclip correct in order to capture a full screen? How do I resolve this?

Error msg:

Server launched in background with PID: 31763
Listening on port: 3001
NOTE: Sever will auto-shutdown in 15 mins.

[14:31:42] Finished 'start' after 1.01 s
[14:31:42] Starting 'report'...
[14:31:42] Finished 'report' after 2.03 ms
[14:31:43] Starting 'compare'...
events.js:141
throw er; // Unhandled 'error' event
^

Error: ENOENT: no such file or directory, open '/Applications/backstopjs/backstop_data/bitmaps_reference/0_0_bodynoclip_0_phone.png'
at Error (native)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.