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/recon-supply.spec.ts
View file @
e6617b87
...
...
@@ -131,6 +131,7 @@ describeWithReuseOpen(
);
test
.
describe
(
"
供应商对账查询 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
"
STAT-RSU-012 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
reconSupplyPage
,
})
=>
{
...
...
tests/spd/trace-barcode.spec.ts
View file @
e6617b87
...
...
@@ -174,6 +174,7 @@ describeWithReuseOpen(
);
test
.
describe
(
"
条码追溯 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
"
STAT-TBC-015 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
traceBarcodePage
,
})
=>
{
...
...
tests/spd/trace-dept-buy.spec.ts
View file @
e6617b87
...
...
@@ -159,6 +159,7 @@ describeWithReuseOpen(
);
test
.
describe
(
"
科室请领单追溯 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
"
STAT-TDB-022 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
traceDeptBuyPage
,
})
=>
{
...
...
tests/spd/trace-direct-buy.spec.ts
View file @
e6617b87
...
...
@@ -171,6 +171,7 @@ describeWithReuseOpen(
);
test
.
describe
(
"
直配请领单追溯 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
"
STAT-TBY-014 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
traceDirectBuyPage
,
})
=>
{
...
...
tests/spd/trace-direct-detail.spec.ts
View file @
e6617b87
...
...
@@ -157,6 +157,7 @@ describeWithReuseOpen(
);
test
.
describe
(
"
直配请领明细查询 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
"
STAT-TDD-013 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
traceDirectDetailPage
,
})
=>
{
...
...
tests/spd/trace-purchase.spec.ts
View file @
e6617b87
...
...
@@ -156,6 +156,7 @@ describeWithReuseOpen(
);
test
.
describe
(
"
采购单追溯 · 导出
"
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
"
STAT-TPR-013 首行样本查询后导出(无数据直接导出)
"
,
{
tag
:
"
@smoke
"
},
async
({
tracePurchasePage
,
})
=>
{
...
...
tests/spd/warn-detain.spec.ts
View file @
e6617b87
...
...
@@ -161,6 +161,7 @@ describeWithReuseOpen(
);
test
.
describe
(
'
缺货报表 · 导出
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-WDT-025 首行样本查询后导出(无数据直接导出)
'
,
{
tag
:
'
@smoke
'
},
async
({
warnDetainPage
})
=>
{
await
warnDetainPage
.
assertExportAvailable
();
await
warnDetainPage
.
open
();
...
...
tests/spd/warn-expdt.spec.ts
View file @
e6617b87
...
...
@@ -128,6 +128,7 @@ describeWithReuseOpen(
);
test
.
describe
(
'
近期效期查询 · 条码
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-WEX-017 点击首行条码打开产品详情并关闭
'
,
async
({
warnExpdtPage
})
=>
{
await
warnExpdtPage
.
open
();
await
warnExpdtPage
.
search
();
...
...
@@ -136,6 +137,7 @@ test.describe('近期效期查询 · 条码', () => {
});
test
.
describe
(
'
近期效期查询 · 条码明细导出
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-WEX-012 导出条码明细
'
,
async
({
warnExpdtPage
})
=>
{
await
warnExpdtPage
.
open
();
await
warnExpdtPage
.
search
();
...
...
@@ -165,6 +167,7 @@ describeWithReuseOpen(
);
test
.
describe
(
'
近期效期查询 · 导出
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-WEX-016 首行样本查询后导出(无数据直接导出)
'
,
{
tag
:
'
@smoke
'
},
async
({
warnExpdtPage
})
=>
{
await
warnExpdtPage
.
assertExportAvailable
();
await
warnExpdtPage
.
open
();
...
...
tests/spd/warn-low.spec.ts
View file @
e6617b87
...
...
@@ -20,6 +20,7 @@ describeWithReuseOpen(
({
getReport
})
=>
{
test
(
'
STAT-WLS-001 快捷区重置恢复默认
'
,
{
tag
:
'
@smoke
'
},
async
()
=>
{
const
warnLowPage
=
getReport
();
test
.
setTimeout
(
120
_000
);
const
sample
=
await
warnLowPage
.
searchAndExtractSample
();
await
warnLowPage
.
applyQuickFields
(
sample
,
warnLowComboQuickFields
);
await
warnLowPage
.
resetQuickFilter
();
...
...
@@ -96,6 +97,7 @@ describeWithReuseOpen(
);
test
.
describe
(
'
低储预警 · 导出
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-WLS-007 首行样本查询后导出(无数据直接导出)
'
,
{
tag
:
'
@smoke
'
},
async
({
warnLowPage
})
=>
{
await
warnLowPage
.
assertExportAvailable
();
await
warnLowPage
.
open
();
...
...
tests/spd/warn-strand.spec.ts
View file @
e6617b87
...
...
@@ -129,6 +129,7 @@ describeWithReuseOpen(
);
test
.
describe
(
'
滞留预警 · 条码
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-WST-017 点击首行条码打开产品详情并关闭
'
,
async
({
warnStrandPage
})
=>
{
await
warnStrandPage
.
open
();
await
warnStrandPage
.
search
();
...
...
@@ -137,6 +138,7 @@ test.describe('滞留预警 · 条码', () => {
});
test
.
describe
(
'
滞留预警 · 条码明细导出
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-WST-012 导出条码明细
'
,
async
({
warnStrandPage
})
=>
{
await
warnStrandPage
.
open
();
await
warnStrandPage
.
search
();
...
...
@@ -166,6 +168,7 @@ describeWithReuseOpen(
);
test
.
describe
(
'
滞留预警 · 导出
'
,
()
=>
{
test
.
describe
.
configure
({
timeout
:
120
_000
});
test
(
'
STAT-WST-016 首行样本查询后导出(无数据直接导出)
'
,
{
tag
:
'
@smoke
'
},
async
({
warnStrandPage
})
=>
{
await
warnStrandPage
.
assertExportAvailable
();
await
warnStrandPage
.
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