helix-bridge / wormhole-ui

https://wormhole-ui.vercel.app/
2 stars 1 forks source link

E2E. test overview #183

Open sxlwar opened 2 years ago

sxlwar commented 2 years ago
state test direction host direction wallet test case
✅ Ropsten -> Pangolin Ethereum -> Darwinia metamask CT1
✅ Ropsten -> Pangolin Ethereum -> Darwinia metamask AT1
🚫 Pangolin -> Ropsten Darwinia -> Ethereum polkadot extension CT1 (ring & kton, only ring, only kton)
✅ Pangolin DVM -> Pangoro Crab DVM -> Darwinia metamask CT1
✅ Pangolin DVM -> Pangoro Crab DVM -> Darwinia metamask AT1
🚫 Pangoro -> Pangolin DVM Darwinia -> Crab DVM polkadot extension CT1
✅ Pangolin DVM -> Pangolin Crab DVM -> Crab metamask CT1
✅ Ropsten -> Pangolin Ethereum -> Darwinia - RT1
✅ Pangolin -> Ropsten Darwinia -> Ethereum metamask RT1
✅ Pangolin -> Ropsten Darwinia -> Ethereum metamask RT2
✅ Pangolin DVM -> Pangoro Crab DVM -> Darwinia - RT1
✅ Pangoro -> Pangolin DVM Darwinia -> Crab DVM - RT1
✅ Pangolin -> Pangolin DVM Crab -> Crab DVM - RT1
✅ Pangolin DVM -> Pangolin Crab DVM -> Crab - RT1

Key

✅ - Test Done 🚫 - Test can not be implemented

E2E

All tests will be mocked by the corresponding test chain

Test Case

Cross Test-1(CT1): select networks -> fill in form -> submit -> confirm -> wallet approve -> sent

Approve Test-1(AT1): select networks -> fill in the transfer amount -> click approve -> wallet approve -> sent

Records Test-1 (RT1): select networks -> fill in account -> toggle status button -> display records correctly

Records Test-2 (RT2): select networks -> fill in account -> select a record need to claim -> claim -> wallet approve -> claimed

Records Test-3 (RT3): send tx -> go to history -> search all records -> open the target panel -> progress step should be completed sequence (target chain state maybe not change, because of polling count limit)

sxlwar commented 2 years ago

Add Smart <-> Mainnet records test and Smart -> Mainnet cross-chain test