Skip to content

Commit bd2f1f3

Browse files
committed
Fix clock resume flake
1 parent a26bb8e commit bd2f1f3

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

tests/async/test_page_clock.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,6 @@ async def test_should_pause(self, page: Page) -> None:
409409
await page.goto("data:text/html,")
410410
await page.clock.pause_at(1)
411411
await page.wait_for_timeout(1000)
412-
await page.clock.resume()
413412
now = await page.evaluate("Date.now()")
414413
assert 0 <= now <= 1000
415414

tests/sync/test_page_clock.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ def test_should_pause(self, page: Page) -> None:
392392
page.goto("data:text/html,")
393393
page.clock.pause_at(1)
394394
page.wait_for_timeout(1000)
395-
page.clock.resume()
396395
now = page.evaluate("Date.now()")
397396
assert 0 <= now <= 1000
398397

0 commit comments

Comments
 (0)