Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BasicRobot.click doesn't do enough sanity check and has no timeout before trying to click component #177
I'm currently testing software that sometimes still loads and rearranges the screen components after they are set visible. This causes my test to fails some times as in test the BasicRobot tries to click a component that has negative width. What I would like to have is a some kind of sanity check in BasicRobot's click functionality that checks that the component is visible and has some sensible size. Also there should be timeout so that the clicking doesn't fail immediately. This way test could be much more robust even in applications that don't behave optimally.