From 0c21331e34d9ae06b9efb2564f0ee9b25a0c456e Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Mon, 19 Sep 2022 13:55:11 -0400 Subject: [PATCH] Revert "test: unflake "should support boolean attribute with options" (#17024)" This reverts commit 1dc05bd4c60209542d35624d5f39b7a2a44cce3e. --- tests/page/expect-misc.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/page/expect-misc.spec.ts b/tests/page/expect-misc.spec.ts index 67848bd419..c32d971f3f 100644 --- a/tests/page/expect-misc.spec.ts +++ b/tests/page/expect-misc.spec.ts @@ -239,10 +239,10 @@ test.describe('toHaveAttribute', () => { test('should support boolean attribute with options', async ({ page }) => { await page.setContent('
Text content
'); const locator = page.locator('#node'); - await expect(locator).toHaveAttribute('id', { timeout: 5000 }); - await expect(locator).toHaveAttribute('checked', { timeout: 5000 }); - await expect(locator).not.toHaveAttribute('open', { timeout: 5000 }); - await expect(locator).toHaveAttribute('id', 'node', { timeout: 5000 }); + await expect(locator).toHaveAttribute('id', { timeout: 100 }); + await expect(locator).toHaveAttribute('checked', { timeout: 100 }); + await expect(locator).not.toHaveAttribute('open', { timeout: 100 }); + await expect(locator).toHaveAttribute('id', 'node', { timeout: 100 }); }); });