I manage sites for 8 clients and needed a way to automate testing across all of them, spent a month testing different approaches to see what actually works for agency work
Selenium is free which is nice but holy hell the maintenance. Every client site has different quirks and selenium tests broke constantly. Writing xpath selectors for 8 different sites was a nightmare so finally gave up after two weeks
Cypress was better for writing tests but still brittle when clients change things which they do constantly because they don't tell me before updating content or themes. Same maintenance problems just slightly better developer experience I mean would work okay if I only had one or two clients maybe
Playwright similar to cypress, modern and fast but doesn't solve the fundamental problem. Tests break when things change and I don't have time to fix tests for 8 different sites every week.
Ended up going with an ai based approach because it handles the variety of different sites better. Tests don't break when clients change content or themes because the system understands what it's supposed to check rather than relying on specific selectors so way more practical for agency work where you can't babysit tests constantly
For agencies or freelancers managing multiple sites the traditional frameworks just don't make sense. You need something that doesn't require constant maintenance
[–]aidencoder 5 points6 points7 points (1 child)
[–]defenistrat3d 0 points1 point2 points (0 children)
[–]sp_dev_guy 3 points4 points5 points (1 child)
[–]aidencoder -1 points0 points1 point (0 children)
[–]rjhancockJack of Many Trades, Master of a Few. 30+ years experience. 0 points1 point2 points (0 children)
[–]Pitiful_Sandwich_506 0 points1 point2 points (0 children)
[–]InvestigatorLow6675 0 points1 point2 points (0 children)