We are using angular at frontend and Node.js at backend.
We are writing e2e tests at frontend and as I understand it should use real backend. So we have staging environment and Angular app e2e tests are using real Node.js staging backend there. Staging backend use staging database and staging log environment.
Questions:
- Is it okay to use real staging backend for e2e frontend testing?
- How to be with reset password testing, where we need JWT which is generated at backend and then sent to email? Should I hardcode some token for some special test user?
- What about making e2e tests without real backend? Is it weird?
Thanks!
Aucun commentaire:
Enregistrer un commentaire