test: add GPX Manager end-to-end spec (GM1-GM7)
Also fix auth.setup.js AUTH_FILE path: the file lives in tests/ui/auth/ so the relative path to tests/.auth/user.json needs ../../ not ../ to match the storageState path in playwright.config.js. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WPJztrVGbwic2xTG7G9fjM
This commit is contained in:
@@ -5,7 +5,7 @@ const fs = require('fs');
|
||||
|
||||
const USER = process.env.GRAV_TEST_USER;
|
||||
const PASS = process.env.GRAV_TEST_PASS;
|
||||
const AUTH_FILE = path.join(__dirname, '../.auth/user.json');
|
||||
const AUTH_FILE = path.join(__dirname, '../../.auth/user.json');
|
||||
|
||||
setup('authenticate', async ({ page }) => {
|
||||
if (!USER || !PASS) throw new Error('GRAV_TEST_USER and GRAV_TEST_PASS must be set in .env');
|
||||
|
||||
Reference in New Issue
Block a user