tokenbridge/ui-e2e
Przemyslaw Rzad cf3aa56929
Simplified ui-e2e linting rules (#140)
* Simplified ui-e2e linting rules

* More simplification
2019-07-11 15:06:50 +02: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 Simplified ui-e2e linting rules (#140) 2019-07-11 15:06:50 +02:00
package.json E2E files linting (#117) 2019-07-02 15:12:57 +02:00
Page.js Simplified ui-e2e linting rules (#140) 2019-07-11 15:06:50 +02:00
README.md Updates after deployment test (#75) 2019-05-31 14:54:32 +02:00
run-tests.sh No down.sh in CI 2019-06-04 09:13:04 +02:00
test.js Simplified ui-e2e linting rules (#140) 2019-07-11 15:06:50 +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 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