Skip to content
Prev Previous commit
Next Next commit
I'm silly!!!!
  • Loading branch information
aslilac committed Aug 22, 2023
commit 166b98ffa662cfb22a6120824a4ee358754de790
4 changes: 2 additions & 2 deletions site/src/pages/SetupPage/SetupPage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe("Setup Page", () => {
expect(errorMessage).toBeDefined()
})

it("redirects to workspaces page when setup is successful", async () => {
it("redirects to the app when setup is successful", async () => {
render(<SetupPage />)

// Update responses before submitting the form
Expand All @@ -94,7 +94,7 @@ describe("Setup Page", () => {
)

await fillForm()
await waitFor(() => expect(window.location).toBeAt("/workspaces"))
await waitFor(() => expect(window.location).toBeAt("/"))
})

it("redirects to login if setup has already completed", async () => {
Expand Down