be0b401885
* Extracted common eslint devDependencies * Applied prettier fixes for ui * Extracted common mocha dependency * Remove unused eslint plugins * Prettier fix * Updated dependency according to yarn audit * Re-added eslint plugins * Eslint plugins in one place * Update dependencies failing on ci |
||
---|---|---|
.. | ||
accounts | ||
envs | ||
scripts | ||
config.json | ||
docker-compose.yml | ||
mainPage.js | ||
MetaMask.crx | ||
MetaMask.js | ||
package.json | ||
Page.js | ||
README.md | ||
run-tests.sh | ||
test.js | ||
User.js | ||
Utils.js |
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