One Task, One Test: How I Check Website Fixes With AI

25 November, 2026 Personal Blog Views: 1
No comments

The logo on my site looked centered on mobile. I opened the menu, and the panel covered it. The closed view had passed my check. The open view hadn’t been part of it.

Test the action, not just the screen

My first instruction to the AI agent was about layout: keep the logo inside the white header. That described the appearance I wanted, but not what the page had to do. The useful test was more specific: open the menu and check that the panel starts below the header without covering the logo.

That changed the fix. Centering the logo was only part of the job. The menu also had to start lower, so it didn’t slide into the logo’s row. I checked both menu states at 320, 390, and 500 pixels, then used a 1440-pixel view to check that the desktop header hadn’t changed.

Give the agent a clear stopping point

Before I ask an agent to change a page now, I try to write the check in one sentence: “When I do X, Y should happen, and Z should stay the same.” For this fix: “When I open the mobile menu, it should start below the header, and the desktop layout should stay the same.”

One test doesn’t prove the whole site works. It tells me whether the specific change did what I asked. And if I can’t describe the check yet, I probably haven’t made the task clear enough.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments