BackstopJS: backstopjs Error

See: /Users/Beavis/Desktop/Auto_testing/Новая папка 2/test_img/20161026-093054/failed_diff_ATD_Home_0_wrapper_0_orig.png compare | ERROR { size: isDifferent, content: 3.35%, threshold: 1% }: Bremsscheibe ATD_Bremsscheibe_0_wrap_content_0_orig.png See: /Users/Beavis/Desktop/Auto_testing/Новая папка 2/test_img/20161026-093054/failed_diff_ATD_Bremsscheibe_0_wrap_content_0_orig.png compare | OK: Autoteile ATD_Autoteile_0_wrap_content_0_orig.png report | Test completed… report | 2 Passed report | 3 Failed

report | Writing browser report report | Browser reported copied report | Copied configuration to: /Users/Beavis/Desktop/Auto_testing/Новая папка 2/html_report/config.js COMMAND | Executing core for openReport openReport | Opening report. COMMAND | Command openReport sucessfully executed report | *** Mismatch errors found *** report | For a detailed report run backstop openReport

COMMAND | Command report ended with an error COMMAND | Error: Mismatch errors found. at /Users/Beavis/Desktop/Auto_testing/Новая папка 2/node_modules/backstopjs/core/command/report.js:108:17 COMMAND | Command test ended with an error COMMAND | Error: Mismatch errors found. at /Users/Beavis/Desktop/Auto_testing/Новая папка 2/node_modules/backstopjs/core/command/report.js:108:17

npm ERR! Darwin 16.0.0 npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “test” npm ERR! node v4.5.0 npm ERR! npm v2.15.9 npm ERR! code ELIFECYCLE npm ERR! backstopjs@2.0.6 test: node ./cli/index.js test npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the backstopjs@2.0.6 test script ‘node ./cli/index.js test’. npm ERR! This is most likely a problem with the backstopjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./cli/index.js test npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs backstopjs npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm ERR! npm owner ls backstopjs npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/Beavis/Desktop/Auto_testing/Новая папка 2/node_modules/backstopjs/npm-debug.log

About this issue

  • Original URL
  • State: open
  • Created 8 years ago
  • Comments: 17 (12 by maintainers)

Most upvoted comments

@rasenplanscher FWIW: There are two options for handling new changes.

  1. if you run backstop test [--filter=<someScenarioLabel>] for an existing scenario and you want to keep those changes you can immediately run backstop approve. This will promote all your previously-failed screenshot(s) to be the new reference.

  2. if you have not already created a reference for a new scenario you can run backstop reference --filter=<someScenarioLabel>. This will create a reference for that scenario only.

Using these two approaches you can help you update your references incrementally without concern for other unchecked scenario issues.