Acceptance testing

Acceptance tests for the Venuzle Manager Frontend.

In our case, acceptance testing refers at writing Cypress e2e tests that mock the API instead of executing real requests. Cypress uses a real browser to perform the tests.

Every time something is pushed to the venuzle-manager-frontend branch, the test suite will start running on Bitbucket Pipelines.

Running the tests

To start running the tests, simply execute:

npm run test:e2e

Running the tests in headless mode

Running the tests in headless means that the browser window will not be opened during the execution.

npm run test:e2e -- --headless 

Last updated

Was this helpful?