HackerTrans
热门最新趋势评论往期问答秀出招聘

forcepushed

no profile record

提交

Ask HN: How do you manage flaky E2E tests at scale?

3 分·作者 forcepushed·5个月前·7 评论

评论

forcepushed
·5个月前·讨论
Definitely. Making the decision between fixing them or deleting them is important, not only since it might save or waste time, but also since it could help prevent future occurrences down the road.

How much time do you think you spend making this decision vs just fixing them tests and how often do you see yourself adding tests back in you quarantined or deleted?
forcepushed
·5个月前·讨论
Yes, exactly how most of experience here goes. Each test ends up becoming sort of a custom implementation to handle specific use cases around interactivity and availability.

Do you feel yourself wanting to extract this logic (wait for a selector, load state, or function evaluating etc) to some shared utility and then just pushing all of your interactions through this as a sort of feedback engine for future problems?