From 6df03f5404b407916dd7f70b46d50574eaed6d77 Mon Sep 17 00:00:00 2001 From: denisonbarbosa Date: Thu, 2 Apr 2026 06:33:08 -0400 Subject: [PATCH] Tests to ensure local user login with authd/broker disabled We had these tests before, but we only used to check if the local user still had access to sudo. Now that we disable authd and the brokers through SSH commands, we can reorder the commands a bit to also make sure the local user can authenticate through GDM also. --- e2e-tests/tests/authd_disabled.robot | 6 +++--- e2e-tests/tests/broker_disabled.robot | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/e2e-tests/tests/authd_disabled.robot b/e2e-tests/tests/authd_disabled.robot index 45fb1df93d..9c4518291a 100644 --- a/e2e-tests/tests/authd_disabled.robot +++ b/e2e-tests/tests/authd_disabled.robot @@ -19,12 +19,12 @@ ${username} %{E2E_USER} Test that disabling authd prevents remote logins [Documentation] This test verifies that when authd is disabled, remote users cannot log in, while local users can still access the system. - # Log in with local user - Log In - # Disable authd Disable Authd Socket And Service + # Check that local user can still log in + Log In + # Ensure local sudo user can still log in Open Terminal Enter Sudo Mode In Terminal diff --git a/e2e-tests/tests/broker_disabled.robot b/e2e-tests/tests/broker_disabled.robot index 5612edfd04..48ef146293 100644 --- a/e2e-tests/tests/broker_disabled.robot +++ b/e2e-tests/tests/broker_disabled.robot @@ -19,12 +19,12 @@ ${username} %{E2E_USER} Test that disabling broker prevents remote logins [Documentation] This test verifies that when the broker is disabled, remote users cannot log in, while local users can still access the system. - # Log in with local user - Log In - # Disable broker Disable Broker And Purge Config + # Check that local user can still log in + Log In + # Ensure local sudo user can still log in Open Terminal Enter Sudo Mode In Terminal