From 4f6821eb83f50c07759cfe36e3ba4fd26b8c9d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Vidot?= Date: Fri, 16 Aug 2024 10:31:45 +0200 Subject: [PATCH] WIP https://progress.opensuse.org/issues/165324 --- tests/x11/firefox/firefox_passwd.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/x11/firefox/firefox_passwd.pm b/tests/x11/firefox/firefox_passwd.pm index ae57b0be0d34..bbdf12571384 100644 --- a/tests/x11/firefox/firefox_passwd.pm +++ b/tests/x11/firefox/firefox_passwd.pm @@ -73,8 +73,13 @@ sub run { $self->firefox_preferences; assert_and_click('firefox-passwd-security'); - send_key_until_needlematch('firefox-primary-passwd-selected', 'alt-shift-u', 4, 1); - send_key 'spc' if $version < 128; + if (is_sle('<=15')) { + send_key_until_needlematch('firefox-primary-passwd-selected', 'alt-shift-u', 4, 1); + send_key 'spc' if $version < 128; + } + else { + send_key 'alt-shift-u'; + } assert_screen('firefox-passwd-master_setting'); # We should use strong password due to bsc#1208951 type_string $masterpw, 150;