BackstopJS Report doesn't fire up after more than 999 tests
See original GitHub issueHey @garris,
At 1000 tests and more, the BackstopJS Report doesn’t work anymore. I tested it locally at 999 it works and at 1000 it fails.
I don’t have any errors.
This what I get in the CMD :
CasperJS: Ready event received.
CasperJS: Current location is http://localhost:4000/documentation/3.3/composantes.html?backstop=tru
e#graphiques
CasperJS: Capturing screenshots for desktop (1280x1014)
CasperJS: Ready event received.
CasperJS: Current location is http://localhost:4000/documentation/3.3/composantes.html?backstop=tru
e&touch=true#graphiques
CasperJS: Capturing screenshots for phone (320x480)
CasperJS: Ready event received.
CasperJS: Current location is http://localhost:4000/documentation/3.3/composantes.html?backstop=tru
e&touch=true#graphiques
CasperJS: Capturing screenshots for tablet_v (768x1024)
CasperJS: Ready event received.
CasperJS: Current location is http://localhost:4000/documentation/3.3/composantes.html?backstop=tru
e&touch=true#graphiques
CasperJS: Capturing screenshots for tablet_h (1024x768)
CasperJS: Ready event received.
CasperJS: Current location is http://localhost:4000/documentation/3.3/composantes.html?backstop=tru
e&touch=true#graphiques
CasperJS: Capturing screenshots for desktop (1280x1014)
CasperJS: Comparison config file updated.
Bitmap file generation completed.
COMMAND | Executing core for `report`
C:\Projets\N3\fwd-webapp-overlay-skin>
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
backstopjs - npm
BackstopJS automates visual regression testing of your responsive web UI by comparing DOM screenshots over time. Features: Simulate user ...
Read more >kanopi/ci-tools - CircleCI Developer Hub
Simple Configuration for running backstopjs visual regression testing. Using a Pantheon Multi-dev url and Posting URL report back to Github.
Read more >Overview of BackstopJS, a tool to test a web application's UI
In this article, we'll talk about the BackstopJS CSS regression testing framework, and how we integrated it in our business application to ...
Read more >Visual Regression Testing with BackstopJS - YouTube
Speaker: David NeedhamHow do you tell if a change you made to your website has unintended side effects? Security updates should rarely ...
Read more >Split system.module.css and system.theme.css files ... - Drupal
Figure out why automated tests fail if there are more than 23 css files in base css ... I'm going to see if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@stephenbe I just wanted to follow up. I attempted to throttle concurrent comparisons but the memory leak persisted. I committed this code here https://github.com/garris/BackstopJS/commit/adc2ae2373bdeb99fea6bb0f678da8c044127330 even though this approach did not immediately solve the issue. What I believe is that each
resemble
object is generating and caching a comparison image – holding that in RAM while all comparisons are running. I think the next thing to try is to refactor this flow such that references to eachresemble
object are completely cleaned up once a write tofs
is complete. I am hoping that would make backstop MUCH more RAM efficient. The good news is that once map is complete all instances are cleaned up and memory is completely returned. So I am confident that this issue is addressable. Will just take a little effort to get the sequencing right.Would appreciate any help here from anyone who is interested. Otherwise I will try to get to this in January.
Ok. I was able to run the app. After bitmaps were generated the comparison process ran and grew steadily to 5+Gig. Still investigating.