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
e6617b87
Commit
e6617b87
authored
Sep 16, 2026
by
liguangyu06
Browse files
报表 iframe 加载失败时重试,并将超时提到 120 秒,避免 smoke 被慢页误杀。
parent
47d4aecf
Changes
70
Hide whitespace changes
Inline
Side-by-side
tests/spd/center-report-turnover.spec.ts
View file @
e6617b87
...
@@ -10,6 +10,7 @@ import {
...
@@ -10,6 +10,7 @@ import {
* 运行:npm run test:center-report-turnover:all
* 运行:npm run test:center-report-turnover:all
*/
*/
test
.
describe
(
'
产品周转率报表
'
,
()
=>
{
test
.
describe
(
'
产品周转率报表
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
centerReportTurnoverPage
})
=>
{
test
.
beforeEach
(
async
({
centerReportTurnoverPage
})
=>
{
await
centerReportTurnoverPage
.
open
();
await
centerReportTurnoverPage
.
open
();
});
});
...
@@ -74,6 +75,7 @@ test.describe('产品周转率报表', () => {
...
@@ -74,6 +75,7 @@ test.describe('产品周转率报表', () => {
});
});
test
.
describe
(
'
产品周转率报表 · 列排序
'
,
()
=>
{
test
.
describe
(
'
产品周转率报表 · 列排序
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
centerReportTurnoverPage
})
=>
{
test
.
beforeEach
(
async
({
centerReportTurnoverPage
})
=>
{
await
centerReportTurnoverPage
.
open
();
await
centerReportTurnoverPage
.
open
();
await
centerReportTurnoverPage
.
search
();
await
centerReportTurnoverPage
.
search
();
...
@@ -87,7 +89,7 @@ test.describe('产品周转率报表 · 列排序', () => {
...
@@ -87,7 +89,7 @@ test.describe('产品周转率报表 · 列排序', () => {
});
});
test
.
describe
(
'
产品周转率报表 · 列设置
'
,
()
=>
{
test
.
describe
(
'
产品周转率报表 · 列设置
'
,
()
=>
{
test
.
describe
.
configure
({
mode
:
'
serial
'
});
test
.
describe
.
configure
({
mode
:
'
serial
'
,
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
centerReportTurnoverPage
})
=>
{
test
.
beforeEach
(
async
({
centerReportTurnoverPage
})
=>
{
await
centerReportTurnoverPage
.
open
();
await
centerReportTurnoverPage
.
open
();
...
...
tests/spd/consume-high.spec.ts
View file @
e6617b87
...
@@ -181,6 +181,7 @@ describeWithReuseOpen(
...
@@ -181,6 +181,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
高值消耗追溯 · 导出
"
,
()
=>
{
test
.
describe
(
"
高值消耗追溯 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
"
STAT-CHC-031 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
test
(
"
STAT-CHC-031 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
consumeHighPage
,
consumeHighPage
,
})
=>
{
})
=>
{
...
...
tests/spd/consume-multi-charge.spec.ts
View file @
e6617b87
...
@@ -110,6 +110,7 @@ describeWithReuseOpen(
...
@@ -110,6 +110,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
多次计费耗材追溯 · 导出
"
,
()
=>
{
test
.
describe
(
"
多次计费耗材追溯 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
"
STAT-CMC-010 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
test
(
"
STAT-CMC-010 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
consumeMultiChargePage
,
consumeMultiChargePage
,
})
=>
{
})
=>
{
...
...
tests/spd/consume-trend.spec.ts
View file @
e6617b87
...
@@ -53,6 +53,7 @@ describeWithReuseOpen(
...
@@ -53,6 +53,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
消耗趋势分析 · 导出
"
,
()
=>
{
test
.
describe
(
"
消耗趋势分析 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
"
STAT-CTA-004 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
test
(
"
STAT-CTA-004 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
consumeTrendPage
,
consumeTrendPage
,
})
=>
{
})
=>
{
...
...
tests/spd/cost-dept-classify-charge.spec.ts
View file @
e6617b87
...
@@ -61,6 +61,7 @@ describeWithReuseOpen(
...
@@ -61,6 +61,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
科室成本分类汇总(计费科室) · 导出
"
,
()
=>
{
test
.
describe
(
"
科室成本分类汇总(计费科室) · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CCC-005 主表查询后导出
"
,
"
STAT-CCC-005 主表查询后导出
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-dept-classify.spec.ts
View file @
e6617b87
...
@@ -49,6 +49,7 @@ describeWithReuseOpen(
...
@@ -49,6 +49,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
科室成本分类汇总 · 导出
"
,
()
=>
{
test
.
describe
(
"
科室成本分类汇总 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CDC-004 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CDC-004 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-dept-net-in.spec.ts
View file @
e6617b87
...
@@ -151,6 +151,7 @@ describeWithReuseOpen(
...
@@ -151,6 +151,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
科室净入成本查询 · 导出
"
,
()
=>
{
test
.
describe
(
"
科室净入成本查询 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CDN-013 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CDN-013 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-dept-rank.spec.ts
View file @
e6617b87
...
@@ -87,6 +87,7 @@ describeWithReuseOpen(
...
@@ -87,6 +87,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
科室成本排名 · 导出
"
,
()
=>
{
test
.
describe
(
"
科室成本排名 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CDR-010 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CDR-010 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-entry-detail.spec.ts
View file @
e6617b87
...
@@ -93,6 +93,7 @@ describeWithReuseOpen(
...
@@ -93,6 +93,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
成本入账明细查询 · 导出
"
,
()
=>
{
test
.
describe
(
"
成本入账明细查询 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CED-008 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CED-008 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-entry-exec.spec.ts
View file @
e6617b87
...
@@ -20,6 +20,7 @@ describeWithReuseOpen(
...
@@ -20,6 +20,7 @@ describeWithReuseOpen(
({
getReport
})
=>
{
({
getReport
})
=>
{
test
(
"
STAT-CEE-001 快捷区重置恢复默认
"
,
{
tag
:
"
@smoke
"
},
async
()
=>
{
test
(
"
STAT-CEE-001 快捷区重置恢复默认
"
,
{
tag
:
"
@smoke
"
},
async
()
=>
{
const
costEntryExecPage
=
getReport
();
const
costEntryExecPage
=
getReport
();
test
.
setTimeout
(
120
_000
);
const
sample
=
await
costEntryExecPage
.
searchAndExtractSample
();
const
sample
=
await
costEntryExecPage
.
searchAndExtractSample
();
await
costEntryExecPage
.
applyQuickFields
(
await
costEntryExecPage
.
applyQuickFields
(
sample
,
sample
,
...
@@ -94,6 +95,7 @@ describeWithReuseOpen(
...
@@ -94,6 +95,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
成本入账明细查询(执行科室维度) · 导出
"
,
()
=>
{
test
.
describe
(
"
成本入账明细查询(执行科室维度) · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CEE-008 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CEE-008 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-entry-summary.spec.ts
View file @
e6617b87
...
@@ -95,6 +95,7 @@ describeWithReuseOpen(
...
@@ -95,6 +95,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
成本入账汇总查询 · 导出
"
,
()
=>
{
test
.
describe
(
"
成本入账汇总查询 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CET-008 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CET-008 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-fin-out.spec.ts
View file @
e6617b87
...
@@ -95,6 +95,7 @@ describeWithReuseOpen(
...
@@ -95,6 +95,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
财务出库单 · 导出
"
,
()
=>
{
test
.
describe
(
"
财务出库单 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CFO-009 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CFO-009 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-finance-classify.spec.ts
View file @
e6617b87
...
@@ -119,6 +119,7 @@ describeWithReuseOpen(
...
@@ -119,6 +119,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
财务分类进销存 · 导出
"
,
()
=>
{
test
.
describe
(
"
财务分类进销存 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CFC-009 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CFC-009 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-finance-psi.spec.ts
View file @
e6617b87
...
@@ -179,6 +179,7 @@ describeWithReuseOpen(
...
@@ -179,6 +179,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
财务产品进销存 · 导出
"
,
()
=>
{
test
.
describe
(
"
财务产品进销存 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CFP-015 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CFP-015 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-settle-entry.spec.ts
View file @
e6617b87
...
@@ -165,6 +165,7 @@ describeWithReuseOpen(
...
@@ -165,6 +165,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
结算入账明细查询 · 导出
"
,
()
=>
{
test
.
describe
(
"
结算入账明细查询 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CSE-014 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CSE-014 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/cost-supply-classify.spec.ts
View file @
e6617b87
...
@@ -113,6 +113,7 @@ describeWithReuseOpen(
...
@@ -113,6 +113,7 @@ describeWithReuseOpen(
);
);
test
.
describe
(
"
供应商入账分类汇总 · 导出
"
,
()
=>
{
test
.
describe
(
"
供应商入账分类汇总 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
test
(
"
STAT-CSC-008 首行样本查询后导出(无数据直接导出)
"
,
"
STAT-CSC-008 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
{
tag
:
"
@smoke
"
},
...
...
tests/spd/dept-report-entry.spec.ts
View file @
e6617b87
...
@@ -11,6 +11,7 @@ import {
...
@@ -11,6 +11,7 @@ import {
* 运行:npm run test:dept-report-entry:all
* 运行:npm run test:dept-report-entry:all
*/
*/
test
.
describe
(
'
科室入库汇总查询 · 快捷筛选
'
,
()
=>
{
test
.
describe
(
'
科室入库汇总查询 · 快捷筛选
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
await
deptReportEntryPage
.
open
();
await
deptReportEntryPage
.
open
();
});
});
...
@@ -64,6 +65,7 @@ test.describe('科室入库汇总查询 · 高级筛选', () => {
...
@@ -64,6 +65,7 @@ test.describe('科室入库汇总查询 · 高级筛选', () => {
});
});
test
.
describe
(
'
科室入库汇总查询 · 主表列表与汇总
'
,
()
=>
{
test
.
describe
(
'
科室入库汇总查询 · 主表列表与汇总
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
await
deptReportEntryPage
.
open
();
await
deptReportEntryPage
.
open
();
});
});
...
@@ -85,7 +87,7 @@ test.describe('科室入库汇总查询 · 主表列表与汇总', () => {
...
@@ -85,7 +87,7 @@ test.describe('科室入库汇总查询 · 主表列表与汇总', () => {
});
});
test
.
describe
(
'
科室入库汇总查询 · 列设置
'
,
()
=>
{
test
.
describe
(
'
科室入库汇总查询 · 列设置
'
,
()
=>
{
test
.
describe
.
configure
({
mode
:
'
serial
'
});
test
.
describe
.
configure
({
mode
:
'
serial
'
,
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
await
deptReportEntryPage
.
open
();
await
deptReportEntryPage
.
open
();
...
@@ -111,6 +113,7 @@ test.describe('科室入库汇总查询 · 列设置', () => {
...
@@ -111,6 +113,7 @@ test.describe('科室入库汇总查询 · 列设置', () => {
});
});
test
.
describe
(
'
科室入库汇总查询 · 行展开明细子表
'
,
()
=>
{
test
.
describe
(
'
科室入库汇总查询 · 行展开明细子表
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
await
deptReportEntryPage
.
open
();
await
deptReportEntryPage
.
open
();
await
deptReportEntryPage
.
search
();
await
deptReportEntryPage
.
search
();
...
@@ -145,6 +148,7 @@ test.describe('科室入库汇总查询 · 行展开明细子表', () => {
...
@@ -145,6 +148,7 @@ test.describe('科室入库汇总查询 · 行展开明细子表', () => {
});
});
test
.
describe
(
'
科室入库汇总查询 · 分页
'
,
()
=>
{
test
.
describe
(
'
科室入库汇总查询 · 分页
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportEntryPage
})
=>
{
await
deptReportEntryPage
.
open
();
await
deptReportEntryPage
.
open
();
await
deptReportEntryPage
.
search
();
await
deptReportEntryPage
.
search
();
...
@@ -168,6 +172,7 @@ test.describe('科室入库汇总查询 · 分页', () => {
...
@@ -168,6 +172,7 @@ test.describe('科室入库汇总查询 · 分页', () => {
});
});
test
.
describe
(
'
科室入库汇总查询 · 导出
'
,
()
=>
{
test
.
describe
(
'
科室入库汇总查询 · 导出
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-DES-021 首行样本查询后导出(无数据直接导出)
'
,
{
tag
:
'
@smoke
'
},
async
({
deptReportEntryPage
})
=>
{
test
(
'
STAT-DES-021 首行样本查询后导出(无数据直接导出)
'
,
{
tag
:
'
@smoke
'
},
async
({
deptReportEntryPage
})
=>
{
await
deptReportEntryPage
.
assertExportAvailable
();
await
deptReportEntryPage
.
assertExportAvailable
();
await
deptReportEntryPage
.
open
();
await
deptReportEntryPage
.
open
();
...
...
tests/spd/dept-report-lmm-sheet.spec.ts
View file @
e6617b87
...
@@ -11,6 +11,7 @@ import {
...
@@ -11,6 +11,7 @@ import {
* 运行:npm run test:dept-report-lmm-sheet:all
* 运行:npm run test:dept-report-lmm-sheet:all
*/
*/
test
.
describe
(
'
科室出入库明细查询(后勤)
'
,
()
=>
{
test
.
describe
(
'
科室出入库明细查询(后勤)
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportLmmSheetPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportLmmSheetPage
})
=>
{
await
deptReportLmmSheetPage
.
open
();
await
deptReportLmmSheetPage
.
open
();
});
});
...
...
tests/spd/dept-report-out.spec.ts
View file @
e6617b87
...
@@ -11,6 +11,7 @@ import {
...
@@ -11,6 +11,7 @@ import {
* 运行:npm run test:dept-report-out:all
* 运行:npm run test:dept-report-out:all
*/
*/
test
.
describe
(
'
科室出库汇总查询 · 快捷筛选
'
,
()
=>
{
test
.
describe
(
'
科室出库汇总查询 · 快捷筛选
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
await
deptReportOutPage
.
open
();
await
deptReportOutPage
.
open
();
});
});
...
@@ -33,6 +34,7 @@ test.describe('科室出库汇总查询 · 快捷筛选', () => {
...
@@ -33,6 +34,7 @@ test.describe('科室出库汇总查询 · 快捷筛选', () => {
});
});
test
.
describe
(
'
科室出库汇总查询 · 高级筛选
'
,
()
=>
{
test
.
describe
(
'
科室出库汇总查询 · 高级筛选
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
await
deptReportOutPage
.
open
();
await
deptReportOutPage
.
open
();
});
});
...
@@ -62,6 +64,7 @@ test.describe('科室出库汇总查询 · 高级筛选', () => {
...
@@ -62,6 +64,7 @@ test.describe('科室出库汇总查询 · 高级筛选', () => {
});
});
test
.
describe
(
'
科室出库汇总查询 · 主表列表与汇总
'
,
()
=>
{
test
.
describe
(
'
科室出库汇总查询 · 主表列表与汇总
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
await
deptReportOutPage
.
open
();
await
deptReportOutPage
.
open
();
});
});
...
@@ -83,7 +86,7 @@ test.describe('科室出库汇总查询 · 主表列表与汇总', () => {
...
@@ -83,7 +86,7 @@ test.describe('科室出库汇总查询 · 主表列表与汇总', () => {
});
});
test
.
describe
(
'
科室出库汇总查询 · 列设置
'
,
()
=>
{
test
.
describe
(
'
科室出库汇总查询 · 列设置
'
,
()
=>
{
test
.
describe
.
configure
({
mode
:
'
serial
'
});
test
.
describe
.
configure
({
mode
:
'
serial
'
,
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
await
deptReportOutPage
.
open
();
await
deptReportOutPage
.
open
();
...
@@ -109,6 +112,7 @@ test.describe('科室出库汇总查询 · 列设置', () => {
...
@@ -109,6 +112,7 @@ test.describe('科室出库汇总查询 · 列设置', () => {
});
});
test
.
describe
(
'
科室出库汇总查询 · 行展开明细子表
'
,
()
=>
{
test
.
describe
(
'
科室出库汇总查询 · 行展开明细子表
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
await
deptReportOutPage
.
open
();
await
deptReportOutPage
.
open
();
await
deptReportOutPage
.
search
();
await
deptReportOutPage
.
search
();
...
@@ -143,6 +147,7 @@ test.describe('科室出库汇总查询 · 行展开明细子表', () => {
...
@@ -143,6 +147,7 @@ test.describe('科室出库汇总查询 · 行展开明细子表', () => {
});
});
test
.
describe
(
'
科室出库汇总查询 · 分页
'
,
()
=>
{
test
.
describe
(
'
科室出库汇总查询 · 分页
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportOutPage
})
=>
{
await
deptReportOutPage
.
open
();
await
deptReportOutPage
.
open
();
await
deptReportOutPage
.
search
();
await
deptReportOutPage
.
search
();
...
@@ -166,6 +171,7 @@ test.describe('科室出库汇总查询 · 分页', () => {
...
@@ -166,6 +171,7 @@ test.describe('科室出库汇总查询 · 分页', () => {
});
});
test
.
describe
(
'
科室出库汇总查询 · 导出
'
,
()
=>
{
test
.
describe
(
'
科室出库汇总查询 · 导出
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-DOS-021 首行样本查询后导出(无数据直接导出)
'
,
{
tag
:
'
@smoke
'
},
async
({
deptReportOutPage
})
=>
{
test
(
'
STAT-DOS-021 首行样本查询后导出(无数据直接导出)
'
,
{
tag
:
'
@smoke
'
},
async
({
deptReportOutPage
})
=>
{
await
deptReportOutPage
.
assertExportAvailable
();
await
deptReportOutPage
.
assertExportAvailable
();
await
deptReportOutPage
.
open
();
await
deptReportOutPage
.
open
();
...
...
tests/spd/dept-report-psi.spec.ts
View file @
e6617b87
...
@@ -11,6 +11,7 @@ import {
...
@@ -11,6 +11,7 @@ import {
* 运行:npm run test:dept-report-psi:all
* 运行:npm run test:dept-report-psi:all
*/
*/
test
.
describe
(
'
科室产品进销存
'
,
()
=>
{
test
.
describe
(
'
科室产品进销存
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
.
beforeEach
(
async
({
deptReportPsiPage
})
=>
{
test
.
beforeEach
(
async
({
deptReportPsiPage
})
=>
{
await
deptReportPsiPage
.
open
();
await
deptReportPsiPage
.
open
();
});
});
...
...
Prev
1
2
3
4
Next
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