From 5c9df3c89af5bb223a8b96d162dd1bf20b1d4739 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Wed, 10 Jan 2024 02:06:26 +0530 Subject: [PATCH] fix: instance url --- tests/auth.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"));