@yuantest/playwright - v1.2.1
GitHub
npm
正在准备搜索索引...
TestConfig
接口 TestConfig
interface
TestConfig
{
version
:
string
;
testDir
:
string
;
outputDir
:
string
;
baseURL
?:
string
;
retries
?:
number
;
timeout
?:
number
;
workers
?:
number
;
shards
?:
number
;
reporters
?:
string
[]
;
browsers
?:
BrowserType
[]
;
headers
?:
Record
<
string
,
string
>
;
flakyThreshold
?:
number
;
isolateFlaky
?:
boolean
;
traces
?:
TraceConfig
;
artifacts
?:
ArtifactConfig
;
visualTesting
?:
VisualTestingConfig
;
annotations
?:
AnnotationConfig
;
tags
?:
TagConfig
;
environmentTag
?:
string
;
htmlReport
?:
boolean
;
htmlReportDir
?:
string
;
parentRunId
?:
string
;
retryIndex
?:
number
;
testMatch
?:
string
[]
;
testIgnore
?:
string
[]
;
ignoreDirs
?:
string
[]
;
processTimeout
?:
number
;
}
索引
属性
version
test
Dir
output
Dir
base
URL?
retries?
timeout?
workers?
shards?
reporters?
browsers?
headers?
flaky
Threshold?
isolate
Flaky?
traces?
artifacts?
visual
Testing?
annotations?
tags?
environment
Tag?
html
Report?
html
Report
Dir?
parent
Run
Id?
retry
Index?
test
Match?
test
Ignore?
ignore
Dirs?
process
Timeout?
属性
version
version
:
string
test
Dir
testDir
:
string
output
Dir
outputDir
:
string
可选
base
URL
baseURL
?:
string
可选
retries
retries
?:
number
可选
timeout
timeout
?:
number
可选
workers
workers
?:
number
可选
shards
shards
?:
number
可选
reporters
reporters
?:
string
[]
可选
browsers
browsers
?:
BrowserType
[]
可选
headers
headers
?:
Record
<
string
,
string
>
可选
flaky
Threshold
flakyThreshold
?:
number
可选
isolate
Flaky
isolateFlaky
?:
boolean
可选
traces
traces
?:
TraceConfig
可选
artifacts
artifacts
?:
ArtifactConfig
可选
visual
Testing
visualTesting
?:
VisualTestingConfig
可选
annotations
annotations
?:
AnnotationConfig
可选
tags
tags
?:
TagConfig
可选
environment
Tag
environmentTag
?:
string
可选
html
Report
htmlReport
?:
boolean
可选
html
Report
Dir
htmlReportDir
?:
string
可选
parent
Run
Id
parentRunId
?:
string
可选
retry
Index
retryIndex
?:
number
可选
test
Match
testMatch
?:
string
[]
可选
test
Ignore
testIgnore
?:
string
[]
可选
ignore
Dirs
ignoreDirs
?:
string
[]
可选
process
Timeout
processTimeout
?:
number
进程级超时(毫秒),0 表示不限制。默认根据用例数和 timeout 自动估算
显示设置
成员可见性
受保护
继承
配色
自动
浅色
深色
目录
属性
version
test
Dir
output
Dir
base
URL
retries
timeout
workers
shards
reporters
browsers
headers
flaky
Threshold
isolate
Flaky
traces
artifacts
visual
Testing
annotations
tags
environment
Tag
html
Report
html
Report
Dir
parent
Run
Id
retry
Index
test
Match
test
Ignore
ignore
Dirs
process
Timeout
GitHub
GitHub
npm
@yuantest/playwright - v1.2.1
加载中……
进程级超时(毫秒),0 表示不限制。默认根据用例数和 timeout 自动估算