-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$250] Wallet - Missing email in "Please enter the magic code sent to" when revealing card details as copilot #57618
Comments
Triggered auto assignment to @greg-schroeder ( |
Job added to Upwork: https://www.upwork.com/jobs/~021895518523085098853 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-02-28 18:01:20 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Missing email in "Please enter the magic code sent to" when revealing card details as copilot What is the root cause of that problem?When acting as a delegate, the
What changes do you think we should make in order to solve the problem?Use the util here to fallback to Lines 260 to 262 in 9672b4a
We can optionally apply this same fix to other pages using What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None - UI bug What alternative solutions did you explore? (Optional)None |
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Missing email in "Please enter the magic code sent to" when revealing card details as copilot What is the root cause of that problem?The primaryLogin is fetched from the current accounts primary login value, when someone co-pilots in the account we do not have this field set as now we are acting as a delegate, this causes the bug in the OP, this is the RCA:
What changes do you think we should make in order to solve the problem?We should use the hook const primaryLogin = formatPhoneNumber(currentUserPersonalDetails?.login ?? '');
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We write up a UI test for this bug, we should update the onyx data to show that the current user has been logged in as a copilot, then render the virtual expensify card page, we will set What alternative solutions did you explore? (Optional)we can use the util |
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.7-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): applausetester+sj9032@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
"Please enter the magic code sent to" message will show the email
Actual Result:
"Please enter the magic code sent to" message is missing the email
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6757593_1740754288053.20250228_224146.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @fedirjhThe text was updated successfully, but these errors were encountered: