wormhole-foundation / wormhole-connect

Wormhole Connect brings all the functionality and utility of Wormhole right into your application and removes all of the complexity.
https://connect-in-style.wormhole.com/
Other
81 stars 64 forks source link

[QA] User can proceed to review the transaction when no route is selected #2695

Closed tsadovska closed 1 week ago

tsadovska commented 1 month ago

Describe the current behavior in detail

Checked on https://portalbridge.com/.

Steps:

  1. Prepare to send 1.57201 USDC from BSC (MetaMask) to Arbitrum (MetaMask)
  2. Change source chain to Solana (Phantom wallet was auto-connected) and select USDC token
  3. Change Amount if required (in my case, amount exceeded available balance and I clicked on "max" to change Amount to 0.465103)
  4. Check that no route is selected
  5. Click on "Review transaction" button

Actual result: Transaction details are not displayed. Expected result: User should not be able to proceed to review the transaction if route is not selected.

Notes/ Attachments

image

https://github.com/user-attachments/assets/e07ec7cb-687c-43af-8f77-54b5cc748a78

Transaction details are displayed on Confirm transaction screen after route option is selected.

https://github.com/user-attachments/assets/24a75c14-d475-46f1-974e-f6da950af1c9

Wesleyleung commented 1 month ago

Looks like an edge case where you're able to get to a state where a route option is not selected. We should make it so that a route option is selected (default 1st result) and check that the "Review transaction" button cannot proceed unless a route is selected.

tsadovska commented 1 week ago

Issue is no longer reproducible on https://wormhole-connect-mainnet.netlify.app/.