ai-chatbot icon indicating copy to clipboard operation
ai-chatbot copied to clipboard

Playwright tests are failing

Open holdenmatt opened this issue 7 months ago • 1 comments
trafficstars

I cloned this repo and made no code changes (just added env vars to get it working, per setup instructions here)

When I git push, the CI playwright tests are failing because of a missing secret.

Image

I fixed this by adding env vars in my github repo Settings > "Secrets and variables" > "Actions".

But I'm still getting a test failure, which I also get locally if I run pnpm test:

Image

I think the playwright tests are a great idea - anybody know why they're failing?

holdenmatt avatar Apr 16 '25 17:04 holdenmatt

@holdenmatt Thanks for reporting this!

I fixed this by adding env vars in my github repo Settings > "Secrets and variables" > "Actions".

Looks like this step was missing from the document, will add it!

I think the playwright tests are a great idea - anybody know why they're failing?

It appears that the "edit user message and resubmit" test has been super flaky, the test contents aren't quite as deterministic as I expected it to be. Will have a patch up!

jeremyphilemon avatar Apr 16 '25 17:04 jeremyphilemon