Skip to content

Commit fd7572b

Browse files
committed
increase timeout instead of skipping
1 parent 93f4f3f commit fd7572b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/async/test_expect_misc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,11 @@ async def test_to_be_in_viewport_should_respect_ratio_option(
5454
await expect(page.locator("div")).not_to_be_in_viewport(ratio=0.8)
5555

5656

57-
@pytest.mark.skip_browser("webkit")
5857
async def test_to_be_in_viewport_should_have_good_stack(
5958
page: Page, server: Server
6059
) -> None:
6160
with pytest.raises(AssertionError) as exc_info:
62-
await expect(page.locator("body")).not_to_be_in_viewport(timeout=100)
61+
await expect(page.locator("body")).not_to_be_in_viewport(timeout=1000)
6362
assert 'unexpected value "viewport ratio' in str(exc_info.value)
6463

6564

tests/sync/test_expect_misc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ def test_to_be_in_viewport_should_respect_ratio_option(
5454
expect(page.locator("div")).not_to_be_in_viewport(ratio=0.8)
5555

5656

57-
@pytest.mark.skip_browser("webkit")
5857
def test_to_be_in_viewport_should_have_good_stack(page: Page, server: Server) -> None:
5958
with pytest.raises(AssertionError) as exc_info:
60-
expect(page.locator("body")).not_to_be_in_viewport(timeout=100)
59+
expect(page.locator("body")).not_to_be_in_viewport(timeout=1000)
6160
assert 'unexpected value "viewport ratio' in str(exc_info.value)
6261

6362

0 commit comments

Comments
 (0)