tokenbridge/ui-e2e
2019-05-21 12:44:22 +02:00
..
accounts Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
contracts Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
scripts Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
config.json Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
docker-compose.yml First attempt at main dockerfile 2019-05-21 12:44:01 +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 Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
Page.js Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
README.md Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
run-tests.sh Start e2e scripts with docker-compose down 2019-05-21 12:44:22 +02:00
test.js Extracting UI E2E (#49) 2019-05-21 09:41:52 +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

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