No report generated, no debug output, no error output, not sure what to do
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
I'm having a really hard time getting a vizreg report to run, using a setup that's working just fine elsewhere.
The symptoms are described in title:
- "reference" completes successfully with no error output
- "test" completes successfully with no error output
- "report" generates lots of "compare ERROR" results, but no command error output
- "debug" option is true, but there is no debug output
- index does not get created
docker image is `backstopjs/backstopjs:latest`
I have 72 scenarios, using this config:
```
let scenariosToTest = [];
for (let [key, value] of Object.entries(pathsToTest)) {
scenariosToTest.push({
label: key,
url: multidevURL + value,
referenceUrl: devURL + value,
hideSelectors: [],
removeSelectors: [".mc-banner", ".mc-modal"],
selectorExpansion: true,
selectors: ["document"],
readyEvent: null,
delay: 1500,
misMatchThreshold: 0.1,
});
}
module.exports = {
id: "test",
viewports: [
{
name: "phone",
width: 320,
height: 480,
},
{
name: "tablet",
width: 1024,
height: 768,
},
{
name: "laptop",
width: 1280,
height: 850,
},
{
name: "desktop",
width: 1920,
height: 1080,
},
],
scenarios: scenariosToTest,
paths: {
bitmaps_reference: "backstop_data/bitmaps_reference",
bitmaps_test: "backstop_data/bitmaps_test",
html_report: "backstop_data/html_report",
ci_report: "backstop_data/ci_report",
},
report: ["browser", "CI"],
engine: "puppeteer",
engineOptions: {
args: ["--no-sandbox", "--disable-accelerated-2d-canvas", "--disable-gpu"],
},
asyncCaptureLimit: 5,
asyncCompareLimit: 50,
debug: true,
debugWindow: false,
```
Contributor guide
Assessment
This issue has not been assessed yet.