40fef06503
* Renamed bridge-ui to ui, removed submodule * Re-added submodules. Pointing at 2.2.0 * Updated workspace name. * Removed package-lock.json. * Updated ui contracts to 2.3.0-rc0, installed node modules. * Added linting to ui * Integrated UI lint, test and build into CI. * Added readme for merging. * Consistent eslint module * Included plugins in dev dependencies. * Changed eslint version. * Add yarn.lock * Update deprecated node api. * Remove travis badge and config in ui * Update link to oracle in ui dependencies. * Remove duplicated gitter. * Remove unimplemented coverage and dependencies badges. * Update links in step 5 and 6 in UI * Cosmetic. |
||
---|---|---|
.. | ||
accounts | ||
bridge | ||
contracts | ||
parity | ||
scripts | ||
config.json | ||
docker-compose.yml | ||
mainPage.js | ||
MetaMask.crx | ||
MetaMask.js | ||
Page.js | ||
README.md | ||
run-tests.sh | ||
test.js | ||
User.js | ||
Utils.js |
e2e script for bridge-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