Skip to content

[Due for payment 2025-06-05] [Due for payment 2025-06-04] Test Drive - Tap the Get Started or Skip does not redirect to the #admin chat #62728

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

Closed
5 of 8 tasks
nlemma opened this issue May 24, 2025 · 23 comments · Fixed by #62826
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2

Comments

@nlemma
Copy link

nlemma commented May 24, 2025

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: v9.1.51-0
Reproducible in staging?: Yes
Reproducible in production?: Unable to check - new feature testing
If this was caught during regression testing, add the test name, ID and link from TestRail: #60997
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: Android 13 / Xiaomi Poco F5, iOS 15.8.3 / iPhone 7 Plus, Android 13 / Chrome
App Component: Other

Action Performed:

Do the test drive

  1. Create a new account (without + sign)
  2. Tap skip on What's your work email modal
  3. Choose Manage my team's expenses > 1-10 employees
  4. Choose any accounting integration (QBO, QBD, Xero, or Sage Intacct)
  5. When the test drive modal shows up, tap the Start test drive
  6. Do the test drive and tap the Get started button

Skip the test drive
7. Create a new account (without + sign)
8. Tap skip on What's your work email modal
9. Choose Manage my team's expenses > 1-10 employees
10. Choose any accounting integration (QBO, QBD, Xero, or Sage Intacct)
11. When the test drive modal shows up, Tap the Skip button

Expected Result:

  1. Tap the Get Started button after the test drive should be redirected to the #admin chat
  2. Tap the Skip button should be redirected to the #admin chat

Actual Result:

  1. Tap the Get Started button, it does not redirect to the #admin chat, only to the inbox page
  2. Tap the Skip button should, it does not redirect to the #admin chat, only to the inbox page
    Note:
  • This issue is not reproducible in the Web environment

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6840963_1748076547043.60997_iOS-Fail_Scenario_B.mp4
Bug6840963_1748066439046.62662_-_PR60997_-_Test_Drive_-_Tap_the_Get_Started_does_not_redirect_to_the__admin_chat.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @VictoriaExpensify
@nlemma nlemma added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 24, 2025
Copy link

melvin-bot bot commented May 24, 2025

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

Copy link

melvin-bot bot commented May 24, 2025

Triggered auto assignment to @iwiznia (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented May 24, 2025

💬 A slack conversation has been started in #expensify-open-source

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels May 24, 2025
Copy link
Contributor

👋 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.

@nlemma
Copy link
Author

nlemma commented May 24, 2025

@VictoriaExpensify 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.

@samranahm
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Test Drive - Tap the Get Started or Skip does not redirect to the #admin chat

What is the root cause of that problem?

We navigate to inbox when we complete onboarding

// When hasCompletedGuidedSetupFlow is true, OnboardingModalNavigator in AuthScreen is removed from the navigation stack.
// On small screens, this removal redirects navigation to HOME. Dismissing the modal doesn't work properly,
// so we need to specifically navigate to the last accessed report.
if (!isSmallScreenWidth) {
if (onboardingAdminsChatReportID && !shouldPreventOpenAdminRoom) {
reportID = onboardingAdminsChatReportID;
}

and then navigate to TEST_DRIVE_MODAL_ROOT

Navigation.navigate(ROUTES.TEST_DRIVE_MODAL_ROOT.route);

here

const closeModal = useCallback(() => {
setIsVisible(false);
InteractionManager.runAfterInteractions(() => {
Navigation.goBack();
});

we navigate back so end up on inbox page on small screens instead of admins room

What changes do you think we should make in order to solve the problem?

We should get the onboardingAdminsChatReportID from onyx and move to this report when user press Get started

const [onboardingAdminsChatReportID] = useOnyx(ONYXKEYS.ONBOARDING_ADMINS_CHAT_REPORT_ID, {canBeMissing: true});
.
.
const closeModal = useCallback(() => {
    setIsVisible(false);
    InteractionManager.runAfterInteractions(() => {
        if (onboardingAdminsChatReportID) {
            Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(onboardingAdminsChatReportID));
        } else {
            Navigation.goBack();
        }
    });
}, []);

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

N/A

What alternative solutions did you explore? (Optional)

Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

@iwiznia
Copy link
Contributor

iwiznia commented May 26, 2025

Damn, just saw this issue at the end of my day, did not realize I had it assigned (I usually get a message in slack for hourlies that did not get today). Will look into it tomorrow first thing.

@danieldoglas
Copy link
Contributor

I think we can assign @fabioh8010

@danieldoglas
Copy link
Contributor

This is part of the test drive initiative, so they're working on fixing this

@github-actions github-actions bot removed the DeployBlockerCash This issue or pull request should block deployment label May 26, 2025
@Beamanator Beamanator added the DeployBlockerCash This issue or pull request should block deployment label May 26, 2025
Copy link

melvin-bot bot commented May 26, 2025

Triggered auto assignment to @roryabraham (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented May 26, 2025

💬 A slack conversation has been started in #expensify-open-source

Copy link
Contributor

👋 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.

@fabioh8010
Copy link
Contributor

PR is up -> #62826

@Beamanator
Copy link
Contributor

PR merged, requesting CP 🙏

@Beamanator
Copy link
Contributor

Hmm after hitting Get Started I was navigated to the Concierge chat... Maybe because I used an email with a + in it?

I bet this could be NAB for today 🤔

@fabioh8010
Copy link
Contributor

Hmm after hitting Get Started I was navigated to the Concierge chat... Maybe because I used an email with a + in it?

I bet this could be NAB for today 🤔

@Beamanator It's expected if you used an email with a + sign. The redirection to #admins only happens when using emails without +.

@iwiznia
Copy link
Contributor

iwiznia commented May 27, 2025

Ah nice, so closing this then

@iwiznia iwiznia closed this as completed May 27, 2025
@Beamanator
Copy link
Contributor

aah nice, thanks for confirming @fabioh8010 !

@github-actions github-actions bot removed the DeployBlockerCash This issue or pull request should block deployment label May 28, 2025
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 28, 2025
@melvin-bot melvin-bot bot changed the title Test Drive - Tap the Get Started or Skip does not redirect to the #admin chat [Due for payment 2025-06-04] Test Drive - Tap the Get Started or Skip does not redirect to the #admin chat May 28, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 28, 2025
Copy link

melvin-bot bot commented May 28, 2025

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented May 28, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.52-0 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-06-04. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented May 28, 2025

@iwiznia / @roryabraham @VictoriaExpensify @fabioh8010 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels May 29, 2025
@melvin-bot melvin-bot bot changed the title [Due for payment 2025-06-04] Test Drive - Tap the Get Started or Skip does not redirect to the #admin chat [Due for payment 2025-06-05] [Due for payment 2025-06-04] Test Drive - Tap the Get Started or Skip does not redirect to the #admin chat May 29, 2025
Copy link

melvin-bot bot commented May 29, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.53-7 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-06-05. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented May 29, 2025

@iwiznia / @roryabraham @VictoriaExpensify @fabioh8010 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants