Update mobile controls dialog visibility check

This commit is contained in:
beatz174-bit committed 2025-11-24 10:31:48 +10:00
1 parent a7fcc6dfbb
commit 22e7702e6d
1 file changed
+2 -2
+2 -2
View File
@@ -225,13 +225,13 @@ test.describe('Active pick list', () => {
await expect(controlsDialog).toBeVisible(); await expect(controlsDialog).toBeVisible();
await page.getByRole('button', { name: 'Close controls' }).click(); await page.getByRole('button', { name: 'Close controls' }).click();
await expect(controlsDialog).toHaveCount(0); await expect(controlsDialog).toBeHidden();
await productRow.click(); await productRow.click();
await expect(controlsDialog).toBeVisible(); await expect(controlsDialog).toBeVisible();
await page.locator('.MuiBackdrop-root').click({ position: { x: 10, y: 10 } }); 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 }) => { test('toggles picked visibility and disables the filter when all items are picked', async ({ page }) => {