Commit 041cdd64 authored by Poienar Robert's avatar Poienar Robert

Merge branch...

Merge branch '164-wait-for-element-methods-should-allow-waiting-for-elements-that-are-not-enabled' of gitlab.com:altom/altunitytester into 164-wait-for-element-methods-should-allow-waiting-for-elements-that-are-not-enabled
parents 14bc31dc 5947a49a
......@@ -83,12 +83,12 @@ public class TestSampleScene5 {
AltUnityObject[] stars = altUnityDriver.findElementsWhereNameContains("Star");
assertEquals(1, stars.length);
altUnityDriver.moveMouse(800, 400, 1);
AltUnityObject player=altUnityDriver.findElement("Player1","Player2");
altUnityDriver.moveMouse(player.x, player.y+500, 1);
Thread.sleep(1500);
altUnityDriver.pressKey("Mouse0", 1);
altUnityDriver.moveMouseAndWait(800, 200, 1);
altUnityDriver.moveMouseAndWait(player.x, player.y-500, 1);
altUnityDriver.pressKeyAndWait("Mouse0", 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment