2019-07-26 11:14:25 +03:00
|
|
|
# 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
|
2020-07-14 17:53:05 +03:00
|
|
|
./up.sh deploy native-to-erc blocks
|
2019-07-26 11:14:25 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
### 2. Run the E2E tests
|
|
|
|
|
|
|
|
```
|
2020-07-14 17:53:05 +03:00
|
|
|
cd ui-e2e; yarn mocha -g "NATIVE_TO_ERC" -b ./test.js
|
2019-07-26 11:14:25 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
## Diagram
|
|
|
|
|
|
|
|
![diagram](./ultimate.png)
|