From 954b6f90bc35870f3e1552de722a7b60143721c6 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: May 03 2022 20:10:09 +0000 Subject: Update variant anaconda layout needles for F36 RCs We get these variant needles with the keyboard icon and layout name at slightly different relative vertical positions every time we do a Final RC. I think the layout is affected by the pre-release warning text no longer being present. Usually each cycle something changes with the icon or with font rendering, so the needles have to be updated, as in this case. Signed-off-by: Adam Williamson --- diff --git a/lib/cockpit.pm b/lib/cockpit.pm index 1e53fbf..21c5126 100644 --- a/lib/cockpit.pm +++ b/lib/cockpit.pm @@ -37,9 +37,16 @@ sub start_cockpit { sub select_cockpit_update { # This method navigates to to the updates screen - assert_screen ["cockpit_software_updates", "cockpit_leftbar_scroll"], 120; + # From Firefox 100 on, we get 'adaptive scrollbars', which means + # the scrollbar is just invisible unless you moved the mouse + # recently. So we click in the search box and hit 'up' to scroll + # the sidebar to the bottom if necessary + assert_screen ["cockpit_software_updates", "cockpit_search"], 120; click_lastmatch; - assert_and_click "cockpit_software_updates" if (match_has_tag "cockpit_leftbar_scroll"); + if (match_has_tag "cockpit_search") { + send_key "up"; + assert_and_click "cockpit_software_updates"; + } # wait for the updates to download assert_screen 'cockpit_updates_check', 300; } diff --git a/needles/anaconda/install_process/arabic/layout_native_arabic-higher-20220423.json b/needles/anaconda/install_process/arabic/layout_native_arabic-higher-20220423.json new file mode 100644 index 0000000..cd3ff6b --- /dev/null +++ b/needles/anaconda/install_process/arabic/layout_native_arabic-higher-20220423.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "type": "match", + "ypos": 45, + "width": 42, + "height": 17, + "xpos": 141 + } + ], + "properties": [], + "tags": [ + "LANGUAGE-arabic", + "anaconda_layout_native" + ] +} \ No newline at end of file diff --git a/needles/anaconda/install_process/arabic/layout_native_arabic-higher-20220423.png b/needles/anaconda/install_process/arabic/layout_native_arabic-higher-20220423.png new file mode 100644 index 0000000..9cf8aee Binary files /dev/null and b/needles/anaconda/install_process/arabic/layout_native_arabic-higher-20220423.png differ diff --git a/needles/anaconda/install_process/arabic/layout_us_rtl-lower-20220422.json b/needles/anaconda/install_process/arabic/layout_us_rtl-lower-20220422.json new file mode 100644 index 0000000..28010a9 --- /dev/null +++ b/needles/anaconda/install_process/arabic/layout_us_rtl-lower-20220422.json @@ -0,0 +1,17 @@ +{ + "area": [ + { + "xpos": 147, + "width": 37, + "ypos": 46, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "LANGUAGE-arabic", + "anaconda_layout_ascii", + "anaconda_layout_us" + ] +} \ No newline at end of file diff --git a/needles/anaconda/install_process/arabic/layout_us_rtl-lower-20220422.png b/needles/anaconda/install_process/arabic/layout_us_rtl-lower-20220422.png new file mode 100644 index 0000000..64cf20d Binary files /dev/null and b/needles/anaconda/install_process/arabic/layout_us_rtl-lower-20220422.png differ diff --git a/needles/anaconda/install_process/layout_us-higher-20220422.json b/needles/anaconda/install_process/layout_us-higher-20220422.json new file mode 100644 index 0000000..9214c02 --- /dev/null +++ b/needles/anaconda/install_process/layout_us-higher-20220422.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "type": "match", + "ypos": 39, + "width": 36, + "height": 16, + "xpos": 826 + } + ], + "properties": [], + "tags": [ + "anaconda_layout_us", + "anaconda_layout_ascii" + ] +} \ No newline at end of file diff --git a/needles/anaconda/install_process/layout_us-higher-20220422.png b/needles/anaconda/install_process/layout_us-higher-20220422.png new file mode 100644 index 0000000..bd52b93 Binary files /dev/null and b/needles/anaconda/install_process/layout_us-higher-20220422.png differ diff --git a/needles/anaconda/install_process/russian/layout_native_russian-higher-20220422.json b/needles/anaconda/install_process/russian/layout_native_russian-higher-20220422.json new file mode 100644 index 0000000..9fd4341 --- /dev/null +++ b/needles/anaconda/install_process/russian/layout_native_russian-higher-20220422.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "type": "match", + "height": 15, + "ypos": 40, + "width": 38, + "xpos": 825 + } + ], + "properties": [], + "tags": [ + "LANGUAGE-russian", + "anaconda_layout_native" + ] +} \ No newline at end of file diff --git a/needles/anaconda/install_process/russian/layout_native_russian-higher-20220422.png b/needles/anaconda/install_process/russian/layout_native_russian-higher-20220422.png new file mode 100644 index 0000000..e2a6aa6 Binary files /dev/null and b/needles/anaconda/install_process/russian/layout_native_russian-higher-20220422.png differ