mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-22 19:53:00 -05:00
committed by
GitHub
parent
ee345a5206
commit
5086c23d47
@@ -44,7 +44,7 @@ class TestPyRepl(PyScriptTest):
|
||||
"""
|
||||
)
|
||||
py_repl = self.page.locator("py-repl")
|
||||
src = py_repl.inner_text()
|
||||
src = py_repl.locator("div.cm-content").inner_text()
|
||||
assert "print('hello from py-repl')" in src
|
||||
py_repl.locator("button").click()
|
||||
self.page.wait_for_selector("py-terminal")
|
||||
@@ -601,7 +601,7 @@ class TestPyRepl(PyScriptTest):
|
||||
assert self.console.info.lines[-1] == successMsg
|
||||
|
||||
py_repl = self.page.locator("py-repl")
|
||||
code = py_repl.inner_text()
|
||||
code = py_repl.locator("div.cm-content").inner_text()
|
||||
assert "print('1')" in code
|
||||
|
||||
@skip_worker("TIMEOUT")
|
||||
|
||||
Reference in New Issue
Block a user