self.assertIn("cn=Santas Little Helper,ou=Pets,o=Simpsons,dc=testing,dc=local",import_result.text)
WebDriverWait(self.driver,10).until(lambdax:x.find_element(By.XPATH,"//a[@title='Refresh My LDAP Server']")).click()
self.wait_and_print_on_failure(By.XPATH,"//a[@title='Refresh My LDAP Server']").click()
# Expand dc=testing,dc=local
self.do_expand("tree_expand_corner_first.png")
...
...
@@ -140,57 +148,53 @@ class TestphpLDAPadminWeb(unittest.TestCase):
# Expand ou=Pets
self.do_expand("tree_expand.png")
self.wait_and_print_on_failure(By.XPATH,"//a[@title='cn=Santas Little Helper,ou=Pets,o=Simpsons,dc=testing,dc=local']").click()
WebDriverWait(self.driver,10).until(lambdax:x.find_element(By.XPATH,"//a[@title='cn=Santas Little Helper,ou=Pets,o=Simpsons,dc=testing,dc=local']")).click()