Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-playwright-web-spd
Commits
41e01135
Commit
41e01135
authored
Sep 15, 2026
by
liguangyu06
Browse files
Add a one-case login suite so Jenkins can trial the report email quickly.
parent
f445d217
Changes
2
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
41e01135
...
@@ -65,7 +65,7 @@ pipeline {
...
@@ -65,7 +65,7 @@ pipeline {
parameters
{
parameters
{
choice
(
choice
(
name:
'SUITE'
,
name:
'SUITE'
,
choices:
[
'smoke'
,
'nightly'
,
'full'
,
'center'
,
'dept'
,
'invoice'
,
'trace'
,
'consume'
,
'recon'
,
'cost'
,
'warn'
,
'pol'
,
'exc'
,
'ana'
,
'ops'
,
'reag'
,
'invoice-trace'
,
'recon-cost'
,
'extended'
,
'quarantine'
],
choices:
[
'smoke'
,
'login'
,
'nightly'
,
'full'
,
'center'
,
'dept'
,
'invoice'
,
'trace'
,
'consume'
,
'recon'
,
'cost'
,
'warn'
,
'pol'
,
'exc'
,
'ana'
,
'ops'
,
'reag'
,
'invoice-trace'
,
'recon-cost'
,
'extended'
,
'quarantine'
],
description:
'执行套件(见 config/suites.config.mjs)'
description:
'执行套件(见 config/suites.config.mjs)'
)
)
string
(
name:
'WORKERS'
,
defaultValue:
'3'
,
description:
'单进程内并行文件数(同一 spec 不拆开)'
)
string
(
name:
'WORKERS'
,
defaultValue:
'3'
,
description:
'单进程内并行文件数(同一 spec 不拆开)'
)
...
...
config/suites.config.mjs
View file @
41e01135
...
@@ -101,6 +101,13 @@ export const PAGE_GROUPS = {
...
@@ -101,6 +101,13 @@ export const PAGE_GROUPS = {
/** @type {Record<string, SuiteDef>} */
/** @type {Record<string, SuiteDef>} */
export
const
SUITES
=
{
export
const
SUITES
=
{
login
:
{
description
:
'
单条试跑:登录页加载成功
'
,
files
:
[
'
tests/spd/login.spec.ts
'
],
grep
:
'
登录页加载成功
'
,
workers
:
1
,
retries
:
0
,
},
smoke
:
{
smoke
:
{
description
:
'
冒烟:登录/首页 + 成本/开票/科室出入库 + 预警/政策/异常已打 @smoke 的用例
'
,
description
:
'
冒烟:登录/首页 + 成本/开票/科室出入库 + 预警/政策/异常已打 @smoke 的用例
'
,
files
:
[
files
:
[
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
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 comment