-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(core): Webpack error when running cypress tests with cypress-firebase #788
Comments
Did you find the solution ? |
I downgraded to 2.2.5 and it worked |
nope, same problem. You can fix it by downgrading it. However, the old version cannot be compatible with my RTB Database firebase URL. XXXXrtdb.asia-southeast1.firebasedatabase.app/ the old version is just compatible with XXX.io no XXX.app |
I am not sure why esm version of the library is used with the imports. I've tried importing from I tried to fix this with |
Actually, I found I workaround using https://github.com/bahmutov/cypress-esbuild-preprocessor |
I downgraded to 2.2.5 and it worked for me as well |
Also, version |
Hi @BoisonChang I had the same problem with XXXXrtdb.europe-west1.firebasedatabase.app/ I have solved it and updated the docs (see the comments in the code below). You and I must explicitly give our database URLs because they are not at XXX.firebaseio.com.
|
esbuild fixes the following bug: prescottprue/cypress-firebase#788
Had the same issue – had to downgrade to 2.2.5 to make it work. Adding esbuild just because of cypress-firebase doesn't feel right. |
The current version is still broken... |
I am writing cypress e2e tests for my nextjs web app, which uses firebase on the back end. I have followed the guide in the docs for setting it up using the cypress-firebase package (https://www.npmjs.com/package/cypress-firebase), but I am getting an error relating to webpack:
a problem like in this stackoverflow and it seems not only I met this problem.
https://stackoverflow.com/questions/75035705/webpack-error-when-running-cypress-tests-with-cypress-firebase
error
it is my project setting below:
It can work if I downgrade to 2.x.x, but this version banning some firebase URL is lawful now.
so it is annoying to make me unable to use this plugin pending my e2e test.
The text was updated successfully, but these errors were encountered: