diff --git a/src/frontend/src/pages/part/pricing/BomPricingPanel.tsx b/src/frontend/src/pages/part/pricing/BomPricingPanel.tsx index 8412e6bb47..49a8b9c53a 100644 --- a/src/frontend/src/pages/part/pricing/BomPricingPanel.tsx +++ b/src/frontend/src/pages/part/pricing/BomPricingPanel.tsx @@ -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)} /> diff --git a/src/frontend/tests/pages/pui_stock.spec.ts b/src/frontend/tests/pages/pui_stock.spec.ts index 6065638e22..701b8d5149 100644 --- a/src/frontend/tests/pages/pui_stock.spec.ts +++ b/src/frontend/tests/pages/pui_stock.spec.ts @@ -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();