renatoathaydes / Automaton

Simple framework which allows the testing of Swing and JavaFX2 applications.
Apache License 2.0
100 stars 21 forks source link

first attempt to ensure stage under test is always at front while interacting with it #13

Closed cwiejack closed 10 years ago

cwiejack commented 10 years ago

first attempt to ensure stage under test is always at front while interacting with it

renatoathaydes commented 10 years ago

Oh, it seems this test got broken by these changes: com.athaydes.automaton.FxDriverWithSelectorsTest#popupNodeCanBeFound_ByText

That's probably because the Stage is coming to be in front of the popup, which is not desirable! That complicates things, I think.

cwiejack commented 10 years ago

Hi. you are right. I havn't thought about popups or multiple window/stage applications. At the moment I have no other idea.

And thank you for the tip for my code with the Fxer.class. This was actually my first groovy code ever, so there will be a lot to learn.

renatoathaydes commented 10 years ago

No problem, I will try to come up with a fix for this problem on the weekend.