Commit 41e01135 authored by liguangyu06's avatar liguangyu06
Browse files

Add a one-case login suite so Jenkins can trial the report email quickly.

parent f445d217
......@@ -65,7 +65,7 @@ pipeline {
parameters {
choice(
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)'
)
string(name: 'WORKERS', defaultValue: '3', description: '单进程内并行文件数(同一 spec 不拆开)')
......
......@@ -101,6 +101,13 @@ export const PAGE_GROUPS = {
/** @type {Record<string, SuiteDef>} */
export const SUITES = {
login: {
description: '单条试跑:登录页加载成功',
files: ['tests/spd/login.spec.ts'],
grep: '登录页加载成功',
workers: 1,
retries: 0,
},
smoke: {
description: '冒烟:登录/首页 + 成本/开票/科室出入库 + 预警/政策/异常已打 @smoke 的用例',
files: [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment