Skip to content

[$125] Expense - When approving non-reimbursable expense, "Approve" does not change to "👍 Approved" #68992

Closed

Description

@mitarachim

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.1.97-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: #68581
Email or phone of affected tester (no customers): sdjoidsnjdosijods@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Money Requests

Action Performed:

  1. Go to staging.new.expensify.com

  2. Go to workspace chat.

  3. Submit two reimbursable expenses to the workspace chat.

  4. Open expense report.

  5. Select any expense via checkbox > Click More > Hold.

  6. Enter reason and save it.

  7. Click Submit and Approve.

  8. Approve the pending (unheld) amount.
    → Note that Approve button changes to 👍 Approved and disappears.

  9. Go back to workspace chat and open the held expense, then click More > Submit.

  10. Go back to workspace chat.

  11. Submit two expenses to the workspace chat - one is reimbursable, the other one is not reimbursable.

  12. Open the expense report.

  13. Select the reimbursable expense via checkbox > Click More > Hold.

  14. Enter reason and save it.

  15. Click Submit and Approve.

Expected Result:

When the pending expense is not reimbursable, Approve button will change to 👍 Approved and disappear.

Actual Result:

When the pending expense is not reimbursable, Approve button does not change to 👍 Approved. It remains as Approve and then disappears.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6923676_1755853061273.Screen_Recording_2025-08-22_at_16.49.13.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021958834314051300581
  • Upwork Job ID: 1958834314051300581
  • Last Price Increase: 2025-08-22
Issue OwnerCurrent Issue Owner: @twisterdotcom

Activity

  1. added
    Daily
    Bug
    on Aug 22, 2025
  2. melvin-bot commented on Aug 22, 2025

    @melvin-bot

    Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. twisterdotcom commented on Aug 22, 2025

    @twisterdotcom
    Contributor

    Wow, niche. The button disappears almost immediately, so one time we see:

    Image

    And another time we see:

    Image

    I imagine it's due to the fact one time we show the pay button after. This has very little customer impact, so I'm downgrading to weekly and $125.

  4. added
    External
    on Aug 22, 2025
  5. changed the title [-]Expense - When approving non-reimbursable expense, "Approve" does not change to "👍 Approved"[/-] [+][$250] Expense - When approving non-reimbursable expense, "Approve" does not change to "👍 Approved"[/+] on Aug 22, 2025
  6. melvin-bot commented on Aug 22, 2025

    @melvin-bot
  7. added
    Help Wanted
    on Aug 22, 2025
  8. melvin-bot commented on Aug 22, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 (External)

  9. changed the title [-][$250] Expense - When approving non-reimbursable expense, "Approve" does not change to "👍 Approved"[/-] [+][$125] Expense - When approving non-reimbursable expense, "Approve" does not change to "👍 Approved"[/+] on Aug 22, 2025
  10. added
    Weekly
    and removed
    Daily
    on Aug 22, 2025
  11. melvin-bot commented on Aug 22, 2025

    @melvin-bot

    ⚠️ Failed to update price automatically. The BZ team member will need to update the price manually in Upwork.

  12. 26 remaining items

  13. dmkt9 commented on Sep 23, 2025

    @dmkt9
    Contributor

    @twisterdotcom @ahmedGaber93 The PR was deployed to production 2 weeks ago.

  14. twisterdotcom commented on Sep 23, 2025

    @twisterdotcom
    Contributor

    Ah, the automation didn't work. Okay, let me do a little copy/pasta.

  15. twisterdotcom commented on Sep 23, 2025

    @twisterdotcom
    Contributor

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.1-20 and was subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2025-09-12. 🎊

    For reference, here are some details about the assignees on this issue:

    • @ahmedGaber93 requires payment through NewDot Manual Requests
    • @dmkt9 requires payment (Needs manual offer from BZ)

    @ahmedGaber93 @twisterdotcom The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  16. twisterdotcom commented on Sep 23, 2025

    @twisterdotcom
    Contributor

    Payment Summary

    Upwork Job

    BugZero Checklist (@twisterdotcom)

    • (if NewFeature) I have created a PR for any necessary HelpDot updates, or I confirmed no updates are necessary.
    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
    • I have verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  17. added
    Awaiting Payment
    on Sep 23, 2025
  18. changed the title [-][$125] Expense - When approving non-reimbursable expense, "Approve" does not change to "👍 Approved"[/-] [+][$125] [Awaiting checklist] Expense - When approving non-reimbursable expense, "Approve" does not change to "👍 Approved"[/+] on Sep 23, 2025
  19. ahmedGaber93 commented on Sep 23, 2025

    @ahmedGaber93
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other: Applause Internal Team
    • [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      Link to comment: https://github.com/Expensify/App/pull/58084/files#r2373370061

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

      Link to discussion: N/A.

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue: https://github.com/Expensify/Expensify/issues/550574

    Regression Test Proposal

    Test:

    1. Open the app
    2. Create a workspace
    3. Go to workspace expense chat
    4. Create expense with reimbursable toggle disabled
    5. Submit the expense
    6. Approve the expense
    7. Note that "Approve" button changes to "👍 Approved" then disappears.

    Do we agree 👍 or 👎

  20. ahmedGaber93 commented on Sep 23, 2025

    @ahmedGaber93
    Contributor

    @twisterdotcom Checklist has completed, but the fix was removed by another PR by mistake here, and there is an open issue #70630 to fix it as a regression. I propose the regression test, but not sure if we should add it now, or they will add it after fixing #70630?

  21. twisterdotcom commented on Sep 24, 2025

    @twisterdotcom
    Contributor

    Let's add it now and we can skip it in #70630

  22. changed the title [-][$125] [Awaiting checklist] Expense - When approving non-reimbursable expense, "Approve" does not change to "👍 Approved"[/-] [+][$125] Expense - When approving non-reimbursable expense, "Approve" does not change to "👍 Approved"[/+] on Sep 24, 2025
  23. removed
    Awaiting Payment
    on Sep 24, 2025
  24. twisterdotcom commented on Sep 24, 2025

    @twisterdotcom
    Contributor

    Go ahead and request payment now @ahmedGaber93.

  25. trjExpensify commented on Nov 5, 2025

    @trjExpensify
    Contributor

    approved $125 for @ahmedGaber93.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugExternalMonthlyReviewing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions