From 3d9b2b7dcf91fa7d2847e4e0d6faaaf5ff407aa8 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 2 Apr 2025 19:34:09 +0200 Subject: [PATCH] Fix test --- e2e/settings.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/settings.spec.ts b/e2e/settings.spec.ts index 2c06fec..637558c 100644 --- a/e2e/settings.spec.ts +++ b/e2e/settings.spec.ts @@ -50,7 +50,7 @@ test("update the URL with basic auth save the credentials", async ({ await page.goto("/dashboard"); await page.locator("a").filter({ hasText: "Settings" }).click(); await page.getByLabel("Address").click(); - await page.getByLabel("Address").fill("http://localhost:8080"); + await page.getByLabel("Address").fill("http://127.0.0.1:8080"); await page.getByLabel("Address").blur(); await expect(page.getByLabel("Address")).not.toHaveAttribute("aria-invalid"); await expect(page.locator(".refresh svg")).not.toHaveAttribute( @@ -91,7 +91,7 @@ test("update the URL with basic auth save the credentials", async ({ await page.locator(".refresh").click(); - await page.waitForRequest("http://localhost:8080/api/codex/v1/spr"); + await page.waitForRequest("http://127.0.0.1:8080/api/codex/v1/spr"); expect(successRequestAuthorization).toBeNull();