mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-27 14:16:02 +00:00
[UI] Fix BOM pricing tooltip (#12931)
* [UI] Fix BOM pricing tooltip * Add delay for playwright test
This commit is contained in:
@@ -59,6 +59,8 @@ function BomPieChart({
|
||||
withLabels={false}
|
||||
withLabelsLine={false}
|
||||
chartLabel={t`Total Price`}
|
||||
tooltipDataSource='segment'
|
||||
tooltipProps={{ wrapperStyle: { zIndex: 1000 } }}
|
||||
valueFormatter={(value) => tooltipFormatter(value, currency)}
|
||||
/>
|
||||
</Center>
|
||||
|
||||
@@ -684,6 +684,10 @@ test('Stock - Default Location', async ({ browser }) => {
|
||||
|
||||
// Scenario 2: Duplicating a stock item should retain its original location
|
||||
await navigate(page, 'stock/item/2/details');
|
||||
|
||||
await page.waitForTimeout(1000);
|
||||
await page.waitForLoadState('networkidle');
|
||||
|
||||
await page
|
||||
.getByRole('button', { name: 'action-menu-stock-item-actions' })
|
||||
.click();
|
||||
|
||||
Reference in New Issue
Block a user