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') });