Skip to content

Commit d4a6649

Browse files
committed
Increase default timeout
1 parent 9cb9240 commit d4a6649

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/test_app/tests/test_components.py

-1
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ class PyscriptTests(PlaywrightTestCase):
509509
def setUpClass(cls):
510510
super().setUpClass()
511511
cls.page.goto(f"http://{cls.host}:{cls._port}/pyscript/")
512-
cls.page.set_default_timeout(10000)
513512

514513
def test_0_hello_world(self):
515514
self.page.wait_for_selector("#hello-world-loading")

tests/test_app/tests/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def setUpClass(cls):
4747
headless = strtobool(os.environ.get("PLAYWRIGHT_HEADLESS", GITHUB_ACTIONS))
4848
cls.browser = cls.playwright.chromium.launch(headless=bool(headless))
4949
cls.page = cls.browser.new_page()
50-
cls.page.set_default_timeout(5000)
50+
cls.page.set_default_timeout(10000)
5151

5252
@classmethod
5353
def setUpServer(cls):

0 commit comments

Comments
 (0)