tokenbridge/ui-e2e
Przemyslaw Rzad 93347b47a8
Updates after deployment test (#75)
* Force ln to mitigate error when postinstall is repeated

* Update readme

* Using yarn in place of npm run

* Changed env order - home first

* Removed gh-pages UI deploy

* Readme cosmetics

* Removed duplicate bridge overview

* Update readme

* Update repository address

* Update readme

* Changed NPM to Yarn everywhere

* Update readme

* Using tokenbridge monorepo in deployment instead of token-bridge

* Update ui/README.md

Co-Authored-By: Andrew Gross <andogro@gmail.com>

* Revert and/or change as per @akolotov explanation

* Removed checkWorker3 that was used in legacy bridge-rust-v1-native-to-erc

* Update deployment/oracle/README.md

Co-Authored-By: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Apply suggestions from code review

Co-Authored-By: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update root readme and Update sub-repo readmes to point to root monorepository initialization.

* Removed obsolete GET /stuckTransfers

* Remove stuckTransfers

* Use shell instead of unmaintained docker_service module. Update naming in templates.
2019-05-31 14:54:32 +02:00
..
accounts Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
envs Removed redundant DEPLOYMENT_GAS_LIMIT env variable 2019-05-24 11:30:51 +02:00
scripts Switch ui-e2e contracts to 2.3.1. Update envs and deploy script 2019-05-24 10:47:09 +02:00
config.json Switch ui-e2e contracts to 2.3.1. Update envs and deploy script 2019-05-24 10:47:09 +02:00
docker-compose.yml Configurable port (#76) 2019-05-30 13:18:48 +02:00
mainPage.js Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
MetaMask.crx Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
MetaMask.js Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
package.json Update dependencies (#72) 2019-05-25 13:27:52 +02:00
Page.js Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
README.md Updates after deployment test (#75) 2019-05-31 14:54:32 +02:00
run-tests.sh Updates after deployment test (#75) 2019-05-31 14:54:32 +02:00
test.js Try to run ui-e2e on 2.2.0 contracts 2019-05-22 11:29:01 +02:00
User.js Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
Utils.js Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00

POA Token Bridge / UI-E2E

End to end tests for the POA Token Bridge UI.

  • Configure startURL, homeAccount, foreignAccount in config.json

Running

To run the bridge end-to-end tests, you just have to run:

./run-tests.sh

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