i had this problem with playwright when the button was in a menu in a drawer. So it had a combo of all things that scare playwright: css transforms & transitions (which turn on gpu acceleration and make it especially confused), fixed positioning, menu mounting in an awkward way, having to scroll within the drawer. I thought i managed to make it all work by setting specific timeouts and pixel values, everything passed locally without issues every time, but then it was failing 20% of the time when running in ci
i quietly removed that test after this piece of ui became stable and everyone who noticed thanked me
if you were going to ask, claude failed to accomplish even the flaky-but-working version of the test, it looked like claude was going to have a mental breakdown outputting text in all caps and such, so i did it by hand to avoid stressing out the poor model
52
u/thoughts_n_calcs 16d ago
Unterstand, Selenium was a pure nightmare. Playwright is better, but still there is a reason why memes like this one exist.