Fix #1834 - Throw an error if more than a terminal exists (#1837)

This commit is contained in:
Andrea Giammarchi
2023-11-03 15:19:30 +01:00
committed by GitHub
parent c8ec29a3d8
commit aef028be6e
4 changed files with 71 additions and 12 deletions

View File

@@ -80,7 +80,7 @@ class TestBasic(PyScriptTest):
'"Cross-Origin-Opener-Policy":"same-origin"}. '
"The problem may be that one or both of these are missing."
)
alert_banner = self.page.wait_for_selector(".alert-banner")
alert_banner = self.page.wait_for_selector(".py-error")
assert expected_alert_banner_msg in alert_banner.inner_text()
def test_print(self):