Implement e2e-test with real backend API without touching real database, third-party service hitting. #27867
Unanswered
orlantotes
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to implement e2e-testing using cypress in our React.js front-end by calling real backend API.
The purpose of this test will be to test backend API through front-end.
But I have no idea how I shoud organize project structure for test.
I know my idea is special case.
I say again, I don't want to change database by calling real API. But to test api in front-end during e2e-test. I want to call real API without mocking api response.
Is it possible in cypress context?
If possible, please help me to structure e2e-test.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions