• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

trotzig / diffux / 377 / 1
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2014 01:10AM UTC
Files 32
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Apr 2014 12:55AM UTC coverage: 98.708%. Remained the same
2.0.0

push

travis-ci

trotzig
Add debug logs to take-snapshot.js

I've been trying to debug why (in some cases), images aren't fully
loaded. @lencioni saw this while snapshotting his twitter profile,
https://twitter.com/lencioni, and I managed to reproduce. To better
understand what's going on, I've added some debug logging that you can
turn on when manually taking a snapshot.

By default, the logs don't show up. But if you pass in `debug: true` in
the json argument, they are logged to standard out. Here's an example:

phantomjs ./script/take-snapshot.js
"{\"address\":\"https://twitter.com/lencioni\",
\"viewportSize\":{\"width\":1000, \"height\":1000},
\"outfile\":\"/tmp/screenshot.png\", \"debug\": true}"

After doing this, I spent a lot of time trying to reproduce the problem
from the command line (with the above command). But I was never able to
do get the same issue to appear. I'm adding these debug logs
anyway, to allow others to try it out and see if they can find out
what's going on.

611 of 619 relevant lines covered (98.71%)

48.38 hits per line

Source Files on job 377.1 (2.0.0)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 377
  • Travis Job 377.1
  • 0d66d2c7 on github
  • Prev Job for 2.0.0 on master (#376.1)
  • Next Job for 2.0.0 on master (#378.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc