wasp icon indicating copy to clipboard operation
wasp copied to clipboard

in headless tests on example app we can use npm wait-port instead of sleep 5

Open vincanger opened this issue 11 months ago • 1 comments

https://github.com/wasp-lang/wasp/blob/main/waspc/headless-test/package.json#L10

here is a relevant discussion: https://github.com/wasp-lang/open-saas/pull/69#discussion_r1515102649

vincanger avatar Mar 08 '24 15:03 vincanger

I believe I waited the extra 5 seconds to get less flaky behaviour with Playwright waiting for the web app to start properly. It might not be entirely necessary, but the change needs to be tested.

infomiho avatar Mar 09 '24 18:03 infomiho