Closed borisyordanov closed 9 months ago
Thanks for reporting!
Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.
Agreed with @vikasbhandari2 . Would be interested to know if you're passing through a specific version of Firebase as well.
Unfortunately, this one is very sporadic - it doesn't happen in a specific test. On some runs it doesn't happen at all. Thankfully playwright's auto-retry helps make this bug something we can live with.
We're using firebase@10.5.2, but upgrading to 10.7.2 didn't solve the issue.
Are you sure that when you try to get the firebase app the script is inserted and that the cdn has sent the code over? There might be a race condition.
🎉 This issue has been resolved in version 1.2.9 🎉
The release is available on:
Your optic bot 📦🚀
A lot of the time the package is working, but occasionally it fails. It appears that
getApps()
is run before the firebase scripts are inserted in the dom and evaluted.