diff --git a/test/integration/IOS/SearchingTest.cs b/test/integration/IOS/SearchingTest.cs index 7c705f34..59b9df27 100644 --- a/test/integration/IOS/SearchingTest.cs +++ b/test/integration/IOS/SearchingTest.cs @@ -42,20 +42,9 @@ public void FindByAccessibilityIdTest() By byAccessibilityId = new ByAccessibilityId("ComputeSumButton"); Assert.Multiple(() => { - Assert.That(Is.Not.EqualTo(_driver.FindElement(byAccessibilityId).Text), null); + Assert.That(string.IsNullOrEmpty(_driver.FindElement(byAccessibilityId).Text), Is.False); Assert.That(_driver.FindElements(byAccessibilityId), Is.Not.Empty); }); } - - [Test] - public void FindByByIosUiAutomationTest() - { - By byIosUiAutomation = new ByIosUIAutomation(".elements().withName(\"Answer\")"); - Assert.Multiple(() => - { - Assert.That(_driver.FindElement(byIosUiAutomation).Text, Is.Not.Null); - Assert.That(_driver.FindElements(byIosUiAutomation), Is.Not.Empty); - }); - } } } \ No newline at end of file