Skip to content

Instantly share code, notes, and snippets.

@garris
Last active January 26, 2018 17:21
Show Gist options
  • Save garris/8ade3fe3e6b2eef5e3ab5d8f59d6051c to your computer and use it in GitHub Desktop.
Save garris/8ade3fe3e6b2eef5e3ab5d8f59d6051c to your computer and use it in GitHub Desktop.
Backstop error rel=#359
> cd test/configs/; node ../../cli/index.js test --config=backstop_features
BackstopJS v3.0.38
Loading config: /Users/gshipon/Development/BackstopJS/test/configs/backstop_features
COMMAND | Executing core for `test`
createBitmaps | Selected 18 of 18 scenarios.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9222,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > Simple
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9223,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > Simple
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9224,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > delay
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9225,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > delay
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9226,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > readyEvent
9224 Chrome v64 detected.
9225 Chrome v64 detected.
9222 Chrome v64 detected.
9223 Chrome v64 detected.
9226 Chrome v64 detected.
9224 INFO > BackstopTools have been installed.
9225 INFO > BackstopTools have been installed.
9223 INFO > BackstopTools have been installed.
9222 INFO > BackstopTools have been installed.
9226 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9227,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > readyEvent
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9228,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > readySelector
9227 Chrome v64 detected.
9224 LOG > _the_lemur_is_ready_to_see_you
9225 LOG > _the_lemur_is_ready_to_see_you
9226 LOG > _the_lemur_is_ready_to_see_you
9227 INFO > BackstopTools have been installed.
9228 Chrome v64 detected.
9226 INFO > readyEvent ok
9228 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9229,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > readySelector
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9230,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > noDelay
9227 LOG > _the_lemur_is_ready_to_see_you
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9231,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > noDelay
9228 LOG > _the_lemur_is_ready_to_see_you
9227 INFO > readyEvent ok
9229 Chrome v64 detected.
9230 Chrome v64 detected.
9229 INFO > BackstopTools have been installed.
9230 INFO > BackstopTools have been installed.
9231 Chrome v64 detected.
9231 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9232,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > expanded
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9233,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > expanded
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9234,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > notExpanded
9229 LOG > _the_lemur_is_ready_to_see_you
9231 LOG > _the_lemur_is_ready_to_see_you
9232 Chrome v64 detected.
9233 Chrome v64 detected.
9234 Chrome v64 detected.
9232 INFO > BackstopTools have been installed.
9233 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9235,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > notExpanded
9234 INFO > BackstopTools have been installed.
9235 Chrome v64 detected.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9236,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > magicSelectors
9235 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9237,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > magicSelectors
9236 Chrome v64 detected.
9236 INFO > BackstopTools have been installed.
9237 Chrome v64 detected.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9238,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > hideSelectors
9237 INFO > BackstopTools have been installed.
9238 Chrome v64 detected.
9238 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9239,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > hideSelectors
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9240,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > removeSelectors
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9241,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > removeSelectors
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9242,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > notFound
9239 Chrome v64 detected.
9240 Chrome v64 detected.
9241 Chrome v64 detected.
9242 Chrome v64 detected.
9240 INFO > BackstopTools have been installed.
9239 INFO > BackstopTools have been installed.
9241 INFO > BackstopTools have been installed.
9242 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9243,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > notFound
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9244,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > notVisible
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9245,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > notVisible
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9246,"waitTimeout":30000,"visible":false}
Cookie state restored with: [
{
"path": "/",
"name": "theLemurHasLanded",
"value": "true",
"expirationDate": 1798790400,
"hostOnly": false,
"httpOnly": false,
"secure": false,
"session": false,
"sameSite": "no_restriction",
"url": "https://.garris.github.io"
}
]
SCENARIO > cookies
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9247,"waitTimeout":30000,"visible":false}
Cookie state restored with: [
{
"path": "/",
"name": "theLemurHasLanded",
"value": "true",
"expirationDate": 1798790400,
"hostOnly": false,
"httpOnly": false,
"secure": false,
"session": false,
"sameSite": "no_restriction",
"url": "https://.garris.github.io"
}
]
SCENARIO > cookies
9244 Chrome v64 detected.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9248,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > customReadyScript
custom onReady script has run for: customReadyScript phone
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9249,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > customReadyScript
custom onReady script has run for: customReadyScript tablet
9245 Chrome v64 detected.
9248 Chrome v64 detected.
9247 Chrome v64 detected.
9249 Chrome v64 detected.
9244 INFO > BackstopTools have been installed.
9247 INFO > BackstopTools have been installed.
9248 INFO > BackstopTools have been installed.
9245 INFO > BackstopTools have been installed.
9249 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9250,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > redirect
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9251,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > redirect
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9252,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > hover
9250 Chrome v64 detected.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9253,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > hover
9251 Chrome v64 detected.
9250 INFO > BackstopTools have been installed.
9252 Chrome v64 detected.
9250 INFO > BackstopTools have been installed.
9252 LOG > lemur behavior is modified
9253 Chrome v64 detected.
9251 INFO > BackstopTools have been installed.
9252 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9254,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > click
9253 LOG > lemur behavior is modified
9251 INFO > BackstopTools have been installed.
9253 INFO > BackstopTools have been installed.
9254 Chrome v64 detected.
9254 LOG > lemur behavior is modified
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9255,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > click
9254 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=320,480"],"port":9256,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > misMatchThreshold_requireSameDimensions
9255 Chrome v64 detected.
9255 LOG > lemur behavior is modified
9256 Chrome v64 detected.
9255 INFO > BackstopTools have been installed.
9256 INFO > BackstopTools have been installed.
Starting Chromy: {"chromeFlags":["--disable-gpu","--force-device-scale-factor=1","--disable-infobars=true","--window-size=1024,768"],"port":9257,"waitTimeout":30000,"visible":false}
Cookie state restored with: []
SCENARIO > misMatchThreshold_requireSameDimensions
9257 Chrome v64 detected.
9257 INFO > BackstopTools have been installed.
9254 LOG > _the_lemur_is_ready_to_see_you
9255 LOG > _the_lemur_is_ready_to_see_you
COMMAND | Executing core for `report`
compare | Chromy error: Error. See scenario – notFound (tablet)
compare | Chromy error: Error. See scenario – cookies (phone)
compare | OK: expanded chrome_backstop_features_expanded_2_p__n2_0_phone.png
compare | OK: Simple chrome_backstop_features_Simple_0_document_0_phone.png
compare | OK: Simple chrome_backstop_features_Simple_0_document_1_tablet.png
compare | OK: readySelector chrome_backstop_features_readySelector_0_moneyshot_0_phone.png
compare | OK: expanded chrome_backstop_features_expanded_6_p__n6_0_phone.png
compare | OK: readyEvent chrome_backstop_features_readyEvent_0_moneyshot_1_tablet.png
compare | OK: expanded chrome_backstop_features_expanded_1_p__n1_0_phone.png
compare | OK: expanded chrome_backstop_features_expanded_0_p_0_phone.png
compare | OK: delay chrome_backstop_features_delay_0_moneyshot_0_phone.png
compare | OK: readySelector chrome_backstop_features_readySelector_0_moneyshot_1_tablet.png
compare | OK: readyEvent chrome_backstop_features_readyEvent_0_moneyshot_0_phone.png
compare | OK: expanded chrome_backstop_features_expanded_4_p__n4_0_phone.png
compare | OK: expanded chrome_backstop_features_expanded_0_p_1_tablet.png
compare | OK: noDelay chrome_backstop_features_noDelay_0_moneyshot_0_phone.png
compare | OK: delay chrome_backstop_features_delay_0_moneyshot_1_tablet.png
compare | OK: expanded chrome_backstop_features_expanded_5_p__n5_0_phone.png
compare | OK: expanded chrome_backstop_features_expanded_3_p__n3_0_phone.png
compare | OK: expanded chrome_backstop_features_expanded_3_p__n3_1_tablet.png
compare | OK: expanded chrome_backstop_features_expanded_4_p__n4_1_tablet.png
compare | OK: expanded chrome_backstop_features_expanded_5_p__n5_1_tablet.png
compare | OK: expanded chrome_backstop_features_expanded_2_p__n2_1_tablet.png
compare | OK: notExpanded chrome_backstop_features_notExpanded_0_p_1_tablet.png
compare | OK: notExpanded chrome_backstop_features_notExpanded_0_p_0_phone.png
compare | OK: magicSelectors chrome_backstop_features_magicSelectors_0_document_1_tablet.png
compare | OK: expanded chrome_backstop_features_expanded_6_p__n6_1_tablet.png
compare | OK: hideSelectors chrome_backstop_features_hideSelectors_0_document_1_tablet.png
compare | OK: magicSelectors chrome_backstop_features_magicSelectors_0_document_0_phone.png
compare | OK: notFound chrome_backstop_features_notFound_0_monkey_0_phone.png
compare | OK: redirect chrome_backstop_features_redirect_0_moneyshot_1_tablet.png
compare | OK: magicSelectors chrome_backstop_features_magicSelectors_1_viewport_1_tablet.png
compare | OK: magicSelectors chrome_backstop_features_magicSelectors_1_viewport_0_phone.png
compare | OK: customReadyScript chrome_backstop_features_customReadyScript_0_moneyshot_0_phone.png
compare | OK: hideSelectors chrome_backstop_features_hideSelectors_0_document_0_phone.png
compare | OK: removeSelectors chrome_backstop_features_removeSelectors_0_document_0_phone.png
compare | OK: removeSelectors chrome_backstop_features_removeSelectors_0_document_1_tablet.png
compare | OK: notVisible chrome_backstop_features_notVisible_0_noShow_0_phone.png
compare | OK: customReadyScript chrome_backstop_features_customReadyScript_0_moneyshot_1_tablet.png
compare | OK: redirect chrome_backstop_features_redirect_0_moneyshot_0_phone.png
compare | OK: cookies chrome_backstop_features_cookies_0_moneyshot_1_tablet.png
compare | OK: hover chrome_backstop_features_hover_0_moneyshot_0_phone.png
compare | OK: click chrome_backstop_features_click_0_moneyshot_0_phone.png
compare | OK: notVisible chrome_backstop_features_notVisible_0_noShow_1_tablet.png
compare | OK: click chrome_backstop_features_click_0_moneyshot_1_tablet.png
compare | OK: expanded chrome_backstop_features_expanded_1_p__n1_1_tablet.png
compare | OK: misMatchThreshold_requireSameDimensions chrome_backstop_features_misMatchThreshold_requireSameDimensions_0_moneyshot_0_phone.png
See: /Users/gshipon/Development/BackstopJS/test/configs/backstop_data/bitmaps_test/20180125-133551/failed_diff_chrome_backstop_features_noDelay_0_moneyshot_1_tablet.png
compare | OK: hover chrome_backstop_features_hover_0_moneyshot_1_tablet.png
compare | OK: misMatchThreshold_requireSameDimensions chrome_backstop_features_misMatchThreshold_requireSameDimensions_0_moneyshot_1_tablet.png
compare | ERROR { requireSameDimensions: false, size: isDifferent, content: 11.36%, threshold: 0.1% }: noDelay chrome_backstop_features_noDelay_0_moneyshot_1_tablet.png
report | Test completed...
report | 47 Passed
report | 3 Failed
report | Writing browser report
report | Browser reported copied
report | Copied configuration to: /Users/gshipon/Development/BackstopJS/test/configs/backstop_data/html_report/config.js
COMMAND | Executing core for `openReport`
openReport | Opening report.
report | *** Mismatch errors found ***
COMMAND | Command `report` ended with an error after [3.473s]
COMMAND | Error: Mismatch errors found.
at /Users/gshipon/Development/BackstopJS/core/command/report.js:113:17
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
COMMAND | Command `test` ended with an error after [66.026s]
COMMAND | Error: Mismatch errors found.
at /Users/gshipon/Development/BackstopJS/core/command/report.js:113:17
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
^Cnpm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] smoke-test: `cd test/configs/; node ../../cli/index.js test --config=backstop_features`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] smoke-test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/gshipon/.npm/_logs/2018-01-25T21_37_07_966Z-debug.log
~/Development/BackstopJS @gshipon-mn2(gshipon)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment