addOpenedChangeListener doesnt works for Popover in UiUnit Test

Hi all, by writing UiUnit tests I realized that the addOpenedChangeListener of the Popover component does not work when I open the component with Toolbar Button using menuBarTester.clickItem(). When clicking the toolbar button in the test, the OpenedChangeListener is not triggered, preventing the data from being loaded. If i try the same in my Application, always works fine.


popover = new Popover<Some Class>(btnInToolbar);

 vmToolbar.popover.addOpenListener(this::onOpenPopoverStdTxt)

That happens because it’s not supported as of now.

Might change with 25.1 Add tester for PopOver · Issue #1841 · vaadin/testbench · GitHub