feat: 添加 headless 测试支持和修复接口请求页面的路径
This commit is contained in:
@ -69,7 +69,7 @@ export default defineConfig({
|
||||
baseURL: process.env.BASE_URL || 'https://vue-ts-example.oo1.dev',
|
||||
|
||||
/* Only on CI systems run the tests headless */
|
||||
headless: !!process.env.CI,
|
||||
headless: !!process.env.CI || process.env.HEADLESS === 'true',
|
||||
|
||||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
|
||||
trace: 'on-first-retry',
|
||||
|
Reference in New Issue
Block a user