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
71 stars 48 forks source link

[QA][Mainnet] Sui Metamask Snap wallet does not disconnect when user revokes connection from wallet itself #1540

Open AigaD opened 5 months ago

AigaD commented 5 months ago

Preconditions: Wallet is not connected

Environment: MacBook Pro, macOS Ventura 13.0.1, Chrome Version 120.0.6099.234

Tested from: https://wormhole-connect-mainnet.netlify.app/# and https://preview.portal-bridge-ui.pages.dev/c0216a7edf/#

Steps:

  1. Connect Sui Metamask Snap at sending From section
  2. Open Metamask wallet extension
  3. Click on three dots to open menu
  4. Select "Snaps"
  5. Scroll down and select Disconnect
  6. Observe

Actual result: Although Sui Metamask Snap connection to Wormhole or Portal app is revoked, it does not show as disconnected

Expected result: Wallet disconnects from any app that user clicks on Disconnect

Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/f7b79893-18fb-4eef-a897-961ed6e66551

AigaD commented 5 months ago

Reproduced from: https://portalbridge.com/# Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/71cb735e-78aa-45ff-bf15-effa97e2453b