mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-04-12 13:59:03 +02:00
add instructions for local e2e env vars (#184)
* add instructions for e2e env vars * add env var to session * Update README.md
This commit is contained in:
parent
dd42334c7c
commit
3a153a40bd
@ -18,11 +18,13 @@ Start your Wasp DB and leave it running:
|
||||
cd ../app && wasp db start
|
||||
```
|
||||
|
||||
Open another terminal and start the Wasp app:
|
||||
Open another terminal and start the Wasp app with the environment variable set to skip email verification in development mode:
|
||||
```shell
|
||||
cd app && wasp start
|
||||
cd app && SKIP_EMAIL_VERIFICATION_IN_DEV=true wasp start
|
||||
```
|
||||
|
||||
NOTE: When using the email auth method a verification link is sent when the user registers, or logged to the console if you're using the default Dummy provider. You must click this link to complete registration. Setting SKIP_EMAIL_VERIFICATION_IN_DEV to "true" skips this verification step, allowing you to automatically log in. This step must be skipped when running tests, otherwise the tests will hang and fail as the verification link is never clicked!
|
||||
|
||||
In another terminal, run the local e2e tests:
|
||||
```shell
|
||||
cd e2e-tests && npm run local:e2e:start
|
||||
|
Loading…
x
Reference in New Issue
Block a user