integration: landing + ai-structured-outputs + l1-workspace (Phase 1 internal-only) #190
@@ -7,7 +7,7 @@ test.describe('authentication smoke tests', () => {
|
|||||||
test('team admin can sign in through the login form', async ({ page }) => {
|
test('team admin can sign in through the login form', async ({ page }) => {
|
||||||
await signIn(page)
|
await signIn(page)
|
||||||
|
|
||||||
await expect(page).toHaveURL(/\/$/)
|
await expect(page).toHaveURL(/\/home$/)
|
||||||
await expect(page.getByTestId('app-shell')).toBeVisible()
|
await expect(page.getByTestId('app-shell')).toBeVisible()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ test.use({ storageState: { cookies: [], origins: [] } })
|
|||||||
|
|
||||||
test.describe('public route smoke tests', () => {
|
test.describe('public route smoke tests', () => {
|
||||||
test('landing page loads', async ({ page }) => {
|
test('landing page loads', async ({ page }) => {
|
||||||
await page.goto('/landing')
|
await page.goto('/')
|
||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
page.getByRole('link', { name: 'Start Free', exact: true }),
|
page.getByRole('link', { name: 'Start Free', exact: true }),
|
||||||
@@ -17,7 +17,7 @@ test.describe('public route smoke tests', () => {
|
|||||||
test('protected routes redirect unauthenticated users to landing', async ({ page }) => {
|
test('protected routes redirect unauthenticated users to landing', async ({ page }) => {
|
||||||
await page.goto('/sessions')
|
await page.goto('/sessions')
|
||||||
|
|
||||||
await expect(page).toHaveURL(/\/landing$/)
|
await expect(page).toHaveURL(/\/$/)
|
||||||
await expect(
|
await expect(
|
||||||
page.getByRole('link', { name: 'Sign In' }),
|
page.getByRole('link', { name: 'Sign In' }),
|
||||||
).toBeVisible()
|
).toBeVisible()
|
||||||
|
|||||||
Reference in New Issue
Block a user