We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9eaf07 commit 0e12980Copy full SHA for 0e12980
tests/test_app/pyscript/components/hello_world.py
@@ -1,9 +1,6 @@
1
-from time import sleep
2
-
3
from reactpy import component, html
4
5
6
@component
7
def root():
8
- sleep(1)
9
return html.div({"id": "hello-world"}, "hello world")
tests/test_app/tests/test_components.py
@@ -509,6 +509,7 @@ class PyscriptTests(PlaywrightTestCase):
509
def setUpClass(cls):
510
super().setUpClass()
511
cls.page.goto(f"http://{cls.host}:{cls._port}/pyscript/")
512
+ cls.page.set_default_timeout(10000)
513
514
def test_0_hello_world(self):
515
self.page.wait_for_selector("#hello-world-loading")
0 commit comments