1.4 KiB
1.4 KiB
We currently do not have an automated regression test for the app, i.e. GUI. Please use this procedure to manually test:
Kill previous execution:
- Ctl-C previous
maketo kill all servers. - Use Chrome browser.
- Reset MetaMask.
- Quit Chrome.
Start server an page:
- use
maketo start all servers. - Wait until the script prints "done"
- Start Chrome.
- Log into MetaMask. Check that tokens are populated.
- Open "localhost:3000".
- You should be a the vault page.
Vault creation and funding:
- Wait until vault has been created.
- Click the
Gibbutton and wait until the vault has been funded.
Vault withdraw:
- Click the three dots to the right of the MEH balance and withdraw 1.
- MetaMask will pop up to ask you to confirm the withdraw transaction. Confirm.
- Go to MetaMask and observe that 1 MEH has been transferred. It might take a few seconds.
Vault receive:
- Now from MetaMask, send 1 WETH to your vault.
- Confirm on the vault page that the WETH has been received.
TWAP submission:
- Use the menu to the DCA/TWAP page (localhost:3000/twap)
- Change the amount in default transaction to 1 and place the order.
- MetaMask will pop up and ask you to confirm the transaction. Confirm.
TWAP operation:
- The app will switch to the order page.
- Observe your order in the list.
- Observe three tranches fill within 1 minute.