joulupunikki / Phoenix

Java clone/remake/patch of the game Emperor of the Fading Suns
https://joulupunikki.github.io/Phoenix/
37 stars 14 forks source link

RobotTester startup may fail #37

Closed joulupunikki closed 8 years ago

joulupunikki commented 9 years ago

If, on the test machine, some object has the focus when a Robot test is started then the first mouse click will be consumed by giving focus to the Phoenix window. Currently, this is not considered in RobotTester code and the Robot test will most likely report a failure on the first event in such cases.

PROPOSED FIX: insert a dummy click on Phoenix window as first event in every Robot test, or otherwise ensure that Phoenix window has focus.

SIMPLE WORKAROUND: ensure no windows are open on the test machine

This issue seems to have disappeared, probably subtle issue that has gone unnoticed and has been quietly corrected.