https://github.com/wlsf82/auth0-ms-login-with-cypress
TBD.
https://github.com/wlsf82/auth0-ms-login-with-cypress
cy-origin cypress-io talking-about-testing
Last synced: 10 months ago
JSON representation
TBD.
- Host: GitHub
- URL: https://github.com/wlsf82/auth0-ms-login-with-cypress
- Owner: wlsf82
- License: mit
- Created: 2023-04-01T00:51:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-02T22:07:32.000Z (about 3 years ago)
- Last Synced: 2025-04-23T08:15:29.435Z (about 1 year ago)
- Topics: cy-origin, cypress-io, talking-about-testing
- Language: JavaScript
- Homepage: https://www.youtube.com/live/stqpMMc7zkg?feature=share
- Size: 38.1 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# auth0-ms-login-with-cypress
https://www.youtube.com/live/stqpMMc7zkg?feature=share
___
## Pre-requirements
To run this project, you will need:
- [git](https://git-scm.com/downloads) (I've used version `2.34.1` while writing this doc)
- [Node.js](https://nodejs.org/en/) (I've used version `v18.13.0` while writing this doc)
- npm (I've used version `8.19.3` while writing this doc)
**Note:** When installing Node.js, npm is automatically installed too.
## Installation
To install the dev dependencies, run `npm install` (or `npm i` for short.)
## Configuring the environment variables
Before running the tests, some environment variables need to be set up.
Make a copy of the [`cypress.env.example.json`](./cypress.env.example.json) file as `cypress.env.json`, and set the appropriate values for all the variables.
**Note:** `cypress.env.json` file is not tracked by git.
## Running the tests
In this project, you can run tests in interactive and headless modes.
### Headless mode
Run `npm test` (or `npm t` for short) to run all tests in headless mode.
### Interactive mode
Run `npm run cy:open` to open the Cypress App to run tests in interactive mode.
___
Made with ❤️ by [Walmyr](https://walmyr.dev).