Closed timmikk closed 4 years ago
Could you provide a code snippet of the test code? ComponentDriver
does already check whether components are showing, does that help you? So instead of using robot's click method, how about using the click method of the component's fixtuer?
No feedback :-/
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.