garris / garris/BackstopJS

Readyevent must be triggered twice

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

Description

Hey,
I am using the readyEvent to trigger backstopJS to take the screenshots but I always get TimeoutErrors when i'm not triggering it twice.
```
window.addEventListener('load', () => {
// Backstop must be triggered twice.
console.log('pageLoaded');
setTimeout(() => {
console.log('pageLoaded');
}, 1000);
});
```
I am using the docker image v3.0.38

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.