Skip to content

Commit

Permalink
Increase default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Dec 1, 2024
1 parent 9cb9240 commit d4a6649
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tests/test_app/tests/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@ class PyscriptTests(PlaywrightTestCase):
def setUpClass(cls):
super().setUpClass()
cls.page.goto(f"http://{cls.host}:{cls._port}/pyscript/")
cls.page.set_default_timeout(10000)

def test_0_hello_world(self):
self.page.wait_for_selector("#hello-world-loading")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_app/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def setUpClass(cls):
headless = strtobool(os.environ.get("PLAYWRIGHT_HEADLESS", GITHUB_ACTIONS))
cls.browser = cls.playwright.chromium.launch(headless=bool(headless))
cls.page = cls.browser.new_page()
cls.page.set_default_timeout(5000)
cls.page.set_default_timeout(10000)

@classmethod
def setUpServer(cls):
Expand Down

0 comments on commit d4a6649

Please sign in to comment.