forked from cardosofelipe/pragma-stack
Add loginViaUI import in auth.setup.ts to support UI-based authentication setup
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
import { test as setup } from '@playwright/test';
|
import { test as setup } from '@playwright/test';
|
||||||
import path from 'path';
|
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
|
// Use absolute paths to ensure correct file location
|
||||||
const ADMIN_STORAGE_STATE = path.join(__dirname, '.auth', 'admin.json');
|
const ADMIN_STORAGE_STATE = path.join(__dirname, '.auth', 'admin.json');
|
||||||
|
|||||||
Reference in New Issue
Block a user