From b79c0da808091efbd9a0da68c75e6966df082854 Mon Sep 17 00:00:00 2001 From: Mischa Date: Sun, 21 Jun 2026 16:58:45 +0200 Subject: [PATCH] fix: correct fixture paths in post specs after subdirectory move --- tests/ui/post/post.spec.js | 2 +- tests/ui/post/validation.spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ui/post/post.spec.js b/tests/ui/post/post.spec.js index ea8c111..36d9329 100644 --- a/tests/ui/post/post.spec.js +++ b/tests/ui/post/post.spec.js @@ -6,7 +6,7 @@ const path = require('path'); const fs = require('fs'); const { waitForFilePondUpload, cleanupEntry, findEntry, readEntryMd, TRACKER_DIR, DAILIES_URL } = require('../helpers'); -const TEST_PHOTO = path.join(__dirname, '../fixtures/test-photo.jpg'); +const TEST_PHOTO = path.join(__dirname, '../../fixtures/test-photo.jpg'); // Track slugs created per test for cleanup const created = []; diff --git a/tests/ui/post/validation.spec.js b/tests/ui/post/validation.spec.js index 134f926..40c6eba 100644 --- a/tests/ui/post/validation.spec.js +++ b/tests/ui/post/validation.spec.js @@ -3,8 +3,8 @@ const { test, expect } = require('@playwright/test'); const path = require('path'); -const TEST_PHOTO = path.join(__dirname, '../fixtures/test-photo.jpg'); -const TEST_NONIMAGE = path.join(__dirname, '../fixtures/test-nonimage.txt'); +const TEST_PHOTO = path.join(__dirname, '../../fixtures/test-photo.jpg'); +const TEST_NONIMAGE = path.join(__dirname, '../../fixtures/test-nonimage.txt'); // ── V1: Missing title ───────────────────────────────────────────────────────── test('V1: submit without title shows a validation error or stays on /post', async ({ page }) => {