From 10d74ee3278feea329711e9f5ee8a5eb4a552f57 Mon Sep 17 00:00:00 2001 From: Adam Ruzicka Date: Wed, 22 Jul 2026 13:11:48 +0200 Subject: [PATCH 1/2] Add cacert text input field to ldap auth source view --- airgun/views/ldapauthentication.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airgun/views/ldapauthentication.py b/airgun/views/ldapauthentication.py index 61189e138..b24b39685 100644 --- a/airgun/views/ldapauthentication.py +++ b/airgun/views/ldapauthentication.py @@ -53,6 +53,7 @@ class ldap_server(SatTab): host = TextInput(id='auth_source_ldap_host') text_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') From ec48abd413bf419fd6ceabfd83f1f86c5ce25f83 Mon Sep 17 00:00:00 2001 From: Adam Ruzicka Date: Tue, 28 Jul 2026 16:22:43 +0200 Subject: [PATCH 2/2] Fix typo --- airgun/entities/ldap_authentication.py | 2 +- airgun/views/ldapauthentication.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 b24b39685..3002e1062 100644 --- a/airgun/views/ldapauthentication.py +++ b/airgun/views/ldapauthentication.py @@ -51,7 +51,7 @@ 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')