Comments (5)
I have not experienced this, but most often am running node 10. Have you tried doing what the error says and setting the environment variable:
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
I'll look into if this should be added as part of the code for newer node versions. Not sure, but it seems like node is trying to make an https request but there is not the right certificate as mentioned in this stackoverflow post.
So I can debug further, what was the custom command you were calling? cy.login
?
from cypress-firebase.
Hi,
thanks for the answer. I used the angular-dev server and this specific command: cy.callFirestore.
In the beginning, I thought that it is a cypress problem so I found this issue: https://github.com/cypress-io/cypress/pull/5256/files and upgraded the cypress version to 3.5 and later to 3.6, but this error didn't disappear.
I didn't try this: process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0; but I tried this:
export NODE_TLS_REJECT_UNAUTHORIZED=0 && npm run e2e
and it didn't help as well.
from cypress-firebase.
Are you sure that the fix mentioned in that issue was included in v3.6 of cypress? I don't see it listed anywhere in the release notes, but it is weird because I do see it in the master branch. I'm going to look into replicating to see if there is maybe some environment not being passed into scripts being called in exec
from cypress-firebase.
I'm not sure but I found this: cypress-io/cypress#5248
This path was added to Cypress 3.5.
from cypress-firebase.
Closing this since it is similar to #13 - updates for this issue will be made there. Thanks for reporting
from cypress-firebase.
Related Issues (20)
- publish-npm failing Error: Error [ERR_REQUIRE_ESM]: require() of ES Module HOT 1
- bug: cannot read properties of undefined (reading 'includes') HOT 4
- Login after a logout happening the application fails
- Cypress e2e test fails initialization HOT 1
- feat(build): native esm support
- fix: drop support for node pre 16 HOT 2
- Support passing user claims to cy.login() ? HOT 1
- Invalid options types are ignored, rather than erroring
- The automated release is failing 🚨
- Cypress Firebase in Github Actions cannot find `CYPRESS_TEST_UID` from secrets.CYPRESS_TEST_UID HOT 1
- Retry on 401
- bug(firestore): FieldValue.delete() not handled correctly HOT 3
- feat(callFirestore): ability to use batch writes
- bug(firestore): nested Timestamp value not persisting HOT 3
- bug: callFirestore not recognized in NextJS test HOT 1
- feat: support for component testing
- feat: switch to modular firebase sdks internally HOT 2
- bug(core): Webpack error when running cypress tests with cypress-firebase HOT 10
- callFirestore task fails when running in the CI with message "PERMISSION_DENIED: Missing or insufficient permissions." HOT 1
- Problem with Token HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-firebase.