- Clone the repository
- Install the dependencies:
npm install
- Create a
.env
file in the root of the project and add the following:
BASE_URL=<https:// ... your base url here >
OKTA_URL=<https:// ... some url for okta>
TOY_API_URL=<https:// ... some url for toy api>
OKTA_CLIENT_ID=<secret>
OKTA_CLIENT_SECRET=<secret>
RUN_HEADLESS=false
- Run the checkout e2e test:
npm run checkout-test