garris/BackstopJS

Request for Node Module Update to Enable Multiple Screenshot Support (createBitmaps.js, runPuppet.js)

annasesb01 opened this issue · 3 comments

Hi, I've successfully configured the engine scripts to capture multiple screenshots. When I execute backstop reference, it captures multiple screenshots. Then, using backstop test, it compares these images without navigating to the page. This was achieved by modifying createBitmaps.js and runPuppet.js in the node modules to skip the screenshot process and update file names.

Issue: Can these modifications be incorporated into the node modules? Currently, they do not function with GitHub Actions. Attached are the files as JSON files.

Multiple Screenshots:
common-func.js
2024-04-01_18h34_45
get-reference.js
image
compare-screenshots.js
2024-04-01_18h38_30

I am encountering an issue like this in my current project. Hoping this can be an update for Backstop.

Hi @garris / @dgrebb , can these modifications be incorporated into the node modules? Currently, they do not function with GitHub Actions. I hope this is possible.

@annasesb01 can you help me understand the problem you are solving? And how the solution changes the developer experience?