Skip to content

[HOLD for payment 2024-06-13] [$250] Distance rate can be deleted from 3-dot menu when there is only one rate #41594

@m-natarajan

Description

@m-natarajan

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: 1.4.70-0
Reproducible in staging?: Yes
Reproducible in production?: No
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:

Precondition:

  • There is only one default distance rate in the workspace.
  1. Go to staging.new.expensify.com
  2. Go to Account settings > Workspaces > any workspace.
  3. Go to Distance rates.
  4. Go offline.
  5. Add a distance rate,
  6. Delete the default workspace rate (not the newly-added rate).
  7. Click on the checkbox of the newly added distance rate.
  8. Select Delete option from the dropdown.
  9. Note that the distance rate cannot be deleted because there must be at least one distance rate.
  10. Click on the distance rate row.
  11. Delete it from the three-dot menu.

Expected Result:

App will show the same pop-up in Step 9 that the distance rate cannot be deleted as there is only one distance rate.

Actual Result:

Distance rate can be deleted from 3-dot menu when there is only one distance rate.

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

Bug6470164_1714748306876.bandicam_2024-05-03_22-51-33-950.mp4

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0144c3fd2f5960b3c2
  • Upwork Job ID: 1786441064248098816
  • Last Price Increase: 2024-05-03
  • Automatic offers:
    • cretadn22 | Contributor | 0
Issue OwnerCurrent Issue Owner: @sobitneupane / @kevinksullivan

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

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions