From 180691e9c0efbe82a569031c2bb883a9981b090b Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 18 Apr 2024 01:07:57 +0200 Subject: [PATCH] make sure button is enabled --- src/frontend/tests/pages/pui_part.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/tests/pages/pui_part.spec.ts b/src/frontend/tests/pages/pui_part.spec.ts index 314148f915..95009c4646 100644 --- a/src/frontend/tests/pages/pui_part.spec.ts +++ b/src/frontend/tests/pages/pui_part.spec.ts @@ -129,6 +129,7 @@ test('PUI - Pages - Part - Pricing (Internal)', async ({ page }) => { await page.getByRole('menuitem', { name: 'Edit' }).click(); await page.getByText('Part *M2x4 SHCSSocket head').click(); await page.getByText('Part *M2x4 SHCSSocket head').click(); + await page.getByRole('button', { name: 'Submit' }).isEnabled(); await page.getByRole('button', { name: 'Submit' }).click(); });