The Hidden Cost of Automation
The $185,045 Janitor
Why your test automation is bleeding cash and burning your most expensive engineering talent.
The blue light of the monitor is the only thing illuminating the office at on a . Diego is , has a Master’s degree in Computer Science, and is currently staring at a Playwright stack trace that looks like a digital autopsy.
He earns $185,045 a year, which makes his time worth roughly $95 an hour if you calculate based on a standard work year, but tonight, he is working for free because the “automated” suite is anything but.
The button he has been trying to click for the last no longer has the data-testid he wrote the selector against. The front-end team removed it during a refactor because, as the commit message stated, “nothing was using it.” Diego sighs, types a new CSS selector, runs the suite, and watches 15 more tests fail for the exact same reason.
The Professional
The market value of the engineer staring at the stack trace is high, but the value of the task-updating a CSS selector-is fundamentally clerical.
The Mirage of Vanishing Costs
I have checked the fridge exactly five times tonight. Each time, I expect a new snack to materialize, a manifestation of my own hope against the reality of a half-empty shelf. It is the same hope that engineering managers have when they sign off on massive automation budgets.
They believe that once the scripts are written, the cost of quality will drop to near zero. They are wrong. In the reality of a modern, shifting UI, test automation does not reduce the cost of QA; it often triples it, because the maintenance burden falls on the most expensive people in the building.
We hire elite engineers and then assign them work that is, functionally, glue maintenance. The career-ladder language of “Software Engineer in Test” or “Automation Architect” obscures the actual day-to-day: chasing breakages caused by other people’s refactors.
This is not a skills problem. It is an architecture problem dressed as a discipline. We are building houses on quicksand and then wondering why the windows keep cracking.
Mia N.S. knows this struggle from a different angle. As a podcast transcript editor, she spends listening to the raw, unedited audio of tech visionaries. She hears the VPs of Engineering talk about “shifting left” and “increasing velocity through robust CI/CD pipelines.”
“The test suite is a nightmare.”
– Overheard tech executive in raw podcast audio
But she also hears the outtakes. She hears the heavy sighs, the off-record admissions, and the moments where a guest admits they haven’t had a green build in . Mia sees the gap between the marketing of automation and the physical exhaustion of the people forced to maintain it. She edits out the swearing, but the frustration remains in the cadence of the breath.
The Compound Interest of Brittle Suites
The industry pretends that automation is an asset. In reality, a brittle test suite is a liability that grows at a compound interest rate. Every time a developer changes a class name, a $95-an-hour engineer has to go in and fix the “broken” test.
Result: You aren’t saving time; you are running an expensive treadmill that only goes backward.
I found myself wondering, during my fourth trip to the fridge, why we keep doing this to ourselves. We have been conditioned to believe that the only way to test a web application is to simulate a human clicking a specific coordinate or identifying a specific DOM element.
But the DOM is a living organism. It changes its skin every . Expecting a hard-coded selector to survive a modern development cycle is like trying to nail jelly to a moving train.
The Hidden Tax of “Find the Button”
This is the hidden tax of the modern engineering organization. We don’t talk about it because it’s embarrassing. It’s embarrassing to admit that we’re paying someone nearly $200,000 to play a high-stakes game of “Find the Button.”
When you look at the landscape of qa ai tools, the conversation is finally starting to shift. We are beginning to realize that the machine should be smart enough to find the “Submit” button even if it moved two pixels to the left or changed its ID to something nonsensical.
The math of the status quo is devastating. Let’s say an engineer spends on test maintenance. At Diego’s salary, that is $2,375 a week. Over , that’s $106,875 per year.
That is the price of brittle selectors. That is the cost of one person. Now multiply that by a team of 15 engineers. We are talking about millions of dollars burned in the furnace of “maintenance.”
The Maintenance Fractal
“I spent 55 hours on a self-healing framework before realizing I was just adding another layer of complexity.”
Mia N.S. recently edited a transcript where a founder argued that the “automation gap” is the leading cause of developer burnout. The engineer isn’t burned out by writing new features; they are burned out by the sessions where they have to fix the same 15 tests for the fifth time this month.
It’s the repetitive, low-value nature of the work that kills the spirit. We didn’t spend years learning data structures and algorithms to update div > span:nth-child(2) at midnight.
Web Applications Are Not Buildings
We need to stop treating test scripts like static blueprints. A blueprint works for a building because buildings don’t usually move their front doors to the roof on a random .
Web applications do. A button that was in the header might move to a floating modal. A text link might become an icon. If our automation isn’t agentic-if it doesn’t have the “intelligence” to understand context and intent-it isn’t really automation. It’s just a very fragile recording.
I went back to the fridge for the fifth time. There was a single, lonely orange sitting there. I took it back to my desk and watched Diego finally get his suite to turn green.
He didn’t look happy. He looked relieved, the way someone feels when they finally finish mopping a floor while it’s still raining outside. He knows that when the front-end team comes in at , they will probably change something else, and he will be right back here.
The Tipping Point of Rigor Mortis
The contrarian truth is that the more “automated” your testing is with traditional tools, the slower your team moves. You reach a tipping point where you can’t add new features because 85 percent of your engineering capacity is spent keeping the existing tests from falling over.
It is a state of permanent technical paralysis. We call it “stability,” but it’s actually rigor mortis. Why do we keep hiring people like Diego for this? Because we’re afraid of the alternative.
We’re afraid of admitting that our current “best practices” are actually just expensive habits. We’ve built a whole sub-industry of SDETs whose primary job is to be human buffers between a changing UI and a dumb script. It’s a waste of human potential on a massive, systemic scale.
I remember a project where we had 1,225 tests. It took to run the full suite. By the time the results came back, the code had already changed again. We were testing a ghost of the application from 5 hours ago.
We spent 75 percent of our sprint cycles just fixing the tests that failed because of “environment issues” or “flaky selectors.” We weren’t building software; we were babysitting a temperamental machine.
The Shift from Coordinates to Intent
If we want to solve this, we have to move toward systems that understand intent. When I tell a human to “buy a pair of shoes,” they don’t need to know the X/Y coordinates of the checkout button. They find it.
They understand what a checkout button looks like, regardless of whether it’s a button tag or a div with a click handler. Until our testing tools can do the same, we will continue to pay $95 an hour for digital janitorial services.
The light in the office is still blue, but the sky outside is starting to turn a faint, pre-dawn grey. Diego is packing his bag. He’ll be back in a few hours. He’ll drink too much coffee, sit through 15 meetings, and then, likely, find himself staring at another stack trace when the sun goes down.
We shouldn’t be proud of his dedication. We should be ashamed of the tools that make it necessary. We have spent decades trying to make the web conform to our scripts. It is time we made our scripts conform to the web.
The price of the current path is too high, and the people paying it are the ones we can least afford to lose. As I finish this orange, I realize that the most important thing we can automate isn’t the click-it’s the understanding of what to click. Anything less isn’t progress; it’s just a more expensive way to stand still.
Is this really the height of our engineering ambition? To be the one writing CSS selectors at midnight?
I think we all know the answer, even if we’re too tired to say it out loud. We have to stop romanticizing the grind of maintenance and start demanding tools that actually respect the time of the people using them. Otherwise, we’re just building more expensive hammers for a world that has moved on to screws.
Diego deserves better. We all do. The fridge is finally empty, and the code is finally green, but the cost of that victory is written in the dark circles under Diego’s eyes.