更新 CI 工作流以使用新的容器,修改 Playwright 基础 URL,增强测试用例以附加截图和日志
This commit is contained in:
@ -26,7 +26,7 @@ export default defineConfig({
|
||||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
||||
use: {
|
||||
/* Base URL to use in actions like `await page.goto('/')`. */
|
||||
baseURL: process.env.BASE_URL || 'https://vue-ts-example.surge.sh',
|
||||
baseURL: process.env.BASE_URL || 'https://vue-ts-example.oo1.dev',
|
||||
|
||||
/* 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