r/softwaretesting • u/Friendly_Novel_9082 • May 15 '26
What kind of UI bugs slip past E2E tests?
I think the annoying answer is: a lot of the ones users actually notice first.
E2E tests are great at proving a flow works, but they often don’t tell you whether the UI is actually usable or visually correct. A checkout can pass even if the button is half-hidden, a form can submit even if the layout is broken on mobile, and a page can “work” while still looking off enough that users lose trust.
The bugs I’ve seen slip through most often are things like spacing issues, overlapping elements, broken responsive states, unreadable contrast, truncated text, and visual changes caused by fonts, environment differences, or CSS tweaks. In other words, the stuff that doesn’t always fail a script, but absolutely affects the user experience.
That’s why I’m not convinced E2E tests should be the only line of defense for front-end quality. They’re useful for flow coverage, but visual regression checks and some manual review still seem necessary if you care about what the app actually looks and feels like in the browser.
What kind of things are you doing to mitigate these problems?
4
u/throwaway_0x90 May 15 '26 edited May 15 '26
This is one area where I imagine AI will eventually be useful, the golden-known-good screenshot compared to the one just taken in the test run.
Ask AI, on a floating point scale 0.00 to 1.00 how similar are these two images.
2
u/latnGemin616 May 15 '26
The purpose of automation is so you can invest the time and manually use the site like a regular user.
People who automate UI tests end up in a perpetual quagmire of fix > run > fix because the UI will either jitter, or fail to load, or moved the tiniest of pixels. I worked at a place that leveraged applitools to test the visual components and they were drowning in false-positives.
9
u/ResolveResident118 May 15 '26
End-to-end tests should be testing end-to-end logic, not UI logic.
If you want to test the UI itself, things like storybook are a better bet as you don't need the full environment to run the tests.
4
u/MoreRespectForQA May 15 '26
Snapshot e2e tests can help with this but most people dont use them because it's hard to make both the test environment and the app deterministic enough to prevent them from being flaky.
3
u/ExoticPurchase2995 May 15 '26
2
u/azuredota May 15 '26
I see culturally sensitive formatting get messy fast. So important to run tests in other locales as wellZ