This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I try to migrate tests to Jelly2, and using auto generation screenshot after test failure, but it seems like when I open dialog and TimeoutExpiredException arise, than first dialog is closed and than creeenshot created. So it will be better to create screenshot before closing all modal dialogs.
It works as you supposed: it creates screen shot and then it closes all modal dialogs. It tried to reproduced but it works for me correctly. Please, attach a test case to be able to reproduce it.
It works for me too -> closing.