This documentation covers everything about developing and running the E2E tests.
E2E test tests the application from the end user’s perspective. It is important to know that an E2E test does not test frontend or backend. It tests the application as a whole (all components successfully integrated together).
We're using an automated framework Cypress. It is able to simulate real user behaviour e.g. clicks, typing text etc.
-
Build the app locally
The testing framework needs to access the page, therefore we need to run the development server first. See this section.
-
Launching the test runner
Use this command:
npm run test:e2e
It opens GUI cypress runner where you can select the test suite and run it by clicking on it.