Skip to content

[Due for payment 2025-05-28] Ensure CompleteGuidedSetup is always called after ND onboarding redirects to OldDot #61946

Description

@chiragsalian

Part of the New Dot Onboarding for 1-50 Companies project

Main issue: https://github.com/Expensify/Expensify/issues/476894
Doc section: N/A
Project: https://github.com/orgs/Expensify/projects/193/views/1

Steps

  1. Sign into newDot with a new account.
  2. Open network tab. Enable preserve log.
  3. For onboarding select "manage my team", size "51-100", accounting package "None".
  4. You'll be redirected to oldDot.

Expected Result:

The API command CompleteGuidedSetup should always be called.

Actual Result:

From the network log, after being redirected to oldDot the command CompleteGuidedSetup is not always called.
It seems like there is a race condition here becomes sometimes locally i see we're getting CompleteGuidedSetup called while sometimes we're not.

Solution

Investigate why CompleteGuidedSetup is not always called and ensure its always called after newDot onboarding regardless if we remain in newdot or route to oldDot.
The relevant code is here - https://github.com/Expensify/App/blob/main/src/pages/OnboardingAccounting/BaseOnboardingAccounting.tsx#L216.

Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @RachCHopkins

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions