Skip to content

Commit

Permalink
Updated package-lock.json and setup-env script to support testenv
Browse files Browse the repository at this point in the history
  • Loading branch information
vijetmahabaleshwar-okta committed Apr 4, 2018
1 parent e84e5a7 commit eadf0cd
Show file tree
Hide file tree
Showing 7 changed files with 17,535 additions and 3,144 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -11,3 +11,4 @@ samples-nodejs-express-4
custom-login/src/.samples.config.js--
okta-hosted-login/src/.samples.config.js--
.samples.config.js--
testenv
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -70,6 +70,17 @@ For Windows, please set the following environment variables:
- `USER_NAME`
- `PASSWORD`

As an alternative you can provide the environment variables in a file named `testenv` in the root folder.

For example:

```
ISSUER=https://dev-12345.oktapreview.com/oauth2/default
CLIENT_ID=spaclient123
USERNAME=myuser@example.com
PASSWORD=mypassword
```

> **NOTE:** Windows has USERNAME as a built-in system variable, hence set the USER_NAME environment variable for testing.
Then run the E2E tests:
Expand Down

0 comments on commit eadf0cd

Please sign in to comment.