diff --git a/airgun/entities/ldap_authentication.py b/airgun/entities/ldap_authentication.py index 6c8bf210c..4912c9c0f 100644 --- a/airgun/entities/ldap_authentication.py +++ b/airgun/entities/ldap_authentication.py @@ -57,7 +57,7 @@ def test_connection(self, values): """Testing FQDN for test connection""" view = self.navigate_to(self, 'New') view.fill(values) - view.ldap_server.text_connection.click() + view.ldap_server.test_connection.click() view.flash.assert_no_error() def read_auth_source_counts(self, auth_source_type): diff --git a/airgun/views/ldapauthentication.py b/airgun/views/ldapauthentication.py index 61189e138..3002e1062 100644 --- a/airgun/views/ldapauthentication.py +++ b/airgun/views/ldapauthentication.py @@ -51,8 +51,9 @@ class ldap_server(SatTab): name = TextInput(id='auth_source_ldap_name') host = TextInput(id='auth_source_ldap_host') - text_connection = Text('//a[@id="test_connection_button"]') + test_connection = Text('//a[@id="test_connection_button"]') ldaps = Checkbox(id='auth_source_ldap_tls') + cacert = TextInput(id='auth_source_ldap_cacert') port = TextInput(id='auth_source_ldap_port') server_type = FilteredDropdown(id='auth_source_ldap_server_type')