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}
|
withLabels={false}
|
||||||
withLabelsLine={false}
|
withLabelsLine={false}
|
||||||
chartLabel={t`Total Price`}
|
chartLabel={t`Total Price`}
|
||||||
|
tooltipDataSource='segment'
|
||||||
|
tooltipProps={{ wrapperStyle: { zIndex: 1000 } }}
|
||||||
valueFormatter={(value) => tooltipFormatter(value, currency)}
|
valueFormatter={(value) => tooltipFormatter(value, currency)}
|
||||||
/>
|
/>
|
||||||
</Center>
|
</Center>
|
||||||
|
|||||||
@@ -684,6 +684,10 @@ test('Stock - Default Location', async ({ browser }) => {
|
|||||||
|
|
||||||
// Scenario 2: Duplicating a stock item should retain its original location
|
// Scenario 2: Duplicating a stock item should retain its original location
|
||||||
await navigate(page, 'stock/item/2/details');
|
await navigate(page, 'stock/item/2/details');
|
||||||
|
|
||||||
|
await page.waitForTimeout(1000);
|
||||||
|
await page.waitForLoadState('networkidle');
|
||||||
|
|
||||||
await page
|
await page
|
||||||
.getByRole('button', { name: 'action-menu-stock-item-actions' })
|
.getByRole('button', { name: 'action-menu-stock-item-actions' })
|
||||||
.click();
|
.click();
|
||||||
|
|||||||
Reference in New Issue
Block a user