saleor-dashboard/docs/running-tests.md
Adrian Pilarczyk f8f945d1af
Refresh README.md (#2768)
* Update README.md

* Update README.md

* Update README.md

* docs: 📝 add articles to docs folder

* docs: 📝 add configuration article

* docs: 📝 add emojis 😋

* docs: 📝 restructure readme

* docs: 📝 add deployment article

* Empty-Commit
2022-12-06 15:23:04 +01:00

25 lines
510 B
Markdown

# Running E2E tests
Add Cypress-specific env variables to `.env` file (created in the configuration section above):
```
CYPRESS_USER_NAME=
CYPRESS_USER_PASSWORD=
CYPRESS_SECOND_USER_NAME=
CYPRESS_PERMISSIONS_USERS_PASSWORD=
CYPRESS_mailHogUrl=
STRIPE_SECRET_KEY=
STRIPE_PUBLIC_KEY=
// not required
CYPRESS_RECORD_KEY= // if you want your local runs recorded
```
For values of those variables, refer to our internal documentation.
You are ready to run Cypress commands like:
```shell
npm run cy:open
```