mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
test hover state and bom pricing details
This commit is contained in:
parent
3f38cd30bf
commit
d79d062a66
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user