News for hackers. Stuff that matters.
Re:Launch HN: Meticulous (YC S21) – Catch JavaScript errors ... by jve on Tuesday May 03, 2022 @02:21AM (#31245302)
> we tried to reduce flakiness by buffering clicks/interactions with sleep()...

You should have used waits instead of sleep. Wait pools until your DOM is in the state you are waiting it to be, unless given timeout occurs: https://www.selenium.dev/documentation/webdriver/waits/#expl...

Re:Launch HN: Meticulous (YC S21) – Catch JavaScript errors ... by sbuccini on Tuesday May 03, 2022 @11:05AM (#31249226)
It's been a while. I think we did use waits but they were still flakier than you might expect.
Re:Launch HN: Meticulous (YC S21) – Catch JavaScript errors ... by jve on Wednesday May 04, 2022 @03:26AM (#31257710)
It works acceptable for me with a caveat. I do have Retry(3) on UI tests, because yeah, somewhat flaky.

Especially when system has to warm up.

In the end it is Okay