Menu

Paste failing Playwright into the agent, not into Slack
📰

Paste failing Playwright into the agent, not into Slack

DEV Community: typescript·Sherotree·16 days ago
#7BviJz0l
#devtotypescript#devto#dev#confirmation#test
Reading 0:00
15s threshold

Last week a checkout e2e failed on main. Someone screenshot the red CI job, dropped it in Slack, and three of us spent twenty minutes guessing which locator drifted. Then I pasted the raw Playwright error — stack, expected vs received, the page URL from the trace — into the agent and asked it to propose a one-file fix. Ten minutes later we had a patch and a short note on why the locator was brittle.

Failing Playwright output is dense, boring, and perfect for an agent. Slack is for decisions. Mixing those two jobs is how flaky tests stay flaky.

What the agent actually needs from a failure

A red badge and “checkout is broken” is not a prompt.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.