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
79b13a1c
Commit
79b13a1c
authored
Nov 04, 2026
by
liguangyu06
Browse files
将产品管理 26 页纳入 spd-ui-verify 的 basic 套件,确保验证任务覆盖新提交用例。
parent
b8b4c69c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
79b13a1c
...
@@ -112,7 +112,7 @@ pipeline {
...
@@ -112,7 +112,7 @@ pipeline {
parameters
{
parameters
{
choice
(
choice
(
name:
'SUITE'
,
name:
'SUITE'
,
choices:
[
'full'
,
'nightly'
,
'smoke'
,
'login'
,
'center'
,
'dept'
,
'invoice'
,
'trace'
,
'consume'
,
'recon'
,
'cost'
,
'warn'
,
'pol'
,
'exc'
,
'ana'
,
'ops'
,
'reag'
,
'invoice-trace'
,
'recon-cost'
,
'vendor'
,
'admit'
,
'basic'
,
'basic-core'
,
'surgery'
,
'warehouse'
,
'flow'
,
'deptm'
,
'iface'
,
'extended'
,
'quarantine'
],
choices:
[
'full'
,
'nightly'
,
'smoke'
,
'login'
,
'center'
,
'dept'
,
'invoice'
,
'trace'
,
'consume'
,
'recon'
,
'cost'
,
'warn'
,
'pol'
,
'exc'
,
'ana'
,
'ops'
,
'reag'
,
'invoice-trace'
,
'recon-cost'
,
'vendor'
,
'admit'
,
'basic'
,
'basic-core'
,
'surgery'
,
'warehouse'
,
'flow'
,
'deptm'
,
'iface'
,
'prodm'
,
'extended'
,
'quarantine'
],
description:
'执行方式(默认 full 全量回归,含 @full 全列排序)'
description:
'执行方式(默认 full 全量回归,含 @full 全列排序)'
)
)
string
(
name:
'WORKERS'
,
defaultValue:
'3'
,
description:
'单进程内并行文件数(同一 spec 不拆开)'
)
string
(
name:
'WORKERS'
,
defaultValue:
'3'
,
description:
'单进程内并行文件数(同一 spec 不拆开)'
)
...
...
Jenkinsfile.verify
View file @
79b13a1c
...
@@ -25,8 +25,8 @@ pipeline {
...
@@ -25,8 +25,8 @@ pipeline {
parameters {
parameters {
choice(
choice(
name: 'SUITE',
name: 'SUITE',
choices: ['basic', 'basic-core', 'full', 'nightly', 'smoke', 'login', 'vendor', 'admit', 'surgery', 'warehouse', 'flow', 'deptm', 'iface', 'center', 'dept', 'invoice', 'trace', 'consume', 'recon', 'cost', 'warn', 'pol', 'exc', 'ana', 'ops', 'reag', 'invoice-trace', 'recon-cost', 'extended', 'quarantine'],
choices: ['basic', 'basic-core', 'full', 'nightly', 'smoke', 'login', 'vendor', 'admit', 'surgery', 'warehouse', 'flow', 'deptm', 'iface',
'prodm',
'center', 'dept', 'invoice', 'trace', 'consume', 'recon', 'cost', 'warn', 'pol', 'exc', 'ana', 'ops', 'reag', 'invoice-trace', 'recon-cost', 'extended', 'quarantine'],
description: '默认 basic(基础管理全量);basic-core 仅用户/医院资料;可改 full / smoke /
其他
单模块'
description: '默认 basic(基础管理全量
,含产品管理
);basic-core 仅用户/医院资料;可改 full / smoke /
prodm 等
单模块'
)
)
string(name: 'WORKERS', defaultValue: '2', description: '并行文件数,验证任务默认 2')
string(name: 'WORKERS', defaultValue: '2', description: '并行文件数,验证任务默认 2')
string(name: 'SHARDS', defaultValue: '1', description: '分片数,日常验证保持 1')
string(name: 'SHARDS', defaultValue: '1', description: '分片数,日常验证保持 1')
...
...
config/suites.config.mjs
View file @
79b13a1c
...
@@ -165,6 +165,34 @@ export const PAGE_GROUPS = {
...
@@ -165,6 +165,34 @@ export const PAGE_GROUPS = {
'
tests/spd/iface-req-query.spec.ts
'
,
'
tests/spd/iface-req-query.spec.ts
'
,
'
tests/spd/iface-campus-code.spec.ts
'
,
'
tests/spd/iface-campus-code.spec.ts
'
,
],
],
prodm
:
[
'
tests/spd/prodm-check-reinit.spec.ts
'
,
'
tests/spd/prodm-maintain.spec.ts
'
,
'
tests/spd/prodm-material.spec.ts
'
,
'
tests/spd/prodm-first-audit.spec.ts
'
,
'
tests/spd/prodm-supply.spec.ts
'
,
'
tests/spd/prodm-price-check.spec.ts
'
,
'
tests/spd/prodm-campus.spec.ts
'
,
'
tests/spd/prodm-unit-pkg.spec.ts
'
,
'
tests/spd/prodm-center-limit-ai.spec.ts
'
,
'
tests/spd/prodm-req-channel.spec.ts
'
,
'
tests/spd/prodm-center-limit.spec.ts
'
,
'
tests/spd/prodm-settle.spec.ts
'
,
'
tests/spd/prodm-price-adj.spec.ts
'
,
'
tests/spd/prodm-info-change.spec.ts
'
,
'
tests/spd/prodm-change-detail.spec.ts
'
,
'
tests/spd/prodm-peripheral-add.spec.ts
'
,
'
tests/spd/prodm-peripheral-chg.spec.ts
'
,
'
tests/spd/prodm-di-query.spec.ts
'
,
'
tests/spd/prodm-stockout.spec.ts
'
,
'
tests/spd/prodm-center-zone.spec.ts
'
,
'
tests/spd/prodm-stockout-detail.spec.ts
'
,
'
tests/spd/prodm-material-chg.spec.ts
'
,
'
tests/spd/prodm-di-change.spec.ts
'
,
'
tests/spd/prodm-qual-rule.spec.ts
'
,
'
tests/spd/prodm-qual-overview.spec.ts
'
,
'
tests/spd/prodm-material-chg-detail.spec.ts
'
,
],
};
};
/** @typedef {{ description: string, files: string[], grep?: string, runFull?: boolean, runQuarantine?: boolean, workers?: number, retries?: number }} SuiteDef */
/** @typedef {{ description: string, files: string[], grep?: string, runFull?: boolean, runQuarantine?: boolean, workers?: number, retries?: number }} SuiteDef */
...
@@ -180,7 +208,7 @@ export const SUITES = {
...
@@ -180,7 +208,7 @@ export const SUITES = {
retries
:
0
,
retries
:
0
,
},
},
smoke
:
{
smoke
:
{
description
:
'
冒烟:报表与基础设置中已打 @smoke 的用例(登录/首页、报表、厂商、准入、用户医院资料、手术、库房、流程、科室、接口)
'
,
description
:
'
冒烟:报表与基础设置中已打 @smoke 的用例(登录/首页、报表、厂商、准入、用户医院资料、手术、库房、流程、科室、接口
、产品
)
'
,
files
:
[
files
:
[
...
PAGE_GROUPS
.
auth
,
...
PAGE_GROUPS
.
auth
,
...
PAGE_GROUPS
.
cost
,
...
PAGE_GROUPS
.
cost
,
...
@@ -204,6 +232,7 @@ export const SUITES = {
...
@@ -204,6 +232,7 @@ export const SUITES = {
...
PAGE_GROUPS
.
flow
,
...
PAGE_GROUPS
.
flow
,
...
PAGE_GROUPS
.
deptm
,
...
PAGE_GROUPS
.
deptm
,
...
PAGE_GROUPS
.
iface
,
...
PAGE_GROUPS
.
iface
,
...
PAGE_GROUPS
.
prodm
,
],
],
grep
:
'
@smoke
'
,
grep
:
'
@smoke
'
,
workers
:
3
,
workers
:
3
,
...
@@ -307,7 +336,7 @@ export const SUITES = {
...
@@ -307,7 +336,7 @@ export const SUITES = {
retries
:
0
,
retries
:
0
,
},
},
basic
:
{
basic
:
{
description
:
'
基础管理全量(用户/医院资料/厂商/准入/手术/库房/流程/科室/接口)
'
,
description
:
'
基础管理全量(用户/医院资料/厂商/准入/手术/库房/流程/科室/接口
/产品
)
'
,
files
:
[
files
:
[
...
PAGE_GROUPS
.
basic
,
...
PAGE_GROUPS
.
basic
,
...
PAGE_GROUPS
.
vendor
,
...
PAGE_GROUPS
.
vendor
,
...
@@ -317,6 +346,7 @@ export const SUITES = {
...
@@ -317,6 +346,7 @@ export const SUITES = {
...
PAGE_GROUPS
.
flow
,
...
PAGE_GROUPS
.
flow
,
...
PAGE_GROUPS
.
deptm
,
...
PAGE_GROUPS
.
deptm
,
...
PAGE_GROUPS
.
iface
,
...
PAGE_GROUPS
.
iface
,
...
PAGE_GROUPS
.
prodm
,
],
],
workers
:
2
,
workers
:
2
,
retries
:
0
,
retries
:
0
,
...
@@ -357,6 +387,12 @@ export const SUITES = {
...
@@ -357,6 +387,12 @@ export const SUITES = {
workers
:
1
,
workers
:
1
,
retries
:
0
,
retries
:
0
,
},
},
prodm
:
{
description
:
'
产品管理
'
,
files
:
PAGE_GROUPS
.
prodm
,
workers
:
1
,
retries
:
0
,
},
extended
:
{
extended
:
{
description
:
'
扩展报表:预警/运维/异常/政策/财务分析/试剂
'
,
description
:
'
扩展报表:预警/运维/异常/政策/财务分析/试剂
'
,
files
:
[
files
:
[
...
...
docs/jenkins-job-spd-ui-verify.md
View file @
79b13a1c
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
1.
点
**Build with Parameters**
1.
点
**Build with Parameters**
2.
默认即可:
2.
默认即可:
-
**SUITE**
=
`basic`
(基础管理全量:用户/医院资料/厂商/准入/手术/库房/流程/科室/接口)
-
**SUITE**
=
`basic`
(基础管理全量:用户/医院资料/厂商/准入/手术/库房/流程/科室/接口
/产品
)
-
**WORKERS**
=
`2`
-
**WORKERS**
=
`2`
-
**SHARDS**
=
`1`
-
**SHARDS**
=
`1`
-
**RUN_FULL**
= 不勾
-
**RUN_FULL**
= 不勾
...
@@ -55,7 +55,8 @@
...
@@ -55,7 +55,8 @@
| 场景 | 参数 |
| 场景 | 参数 |
|------|------|
|------|------|
| 只跑基础管理全量(默认) |
`SUITE=basic`
|
| 只跑基础管理全量(默认,含产品管理) |
`SUITE=basic`
|
| 仅产品管理 |
`SUITE=prodm`
|
| 仅用户/医院资料 |
`SUITE=basic-core`
|
| 仅用户/医院资料 |
`SUITE=basic-core`
|
| 改完框架/公共 PO 后快速回归 |
`SUITE=smoke`
|
| 改完框架/公共 PO 后快速回归 |
`SUITE=smoke`
|
| 全量回归(含报表) |
`SUITE=full`
|
| 全量回归(含报表) |
`SUITE=full`
|
...
...
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