Commit 6a4407a7 authored by Poienar Robert's avatar Poienar Robert

Updated tests

parent 02677de6
......@@ -337,7 +337,7 @@ class PythonTests(unittest.TestCase):
def test_find_objects_by_layer(self):
self.altdriver.load_scene('Scene 1 AltUnityDriverTestScene')
altElements = self.altdriver.find_objects(By.LAYER,"Default")
self.assertEquals(7, len(altElements))
self.assertEquals(8, len(altElements))
def test_find_objects_by_contains_name(self):
self.altdriver.load_scene('Scene 1 AltUnityDriverTestScene')
......
......@@ -689,7 +689,7 @@ public class TestForScene1TestSample
public void TestFindObjectsByLayer()
{
var altElements = altUnityDriver.FindObjects(AltUnityDriver.By.LAYER,"Default");
Assert.AreEqual(7, altElements.Count);
Assert.AreEqual(8, altElements.Count);
}
[Test]
public void TestFindObjectsByContainName()
......
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