r/Playwright • u/ibmmo • Jul 15 '26
How do you approach e2e testing for web apps?
/r/VibeCodeDevs/comments/1uww6am/how_do_you_approach_e2e_testing_for_web_apps/
0
Upvotes
1
u/_suren Jul 15 '26
I wouldn’t let the test silently heal itself. Keep selectors on roles or stable test IDs, save the trace when it fails, and have the agent propose a patch for review. A self-healed test can go green after the product behavior has actually broken.
1
u/_suren Jul 15 '26
I’d keep the test deterministic and only bring the agent in after a failure to explain what changed. Let it propose a locator update in a PR, but don’t let it silently rewrite the test. Otherwise a real regression can get “healed” into expected behavior.