tokenbridge/e2e-commons/ULTIMATE.md
2020-07-14 17:53:05 +03:00

30 lines
569 B
Markdown

# POA TokenBridge / Ultimate E2E
Documentation regarding the Ultimate end-to-end tests.
## Overview
The ultimate e2e test scenario covers native-to-erc type of bridge.
It runs the e2e tests on components deployed using the deployment playbooks.
## Usage
### 1. Prepare the infrastructure
Run the Parity nodes, deploy the bridge contracts, deploy Oracle using the deployment playbook.
```bash
./up.sh deploy native-to-erc blocks
```
### 2. Run the E2E tests
```
cd ui-e2e; yarn mocha -g "NATIVE_TO_ERC" -b ./test.js
```
## Diagram
![diagram](./ultimate.png)