Update readme.

This commit is contained in:
rzadp 2019-06-04 15:18:49 +02:00
parent 3a3ebf9747
commit 98e2dc9c0d
2 changed files with 8 additions and 6 deletions

@ -4,21 +4,23 @@ Common scripts and configuration for the end-to-end tests.
## Usage ## Usage
Spin up parity networks, redis, rabbit, e2e container needed for end-to-end tests:
``` ```
./up.sh [components] ./up.sh [components]
``` ```
Spins up parity networks, redis, rabbit, e2e container needed for end-to-end tests.
Shut down and cleans up containers, networks, services, running scripts:
``` ```
./down.sh ./down.sh
``` ```
Shuts down and cleans up containers, networks, services, running scripts.
### Components ### Components
| Component | Description | | Component | Description |
| --- | --- | | --- | --- |
| deploy | Deploys the Smart Contracts | | deploy | Deploys the Smart Contracts |
| oracle | Launches oracle containers | | oracle | Launches Oracle containers |
| ui | launches UI containers | | ui | Launches UI containers |
| blocks | Mines blocks | | blocks | Auto mines blocks |

@ -5,7 +5,7 @@ const MainPage = require('./mainPage.js').MainPage;
class User { class User {
constructor(driver, obj) { constructor(driver, obj) {
try { try {
this.driver = driver; this.driver = driver;
this.account = obj.account; this.account = obj.account;
this.privateKey = obj.privateKey; this.privateKey = obj.privateKey;
this.networkID = obj.networkID; this.networkID = obj.networkID;