diff --git a/src/frontend/tests/pages/pui_part.spec.ts b/src/frontend/tests/pages/pui_part.spec.ts index 9b8b756c60..062e0bd645 100644 --- a/src/frontend/tests/pages/pui_part.spec.ts +++ b/src/frontend/tests/pages/pui_part.spec.ts @@ -41,5 +41,14 @@ test('PUI - Pages - Part - Pricing', async ({ page }) => { await graph.getByText('Overall Pricing').waitFor(); await graph.locator('path').nth(1).hover(); //await graph.screenshot({ path: 'pui_part_pricing_overview_hover.png' }); - //await page.getByText('min_value: $43*').waitFor(); + await page.getByText('min_value : $43').waitFor(); + + // BOM Pricing + await page.getByLabel('Pricing Overview').locator('a').click(); + await page.getByRole('button', { name: 'BOM Pricing' }).isEnabled(); + await page.getByText('Bar Chart').click(); + await page.getByText('total_price_min').waitFor(); + await page.getByText('Pie Chart').click(); + await page.getByRole('button', { name: 'Quantity Not sorted' }).waitFor(); + await page.getByRole('button', { name: 'Unit Price Not sorted' }).waitFor(); });