From aa4550169bcf232247896ab8aacca818a72383d3 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Mon, 6 May 2024 07:42:18 +0200 Subject: [PATCH] renmae testcases --- src/frontend/tests/pages/pui_scan.spec.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/frontend/tests/pages/pui_scan.spec.ts b/src/frontend/tests/pages/pui_scan.spec.ts index c46b0f3f28..7ca6827150 100644 --- a/src/frontend/tests/pages/pui_scan.spec.ts +++ b/src/frontend/tests/pages/pui_scan.spec.ts @@ -24,7 +24,7 @@ async function defaultScanTest(page, search_text) { await page.getByRole('button', { name: 'Lookup part' }).click(); } -test('PUI - Pages - Index - Scan - Part', async ({ page }) => { +test('PUI - Pages - Index - Scan (Part)', async ({ page }) => { await defaultScanTest(page, '{"part": 1}'); // part: 1 @@ -33,7 +33,7 @@ test('PUI - Pages - Index - Scan - Part', async ({ page }) => { await page.getByRole('cell', { name: 'part' }).waitFor(); }); -test('PUI - Pages - Index - Scan - Stockitem', async ({ page }) => { +test('PUI - Pages - Index - Scan (Stockitem)', async ({ page }) => { await defaultScanTest(page, '{"stockitem": 408}'); // stockitem: 408 @@ -42,7 +42,7 @@ test('PUI - Pages - Index - Scan - Stockitem', async ({ page }) => { await page.getByRole('cell', { name: 'Quantity: 145' }).waitFor(); }); -test('PUI - Pages - Index - Scan - StockLocation', async ({ page }) => { +test('PUI - Pages - Index - Scan (StockLocation)', async ({ page }) => { await defaultScanTest(page, '{"stocklocation": 3}'); // stocklocation: 3 @@ -51,7 +51,7 @@ test('PUI - Pages - Index - Scan - StockLocation', async ({ page }) => { await page.getByRole('cell', { name: 'stocklocation' }).waitFor(); }); -test('PUI - Pages - Index - Scan - SupplierPart', async ({ page }) => { +test('PUI - Pages - Index - Scan (SupplierPart)', async ({ page }) => { await defaultScanTest(page, '{"supplierpart": 204}'); // supplierpart: 204 @@ -60,7 +60,7 @@ test('PUI - Pages - Index - Scan - SupplierPart', async ({ page }) => { await page.getByRole('cell', { name: 'supplierpart' }).waitFor(); }); -test('PUI - Pages - Index - Scan - PurchaseOrder', async ({ page }) => { +test('PUI - Pages - Index - Scan (PurchaseOrder)', async ({ page }) => { await defaultScanTest(page, '{"purchaseorder": 12}'); // purchaseorder: 12 @@ -69,7 +69,7 @@ test('PUI - Pages - Index - Scan - PurchaseOrder', async ({ page }) => { await page.getByRole('cell', { name: 'purchaseorder' }).waitFor(); }); -test('PUI - Pages - Index - Scan - SalesOrder', async ({ page }) => { +test('PUI - Pages - Index - Scan (SalesOrder)', async ({ page }) => { await defaultScanTest(page, '{"salesorder": 6}'); // salesorder: 6 @@ -78,7 +78,7 @@ test('PUI - Pages - Index - Scan - SalesOrder', async ({ page }) => { await page.getByRole('cell', { name: 'salesorder' }).waitFor(); }); -test('PUI - Pages - Index - Scan - Build', async ({ page }) => { +test('PUI - Pages - Index - Scan (Build)', async ({ page }) => { await defaultScanTest(page, '{"build": 8}'); // build: 8