File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def boolean(value: str | bool | int) -> bool:
7777
7878REACTPY_TESTS_DEFAULT_TIMEOUT = Option (
7979 "REACTPY_TESTS_DEFAULT_TIMEOUT" ,
80- 10 .0 ,
80+ 15 .0 ,
8181 mutable = False ,
8282 validator = float ,
8383)
Original file line number Diff line number Diff line change 66from reactpy .config import (
77 REACTPY_ASYNC_RENDERING ,
88 REACTPY_DEBUG ,
9+ REACTPY_TESTS_DEFAULT_TIMEOUT ,
910)
1011from reactpy .testing import (
1112 BackendFixture ,
@@ -45,7 +46,8 @@ async def browser(pytestconfig: pytest.Config):
4546
4647 async with async_playwright () as pw :
4748 async with await pw .chromium .launch (
48- headless = not _playwright_visible (pytestconfig )
49+ headless = not _playwright_visible (pytestconfig ),
50+ timeout = REACTPY_TESTS_DEFAULT_TIMEOUT .current * 1000 ,
4951 ) as browser :
5052 yield browser
5153
You can’t perform that action at this time.
0 commit comments