garris / garris/BackstopJS

Not all references gathered

Open
#652 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

Hi, thank you all for your great work with BackstopJS, first of all.
I am using v3.0.38 with npm v5.6.0 and nodejs v8.9.4. I am using the global version of backstopJS, not a version installed locally inside my project.
It is all working except for a little boring detail.
When BackstopJS is gathering references (with backstop reference command) it is skipping first element in viewport's array, so it's creating correctly only references for viewport element with index 1, 2, 3 but not with index 0. Moreover, if I try and add twice first element, second one is correctly gathered, so it seems it is really skipping first element inside the array.

![Four elements in viewport array, but only three created.](https://user-images.githubusercontent.com/583774/35743432-e51e9aa0-083d-11e8-9b14-48bf5a9b9755.png)

![No file created for index 0](https://user-images.githubusercontent.com/583774/35743431-e4fde2c4-083d-11e8-8954-076f4532a949.png)

I searched other posts for similar issues but could not find any. Is there some fix or workaround?

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.