frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Stop Writing Brittle Playwright Tests: Why YAML-Based Testing Is the Future

https://medium.com/@oxtiger/stop-writing-brittle-playwright-tests-why-yaml-based-testing-is-the-future-5cc90a81bfa2
6•suchuanyi•5h ago

Comments

shove•3h ago
So the answer to “how are we going to verify that vibe-coded application code does what we think it does is “we’re going to vibe-code the tests too”?
meepmorp•3h ago
Don’t bother, man - it’s vibes all the way down.
ohdeargodno•2h ago
Replace your flaky UI tests with flaky LLM-based tests, at least when it inevitably fails you can spend 45 minutes attempting to find just the right prompt with which the LLM doesn't attempt to also click something unrelated!

Most of the tools currently existing are (plain awful|work only on browsers|do magic behind the scenes making them non repeatable|force best effort, hiding any validation). These tests are barely better than doing them by hand, at least there's not someone burning their mind on a 250 test-case list for half a day.

Your primary UI testing tool should be accessibility. If your accessibility elements/descriptions aren't enough to test things, _then you aren't accessible enough_.

(Although I do agree, pure code-based tests mooost likely should go away. Whether that's Playwright, Espresso or any other tool. Maestro finds a right balance between expressive yaml, and openness to scripting if needed)

bananapub•2h ago
Just in case you were thinking of wasting time on reading it, they put a helpful summary at the top:

> How a simple YAML configuration built for Claude Code and Playwright MCP transformed our testing workflow and made automation accessible to everyone on the team

Side note, in what order did it happen? Did Medium go from “one of the nicest publishing platforms on the web” to “pop up infested search-engine-spamming garbage” before or after all the garbage blog spammers started using it?

moomin•2h ago
We used LLMs to reinvent Cucumber but worse.

Playwright tests are fine, but you need to think about the design or you end up with a mess. Using a steps file is one way to do it, but just employing coding discipline is another. Don’t expect to be able to slap 1000 lines of scripting code together and ignore everything you’ve already learned about structuring code.

latsu•31m ago
AI slop article about using AI to write tests in a format that's worse than Cucumber...

Why would I bother to read the slop you couldn't even be bothered to write?

Angus Barbieri's Fast

https://en.wikipedia.org/wiki/Angus_Barbieri%27s_fast
1•richard_cory•5m ago•0 comments

Sculpting Language Models

https://generalsoftware.substack.com/p/sculpting-with-language
1•liamdanielduffy•5m ago•0 comments

250M+ acres of public lands eligible for sale in reconciliation package

https://www.wilderness.org/articles/media-resources/250-million-acres-public-lands-eligible-sale-senr-budget-reconciliation-package
1•mooreds•5m ago•0 comments

Zoomcar Data Breach Exposes Personal Information of 8.4M Users

https://adaptive.live/blog/zoomcar-data-breach-exposes-personal-information-of-8-4-million-users-what-you-need-to-know
1•debarshri•6m ago•0 comments

Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer

https://github.com/microsoft/mup
1•wizardcat•7m ago•0 comments

Getting better at LLMs, with Zvi Mowshowitz [audio]

https://www.complexsystemspodcast.com/episodes/getting-better-at-llms-with-zvi-mowshowitz/
1•mooreds•7m ago•0 comments

Battle to eradicate invasive pythons in Florida achieves milestone

https://phys.org/news/2025-06-eradicate-invasive-pythons-florida-stunning.html
1•wglb•8m ago•0 comments

Summary of Heroku June 10 Outage

https://www.heroku.com/blog/summary-of-june-10-outage/
1•mooreds•8m ago•0 comments

Scientists detect light passing through human head:new doors for brain imaging

https://medicalxpress.com/news/2025-06-scientists-entire-human-doors-brain.html
2•wglb•12m ago•1 comments

'It's absolutely f–-ed': Why Google's new £1B London office is in crisis

https://www.telegraph.co.uk/art/architecture/thomas-heatherwick-google-headquarters/
2•philposting•16m ago•0 comments

Godfather of AI: I Tried to Warn Them, but We've Lost Control [video]

https://www.youtube.com/watch?v=giT0ytynSqg
1•mindcrime•18m ago•0 comments

From code to commands: prompt training technique helps users speak AI's language

https://www.cs.cmu.edu/news/2025/prompt-training
1•geox•20m ago•1 comments

Making hydrogen with soda cans and seawater is scalable and sustainable

https://techxplore.com/news/2025-06-hydrogen-soda-cans-seawater-scalable.html
1•PaulHoule•21m ago•0 comments

DRM Can Watch You Too: Privacy Effects of Browsers' Widevine EME (2023)

https://hal.science/hal-04179324v1/document
2•exceptione•23m ago•1 comments

A New Rust Packaging Model

https://guix.gnu.org/en/blog/2025/a-new-rust-packaging-model/
1•diggan•23m ago•0 comments

Sony Group Corporation Fireside Chat 2025

https://www.irwebmeeting.com/sony/vod/20250613/x8R5srwN/bsm_02_en/1_GNS/fireside_chat/index.html
1•doener•32m ago•0 comments

Spotted in Prod

https://www.spottedinprod.com/
3•vdthatte•33m ago•1 comments

What if useState was your back end?

https://expo.dev/blog/what-if-usestate-was-your-backend
1•stopachka•33m ago•0 comments

Ask HN: Should your life partner be less/more educated than yourself?

1•agustan•36m ago•1 comments

MythGen – Lovable for world-building (Unity and Unreal)

https://mythgen.ai/
1•bobvanluijt•36m ago•1 comments

In defense of ad-supported products (2024)

https://ashishb.net/tech/ads/
1•ashishb•38m ago•0 comments

About premium requests

https://docs.github.com/en/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests
2•cipherself•39m ago•0 comments

Ask HN: How would you convert 80% of the Linux kernel to rust?

2•leoh•43m ago•2 comments

Trump Mobile

https://www.bbc.com/news/articles/cjrld3erq4eo
2•28304283409234•44m ago•3 comments

Unknown Pleasures: pulsars, pop, and plotting (2021)

https://blog.engora.com/2021/06/unknown-pleasures-pulsars-pop-and.html
1•Vermin2000•46m ago•0 comments

In the 1980s, Iran Outfitted F-14s as Heavy Bombers

https://daxe.substack.com/p/in-the-1980s-iran-outfitted-f-14s
1•vinnyglennon•46m ago•0 comments

Browsh: A fully-modern text-based browser, rendering to TTY and browsers

https://github.com/browsh-org/browsh
1•surprisetalk•47m ago•1 comments

First usermode exploit and more: Nintendo Switch 2 had busy week for its launch

https://wololo.net/2025/06/06/first-usermode-exploit-and-more-nintendo-switch-2-had-a-busy-hacking-week-for-its-launch/
1•austinallegro•47m ago•0 comments

Iron Beam

https://en.wikipedia.org/wiki/Iron_Beam
1•puttycat•51m ago•0 comments

How Software Development Works

https://www.miserablyemployed.com/blogs/rants/how-software-development-really-works
9•ramijames•51m ago•0 comments