2019-07-26 11:14:25 +03:00
|
|
|
# POA TokenBridge / Ultimate E2E
|
|
|
|
|
|
|
|
Documentation regarding the Ultimate end-to-end tests.
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
2021-05-08 18:50:46 +03:00
|
|
|
The ultimate e2e test scenario covers erc-to-native and amb types of bridges.
|
2019-07-26 11:14:25 +03:00
|
|
|
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
|
2021-04-16 12:31:12 +03:00
|
|
|
./e2e-commons/up.sh deploy blocks
|
2021-05-08 18:50:46 +03:00
|
|
|
./deployment-e2e/molecule.sh ultimate-erc-to-native
|
2019-07-26 11:14:25 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
### 2. Run the E2E tests
|
|
|
|
|
2021-04-16 12:31:12 +03:00
|
|
|
```bash
|
|
|
|
cd e2e-commons
|
2021-05-08 18:50:46 +03:00
|
|
|
docker-compose run -e ULTIMATE=true e2e yarn workspace oracle-e2e run erc-to-native
|
2019-07-26 11:14:25 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
## Diagram
|
|
|
|
|
|
|
|
![diagram](./ultimate.png)
|