I have experienced this exact scenario with a single button in a JavaFX application. The object is found without and problems, it is clicked, and the window containing the button closes. Test Complete THEN continues to wait for the button. I chalked it up to being a custom control and not a standard JavaFX implementation.
There is definitely a bug here I would agree. I would still try to reach out to support again as I can vouche this happens. I might even open a support ticket myself.
That said, something that you can do to work around it is changing your timeout value before you click on it and then setting it back during your test execution.
let tempTime = Options.Run.Timeout; Options.Run.Timeout = 1500; // perform click on your button Options.Run.Timeout = tempTime;
This is definitely a work around and not a solution, but might at least help alleviate your issue until a solution can be provided.
Related Content
- 7 years ago