6d1d4bce6b
* Commented out package-lock.json * Moved over changes from https://github.com/poanetwork/bridge-ui/pull/217 * Brought back package-lock.json used in e2e. * Edited postinstall to work for sub-repo npm install * Using local oracle * Moved ui/e2e-script to ui-e2e * Introduced ui-e2e workspace. * Updated paths,. removed bridge dockerfile. * Updated e2e script after extracting. * Introduced ui-e2e into CI * Disabled ui-e2e * Updated readme.
21 lines
681 B
Markdown
21 lines
681 B
Markdown
### ui-e2e
|
|
End to end tests for the UI
|
|
|
|
- Configure startURL, homeAccount, foreignAccount in ```config.json```
|
|
|
|
#### Tests
|
|
|
|
```
|
|
1. User is able to open main page of bridge-ui
|
|
2. Main page: foreign POA balance is displayed
|
|
3. Main page: home POA balance is displayed
|
|
|
|
4. User is able to send tokens from Home account to Foreign account
|
|
5. Home POA balance has correctly changed after transaction
|
|
6. Foreign account has received correct amount of tokens after transaction
|
|
|
|
7. User is able to send tokens from Foreign account to Home account
|
|
8. Foreign POA balance has correctly changed after transaction
|
|
9. Home account has received correct amount of tokens after transaction
|
|
```
|