garris / garris/BackstopJS

Readyevent

Open
#520 16 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

Is ready event not working with the latest backstopjs version on chromy ?

Here is my backstop.json file:

[backstop.json.txt](https://github.com/garris/BackstopJS/files/1254518/backstop.json.txt)

```
{
"id": "test",
"viewports": [
{
"label": "phone",
"width": 320,
"height": 480
}
],
"scenarios": [
{
"label": "Demo Page",
"url": "https://demos.artbees.net/jupiter5/?testing=1",
"hideSelectors": [],
"removeSelectors": [],
"selectorExpansion": true,
"selectors": [],
"readyEvent": "ready for rock",
"delay": 1000,
"misMatchThreshold" : 0.1,
"requireSameDimensions" : true,
"onBeforeScript": "onBefore.js",
"onReadyScript": "onReady.js"
}
],
"paths": {
"bitmaps_reference": "backstop_data/bitmaps_reference",
"bitmaps_test": "backstop_data/bitmaps_test",
"engine_scripts": "backstop_data/engine_scripts",
"html_report": "backstop_data/html_report",
"ci_report": "backstop_data/ci_report"
},
"engineFlags": [],
"engine": "chrome",
"report": ["browser"],
"debug": false,
"debugWindow": false
}
```

And this is what I get from console:

![image](https://user-images.githubusercontent.com/6233650/29751765-b437eaf0-8b5a-11e7-800c-bac43af9af3a.png)

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.