tokenbridge/e2e-commons/ULTIMATE.md

32 lines
668 B
Markdown
Raw Normal View History

# 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
2021-04-16 12:31:12 +03:00
./e2e-commons/up.sh deploy blocks
./deployment-e2e/molecule.sh ultimate-native-to-erc
```
### 2. Run the E2E tests
2021-04-16 12:31:12 +03:00
```bash
cd e2e-commons
docker-compose run -e ULTIMATE=true e2e yarn workspace oracle-e2e run native-to-erc
```
## Diagram
![diagram](./ultimate.png)