Update mobile controls dialog visibility check
This commit is contained in:
1 parent
a7fcc6dfbb
commit
22e7702e6d
1 file changed
+2
-2
@@ -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 }) => {
|
||||||
|
|||||||
Reference in new issue
Block a user