Compare commits
2 Commits
96df7edf88
...
d8bde80d4f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8bde80d4f | ||
|
|
35efa24ce5 |
@@ -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');
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"format:check": "prettier --check .",
|
"format:check": "prettier --check .",
|
||||||
|
"validate": "npm run lint && npm run format:check && npm run type-check",
|
||||||
"generate:api": "./scripts/generate-api-client.sh",
|
"generate:api": "./scripts/generate-api-client.sh",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "jest --watch",
|
"test:watch": "jest --watch",
|
||||||
|
|||||||
Reference in New Issue
Block a user