Skip to content

Commit

Permalink
Revert "test: unflake "should support boolean attribute with options" (
Browse files Browse the repository at this point in the history
…#17024)"

This reverts commit 1dc05bd.
  • Loading branch information
aslushnikov committed Sep 19, 2022
1 parent 81c50d8 commit 0c21331
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/page/expect-misc.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ test.describe('toHaveAttribute', () => {
test('should support boolean attribute with options', async ({ page }) => {
await page.setContent('<div checked id=node>Text content</div>');
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 });
});
});

Expand Down

0 comments on commit 0c21331

Please sign in to comment.