mirror of
https://github.com/inventree/InvenTree.git
synced 2025-09-13 22:21:37 +00:00
Enhance "path" columns (#9918)
* Enhance "path" columns - Show "short" version - Hovercard for full "pathstring" * Remove old code * adjust unit tests
This commit is contained in:
@@ -80,7 +80,7 @@ test('Build Order - Basic Tests', async ({ browser }) => {
|
||||
await page.getByText('Quantity: 25').waitFor();
|
||||
await page.getByText('Continuity Checks').waitFor();
|
||||
await page
|
||||
.getByRole('row', { name: 'Quantity: 16 No location set' })
|
||||
.getByRole('row', { name: 'Quantity: 16' })
|
||||
.getByRole('button')
|
||||
.hover();
|
||||
await page.getByText('Add Test Result').waitFor();
|
||||
@@ -241,9 +241,7 @@ test('Build Order - Allocation', async ({ browser }) => {
|
||||
// Expand this row
|
||||
await cell.click();
|
||||
await page.getByRole('cell', { name: '2022-4-27', exact: true }).waitFor();
|
||||
await page
|
||||
.getByRole('cell', { name: 'Electronics Lab/Reel Storage', exact: true })
|
||||
.waitFor();
|
||||
await page.getByRole('cell', { name: 'Reel Storage', exact: true }).waitFor();
|
||||
|
||||
// Navigate to the "Incomplete Outputs" tab
|
||||
await loadTab(page, 'Incomplete Outputs');
|
||||
|
@@ -225,9 +225,7 @@ test('Parts - Allocations', async ({ browser }) => {
|
||||
// Expand allocations against BO0001
|
||||
await build_order_cell.click();
|
||||
await page.getByRole('cell', { name: '# 3', exact: true }).waitFor();
|
||||
await page
|
||||
.getByRole('cell', { name: 'Factory/Office Block/Room 101', exact: true })
|
||||
.waitFor();
|
||||
await page.getByRole('cell', { name: 'Room 101', exact: true }).waitFor();
|
||||
await build_order_cell.click();
|
||||
|
||||
// Check row options for BO0001
|
||||
|
Reference in New Issue
Block a user