Skip to content

[Exploratory] Agent - Inconsistent error message on “Members” page after trying to delete approver agent. #96303

Description

@applause-bot

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.4.35-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #95934
Email or phone of affected tester (no customers): ibellicotest+2766@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Motorola MotoG60 / Android 12 (Hybrid app) - Windows 11 / Chrome
App Component: Other

Action Performed:

Prerequisite: Account has at least one workspace.

  1. Open the staging.new.expensify.com website.
  2. Navigate to “Agents” on “Account” section and create an agent
  3. Make the agent member and approver of workspace.
  4. Navigate to workspace chat and create and submit an expense.
  5. Open the expense and verify the report is waiting for the agent approval
  6. Navigate to “Agents” page again and attempt to delete the agent.
  7. Note that a "There are outstanding reports awaiting approval! Please review reports (ID: ...) before deleting the agent account" error appears.
  8. Note that a RBR appears on "Workspace" tab.
  9. Navigate to "Workspace" and access “Members” page.
  10. If error disappears, repeat step 6 and return to "Members" page.
  11. Note that an “Oops, something went wrong” message appears below agent.
  12. Dismiss the error.
  13. Try to remove agent as member.
  14. Note that now, a different error, showing the presence of an outstanding expense appears.

Expected Result:

Same error message should appear on “Members” page after trying to delete an approver agent or remove it from members list when there is an outstanding expense present.

Actual Result:

Inconsistent error messages are shown on “Members” page, when trying to delete an approver agent or remove it from members list.
After trying to delete agent, a “Oops, something went wrong” message appears.
If user tries to remove agent from members list, an error message showing the presence of an outstanding expense being present appears.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7209722_1784205072783.F2D390BE-B6A5-47F2-AD7C-B367BB56D344.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Mita Rachim
Bug ID: 7209722

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions