Closed mvysny closed 2 years ago
No idea what's going on. The Notifications use some clever deferredJob
/.beforeClientResponse()
combo to attach itself for some reason (see the Notification
constructor for more details). However, Karibu-Testing is running those blocks from MockVaadin.clientRoundtrip()
so everything should work correctly. And it does in Vaadin 23.0.9 and 23.1.0.beta2; however once you upgrade to Vaadin 23.0.10 and 23.1.0.rc1 then notifications will break for some reason.
Related to https://github.com/vaadin/flow-components/pull/3154 ?
Thank you, let me investigate
The workaround is to only consider notifications which are opened. The https://github.com/vaadin/flow-components/pull/3154 looks innocent in this case... no idea. Implementing workaround.
The following exception is thrown:
\me: investigate :)