Explicit append flag as true should append to the expected container element.
()
| 143 | |
| 144 | |
| 145 | async def test_append_true(): |
| 146 | """ |
| 147 | Explicit append flag as true should append to the expected container element. |
| 148 | """ |
| 149 | display("item 1", append=True) |
| 150 | display("item 2", append=True) |
| 151 | container = await get_display_container() |
| 152 | assert ( |
| 153 | len(container.children) == 2 |
| 154 | ), "Expected two children in the display container." |
| 155 | assert container.children[0].innerHTML == "item 1" |
| 156 | assert container.children[1].innerHTML == "item 2" |
| 157 | |
| 158 | |
| 159 | async def test_append_false(): |
nothing calls this directly
no test coverage detected