fix: correct fixture paths in post specs after subdirectory move
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user