Skip to content

Review button appearing in Report + Expense list view on Approved + Done reports (when no action to take) #72492

@heyjennahay

Description

@heyjennahay

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:
Reproducible in staging?:
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): finance.jenna@expensicorp.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @heyjennahay
Slack conversation (hyperlinked to channel name): #migrate #product

Action Performed:

Break down in numbered steps

  1. Create a new report on a Submit + Approve workspace
  2. Add a manually created expense to the report for an amount larger than the receipt you have
  3. Manually attach a receipt for a lessor amount to the manually created expense
  4. Confirm a warning is added to the expense Amount greater than scanned receipt
  5. Submit the expense
  6. View the report as the approver and confirm while in the Outstanding state that there is a Review button in the Report preview in the Inbox
  7. View the report on the Reports > Reports page and confirm there is a Review button
  8. View the expense on the Reports > Expenses page and confirm there is a Review button
  9. Approve the expense
  10. View the report preview in the Inbox and see what button is presented (Review = bug)
  11. View the report on the Reports > Reports page and see what button is presented on the report (Review = bug)
  12. View the expense on the Reports > Expenses page and see what button is presented on the expense (Review = bug)
  13. Re perform the test steps again on a Submit + Close workspace skipping steps 6-9

Expected Result:

If a report state = Approved or Done + an expense with a violation/warning, then button should = View or Pay (if payments are enabled on the workspace)

Actual Result:

When report state = Approved or Done + an expense with a violation/warning, then button = Review despite there not being anything to review or any action to take

Workaround:

None

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Report IDR00CSVcch8xR Long ID2720482668126605
Submitter = finance.jenna@expensicorp.com
Approver = jenna@expensify.com

Image Image Image

View all open jobs on GitHub

Metadata

Metadata

Assignees

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2

Type

No type
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