You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-11-20] [$125] [Create Automated Test] Inbox - GBR: workspace chat physical expensify card has issued awaiting user address #69896
Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsTask
This issue is to track the creation of automated tests to ensure that all Red Brick Road and Green Brick Road flows are working as expected. This issue covers one specific instance of where the Brick Road shows up and the criteria for it doing so.
Context
This is one issue of a larger project to create GBR tests. We'll create a FE and a BE test for each issue, and I'll be handling the BE test for most of the issues. Please feel free to ask any clarifying questions as to the behavior that should be asserted
Test case
Section: Inbox Type: GBR Criteria for showing the brick road: In workspace chat, physical Expensify Card has been issued, and awaiting user to add private personal shipping details for the physical card in order to be actually shipped Intentional?: Yes What the green/red dot links to: NA
Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext.
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
Please re-state the problem that we are trying to solve in this issue.
The Inbox should surface a green brick road when a workspace chat is waiting on someone to add Expensify Card shipping details. We need to have an automated test that confirms this behaviour.
What is the root cause of that problem?
Our ReportUtils tests stop after verifying generic reasons and card fraud alerts, but never cover the card-missing-address path for workspace chats.
// Given an expense report, a chat report, and an archived chat report
constexpenseReport: Report={
...createRandomReport(1000,undefined),
What changes do you think we should make in order to solve the problem?
Add a unit test that seeds a policy chat with a CARD_MISSING_ADDRESS action and asserts that getReasonAndReportActionThatRequiresAttention returns the waiting-for-assignee reason.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.57-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsTask
Activity
melvin-bot commentedon Sep 4, 2025
Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext.
[-][Create Automated Test] Inbox - GBR: workspace chat physical expensify card has issued awaiting user add[/-][+][Create Automated Test] Inbox - GBR: workspace chat physical expensify card has issued awaiting user address[/+]melvin-bot commentedon Sep 29, 2025
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
Valforte commentedon Oct 31, 2025
I don't see a way to test for this GBR on the backend. Will ask for help
ShridharGoel commentedon Oct 31, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
The Inbox should surface a green brick road when a workspace chat is waiting on someone to add Expensify Card shipping details. We need to have an automated test that confirms this behaviour.
What is the root cause of that problem?
Our ReportUtils tests stop after verifying generic reasons and card fraud alerts, but never cover the card-missing-address path for workspace chats.
App/tests/unit/ReportUtilsTest.ts
Lines 5050 to 5073 in cb64fe2
What changes do you think we should make in order to solve the problem?
Add a unit test that seeds a policy chat with a
CARD_MISSING_ADDRESSaction and asserts thatgetReasonAndReportActionThatRequiresAttentionreturns the waiting-for-assignee reason.25 remaining items
[-][$125] [Create Automated Test] Inbox - GBR: workspace chat physical expensify card has issued awaiting user address[/-][+][Due for payment 2025-11-20] [$125] [Create Automated Test] Inbox - GBR: workspace chat physical expensify card has issued awaiting user address[/+]melvin-bot commentedon Nov 13, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Nov 13, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.57-4 and is now 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-11-20. 🎊
For reference, here are some details about the assignees on this issue:
ShridharGoel commentedon Nov 20, 2025
@clarajones-expensify Hi, this is due for payment.
clarajones-expensify commentedon Nov 20, 2025
Payment Summary
Contributor: @ShridharGoel due $125 via NewDot
Contributor+: @Krishna2323 due $125 via NewDot
Krishna2323 commentedon Dec 6, 2025
Requested in ND.
quinthar commentedon Dec 8, 2025
Approved $125 to @Krishna2323