From 22e7702e6d2951775aa1a0e5f1856fc51298ad82 Mon Sep 17 00:00:00 2001 From: beatz174-bit Date: Mon, 24 Nov 2025 10:31:48 +1000 Subject: [PATCH] Update mobile controls dialog visibility check --- e2e/picklist.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/picklist.spec.ts b/e2e/picklist.spec.ts index 4aa5c15..503c6da 100644 --- a/e2e/picklist.spec.ts +++ b/e2e/picklist.spec.ts @@ -225,13 +225,13 @@ test.describe('Active pick list', () => { await expect(controlsDialog).toBeVisible(); await page.getByRole('button', { name: 'Close controls' }).click(); - await expect(controlsDialog).toHaveCount(0); + await expect(controlsDialog).toBeHidden(); await productRow.click(); await expect(controlsDialog).toBeVisible(); await page.locator('.MuiBackdrop-root').click({ position: { x: 10, y: 10 } }); - await expect(controlsDialog).toHaveCount(0); + await expect(controlsDialog).toBeHidden(); }); test('toggles picked visibility and disables the filter when all items are picked', async ({ page }) => {