Skip to content

[Payment Due May 7] [$250] Expense - Discard Changes modal not displayed when using device back button on Merchant field #55287

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.86-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): ibellicotest+171@gmail.com
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12 - Chrome / Windows 10 - Chrome
App Component: Money Requests

Action Performed:

  1. Open the staging.new.expensify.com website.
  2. Click on the FAB and select "Create Expense"
  3. Complete with any amount and click on "Next"
  4. Select any Workspace.
  5. Open "Merchant" field and write anything.
  6. Tap on the app´s back button.
  7. Check that a "Discard Changes" modal is displayed.
  8. Open "Merchant" field again and write anything.
  9. Use the device back button.
  10. Check if a "Discard Changes" modal is displayed.
  11. Repeat steps 5 to 10 but with "Description" field.

Expected Result:

"Discard Changes" modal should be displayed if the user returns to previous page using device back button.

Actual Result:

"Discard Changes" modal is not displayed when using device back button on "Merchant" or "Description" fields.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6714843_1736954744576.Modal.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021879602279874226797
  • Upwork Job ID: 1879602279874226797
  • Last Price Increase: 2025-01-15
  • Automatic offers:
    • mkzie2 | Contributor | 105790576
Issue OwnerCurrent Issue Owner: @strepanier03

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