Add loginViaUI import in auth.setup.ts to support UI-based authentication setup

This commit is contained in:
2025-11-10 11:05:25 +01:00
parent 96df7edf88
commit 35efa24ce5

View File

@@ -13,7 +13,7 @@
import { test as setup } from '@playwright/test';
import path from 'path';
import { setupAuthenticatedMocks, setupSuperuserMocks } from './helpers/auth';
import { setupAuthenticatedMocks, setupSuperuserMocks, loginViaUI } from './helpers/auth';
// Use absolute paths to ensure correct file location
const ADMIN_STORAGE_STATE = path.join(__dirname, '.auth', 'admin.json');