ViewAuthenticationLDAPTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Settings
assertPartialText //a[@id='_130_authenticationLink'] Authentication
clickAt //a[@id='_130_authenticationLink'] Authentication
clickAt link=LDAP
waitForElementPresent _130_settings--ldap.auth.enabled--Checkbox
assertElementPresent _130_settings--ldap.auth.enabled--Checkbox
assertElementPresent _130_settings--ldap.auth.required--Checkbox
assertElementPresent _130_ldapImportEnabledCheckbox
assertElementPresent _130_ldapExportEnabledCheckbox
assertElementPresent _130_settings--ldap.password.policy.enabled--Checkbox
clickAtAndWait //div/span/span/input Add
assertValue //input[@id='_130_ldap.base.provider.url.0'] ldap://localhost:10389
clickAt //input[@name='_130_defaultLdap' and @value='microsoft']
clickAt //div[2]/span/span/input Reset Values
assertValue //input[@id='_130_ldap.base.provider.url.0'] ldap://localhost:389
assertElementPresent //input[@value='Test LDAP Connection']
assertElementPresent //input[@value='Test LDAP Users']
assertElementPresent //input[@value='Test LDAP Groups']