From 9ea4d7f7dff5e9393c605f79b162a88ca9e69f14 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Wed, 26 Jun 2024 22:29:11 -0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20(chatInputOutputUser.spec.ts):=20up?= =?UTF-8?q?date=20file=20path=20for=20image=20in=20end-to-end=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/tests/end-to-end/chatInputOutputUser.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/tests/end-to-end/chatInputOutputUser.spec.ts b/src/frontend/tests/end-to-end/chatInputOutputUser.spec.ts index 185f00be8..6ea9ab7c2 100644 --- a/src/frontend/tests/end-to-end/chatInputOutputUser.spec.ts +++ b/src/frontend/tests/end-to-end/chatInputOutputUser.spec.ts @@ -258,7 +258,7 @@ test("user must be able to send an image on chat", async ({ page }) => { await page.getByText("Playground", { exact: true }).click(); // Read the image file as a binary string - const filePath = "src/frontend/tests/end-to-end/assets/chain.png"; + const filePath = "tests/end-to-end/assets/chain.png"; const fileContent = readFileSync(filePath, "base64"); // Create the DataTransfer and File objects within the browser context