From 2197f72be4ca867dc83b1bf6501d31d319b43707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Tue, 2 Jan 2024 16:47:21 +0000 Subject: [PATCH] Fix ui linux tests getting the wrong id of the totp button --- tests/ui/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/main.py b/tests/ui/main.py index 2dfd6dddb2..4a3b01d0dd 100644 --- a/tests/ui/main.py +++ b/tests/ui/main.py @@ -1588,7 +1588,7 @@ def access_page( access_page( driver, driver_wait, - "//button[@id='profile-button' and @class='valid-btn']", + "//button[@id='totp-button' and @class='valid-btn']", "profile", ) @@ -1667,7 +1667,7 @@ def access_page( access_page( driver, driver_wait, - "//button[@id='profile-button' and @class='delete-btn']", + "//button[@id='totp-button' and @class='delete-btn']", "profile", )