Top
Best
New

Posted by bjhess 1 day ago

Self-updating screenshots(interblah.net)
167 points | 25 commentspage 2
kalb_almas 4 hours ago|
I'm sometimes getting

NoMethodError at /self-updating-screenshots undefined method `name' for nil:NilClass

Ruby title-for: in handle, line 12 Web GET interblah.net/self-updating-screenshots

followed by a very detailed traceback when I try to access the page

efortis 21 hours ago||
same here, but linking to the screenshots used for pixel diffing, which get committed to the repo.

https://github.com/ericfortis/mockaton/tree/main/pixaton-tes...

taspeotis 6 hours ago||
I’ve wondered about doing screenshots from the e2e test run, even keeping docs/ all together in the same repo so when you update the documentation and need a new screenshot you add a new test
est 5 hours ago||
I maintain an internal wiki, the contents were generated by each CI/CD and always reflects from latest running code.
3eb7988a1663 5 hours ago||
shot-scraper is another project in this vein.

https://github.com/simonw/shot-scraper

devmor 3 hours ago||
Really love this, it should be standard practice!
irishcoffee 5 hours ago||
I wrote a gui app once that ran on a safety-critical platform. I ended up stuffing a rendering of the gui (rendered offscreen) into shmem at I think 24hz, and rendered that screenshot into the safety critical application. I passed clicks (no typing for this gui) back from the statically rendered image updating on a cadence, to the offscreen GUI.

Worked well. Not quite the same as this, but that’s what this reminds me of.

yjftsjthsd-h 4 hours ago|
I don't think I follow. What is that giving you that you wouldn't get by just having the user click in the application and see its real interface directly? Or are you saying you were embedding one application inside another?
jfim 4 hours ago||
My guess is that it's to ensure that the UI logic crashing or hanging doesn't bring down the safety critical process.
immanuwell 23 hours ago||
nice, embedding the capture instructions right in the markdown as comments is a dead-simple solution that'll age way better than any fancy external tooling
TranspectiveDev 3 hours ago|
[dead]