App: [$500] Contact methods - Two error messages appear the same time

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: v1.4.12-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause-Internal Team Slack conversation: @

Action Performed:

  1. Go to URL https://staging.new.expensify.com/
  2. Login with any account
  3. Go to Settings -> Profile -> Contact methods
  4. Enter a new contact method -> Don’t validate
  5. Several times click Didn't receive a magic code? until you get an error message
  6. Then enter incorrect magic code -> Verify

Expected Result:

The previous error disappears when the next one appears

Actual Result:

Two error messages appear the same time

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

https://github.com/Expensify/App/assets/115492554/4165d175-0287-44a2-8cc3-2b32b95664ee

Bug6312958_1702554590611!image__194_

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f249f131d8120932
  • Upwork Job ID: 1735273944025079808
  • Last Price Increase: 2023-12-14
  • Automatic offers:
    • c3024 | Reviewer | 28065356
    • dukenv0307 | Contributor | 28065358

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 28 (14 by maintainers)

Commits related to this issue

Most upvoted comments

Regression Test Proposal

  1. Go to Profile > Contact Method
  2. Click on ‘New Contact Method’ button
  3. Input an email and click ‘Add’
  4. Click on the email added in the ‘Contact Methods’ page
  5. Click on the ‘Didn’t receive magic code’ button several times quickly so that the error “You’ve reached the maximum number of magic codes…” is shown.
  6. Input an incorrect code
  7. Verify that only the error “Incorrect or invalid magic code…” is shown and the error “You’ve reached the maximum number of magic codes…” is not shown.

👍 or 👎