tokenbridge/ui-e2e
Gerardo Nardelli 1d79cf82f3 Fix suggested gas price in trasaction for ui production build (#222)
* use string version of bignumber when converting gasPrice to hex
* update chromedriver version
2019-10-25 15:38:30 +03:00
..
.eslintrc Simplified ui-e2e linting rules (#140) 2019-07-11 15:06:50 +02:00
mainPage.js Simplified ui-e2e linting rules (#140) 2019-07-11 15:06:50 +02:00
MetaMask.crx Extracting UI E2E (#49) 2019-05-21 09:41:52 +02:00
MetaMask.js Extend line width to 120 (#174) 2019-08-01 15:10:22 +02:00
package.json Fix suggested gas price in trasaction for ui production build (#222) 2019-10-25 15:38:30 +03:00
Page.js Simplified ui-e2e linting rules (#140) 2019-07-11 15:06:50 +02:00
README.md Cosistent TokenBridge naming (#159) 2019-07-19 09:18:51 +02:00
run-tests.sh Remove ERC20_TOKEN_ADDRESS from env variables (#211) 2019-09-14 08:04:07 +02:00
test.js Ultimate tests for ERC-TO-ERC (#186) 2019-08-20 10:19:42 +02:00
User.js Simplified ui-e2e linting rules (#140) 2019-07-11 15:06:50 +02:00
Utils.js Simplified ui-e2e linting rules (#140) 2019-07-11 15:06:50 +02:00

POA TokenBridge / UI-E2E

End to end tests for the POA TokenBridge 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