Skip to content

[$1000] Web - Hitting Enter while login loading calls API again. #23428

Description

@kbecciv

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


Action Performed:

  1. Open Login Form
  2. Simulate slow network to observe the behaviour
  3. Type one mail and hit enter
  4. Change the mail speed & hit enter while previous login is loading.
  5. Observe two API calls are going with two mail, also observe OTP form is also changes with the two different mail once OTP has been sent.

Expected Result:

We shouldn't allow API Call or changing email while loading.

Actual Result:

User is able to change the email as well as API calls are also going multiple time.

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.42-26
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
Notes/Photos/Videos: Any additional supporting documentation

ibc.mp4

Expensify/Expensify Issue URL:
Issue reported by: @b4s36t4
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689948859928519

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01490293c7802bf825
  • Upwork Job ID: 1683899063524028416
  • Last Price Increase: 2023-08-01
  • Automatic offers:
    • b4s36t4 | Contributor | 25903420
    • b4s36t4 | Reporter | 25903423

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions