From 1bab670e44e6e3765e84999c5574266889bbaab8 Mon Sep 17 00:00:00 2001 From: izzy Date: Thu, 8 Jan 2026 10:50:01 +0000 Subject: [PATCH] test: ensure directory we write to exists first --- e2e/src/web/specs/integrity.e2e-spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/src/web/specs/integrity.e2e-spec.ts b/e2e/src/web/specs/integrity.e2e-spec.ts index 02be687ee0..d526154473 100644 --- a/e2e/src/web/specs/integrity.e2e-spec.ts +++ b/e2e/src/web/specs/integrity.e2e-spec.ts @@ -28,6 +28,7 @@ test.describe('Integrity', () => { const previousCount = Number.parseInt((await count.textContent()) ?? ''); + await utils.mkFolder(`/data/upload/${admin.userId}`); await utils.putTextFile('untracked', `/data/upload/${admin.userId}/untracked1.png`); const checkButton = page.getByText('Integrity Report').locator('..').getByRole('button', { name: 'Check All' });