mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Fix for "installed in" display (#8480)
* Fix for "installed in" display
- Allow "details" field to be passed custom params
* Add extra debug to link checking
* API: fix for StockTrackingList entry
* Display links for stock items in tracking entry table
* Generate absolute links for item renderers
* Revert "Generate absolute links for item renderers"
This reverts commit 878fba91d0.
* Bump API version
* Add playwright tests
			
			
This commit is contained in:
		| @@ -157,3 +157,20 @@ test('Stock - Stock Actions', async ({ page }) => { | ||||
|  | ||||
|   await page.waitForTimeout(2500); | ||||
| }); | ||||
|  | ||||
| test('Stock - Tracking', async ({ page }) => { | ||||
|   await doQuickLogin(page); | ||||
|  | ||||
|   // Navigate to the "stock item" page | ||||
|   await page.goto(`${baseUrl}/stock/item/176/details/`); | ||||
|   await page.getByRole('link', { name: 'Widget Assembly # 2' }).waitFor(); | ||||
|  | ||||
|   // Navigate to the "stock tracking" tab | ||||
|   await page.getByRole('tab', { name: 'Stock Tracking' }).click(); | ||||
|   await page.getByText('- - Factory/Office Block/Room').first().waitFor(); | ||||
|   await page.getByRole('link', { name: 'Widget Assembly' }).waitFor(); | ||||
|   await page.getByRole('cell', { name: 'Installed into assembly' }).waitFor(); | ||||
|  | ||||
|   await page.waitForTimeout(1500); | ||||
|   return; | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user