renatoathaydes / Automaton

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

running in headless environment rightClick won't work #14

Closed cwiejack closed 9 years ago

cwiejack commented 10 years ago

Hi,

I'm further evaluating Automaton and I started to create a simple test which will be executed on a headless server. Therefore I use xfvb to create a display the test could run in.

It looks like there is an issue fireing rightclick events. the code which wont work in headless mode (but does work on local machine) is:

fxer.moveTo("#id").rightClick().waitForFxEvents();

Should I prepare a little sample maven project for reproduction?

Regards Christian

renatoathaydes commented 10 years ago

Should I prepare a little sample maven project for reproduction?

Well, I can just run a quick script in a headless VM to test this... I have to confess I have never tested Automaton in headless environments, though, so there may be other issues there. Let me know if you find more issues.

I think this particular error should be easy to fix, I will see if I can sort this out.

renatoathaydes commented 10 years ago

Hi, I have just release Automaton 1.1.0. Could you try it and see if this bug still exists?

Thank you.