tokenbridge/ui/e2e-script
Przemyslaw Rzad 40fef06503
Update bridge-ui (#39)
* Renamed bridge-ui to ui, removed submodule

* Re-added submodules. Pointing at 2.2.0

* Updated workspace name.

* Removed package-lock.json.

* Updated ui contracts to 2.3.0-rc0, installed node modules.

* Added linting to ui

* Integrated UI lint, test and build into CI.

* Added readme for merging.

* Consistent eslint module

* Included plugins in dev dependencies.

* Changed eslint version.

* Add yarn.lock

* Update deprecated node api.

* Remove travis badge and config in ui

* Update link to oracle in ui dependencies.

* Remove duplicated gitter.

* Remove unimplemented coverage and dependencies badges.

* Update links in step 5 and 6 in UI

* Cosmetic.
2019-05-15 14:23:29 +02:00
..
accounts Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
bridge Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
contracts Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
parity Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
scripts Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
config.json Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
docker-compose.yml Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
mainPage.js Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
MetaMask.crx Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
MetaMask.js Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
Page.js Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
README.md Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
run-tests.sh Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
test.js Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
User.js Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00
Utils.js Update bridge-ui (#39) 2019-05-15 14:23:29 +02:00

e2e script for bridge-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