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
78 stars 56 forks source link

[QA]Route is switching to automatic every time when user changes the amount #1938

Open AigaD opened 5 months ago

AigaD commented 5 months ago

Precondition: Metamask wallet connected

Environment: OS: macOS Sonoma 14.4.1 Browser: Chrome Version 121.0.6167.85

Tested from: https://testnet.portalbridge.com/ed4e22522f/

Steps:

  1. Prepare to send 0.001 Ws from Sepolia to Optimism Sepolia
  2. Select manual Native token transfer Route
  3. Change the amount to 0.0001
  4. Click outside the amount field
  5. Observe the Route section

Actual result: Every time when user changes the amount Automatic Native token transfer route is switched to

Expected result: User changes amount, but if previously selected Manual Native token transfer route, the selection is left at manual route

Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/007cdbdc-6352-4e6c-95e8-982420734a2e

kev1n-peters commented 5 months ago

This happens with other routes too from what I tested

AigaD commented 4 months ago

Tested also from: https://wormhole-connect-mainnet.netlify.app/?config=N4KABGCmB2BuBcYDkBbAhgS2tSAXJANOGAEQBGAThgCYDmkAIpAGZoCuANrgM4mKgQIzCgHsUAOTwB3ERQDWiJHgAWkCpDYpCxCLhGTcM%2BYu4iOaaGm2CweuTEUBRACoAJa2AC%2BIT0A%3D# Route section switches to Automatic route if the amount is edited Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/2fbbbfac-4988-426d-b0b9-d79b3ea2be92

agodlevska commented 3 weeks ago

Issue is still reproducible on https://portalbridge.com/. Route section switches to Automatic Route if the amount is changed.

Attachment:

https://github.com/user-attachments/assets/3111bdf7-6331-4549-9281-547b636eb348