Skip to content

Commit 947f336

Browse files
committed
fix test for onboarding
1 parent e1ffe59 commit 947f336

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/e2e/onboarding.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,8 @@ test('completes onboarding after GitHub OAuth given valid user details', async (
177177
.getByLabel(/do you agree to our terms of service and privacy policy/i)
178178
.check()
179179
await createAccountButton.click()
180-
await expect(page).toHaveURL(/signup/i)
181180

182-
// we are still on the 'signup' route since that
183-
// was the referrer and no 'redirectTo' has been specified
184-
await expect(page).toHaveURL('/signup')
181+
await expect(page).toHaveURL('/')
185182
await expect(page.getByText(/thanks for signing up/i)).toBeVisible()
186183

187184
// internally, a user has been created:

0 commit comments

Comments
 (0)