Skip to content

[$75] Web - Expensify Card - Inconsistent behavior of phone number validation for shipping details #51491

Description

@IuliiaHerets

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.0.53-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): nathanmulugetatesting+1943@gmail.com
Issue reported by: Applause Internal Team

Action Performed:

Pre-conditions:

  • Workspace is connected with a bank account
  • Workspace has a member invited
  • Workspace has enabled Expensify card
  1. Issue a physical card for the member
  2. Sign in as the member
  3. Go to the workspace chat and click on add shipping detail page
  4. Go through the flow until phone number input page
  5. Input this: 8005555555 phone number and click enter
  6. Observe the behavior of the error when 1 is prepended
  7. Go to settings > Wallet > click on the assigned card under the Assigned cards section
  8. Go through the flow until you get to the phone number input page
  9. Input 8005555555 and click enter
  10. Observe the behavior of the error when you prepend 1
  11. Prepend "+" again and observe the behavior of the error

Expected Result:

The phone number validation works the same on both pages

Actual Result:

The phone number validation works inconsistently, when going through the form from the workspace chat page prepending "1" only works fine but when going through the form from the wallet page user has to additionally prepend "+" before "1" in order for the phone number to be accepted.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6643815_1729722869946.bandicam_2024-10-24_01-24-08-489.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021850956027322769046
  • Upwork Job ID: 1850956027322769046
  • Last Price Increase: 2025-02-17
  • Automatic offers:
    • NJ-2020 | Contributor | 104756183
Issue OwnerCurrent Issue Owner: @sobitneupane

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions