Commit 47d4aecf authored by liguangyu06's avatar liguangyu06
Browse files

Expand weekday smoke to every report module with @smoke tags.

Center, consume, trace, recon, analytics, ops, and reagent pages were implemented but never entered the smoke suite, so Jenkins only covered part of the product.
parent 87a14351
...@@ -13,7 +13,7 @@ test.describe('入账核对查询 · 快捷筛选查询', () => { ...@@ -13,7 +13,7 @@ test.describe('入账核对查询 · 快捷筛选查询', () => {
test.beforeEach(async ({ opsCheckPage }) => { test.beforeEach(async ({ opsCheckPage }) => {
await opsCheckPage.open(); await opsCheckPage.open();
}); });
test('STAT-OPS-001 快捷区重置恢复默认', async ({ opsCheckPage }) => { test('STAT-OPS-001 快捷区重置恢复默认', { tag: '@smoke' }, async ({ opsCheckPage }) => {
const sample = await opsCheckPage.searchAndExtractSample(); const sample = await opsCheckPage.searchAndExtractSample();
await opsCheckPage.applyQuickFields(sample, opsCheckComboQuickFields); await opsCheckPage.applyQuickFields(sample, opsCheckComboQuickFields);
await opsCheckPage.resetQuickFilter(); await opsCheckPage.resetQuickFilter();
...@@ -28,7 +28,7 @@ test.describe('入账核对查询 · 双表列表与汇总', () => { ...@@ -28,7 +28,7 @@ test.describe('入账核对查询 · 双表列表与汇总', () => {
await opsCheckPage.open(); await opsCheckPage.open();
await opsCheckPage.search(); await opsCheckPage.search();
}); });
test('STAT-OPS-003 查询后两表核心列展示', async ({ opsCheckPage }) => { test('STAT-OPS-003 查询后两表核心列展示', { tag: '@smoke' }, async ({ opsCheckPage }) => {
await opsCheckPage.search(); await opsCheckPage.search();
await opsCheckPage.expectTableHeaders(); await opsCheckPage.expectTableHeaders();
}); });
...@@ -48,7 +48,7 @@ test.describe('入账核对查询 · 列设置', () => { ...@@ -48,7 +48,7 @@ test.describe('入账核对查询 · 列设置', () => {
await opsCheckPage.open(); await opsCheckPage.open();
await opsCheckPage.search(); await opsCheckPage.search();
}); });
test('STAT-OPS-006 打开列设置面板', async ({ opsCheckPage }) => { test('STAT-OPS-006 打开列设置面板', { tag: '@smoke' }, async ({ opsCheckPage }) => {
await opsCheckPage.executeColumnSettingsOpenTestForBothTables(); await opsCheckPage.executeColumnSettingsOpenTestForBothTables();
}); });
test('STAT-OPS-007 列设置取消勾选后再勾选列表列恢复', async ({ opsCheckPage }) => { test('STAT-OPS-007 列设置取消勾选后再勾选列表列恢复', async ({ opsCheckPage }) => {
......
...@@ -16,12 +16,12 @@ test.describe('试剂批号统计明细 · 快捷筛选查询', () => { ...@@ -16,12 +16,12 @@ test.describe('试剂批号统计明细 · 快捷筛选查询', () => {
await reagEntryPage.open(); await reagEntryPage.open();
await reagEntryPage.prepareFixedStatDateQuery(); await reagEntryPage.prepareFixedStatDateQuery();
}); });
test('STAT-RBE-001 快捷区重置恢复默认', async ({ reagEntryPage }) => { test('STAT-RBE-001 快捷区重置恢复默认', { tag: '@smoke' }, async ({ reagEntryPage }) => {
const sample = await reagEntryPage.searchAndExtractSample(); const sample = await reagEntryPage.searchAndExtractSample();
await reagEntryPage.applyQuickFields(sample, reagEntryComboQuickFields); await reagEntryPage.applyQuickFields(sample, reagEntryComboQuickFields);
await reagEntryPage.resetQuickFilter(); await reagEntryPage.resetQuickFilter();
}); });
test('STAT-RBE-002 全量快捷区组合查询', async ({ reagEntryPage }) => { test('STAT-RBE-002 全量快捷区组合查询', { tag: '@smoke' }, async ({ reagEntryPage }) => {
await reagEntryPage.searchWithQuickComboVerified( await reagEntryPage.searchWithQuickComboVerified(
reagEntryComboFullQuickFields, reagEntryComboFullQuickFields,
reagEntryComboAssertKeys, reagEntryComboAssertKeys,
...@@ -50,7 +50,7 @@ test.describe('试剂批号统计明细 · 列设置', () => { ...@@ -50,7 +50,7 @@ test.describe('试剂批号统计明细 · 列设置', () => {
await reagEntryPage.open(); await reagEntryPage.open();
await reagEntryPage.search(); await reagEntryPage.search();
}); });
test('STAT-RBE-005 打开列设置面板', async ({ reagEntryPage }) => { test('STAT-RBE-005 打开列设置面板', { tag: '@smoke' }, async ({ reagEntryPage }) => {
await reagEntryPage.openColumnSettings(); await reagEntryPage.openColumnSettings();
await reagEntryPage.expectColumnSettingsPanel(); await reagEntryPage.expectColumnSettingsPanel();
await reagEntryPage.closeColumnSettingsPanel(); await reagEntryPage.closeColumnSettingsPanel();
...@@ -80,7 +80,7 @@ test.describe('试剂批号统计明细 · 详情跳转', () => { ...@@ -80,7 +80,7 @@ test.describe('试剂批号统计明细 · 详情跳转', () => {
}); });
test.describe('试剂批号统计明细 · 导出', () => { test.describe('试剂批号统计明细 · 导出', () => {
test('STAT-RBE-008 首行样本查询后导出(无数据直接导出)', async ({ reagEntryPage }) => { test('STAT-RBE-008 首行样本查询后导出(无数据直接导出)', { tag: '@smoke' }, async ({ reagEntryPage }) => {
await reagEntryPage.assertExportAvailable(); await reagEntryPage.assertExportAvailable();
await reagEntryPage.open(); await reagEntryPage.open();
await reagEntryPage.exportWithFirstRowSampleQuery(reagEntryExportSampleFields); await reagEntryPage.exportWithFirstRowSampleQuery(reagEntryExportSampleFields);
......
...@@ -17,7 +17,7 @@ describeWithReuseOpen( ...@@ -17,7 +17,7 @@ describeWithReuseOpen(
(page) => new ReconDeptAccountPage(page), (page) => new ReconDeptAccountPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-RDA-001 快捷区重置恢复默认", async () => { test("STAT-RDA-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const reconDeptAccountPage = getReport(); const reconDeptAccountPage = getReport();
const sample = await reconDeptAccountPage.searchAndExtractSample(); const sample = await reconDeptAccountPage.searchAndExtractSample();
await reconDeptAccountPage.applyQuickFields( await reconDeptAccountPage.applyQuickFields(
...@@ -50,7 +50,7 @@ describeWithReuseOpen( ...@@ -50,7 +50,7 @@ describeWithReuseOpen(
); );
await reconDeptAccountPage.resetAdvancedDrawer(); await reconDeptAccountPage.resetAdvancedDrawer();
}); });
test("STAT-RDA-004 全量查询条件组合查询", async () => { test("STAT-RDA-004 全量查询条件组合查询", { tag: "@smoke" }, async () => {
const reconDeptAccountPage = getReport(); const reconDeptAccountPage = getReport();
const sample = await reconDeptAccountPage.searchWithQuickAndDrawerCombo( const sample = await reconDeptAccountPage.searchWithQuickAndDrawerCombo(
reconDeptAccountComboQuickFields, reconDeptAccountComboQuickFields,
...@@ -125,7 +125,7 @@ describeWithReuseOpen( ...@@ -125,7 +125,7 @@ describeWithReuseOpen(
(page) => new ReconDeptAccountPage(page), (page) => new ReconDeptAccountPage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-RDA-010 打开列设置面板", async () => { test("STAT-RDA-010 打开列设置面板", { tag: "@smoke" }, async () => {
const reconDeptAccountPage = getReport(); const reconDeptAccountPage = getReport();
await reconDeptAccountPage.openColumnSettings(); await reconDeptAccountPage.openColumnSettings();
await reconDeptAccountPage.expectColumnSettingsPanel(); await reconDeptAccountPage.expectColumnSettingsPanel();
...@@ -208,7 +208,7 @@ describeWithReuseOpen( ...@@ -208,7 +208,7 @@ describeWithReuseOpen(
); );
test.describe("科室对账查询 · 导出", () => { test.describe("科室对账查询 · 导出", () => {
test("STAT-RDA-019 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-RDA-019 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
reconDeptAccountPage, reconDeptAccountPage,
}) => { }) => {
await reconDeptAccountPage.open(); await reconDeptAccountPage.open();
......
...@@ -19,7 +19,7 @@ describeWithReuseOpen( ...@@ -19,7 +19,7 @@ describeWithReuseOpen(
(page) => new ReconDeptNetInPage(page), (page) => new ReconDeptNetInPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-RNI-001 快捷区重置恢复默认", async () => { test("STAT-RNI-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const reconDeptNetInPage = getReport(); const reconDeptNetInPage = getReport();
const sample = await reconDeptNetInPage.searchAndExtractSample(); const sample = await reconDeptNetInPage.searchAndExtractSample();
await reconDeptNetInPage.applyQuickFields( await reconDeptNetInPage.applyQuickFields(
...@@ -52,7 +52,7 @@ describeWithReuseOpen( ...@@ -52,7 +52,7 @@ describeWithReuseOpen(
); );
await reconDeptNetInPage.resetAdvancedDrawer(); await reconDeptNetInPage.resetAdvancedDrawer();
}); });
test("STAT-RNI-004 全量查询条件组合查询", async () => { test("STAT-RNI-004 全量查询条件组合查询", { tag: "@smoke" }, async () => {
const reconDeptNetInPage = getReport(); const reconDeptNetInPage = getReport();
const sample = await reconDeptNetInPage.searchWithQuickAndDrawerCombo( const sample = await reconDeptNetInPage.searchWithQuickAndDrawerCombo(
reconDeptNetInComboQuickFields, reconDeptNetInComboQuickFields,
...@@ -127,7 +127,7 @@ describeWithReuseOpen( ...@@ -127,7 +127,7 @@ describeWithReuseOpen(
(page) => new ReconDeptNetInPage(page), (page) => new ReconDeptNetInPage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-RNI-010 打开列设置面板", async () => { test("STAT-RNI-010 打开列设置面板", { tag: "@smoke" }, async () => {
const reconDeptNetInPage = getReport(); const reconDeptNetInPage = getReport();
await reconDeptNetInPage.openColumnSettings(); await reconDeptNetInPage.openColumnSettings();
await reconDeptNetInPage.expectColumnSettingsPanel(); await reconDeptNetInPage.expectColumnSettingsPanel();
...@@ -174,7 +174,7 @@ describeWithReuseOpen( ...@@ -174,7 +174,7 @@ describeWithReuseOpen(
); );
test.describe("科室净入汇总表 · 导出", () => { test.describe("科室净入汇总表 · 导出", () => {
test("STAT-RNI-015 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-RNI-015 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
reconDeptNetInPage, reconDeptNetInPage,
}) => { }) => {
await reconDeptNetInPage.open(); await reconDeptNetInPage.open();
......
...@@ -17,7 +17,7 @@ describeWithReuseOpen( ...@@ -17,7 +17,7 @@ describeWithReuseOpen(
(page) => new ReconDeptNetOutPage(page), (page) => new ReconDeptNetOutPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-RNO-001 快捷区重置恢复默认", async () => { test("STAT-RNO-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const reconDeptNetOutPage = getReport(); const reconDeptNetOutPage = getReport();
const sample = await reconDeptNetOutPage.searchAndExtractSample(); const sample = await reconDeptNetOutPage.searchAndExtractSample();
await reconDeptNetOutPage.applyQuickFields( await reconDeptNetOutPage.applyQuickFields(
...@@ -47,7 +47,7 @@ describeWithReuseOpen( ...@@ -47,7 +47,7 @@ describeWithReuseOpen(
await reconDeptNetOutPage.fillBatchNo("MOCK-BATCH-001"); await reconDeptNetOutPage.fillBatchNo("MOCK-BATCH-001");
await reconDeptNetOutPage.resetAdvancedDrawer(); await reconDeptNetOutPage.resetAdvancedDrawer();
}); });
test("STAT-RNO-004 全量查询条件组合查询", async () => { test("STAT-RNO-004 全量查询条件组合查询", { tag: "@smoke" }, async () => {
const reconDeptNetOutPage = getReport(); const reconDeptNetOutPage = getReport();
const sample = await reconDeptNetOutPage.searchWithQuickAndDrawerCombo( const sample = await reconDeptNetOutPage.searchWithQuickAndDrawerCombo(
reconDeptNetOutComboQuickFields, reconDeptNetOutComboQuickFields,
...@@ -122,7 +122,7 @@ describeWithReuseOpen( ...@@ -122,7 +122,7 @@ describeWithReuseOpen(
(page) => new ReconDeptNetOutPage(page), (page) => new ReconDeptNetOutPage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-RNO-010 打开列设置面板", async () => { test("STAT-RNO-010 打开列设置面板", { tag: "@smoke" }, async () => {
const reconDeptNetOutPage = getReport(); const reconDeptNetOutPage = getReport();
await reconDeptNetOutPage.openColumnSettings(); await reconDeptNetOutPage.openColumnSettings();
await reconDeptNetOutPage.expectColumnSettingsPanel(); await reconDeptNetOutPage.expectColumnSettingsPanel();
...@@ -172,7 +172,7 @@ describeWithReuseOpen( ...@@ -172,7 +172,7 @@ describeWithReuseOpen(
); );
test.describe("科室净出汇总表 · 导出", () => { test.describe("科室净出汇总表 · 导出", () => {
test("STAT-RNO-015 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-RNO-015 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
reconDeptNetOutPage, reconDeptNetOutPage,
}) => { }) => {
await reconDeptNetOutPage.open(); await reconDeptNetOutPage.open();
......
...@@ -16,7 +16,7 @@ describeWithReuseOpen( ...@@ -16,7 +16,7 @@ describeWithReuseOpen(
(page) => new ReconOutClassifyPage(page), (page) => new ReconOutClassifyPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-ROC-001 快捷区重置恢复默认", async () => { test("STAT-ROC-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const reconOutClassifyPage = getReport(); const reconOutClassifyPage = getReport();
const sample = await reconOutClassifyPage.searchAndExtractSample(); const sample = await reconOutClassifyPage.searchAndExtractSample();
await reconOutClassifyPage.applyQuickFields( await reconOutClassifyPage.applyQuickFields(
...@@ -49,7 +49,7 @@ describeWithReuseOpen( ...@@ -49,7 +49,7 @@ describeWithReuseOpen(
); );
await reconOutClassifyPage.resetAdvancedDrawer(); await reconOutClassifyPage.resetAdvancedDrawer();
}); });
test("STAT-ROC-004 全量查询条件组合查询", async () => { test("STAT-ROC-004 全量查询条件组合查询", { tag: "@smoke" }, async () => {
const reconOutClassifyPage = getReport(); const reconOutClassifyPage = getReport();
const sample = await reconOutClassifyPage.searchWithQuickAndDrawerCombo( const sample = await reconOutClassifyPage.searchWithQuickAndDrawerCombo(
reconOutClassifyComboQuickFields, reconOutClassifyComboQuickFields,
...@@ -116,7 +116,7 @@ describeWithReuseOpen( ...@@ -116,7 +116,7 @@ describeWithReuseOpen(
); );
test.describe("请领出库分类汇总表 · 导出", () => { test.describe("请领出库分类汇总表 · 导出", () => {
test("STAT-ROC-009 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-ROC-009 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
reconOutClassifyPage, reconOutClassifyPage,
}) => { }) => {
await reconOutClassifyPage.open(); await reconOutClassifyPage.open();
......
...@@ -16,7 +16,7 @@ describeWithReuseOpen( ...@@ -16,7 +16,7 @@ describeWithReuseOpen(
(page) => new ReconPurchaseClassifyPage(page), (page) => new ReconPurchaseClassifyPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-RPC-001 快捷区重置恢复默认", async () => { test("STAT-RPC-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const reconPurchaseClassifyPage = getReport(); const reconPurchaseClassifyPage = getReport();
const sample = await reconPurchaseClassifyPage.searchAndExtractSample(); const sample = await reconPurchaseClassifyPage.searchAndExtractSample();
await reconPurchaseClassifyPage.applyQuickFields( await reconPurchaseClassifyPage.applyQuickFields(
...@@ -49,7 +49,7 @@ describeWithReuseOpen( ...@@ -49,7 +49,7 @@ describeWithReuseOpen(
); );
await reconPurchaseClassifyPage.resetAdvancedDrawer(); await reconPurchaseClassifyPage.resetAdvancedDrawer();
}); });
test("STAT-RPC-004 全量查询条件组合查询", async () => { test("STAT-RPC-004 全量查询条件组合查询", { tag: "@smoke" }, async () => {
const reconPurchaseClassifyPage = getReport(); const reconPurchaseClassifyPage = getReport();
const sample = const sample =
await reconPurchaseClassifyPage.searchWithQuickAndDrawerCombo( await reconPurchaseClassifyPage.searchWithQuickAndDrawerCombo(
...@@ -117,7 +117,7 @@ describeWithReuseOpen( ...@@ -117,7 +117,7 @@ describeWithReuseOpen(
); );
test.describe("采购分类汇总 · 导出", () => { test.describe("采购分类汇总 · 导出", () => {
test("STAT-RPC-009 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-RPC-009 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
reconPurchaseClassifyPage, reconPurchaseClassifyPage,
}) => { }) => {
await reconPurchaseClassifyPage.open(); await reconPurchaseClassifyPage.open();
......
...@@ -19,7 +19,7 @@ describeWithReuseOpen( ...@@ -19,7 +19,7 @@ describeWithReuseOpen(
(page) => new ReconPurchaseEntryPage(page), (page) => new ReconPurchaseEntryPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-RPE-001 快捷区重置恢复默认", async () => { test("STAT-RPE-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const reconPurchaseEntryPage = getReport(); const reconPurchaseEntryPage = getReport();
const sample = await reconPurchaseEntryPage.searchAndExtractSample(); const sample = await reconPurchaseEntryPage.searchAndExtractSample();
await reconPurchaseEntryPage.applyQuickFields( await reconPurchaseEntryPage.applyQuickFields(
...@@ -52,7 +52,7 @@ describeWithReuseOpen( ...@@ -52,7 +52,7 @@ describeWithReuseOpen(
); );
await reconPurchaseEntryPage.resetAdvancedDrawer(); await reconPurchaseEntryPage.resetAdvancedDrawer();
}); });
test("STAT-RPE-004 全量查询条件组合查询", async () => { test("STAT-RPE-004 全量查询条件组合查询", { tag: "@smoke" }, async () => {
const reconPurchaseEntryPage = getReport(); const reconPurchaseEntryPage = getReport();
const sample = await reconPurchaseEntryPage.searchWithQuickAndDrawerCombo( const sample = await reconPurchaseEntryPage.searchWithQuickAndDrawerCombo(
reconPurchaseEntryComboQuickFields, reconPurchaseEntryComboQuickFields,
...@@ -128,7 +128,7 @@ describeWithReuseOpen( ...@@ -128,7 +128,7 @@ describeWithReuseOpen(
(page) => new ReconPurchaseEntryPage(page), (page) => new ReconPurchaseEntryPage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-RPE-010 打开列设置面板", async () => { test("STAT-RPE-010 打开列设置面板", { tag: "@smoke" }, async () => {
const reconPurchaseEntryPage = getReport(); const reconPurchaseEntryPage = getReport();
await reconPurchaseEntryPage.openColumnSettings(); await reconPurchaseEntryPage.openColumnSettings();
await reconPurchaseEntryPage.expectColumnSettingsPanel(); await reconPurchaseEntryPage.expectColumnSettingsPanel();
...@@ -181,7 +181,7 @@ describeWithReuseOpen( ...@@ -181,7 +181,7 @@ describeWithReuseOpen(
); );
test.describe("采购入库汇总表 · 导出", () => { test.describe("采购入库汇总表 · 导出", () => {
test("STAT-RPE-015 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-RPE-015 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
reconPurchaseEntryPage, reconPurchaseEntryPage,
}) => { }) => {
await reconPurchaseEntryPage.open(); await reconPurchaseEntryPage.open();
......
...@@ -17,7 +17,7 @@ describeWithReuseOpen( ...@@ -17,7 +17,7 @@ describeWithReuseOpen(
(page) => new ReconSupplyPage(page), (page) => new ReconSupplyPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-RSU-001 快捷区重置恢复默认", async () => { test("STAT-RSU-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const reconSupplyPage = getReport(); const reconSupplyPage = getReport();
const sample = await reconSupplyPage.searchAndExtractSample(); const sample = await reconSupplyPage.searchAndExtractSample();
await reconSupplyPage.applyQuickFields( await reconSupplyPage.applyQuickFields(
...@@ -49,7 +49,7 @@ describeWithReuseOpen( ...@@ -49,7 +49,7 @@ describeWithReuseOpen(
); );
await reconSupplyPage.resetAdvancedDrawer(); await reconSupplyPage.resetAdvancedDrawer();
}); });
test("STAT-RSU-004 全量查询条件组合查询", async () => { test("STAT-RSU-004 全量查询条件组合查询", { tag: "@smoke" }, async () => {
const reconSupplyPage = getReport(); const reconSupplyPage = getReport();
const sample = await reconSupplyPage.searchWithQuickAndDrawerCombo( const sample = await reconSupplyPage.searchWithQuickAndDrawerCombo(
reconSupplyComboQuickFields, reconSupplyComboQuickFields,
...@@ -131,7 +131,7 @@ describeWithReuseOpen( ...@@ -131,7 +131,7 @@ describeWithReuseOpen(
); );
test.describe("供应商对账查询 · 导出", () => { test.describe("供应商对账查询 · 导出", () => {
test("STAT-RSU-012 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-RSU-012 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
reconSupplyPage, reconSupplyPage,
}) => { }) => {
await reconSupplyPage.open(); await reconSupplyPage.open();
......
...@@ -19,7 +19,7 @@ describeWithReuseOpen( ...@@ -19,7 +19,7 @@ describeWithReuseOpen(
(page) => new TraceBarcodePage(page), (page) => new TraceBarcodePage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-TBC-001 快捷区重置恢复默认", async () => { test("STAT-TBC-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const traceBarcodePage = getReport(); const traceBarcodePage = getReport();
const sample = await traceBarcodePage.searchAndExtractSample(); const sample = await traceBarcodePage.searchAndExtractSample();
await traceBarcodePage.applyQuickFields( await traceBarcodePage.applyQuickFields(
...@@ -104,7 +104,7 @@ describeWithReuseOpen( ...@@ -104,7 +104,7 @@ describeWithReuseOpen(
(page) => new TraceBarcodePage(page), (page) => new TraceBarcodePage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-TBC-007 查询后核心列展示", async () => { test("STAT-TBC-007 查询后核心列展示", { tag: "@smoke" }, async () => {
const traceBarcodePage = getReport(); const traceBarcodePage = getReport();
await traceBarcodePage.search(); await traceBarcodePage.search();
await traceBarcodePage.expectTableHeaders(); await traceBarcodePage.expectTableHeaders();
...@@ -127,7 +127,7 @@ describeWithReuseOpen( ...@@ -127,7 +127,7 @@ describeWithReuseOpen(
(page) => new TraceBarcodePage(page), (page) => new TraceBarcodePage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-TBC-010 打开列设置面板", async () => { test("STAT-TBC-010 打开列设置面板", { tag: "@smoke" }, async () => {
const traceBarcodePage = getReport(); const traceBarcodePage = getReport();
await traceBarcodePage.openColumnSettings(); await traceBarcodePage.openColumnSettings();
await traceBarcodePage.expectColumnSettingsPanel(); await traceBarcodePage.expectColumnSettingsPanel();
...@@ -174,7 +174,7 @@ describeWithReuseOpen( ...@@ -174,7 +174,7 @@ describeWithReuseOpen(
); );
test.describe("条码追溯 · 导出", () => { test.describe("条码追溯 · 导出", () => {
test("STAT-TBC-015 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-TBC-015 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
traceBarcodePage, traceBarcodePage,
}) => { }) => {
await traceBarcodePage.assertExportAvailable(); await traceBarcodePage.assertExportAvailable();
......
...@@ -21,7 +21,7 @@ describeWithReuseOpen( ...@@ -21,7 +21,7 @@ describeWithReuseOpen(
(page) => new TraceDeptBuyPage(page), (page) => new TraceDeptBuyPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-TDB-001 快捷区重置恢复默认", async () => { test("STAT-TDB-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const traceDeptBuyPage = getReport(); const traceDeptBuyPage = getReport();
const sample = await traceDeptBuyPage.searchAndExtractSample(); const sample = await traceDeptBuyPage.searchAndExtractSample();
await traceDeptBuyPage.applyQuickFields( await traceDeptBuyPage.applyQuickFields(
...@@ -92,7 +92,7 @@ describeWithReuseOpen( ...@@ -92,7 +92,7 @@ describeWithReuseOpen(
(page) => new TraceDeptBuyPage(page), (page) => new TraceDeptBuyPage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-TDB-006 查询后核心列展示", async () => { test("STAT-TDB-006 查询后核心列展示", { tag: "@smoke" }, async () => {
const traceDeptBuyPage = getReport(); const traceDeptBuyPage = getReport();
await traceDeptBuyPage.search(); await traceDeptBuyPage.search();
await traceDeptBuyPage.expectTableHeaders(); await traceDeptBuyPage.expectTableHeaders();
...@@ -112,7 +112,7 @@ describeWithReuseOpen( ...@@ -112,7 +112,7 @@ describeWithReuseOpen(
(page) => new TraceDeptBuyPage(page), (page) => new TraceDeptBuyPage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-TDB-008 打开列设置面板", async () => { test("STAT-TDB-008 打开列设置面板", { tag: "@smoke" }, async () => {
const traceDeptBuyPage = getReport(); const traceDeptBuyPage = getReport();
await traceDeptBuyPage.openColumnSettings(); await traceDeptBuyPage.openColumnSettings();
await traceDeptBuyPage.expectColumnSettingsPanel(); await traceDeptBuyPage.expectColumnSettingsPanel();
...@@ -159,7 +159,7 @@ describeWithReuseOpen( ...@@ -159,7 +159,7 @@ describeWithReuseOpen(
); );
test.describe("科室请领单追溯 · 导出", () => { test.describe("科室请领单追溯 · 导出", () => {
test("STAT-TDB-022 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-TDB-022 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
traceDeptBuyPage, traceDeptBuyPage,
}) => { }) => {
await traceDeptBuyPage.assertExportAvailable(); await traceDeptBuyPage.assertExportAvailable();
......
...@@ -19,7 +19,7 @@ describeWithReuseOpen( ...@@ -19,7 +19,7 @@ describeWithReuseOpen(
(page) => new TraceDirectBuyPage(page), (page) => new TraceDirectBuyPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-TBY-001 快捷区重置恢复默认", async () => { test("STAT-TBY-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const traceDirectBuyPage = getReport(); const traceDirectBuyPage = getReport();
const sample = await traceDirectBuyPage.searchAndExtractSample(); const sample = await traceDirectBuyPage.searchAndExtractSample();
await traceDirectBuyPage.applyQuickFields( await traceDirectBuyPage.applyQuickFields(
...@@ -45,7 +45,7 @@ describeWithReuseOpen( ...@@ -45,7 +45,7 @@ describeWithReuseOpen(
const traceDirectBuyPage = getReport(); const traceDirectBuyPage = getReport();
await traceDirectBuyPage.resetDrawerWithSample(); await traceDirectBuyPage.resetDrawerWithSample();
}); });
test("STAT-TBY-004 全量查询条件组合查询", async () => { test("STAT-TBY-004 全量查询条件组合查询", { tag: "@smoke" }, async () => {
const traceDirectBuyPage = getReport(); const traceDirectBuyPage = getReport();
const sample = await traceDirectBuyPage.searchWithQuickAndDrawerCombo( const sample = await traceDirectBuyPage.searchWithQuickAndDrawerCombo(
traceDirectBuyComboQuickFields, traceDirectBuyComboQuickFields,
...@@ -124,7 +124,7 @@ describeWithReuseOpen( ...@@ -124,7 +124,7 @@ describeWithReuseOpen(
(page) => new TraceDirectBuyPage(page), (page) => new TraceDirectBuyPage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-TBY-009 打开列设置面板", async () => { test("STAT-TBY-009 打开列设置面板", { tag: "@smoke" }, async () => {
const traceDirectBuyPage = getReport(); const traceDirectBuyPage = getReport();
await traceDirectBuyPage.openColumnSettings(); await traceDirectBuyPage.openColumnSettings();
await traceDirectBuyPage.expectColumnSettingsPanel(); await traceDirectBuyPage.expectColumnSettingsPanel();
...@@ -171,7 +171,7 @@ describeWithReuseOpen( ...@@ -171,7 +171,7 @@ describeWithReuseOpen(
); );
test.describe("直配请领单追溯 · 导出", () => { test.describe("直配请领单追溯 · 导出", () => {
test("STAT-TBY-014 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-TBY-014 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
traceDirectBuyPage, traceDirectBuyPage,
}) => { }) => {
await traceDirectBuyPage.assertExportAvailable(); await traceDirectBuyPage.assertExportAvailable();
......
...@@ -19,7 +19,7 @@ describeWithReuseOpen( ...@@ -19,7 +19,7 @@ describeWithReuseOpen(
(page) => new TraceDirectDetailPage(page), (page) => new TraceDirectDetailPage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-TDD-001 快捷区重置恢复默认", async () => { test("STAT-TDD-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const traceDirectDetailPage = getReport(); const traceDirectDetailPage = getReport();
const sample = await traceDirectDetailPage.searchAndExtractSample(); const sample = await traceDirectDetailPage.searchAndExtractSample();
await traceDirectDetailPage.applyQuickFields( await traceDirectDetailPage.applyQuickFields(
...@@ -45,7 +45,7 @@ describeWithReuseOpen( ...@@ -45,7 +45,7 @@ describeWithReuseOpen(
const traceDirectDetailPage = getReport(); const traceDirectDetailPage = getReport();
await traceDirectDetailPage.resetDrawerWithSample(); await traceDirectDetailPage.resetDrawerWithSample();
}); });
test("STAT-TDD-004 全量查询条件组合查询", async () => { test("STAT-TDD-004 全量查询条件组合查询", { tag: "@smoke" }, async () => {
const traceDirectDetailPage = getReport(); const traceDirectDetailPage = getReport();
const sample = await traceDirectDetailPage.searchWithQuickAndDrawerCombo( const sample = await traceDirectDetailPage.searchWithQuickAndDrawerCombo(
traceDirectDetailComboQuickFields, traceDirectDetailComboQuickFields,
...@@ -107,7 +107,7 @@ describeWithReuseOpen( ...@@ -107,7 +107,7 @@ describeWithReuseOpen(
(page) => new TraceDirectDetailPage(page), (page) => new TraceDirectDetailPage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-TDD-008 打开列设置面板", async () => { test("STAT-TDD-008 打开列设置面板", { tag: "@smoke" }, async () => {
const traceDirectDetailPage = getReport(); const traceDirectDetailPage = getReport();
await traceDirectDetailPage.openColumnSettings(); await traceDirectDetailPage.openColumnSettings();
await traceDirectDetailPage.expectColumnSettingsPanel(); await traceDirectDetailPage.expectColumnSettingsPanel();
...@@ -157,7 +157,7 @@ describeWithReuseOpen( ...@@ -157,7 +157,7 @@ describeWithReuseOpen(
); );
test.describe("直配请领明细查询 · 导出", () => { test.describe("直配请领明细查询 · 导出", () => {
test("STAT-TDD-013 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-TDD-013 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
traceDirectDetailPage, traceDirectDetailPage,
}) => { }) => {
await traceDirectDetailPage.assertExportAvailable(); await traceDirectDetailPage.assertExportAvailable();
......
...@@ -19,7 +19,7 @@ describeWithReuseOpen( ...@@ -19,7 +19,7 @@ describeWithReuseOpen(
(page) => new TracePurchasePage(page), (page) => new TracePurchasePage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-TPR-001 快捷区重置恢复默认", async () => { test("STAT-TPR-001 快捷区重置恢复默认", { tag: "@smoke" }, async () => {
const tracePurchasePage = getReport(); const tracePurchasePage = getReport();
const sample = await tracePurchasePage.searchAndExtractSample(); const sample = await tracePurchasePage.searchAndExtractSample();
await tracePurchasePage.applyQuickFields( await tracePurchasePage.applyQuickFields(
...@@ -90,7 +90,7 @@ describeWithReuseOpen( ...@@ -90,7 +90,7 @@ describeWithReuseOpen(
(page) => new TracePurchasePage(page), (page) => new TracePurchasePage(page),
{}, {},
({ getReport }) => { ({ getReport }) => {
test("STAT-TPR-006 查询后核心列展示", async () => { test("STAT-TPR-006 查询后核心列展示", { tag: "@smoke" }, async () => {
const tracePurchasePage = getReport(); const tracePurchasePage = getReport();
await tracePurchasePage.search(); await tracePurchasePage.search();
await tracePurchasePage.expectTableHeaders(); await tracePurchasePage.expectTableHeaders();
...@@ -109,7 +109,7 @@ describeWithReuseOpen( ...@@ -109,7 +109,7 @@ describeWithReuseOpen(
(page) => new TracePurchasePage(page), (page) => new TracePurchasePage(page),
{ searchOnOpen: true, searchBeforeEach: true }, { searchOnOpen: true, searchBeforeEach: true },
({ getReport }) => { ({ getReport }) => {
test("STAT-TPR-008 打开列设置面板", async () => { test("STAT-TPR-008 打开列设置面板", { tag: "@smoke" }, async () => {
const tracePurchasePage = getReport(); const tracePurchasePage = getReport();
await tracePurchasePage.openColumnSettings(); await tracePurchasePage.openColumnSettings();
await tracePurchasePage.expectColumnSettingsPanel(); await tracePurchasePage.expectColumnSettingsPanel();
...@@ -156,7 +156,7 @@ describeWithReuseOpen( ...@@ -156,7 +156,7 @@ describeWithReuseOpen(
); );
test.describe("采购单追溯 · 导出", () => { test.describe("采购单追溯 · 导出", () => {
test("STAT-TPR-013 首行样本查询后导出(无数据直接导出)", async ({ test("STAT-TPR-013 首行样本查询后导出(无数据直接导出)", { tag: "@smoke" }, async ({
tracePurchasePage, tracePurchasePage,
}) => { }) => {
await tracePurchasePage.assertExportAvailable(); await tracePurchasePage.assertExportAvailable();
......
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