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
[HOLD for payment 2024-10-14] [$250] Web - Pay - Not here page opens when Gmail user Pay with Expensify #49523
Version Number: 9.0.38-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers):gocemate+a2207@gmail.com Issue reported by: Applause Internal Team
Action Performed:
Open 1:1 chat with other user
Go to Pay
Select USD -$ currency>Enter amount> Next> Pay with Expensify
Expected Result:
Add bank account page should open
Actual Result:
Not here page opens when Gmail user Pay with Expensify
@isabelastisser 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
changed the title [-]Web - Pay - Not here page opens when Gmail user Pay with Expensify[/-][+][$250] Web - Pay - Not here page opens when Gmail user Pay with Expensify[/+]on Sep 20, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@ikevin127] The PR that introduced the bug has been identified. Link to the PR:
[@ikevin127] 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:
[@ikevin127] A discussion in #expensify-bugs 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:
[@ikevin127] Determine if we should create a regression test for this bug.
[@ikevin127] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@isabelastisser] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
which was caused by lack of testing on both PR reviewer and author sides. The issue mentioned above is open for proposals, unless the author wants to fix the issue given that we're still within the regression period.
Note: The issue was that we relied on the other PRs implementation of the new route without actually testing if the implementation works, ignoring this issue's Expected result which states Add bank account page should open as we stopped the testing at "seeing the magic code input showing up in RHP".
@cretadn22 No. Truth is that because neither of us actually tested what happens once the validation code is inputted - we're both going to get the regression penalty here.
It's also true that the issue of being logged out was not caused directly by logic you introduced in the PR, but rather an edge case / side effect of using the logic of the other PR in our specific case.
Given this, as I mentioned in the regression issue -> it's open for proposals.
[@ikevin127] A discussion in #expensify-bugs 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.
[@ikevin127] Determine if we should create a regression test for this bug.
[@ikevin127] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression Test Proposal
Login to new account (unverified).
Start a chat with an existing user > [+] > Pay [userName].
Select USD > Pay with Expensify.
Verify that the 'verify account page' shows up in RHP prompting user to enter the magic code.
which wasn't caused directly by the code implemented by this issue's fix but as a side effect of our previous logic not being adjusted to handle updating the authToken while logged in - more details in issue #50284 (comment).
Given this, both me (reviewer) and contributor should get a -50% penalty on the issue's bounty.
Activity
melvin-bot commentedon Sep 20, 2024
Triggered auto assignment to @isabelastisser (
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.IuliiaHerets commentedon Sep 20, 2024
We think that this bug might be related to #wave-collect - Release 1
IuliiaHerets commentedon Sep 20, 2024
@isabelastisser 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
etCoderDysto commentedon Sep 20, 2024
Edited by proposal-police: This proposal was edited at 2024-09-20 11:10:39 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Pay - Not here page opens when gmail user Pay with Expensify
What is the root cause of that problem?
When user is not validated and navigates to
bankAccountRoute(settings/wallet/add-bank-account) hmm it not page is displayedApp/src/components/MoneyRequestConfirmationList.tsx
Line 849 in d009d8e
App/src/pages/AddPersonalBankAccountPage.tsx
Line 70 in d009d8e
What changes do you think we should make in order to solve the problem?
We should check if the user is validated first before we display pay with expensify button here. And hide the button when the user is not validated
App/src/components/SettlementButton/index.tsx
Line 98 in d009d8e
What alternative solutions did you explore? (Optional)
[-]Web - Pay - Not here page opens when Gmail user Pay with Expensify[/-][+][$250] Web - Pay - Not here page opens when Gmail user Pay with Expensify[/+]melvin-bot commentedon Sep 20, 2024
Job added to Upwork: https://www.upwork.com/jobs/~021837168425885571920
melvin-bot commentedon Sep 20, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 (
External)isabelastisser commentedon Sep 20, 2024
@davidcardoza, I can't add this issue to the
bill payproject. Can you please help? Thanks!1subodhpathak commentedon Sep 20, 2024
Not able to reproduce!
37 remaining items
melvin-bot commentedon Oct 7, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
isabelastisser commentedon Oct 8, 2024
@ikevin127 @cretadn22, can you please provide an update? Did the PR cause a regression? What's next here?
ikevin127 commentedon Oct 8, 2024
@isabelastisser Yes, we had the following regression:
which was caused by lack of testing on both PR reviewer and author sides. The issue mentioned above is open for proposals, unless the author wants to fix the issue given that we're still within the regression period.
Note: The issue was that we relied on the other PRs implementation of the new route without actually testing if the implementation works, ignoring this issue's Expected result which states
Add bank account page should openas we stopped the testing at "seeing the magic code input showing up in RHP".cretadn22 commentedon Oct 9, 2024
@ikevin127 Are you suggesting that I need to create a PR to address this new issue? I believe it's outside the scope of this problem.
ikevin127 commentedon Oct 9, 2024
@cretadn22 No. Truth is that because neither of us actually tested what happens once the validation code is inputted - we're both going to get the regression penalty here.
It's also true that the issue of being logged out was not caused directly by logic you introduced in the PR, but rather an edge case / side effect of using the logic of the other PR in our specific case.
Given this, as I mentioned in the regression issue -> it's open for proposals.
ikevin127 commentedon Oct 11, 2024
Regression Test Proposal
Do we agree 👍 or 👎.
@isabelastisser As for payment, there was one regression:
which wasn't caused directly by the code implemented by this issue's fix but as a side effect of our previous logic not being adjusted to handle updating the
authTokenwhile logged in - more details in issue #50284 (comment).Given this, both me (reviewer) and contributor should get a -50% penalty on the issue's bounty.
isabelastisser commentedon Oct 15, 2024
I was OOO yesterday. I will review this today!
isabelastisser commentedon Oct 15, 2024
@ikevin127, thanks for the detailed explanation above! I've processed the payments in Upwork now.
isabelastisser commentedon Oct 15, 2024
All set!