1013f69a8b
* Moved selenium to ui-e2e dev dependencies * Cosmetics * Removed compiling contracts from build and from test * Introduced initialize job; Moved cover job to the main workflow * Build, lint, test and cover jobs using initialize cache * Yarn install not needed for oracle-e2e. Enable docker caching. Frozen lockfile * Use docker layer caching and yarn cache for ui-e2e * Trying to save npm install log as artifact * More caching. |
||
---|---|---|
.. | ||
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 |
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