develop #1

Merged
zhangxiang merged 60 commits from develop into main 2026-04-05 10:28:15 +08:00
2 changed files with 25 additions and 0 deletions
Showing only changes of commit 76d8afa264 - Show all commits
+10
View File
@@ -0,0 +1,10 @@
# 测试环境配置
VITE_API_BASE_URL=http://localhost:8084
VITE_APP_TITLE=Novalon管理系统 - 测试环境
# 测试用户配置
TEST_USER_PASSWORD=Test@123
# Playwright配置
HEADLESS=true
SLOW_MO=0
+15
View File
@@ -53,6 +53,21 @@ export default defineConfig({
}, },
projects: [ projects: [
{
name: 'role-based-tests',
testDir: './e2e/role-based-tests/scenarios',
testMatch: /.*\.spec\.ts/,
use: {
...devices['Desktop Chrome'],
launchOptions: {
args: [
'--disable-blink-features=AutomationControlled',
'--disable-dev-shm-usage',
'--no-sandbox'
]
}
},
},
{ {
name: 'chromium', name: 'chromium',
use: { use: {