Skip to content
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

mWeb - Card - PR50039-No virtual card is created when issuing it from the members page #50467

Closed
2 of 6 tasks
lanitochka17 opened this issue Oct 8, 2024 · 22 comments
Closed
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Monthly KSv2 retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Oct 8, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.46-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Issue found when executing PR #50039

Action Performed:

  1. Log in in the App
  2. Create a WS
    1. Add a Verified Bank Account to the Workspace
  3. In WS settings go to More Features and Enable Expensify card
  4. Invite a member to WS
  5. Click on the member just invited, on the RHP click om the +New Card
  6. Go with the flow to (select virtual card)
  7. On the last page click Issue Card

Expected Result:

A new virtual card is issued to the selected member

Actual Result:

The card issue flow ends but no new card is displayed

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6628427_1728398410811.nocardprod.mp4
Bug6628427_1728398410834.az_recorder_20241008_130453.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 8, 2024
Copy link

melvin-bot bot commented Oct 8, 2024

Triggered auto assignment to @alexpensify (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.

@lanitochka17
Copy link
Author

@alexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave-collect - Release 2

@Nodebrute
Copy link
Contributor

probably dupe of #50441

@mountiny
Copy link
Contributor

mountiny commented Oct 8, 2024

@VickyStash @koko57 can you have a look at this one? I think the same solution is required - add card optimistically

@koko57
Copy link
Contributor

koko57 commented Oct 9, 2024

#50441 (comment) - commenting for assignment 🙂

@koko57
Copy link
Contributor

koko57 commented Oct 9, 2024

@lanitochka17 just to make sure - these are the exact steps for reproduction - after enabling the Expensify Card you go to the members page? You're not adding/choosing the bank account on this page?
Screenshot 2024-10-09 at 20 36 08

if so, that means it's the problem I mentioned here #50248 (comment)
so it'll be fixed by hiding Assigned Cards section
cc @mountiny

@koko57
Copy link
Contributor

koko57 commented Oct 9, 2024

another issue that I need to take care of and add RBR - when we're trying to choose an account that is already assigned to another's workspace Expensify Card
Screenshot 2024-10-09 at 20 48 32

@mountiny
Copy link
Contributor

mountiny commented Oct 9, 2024

Thanks I will ask QA to confirm

@isagoico
Copy link

isagoico commented Oct 9, 2024

@koko57 Apologies for the confusion, looks like we missed adding the step to add a Bank Account as the tester already had one added to the Workspace. That's why the selection of the bank account is not displayed in the video attached to the OC.
The correct steps would be:

  1. Log in in the App
  2. Create a WS
  3. Add a Verified Bank Account to the Workspace
  4. In WS settings go to More Features and Enable Expensify card
  5. Invite a member to WS
  6. Click on the member just invited, on the RHP click om the +New Card
  7. Go with the flow to (select virtual card)
  8. On the last page click Issue Card

I have updated the OC to reflect this.

@koko57
Copy link
Contributor

koko57 commented Oct 10, 2024

@isagoico ok! thanks!

@koko57
Copy link
Contributor

koko57 commented Oct 10, 2024

So we will need the optimistic update - but shouldn't also the BE send cardList as onyxUpdate in CreateAdminIssuedVirtualCard response?
Screenshot 2024-10-10 at 15 39 44

cc @mountiny @MariaHCD

@mountiny
Copy link
Contributor

Lets discuss in slack

@mountiny
Copy link
Contributor

PR to send the onyx updates is raised

@koko57
Copy link
Contributor

koko57 commented Oct 11, 2024

BE returns the card when creating one following these steps - this can be retested and closed.

@allgandalf allgandalf removed their assignment Oct 11, 2024
@mountiny mountiny added Weekly KSv2 Reviewing Has a PR in review retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause and removed Weekly KSv2 Daily KSv2 labels Oct 11, 2024
@isagoico
Copy link

isagoico commented Oct 11, 2024

@koko57 Hello there! We're still able to reproduce the issue on our end. The testers also pointed out that the issue is NOT reproducible with accounts that were created today.

The video below shows the flow when we're trying to assign a card to an existing account (>1 day older)

bandicam.2024-10-11.16-04-38-487.mp4

@mountiny
Copy link
Contributor

The QA can still experience this issue because the update is sent via pusher so its not instant, we will make couple changes to make this more smooth so making weekly and then we can recheck

@mountiny
Copy link
Contributor

https://github.com/Expensify/Auth/pull/12749 this PR should make it work better together with this https://github.com/Expensify/App/pull/50644/files and a loading state so we do not leave the page until you have a card

@mountiny mountiny added the Weekly KSv2 label Oct 11, 2024
@melvin-bot melvin-bot bot removed the Weekly KSv2 label Nov 4, 2024
Copy link

melvin-bot bot commented Nov 4, 2024

This issue has not been updated in over 15 days. @alexpensify, @koko57, @mountiny 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!

@melvin-bot melvin-bot bot added the Monthly KSv2 label Nov 4, 2024
@mountiny
Copy link
Contributor

mountiny commented Nov 4, 2024

Asked for a retest here

@kavimuru
Copy link

kavimuru commented Nov 5, 2024

Bug is not reproducible.

50467-2.mp4

@mountiny
Copy link
Contributor

mountiny commented Nov 5, 2024

Nice so we can close this, the fix was internal in the BE

@mountiny mountiny closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Monthly KSv2 retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Reviewing Has a PR in review
Projects
No open projects
Status: Polish
Development

No branches or pull requests

8 participants