mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
update instructions
This commit is contained in:
parent
410b32ff85
commit
5f2fcefb4e
1 changed files with 17 additions and 2 deletions
19
README.md
19
README.md
|
@ -19,13 +19,28 @@ This repository contains tests for the matrix-react-sdk web app. The tests fire
|
|||
- start synapse with clean config/database on every test run
|
||||
- look into CI(Travis) integration
|
||||
|
||||
## It's broken! How do I see what's happening in the browser?
|
||||
|
||||
Look for this line:
|
||||
```
|
||||
puppeteer.launch();
|
||||
```
|
||||
Now change it to:
|
||||
```
|
||||
puppeteer.launch({headless: false});
|
||||
```
|
||||
|
||||
## How to run
|
||||
|
||||
### Setup
|
||||
|
||||
- install synapse with `sh synapse/install.sh`, this fetches the master branch at the moment.
|
||||
- install riot with `sh riot/install.sh`, this fetches the master branch at the moment.
|
||||
- install dependencies with `npm install` (will download copy of chrome)
|
||||
- have riot-web running on `localhost:8080`
|
||||
- have a local synapse running at `localhost:8008`
|
||||
|
||||
### Run tests
|
||||
- run tests with `node start.js`
|
||||
|
||||
Run tests with `sh run.sh`.
|
||||
|
||||
You should see the terminal split with on top the server output (both riot static server, and synapse), and on the bottom the tests running.
|
||||
|
|
Loading…
Reference in a new issue