Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 640b72b7
authored
Jun 08, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chron: e2e 测试配置
1 parent
13a536da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
playwright.config.js
playwright.config.js
View file @
640b72b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* 2. 安装浏览器:npx playwright install
* 2. 安装浏览器:npx playwright install
* 3. 运行测试:npx playwright test
* 3. 运行测试:npx playwright test
* 4. 带 UI 运行:npx playwright test --ui
* 4. 带 UI 运行:npx playwright test --ui
* 5. 运行特定测试:npx playwright test
tests/e2e/profitMarginTable.spec
.js
* 5. 运行特定测试:npx playwright test
e2e/xxx.e2e
.js
* 6. 生成报告:npx playwright show-report
* 6. 生成报告:npx playwright show-report
*/
*/
...
@@ -14,7 +14,7 @@ import { defineConfig, devices } from "@playwright/test";
...
@@ -14,7 +14,7 @@ import { defineConfig, devices } from "@playwright/test";
export
default
defineConfig
({
export
default
defineConfig
({
// 测试文件位置
// 测试文件位置
testDir
:
"./
tests/
e2e"
,
testDir
:
"./e2e"
,
// 超时时间
// 超时时间
timeout
:
30
*
1000
,
timeout
:
30
*
1000
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment