From 2d44174203f6babf2c0f5a32e03441269bb6bade Mon Sep 17 00:00:00 2001 From: Steven Kitterman Date: Thu, 4 Jan 2024 11:02:35 -0800 Subject: [PATCH] Fixture path updated --- tests/playwright/archiving-assets.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/archiving-assets.spec.ts b/tests/playwright/archiving-assets.spec.ts index 85080d97..bdc189f4 100644 --- a/tests/playwright/archiving-assets.spec.ts +++ b/tests/playwright/archiving-assets.spec.ts @@ -28,7 +28,7 @@ test('Assets / external asset is not archived (but still renders)', async ({ pag test('Assets / external asset is archived', async ({ page }) => { // mock the external image (which we'll archive) await page.route('https://some.external/domain/image.png', async (route) => { - const file = await fs.readFile(path.join(__dirname, 'fixtures/pink.png'), { + const file = await fs.readFile(path.join(__dirname, '../fixtures/pink.png'), { encoding: 'base64', }); await route.fulfill({ body: Buffer.from(file, 'base64') });