garris / garris/BackstopJS

npm run reference/test getting stuck sometime.

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

Description

While running the npm run reference/npm run test sometime it gets stuck. I did some debugging and found that in capture/genBitmaps.js on line number 88

this.thenOpen(url, function() {......})

the callback is not getting called even after the page is loaded fully.

I tried setting the stepTimeout and not stopping the process onStepTimeout and continuing it fixed the issue.

But just trying to understand what I am doing wrong and why it is happening. Also would like to know anyone else had the same issue. Are there any other better solution to the problem?

My app is a ReactJS single page app. And I am using slimerjs as the engine.

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.