()
| 11 | def test_open_close_dialog(screen: Screen): |
| 12 | @ui.page('/') |
| 13 | def page(): |
| 14 | with ui.dialog() as d, ui.card(): |
| 15 | ui.label('Content') |
| 16 | ui.button('Close', on_click=d.close) |
| 17 | ui.button('Open', on_click=d.open) |
| 18 | |
| 19 | screen.open('/') |
| 20 | screen.should_not_contain('Content') |
nothing calls this directly
no test coverage detected