open up tab instaed of checking for it

This commit is contained in:
Matthias Mair 2024-04-17 23:51:29 +02:00
parent 0c16a83371
commit cfbf6badbf
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

@ -41,7 +41,7 @@ test('PUI - Pages - Part - Pricing', async ({ page }) => {
await page.getByText('min_value : $50').waitFor();
// BOM Pricing
await page.getByRole('button', { name: 'BOM Pricing' }).isEnabled();
await page.getByRole('button', { name: 'BOM Pricing' }).click();
await page.getByText('Bar Chart').click();
await page.getByText('total_price_min').waitFor();
await page.getByText('Pie Chart').click();