mvysny / karibu-testing

Vaadin Server-Side Browserless Containerless Unit Testing
Apache License 2.0
105 stars 14 forks source link

Can't access a component nested directly in subMenu #163

Closed mvysny closed 4 months ago

mvysny commented 4 months ago

This fails:

            val menuBar: MenuBar = UI.getCurrent().menuBar {
                item("foo") {
                    subMenu.add(Span("foo"))
                }
            }
            menuBar._expectOne<Span>()
mvysny commented 4 months ago

These are attached to the MenuManager, we need to look those up