E2E tests for D3 frontend
To start use this application you should run this commands in terminal.
$ git clone https://github.com/d3ledger/back-office-test
$ cd back-office-test
$ yarn
IMPORTANT in our application we use yarn
for dependency management if you do not have it, you should install it - Installation | Yarn
Config file exists in /cypress/config/config.json
.
- baseUrl - url of launched D3 frontend instance.
- env - variables to configure tests
// run with GUI
yarn test
// run in terminal
yarn test:terminal
If you want to use several configs, you can store them in /cypress/config
folder and run with environment variable CYPRESS_configFile
with the name of config file.
CYPRESS_configFile="dev" yarn test
yarn test:terminal --spec "cypress/integration/auth.spec.js"