Conversation
This reverts commit 7fdd502.
|
Running the promises in parallel sounds like it'd be asking for another race condition. We shouldn't be awaiting the page navigation promise once we've already awaited the click promise? |
|
This was the recommended solution from the playwright docs and was actually to avoid a race condition:
Presumably because it's possible for the click to finish processing before we call I also ran the CI on ubuntu + macOS on node 12 + 14 + 15 and it succeeded three times in a row, so either I got really lucky or it's slightly better off. |
Combines most
.clicktests with.waitForNavigation, which stabilizes the tests somewhat.