diff --git a/tests/auth.spec.ts b/tests/auth.spec.ts index f4845d3..28632d7 100644 --- a/tests/auth.spec.ts +++ b/tests/auth.spec.ts @@ -57,7 +57,7 @@ test("Go to register page", async ({ page }) => { await page.getByLabel("Confirm Password").fill(user.password); await page.getByRole("button", { name: "Register Account" }).click(); - await page.waitForURL("http://localhost:3001/"); + await page.waitForURL(config.INSTANCE_URL.toString()); await page.waitForSelector(".positive > p:nth-child(1)"); console.log(page.locator(".positive > p:nth-child(1)"));