2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-27 01:00:53 +00:00

Support for searching sales order shipments (#8992)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
Dean
2025-02-04 01:13:52 +13:00
committed by GitHub
parent d363c408f8
commit 138aa01d7e
7 changed files with 51 additions and 0 deletions

View File

@ -180,4 +180,32 @@ test('Sales Orders - Shipments', async ({ page }) => {
await page.getByLabel('related-field-stock_item').click();
await page.getByText('Quantity: 42').click();
await page.getByRole('button', { name: 'Cancel' }).click();
// Search for shipment by tracking number
await page.getByLabel('open-search').click();
await page.getByLabel('global-search-input').clear();
await page.waitForTimeout(250);
await page.getByLabel('global-search-input').fill('TRK-002');
await page.waitForTimeout(250);
await page
.getByText(/SO0009/)
.first()
.click();
// Search for shipment by invoice number
await page.getByLabel('open-search').click();
await page.getByLabel('global-search-input').clear();
await page.waitForTimeout(250);
await page.getByLabel('global-search-input').fill('INV-123');
await page.waitForTimeout(250);
await page
.getByText(/SO0025/)
.first()
.click();
});