Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QA] Routes are not displayed when entering a space in Amount field #3273

Open
tsadovska opened this issue Feb 12, 2025 · 0 comments
Open

[QA] Routes are not displayed when entering a space in Amount field #3273

tsadovska opened this issue Feb 12, 2025 · 0 comments
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement p2 Low priority issue

Comments

@tsadovska
Copy link
Collaborator

tsadovska commented Feb 12, 2025

Describe the current behavior in detail

Reproducible on https://wormhole-connect-mainnet.netlify.app/.

Steps:

  1. Select Ethereum network and USDC token in "From" section (MetaMask wallet auto-connects)
  2. Select Base network and USDC token in "To" section (MetaMask wallet auto-connects)
  3. Press the spacebar on the keyboard
  4. Enter amount, for example, 1
  5. Check if routes are displayed

Actual result: Routes are not displayed.

Uncaught Error: Amount: invalid input. Must only contain digits.
    at validateAmountInput (main-QbFxXTFE.js:294:23211)
    at parse$5 (main-QbFxXTFE.js:294:21297)
    at setAmount (main-QbFxXTFE.js:410:248405)
    at main-QbFxXTFE.js:289:54467
    at produce (main-QbFxXTFE.js:289:39983)
    at main-QbFxXTFE.js:289:54439
    at Array.reduce (<anonymous>)
    at ct (main-QbFxXTFE.js:289:54331)
    at reducer (main-QbFxXTFE.js:289:55666)
    at main-QbFxXTFE.js:289:45589

Expected result: Routes are displayed.

Attachment

Image

Note

Routes are displayed when an amount is entered without a space (or when the space has been removed).

Image

@tsadovska tsadovska added connect v2 Tickets that relate to the full redesign+sdkv2 replacement p2 Low priority issue labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement p2 Low priority issue
Projects
None yet
Development

No branches or pull requests

1 participant