fix: correct fixture paths in post specs after subdirectory move

This commit is contained in:
2026-06-21 16:58:45 +02:00
parent f22d32f056
commit b79c0da808
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ const path = require('path');
const fs = require('fs'); const fs = require('fs');
const { waitForFilePondUpload, cleanupEntry, findEntry, readEntryMd, TRACKER_DIR, DAILIES_URL } = require('../helpers'); 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 // Track slugs created per test for cleanup
const created = []; const created = [];
+2 -2
View File
@@ -3,8 +3,8 @@
const { test, expect } = require('@playwright/test'); const { test, expect } = require('@playwright/test');
const path = require('path'); const path = require('path');
const TEST_PHOTO = path.join(__dirname, '../fixtures/test-photo.jpg'); const TEST_PHOTO = path.join(__dirname, '../../fixtures/test-photo.jpg');
const TEST_NONIMAGE = path.join(__dirname, '../fixtures/test-nonimage.txt'); const TEST_NONIMAGE = path.join(__dirname, '../../fixtures/test-nonimage.txt');
// ── V1: Missing title ───────────────────────────────────────────────────────── // ── V1: Missing title ─────────────────────────────────────────────────────────
test('V1: submit without title shows a validation error or stays on /post', async ({ page }) => { test('V1: submit without title shows a validation error or stays on /post', async ({ page }) => {