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 23a7297 commit a109a3bCopy full SHA for a109a3b
tests/test_core/test_events.py
@@ -242,15 +242,9 @@ def App():
242
await display.show(lambda: App())
243
244
button = await display.page.wait_for_selector("#the-button", state="attached")
245
+ assert await button.inner_text() == "Click Me"
246
await button.click()
- await button.click()
247
248
- parent = await display.page.wait_for_selector(
249
- "#the-parent", state="attached", timeout=0
250
- )
251
- generated_divs = await parent.query_selector_all("div")
252
-
253
- assert len(generated_divs) == 3
+ assert await button.inner_text() == "Thank you!"
254
255
256
async def test_javascript_event_as_this_statement(display: DisplayFixture):
0 commit comments