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
+2 -2
View File
@@ -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 }) => {