mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-22 11:45:28 -05:00
Add more unit tests for PyButton and BaseEvalElement (#711)
* Add more unit tests * Rebase main and fix failing tests * xfail flaky test * Fix import
This commit is contained in:
@@ -169,6 +169,9 @@ class TestExamples(PyScriptTest):
|
||||
assert self.page.title() == "PyScript/Panel Streaming Demo"
|
||||
wait_for_render(self.page, "*", "<div.*?class=['\"]bk-root['\"].*?>")
|
||||
|
||||
@pytest.mark.xfail(
|
||||
reason="Test seems flaky, sometimes it doesn't return result from second repl"
|
||||
)
|
||||
def test_repl(self):
|
||||
self.goto("examples/repl.html")
|
||||
self.wait_for_pyscript()
|
||||
|
||||
Reference in New Issue
Block a user