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

[$2000] Web - Login - Non-clickable LHN instead of "Abracadabra, you're logged in" page #20410

Closed
1 of 6 tasks
kbecciv opened this issue Jun 7, 2023 · 42 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Jun 7, 2023

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


Action Performed:

Scenario 1

  1. Log out of NewDot and request a new magic link
  2. Navigate to email and locate the magic link - change to staging if needed
  3. Open an new tab and navigate to the staging link

Scenario 2

  1. Log out of NewDot and request a new magic link
  2. Navigate to email and locate the magic link - change to staging if needed
  3. Open an new tab and navigate to the staging link
  4. Verify the 2FA required page is displayed. Should have a message similar to "Please enter the two-factor authentication code where you are trying to sign in."
  5. Navigate back to the original tab - Keep the second tab open
  6. Verify the log in flow is now asking the user to enter the 2FA code
  7. Enter the 2FA code
  8. Verify the user can log in
  9. Navigate to the secondary tab
  10. Verify the "Abracadabra, you're logged in" page is displayed

Scenario 3:

  1. Log out of NewDot and request a new magic link
  2. Navigate to email and locate the magic link - change to staging if needed
  3. Open an new INCOGNITO window and navigate to the staging link

Scenario 4:

  1. Log out of the account
  2. Enter the email on the email field and continue
  3. Verify the there's a message below that says "Not [Email]?" and a link to "Go back"
  4. Click on "Go Back"
  5. Verify the email is still displayed in the email field
  6. Continue with the log in flow
  7. Navigate to the email inbox and look for the magic link email
  8. Change the link to staging if needed
  9. Open a new tab and paste the link in the URL

Scenario 5:

  1. On the log in screen, enter a new account email
  2. Navigate to the email inbox and open the validate email and copy the link
  3. Modify the last portion of the link by a character, i.e.
    In a text box - Formulate the URL by using the path obtained from step 3 http://staging.new.expensify.com/v/
  1. Navigate to the compiled link
  2. Verify you're redirected the "Magic code expired" page
  3. Click on the "Request new magic code here"
  4. Verify the user receives a new magic link
  5. Change the link to staging, open a new tab and navigate to the link

Expected Result:

For both scenarios: "Abracadabra, you're logged in" page should be displayed

Actual Result:

For both scenarios: Non-clickable LHN (logged in pp) is displayed instead of "Abracadabra, you're logged in"" page

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.25.2

Reproducible in staging?: Yes

Reproducible in production?: No

If this was caught during regression testing, add the test name, ID and link from TestRail:
https://expensify.testrail.io/index.php?/tests/view/3490257
https://expensify.testrail.io/index.php?/tests/view/3490091
https://expensify.testrail.io/index.php?/tests/view/3490191
https://expensify.testrail.io/index.php?/tests/view/3490257
https://expensify.testrail.io/index.php?/tests/view/3490256

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Scenario 1

Bug6084047_video_04.1.mp4

Scenario 2

Bug6084047_video_64__1_.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team / @Natnael-Guchima

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0154116efc17a0ee13
  • Upwork Job ID: 1666593984300412928
  • Last Price Increase: 2023-07-01
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Jun 7, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Jun 7, 2023

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Triggered auto assignment to @joelbettner (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@roryabraham
Copy link
Contributor

Taking this over from @joelbettner

@roryabraham
Copy link
Contributor

Wasn't able to reproduce w/ scenario 1 in dev, but was able to reproduce on staging. I think the difference was that the desktop deeplink was making it not work as expected?

@roryabraham
Copy link
Contributor

Was able to reproduce this in dev by removing this dev environment check

@roryabraham
Copy link
Contributor

So it seems like what's happening here is that we're redirecting to new-expensify://URL here, and that's causing the request to the transition page w/ the correct exitTo to be cancelled:

image

and that seems to be why the flow is failing?

@roryabraham
Copy link
Contributor

I reproduced this on production. Demoting it from deploy blocker to regular bug.

@roryabraham roryabraham added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@roryabraham roryabraham added the External Added to denote the issue can be worked on by a contributor label Jun 7, 2023
@melvin-bot melvin-bot bot changed the title Web - Login - Non-clickable LHN instead of "Abracadabra, you're logged in" page [$1000] Web - Login - Non-clickable LHN instead of "Abracadabra, you're logged in" page Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0154116efc17a0ee13

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 (External)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Current assignees @puneetlath and @roryabraham are eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 19, 2023

Looks like something related to react-navigation may have been mentioned in this issue discussion.

As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

Feel free to drop a note in #expensify-open-source with any questions.

@melvin-bot melvin-bot bot added the Overdue label Jun 20, 2023
@WoLewicki
Copy link
Contributor

Is it connected to the navigation refactor in a way that I can help you anyhow?

@hoangzinh
Copy link
Contributor

@WoLewicki according to my proposal above, I don't think it's related to navigation refactor recently.

@melvin-bot
Copy link

melvin-bot bot commented Jun 21, 2023

@puneetlath @abdulrahuman5196 @roryabraham this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot
Copy link

melvin-bot bot commented Jun 21, 2023

@puneetlath, @abdulrahuman5196, @roryabraham Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@abdulrahuman5196
Copy link
Contributor

We already have one proposal. But it needs some dive deep and more testing time since whenever we repro this bug, it is making the local web non-actionable after that. Will try to complete the review before tomorrow.

@melvin-bot melvin-bot bot removed the Overdue label Jun 21, 2023
@abdulrahuman5196
Copy link
Contributor

Sorry for the delay @hoangzinh . It seems whenever i try to reproduce this issue, the local gets messed up and blocking me to focus on other priority issues as well. Will close it out this weekend by spending more time on it.

@hoangzinh
Copy link
Contributor

Thanks for heads up. No worries.

@melvin-bot
Copy link

melvin-bot bot commented Jun 24, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@abdulrahuman5196
Copy link
Contributor

Taking a look now.

@melvin-bot melvin-bot bot removed the Overdue label Jun 26, 2023
@abdulrahuman5196
Copy link
Contributor

@hoangzinh Could you kindly check if you able to reproduce the issue with the slack tests you mentioned currently? It is only leading to this bug #21258

Not of the steps is reproducible currently

@hoangzinh
Copy link
Contributor

Yes I can. This bug #21258 has same kind of error, but with different expectation (In our case, we would like to see "You're logged in" screen, in that bug we would like to see "Here is your magic code" screen)

This is my recording in latest main branch

Screen.Recording.2023-06-27.at.06.49.05.mp4

@melvin-bot
Copy link

melvin-bot bot commented Jun 28, 2023

@puneetlath @abdulrahuman5196 @roryabraham this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Jun 28, 2023
@puneetlath
Copy link
Contributor

Just to make sure I understand. The bug is still happening? Or it's working as expected now?

@melvin-bot melvin-bot bot removed the Overdue label Jun 28, 2023
@roryabraham
Copy link
Contributor

Requested a retest by Applause: https://expensify.slack.com/archives/C9YU7BX5M/p1688079598241329

@abdulrahuman5196
Copy link
Contributor

Just to make sure I understand. The bug is still happening? Or it's working as expected now?

@puneetlath The bug was transforming into different cases for sometime(since there where multiple scenarios in OP), could be due to external changes. As of now, the bug is transformed into a relatable state of this bug #21258, where the view is frozen but the content is shown. (which is also fixed and recently deployed)
So I doubt this will be reproducible but not entirely sure if all related scenarios are fixed, so its a good thing we have requested for a re-test - #20410 (comment)

@hoangzinh
Copy link
Contributor

hoangzinh commented Jun 30, 2023

Could we also request to test the steps here to ensure we won't miss any cases https://expensify.slack.com/archives/C049HHMV9SM/p1686903317694329? I think we won't have the Non-clickable LHN issue anymore, but I think it would show the Magic code page instead of "Abracadabra, you're logged in" page

Screen.Recording.2023-06-30.at.23.59.32.mp4

@melvin-bot
Copy link

melvin-bot bot commented Jul 1, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Jul 3, 2023
@puneetlath
Copy link
Contributor

@hoangzinh please report this as a new bug in #expensify-bugs as it seems different from what this issue was originally about.

@melvin-bot melvin-bot bot removed the Overdue label Jul 3, 2023
@github-project-automation github-project-automation bot moved this from Higher Priority to Done in Navigation Refactor Follow-ups Jul 3, 2023
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. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
No open projects
Development

No branches or pull requests

8 participants