I’ve recently fallen madly in love with the PlayWright web testing platform. Seemingly is has all of the strengths of every other testing platform, while being legible, transparent and actually working. However, I was thrown for a week by mystery timeouts, failures and heisenbugs.
The culprit happened when I all of the repeatable steps into components. The components themselves contained nothing but await statements, but I was not awaiting the components themselves. Against all logic, awaiting components that consist of nothing but await statements is necessary for playwright to work properly.