integration: landing + ai-structured-outputs + l1-workspace (Phase 1 internal-only) #190

Closed
chihlasm wants to merge 13 commits from feat/three-feature-integration into main
3 changed files with 7 additions and 7 deletions
Showing only changes of commit 86163a69aa - Show all commits

View File

@@ -39,7 +39,7 @@ function renderRouter() {
<Route path="/welcome/step-1" element={<div>step-1</div>} />
<Route path="/welcome/step-2" element={<div>step-2</div>} />
<Route path="/welcome/step-3" element={<div>step-3</div>} />
<Route path="/" element={<div>dashboard</div>} />
<Route path="/home" element={<div>dashboard</div>} />
</Routes>
</MemoryRouter>,
)
@@ -100,7 +100,7 @@ describe('WelcomeRouter', () => {
})
})
it('redirects to / when onboarding_step_completed >= 3', async () => {
it('redirects to /home when onboarding_step_completed >= 3', async () => {
useAuthStore.setState({
user: makeUser({ onboarding_step_completed: 3 }),
})
@@ -110,7 +110,7 @@ describe('WelcomeRouter', () => {
})
})
it('redirects to / when onboarding_dismissed is true', async () => {
it('redirects to /home when onboarding_dismissed is true', async () => {
useAuthStore.setState({
user: makeUser({
onboarding_step_completed: 1,

View File

@@ -65,7 +65,7 @@ function renderPage() {
<Routes>
<Route path="/welcome/step-1" element={<WelcomeStep1 />} />
<Route path="/welcome/step-2" element={<div>step-2</div>} />
<Route path="/" element={<div>dashboard</div>} />
<Route path="/home" element={<div>dashboard</div>} />
</Routes>
</MemoryRouter>,
)
@@ -148,7 +148,7 @@ describe('WelcomeStep1', () => {
})
})
it('Skip-the-rest dismisses and navigates to /', async () => {
it('Skip-the-rest dismisses and navigates to /home', async () => {
const user = userEvent.setup()
renderPage()

View File

@@ -66,7 +66,7 @@ function renderPage() {
<Route path="/welcome/step-2" element={<WelcomeStep2 />} />
<Route path="/welcome/step-3" element={<div>step-3</div>} />
<Route path="/account/integrations" element={<div>integrations</div>} />
<Route path="/" element={<div>dashboard</div>} />
<Route path="/home" element={<div>dashboard</div>} />
</Routes>
</MemoryRouter>,
)
@@ -158,7 +158,7 @@ describe('WelcomeStep2', () => {
expect(screen.queryByTestId('welcome-step-2-connect-now')).not.toBeInTheDocument()
})
it('Skip-the-rest dismisses and navigates to /', async () => {
it('Skip-the-rest dismisses and navigates to /home', async () => {
const user = userEvent.setup()
renderPage()