mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Update README with information about usernames for integration tests.
This commit is contained in:
parent
abd54491e9
commit
25355d053f
1 changed files with 2 additions and 0 deletions
|
@ -218,6 +218,8 @@ To run all integration tests from the command-line:
|
||||||
SMOKE_USERNAME=username SMOKE_PASSWORD=password ROOT_URL=https://scratch.mit.edu npm run test:integration
|
SMOKE_USERNAME=username SMOKE_PASSWORD=password ROOT_URL=https://scratch.mit.edu npm run test:integration
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Both the TAP and Jest tests use the same username and password. The Jest tests will also use the the username you give with a 1 (soon to be higher numbers as well) appended to the end of it. So if you use the username "test" it will also use the username "test1." Make sure you have created accounts with this pattern and use the same password for all accounts involved.
|
||||||
|
|
||||||
To run a single file from the command-line using Jest:
|
To run a single file from the command-line using Jest:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue