✅ (chatInputOutputUser.spec.ts): update file path for image in end-to-end test
This commit is contained in:
parent
37af161154
commit
9ea4d7f7df
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue