Show HN: Checking Pope's election results with smoke test script for chimney
26 points
22 hours ago
| 5 comments
| github.com
| HN
This Playwright test script uses AI to test if there's smoke coming out of the Sistine Chapel chimney and whether that smoke is white. The test only passes if the smoke is white.

Currently, set to use Google Gemini Flash 2.0, but you can switch it to use other LLM providers/models by setting the environment variable in the Github actions workflow: https://github.com/donobu-inc/donobu-papal-election-tests/bl...

I've set it to run every minute during the Papal Conclave election times - https://github.com/donobu-inc/donobu-papal-election-tests/ac...

devonbleak
21 hours ago
[-]
Alternative version: check for dings on my phone from every news outlet sending a notification about it.
reply
aitchnyu
3 hours ago
[-]
Instead of AI looking at your code and browser and writing Playwright scripts, AI is directly controlling browser and asserting over tests. Do we have to wait for on-prem multimodal low latency AI for this to be viable?

And nice "smoke test" and making me curious about your product.

reply
hcaz
21 hours ago
[-]
What was your motivation to use AI for this instead of simple image analysis?
reply
ksajh
21 hours ago
[-]
Writing prompts is much simpler than image analysis plus they make a AI test framework thingy
reply
vasusen
20 hours ago
[-]
Image analysis would be better. I just wanted to test it quickly with different models (Gemini, GPT 4o, etc.) using an AI testing framework I am building
reply
akmarinov
21 hours ago
[-]
AI’s cool
reply
codr7
21 hours ago
[-]
AI is for cool fools
reply
akmarinov
21 hours ago
[-]
Test should be passing now
reply
vasusen
21 hours ago
[-]
It passed right when the smoke started coming out - https://github.com/donobu-inc/donobu-papal-election-tests/bl...
reply
alkh
20 hours ago
[-]
How much did you end up spending on API credits for Flash 2.0?
reply
vasusen
19 hours ago
[-]
$0.29 over the past 2 days
reply