os-autoinst-distri-rocky/needles/gnome
Adam Williamson 4243932d09 Adjust desktop_login and needles for KDE power option changes
KDE in F34+ is now placing sleep, restart and shutdown buttons
right on the system menu, not in a submenu. So we need to sort of
tweak this logic. The approach here is: we count the GNOME
submenu as both a "power" and "leave" menu, so the needle to
enter it has both tags. KDE still has a "leave" submenu, but the
power options are not in a submenu any more, so the new "leave"
needle only has the leave tag, not the power tag. For "leave"
actions we just unconditionally expect the "leave" tag; for
power actions we first match on *either* the submenu tag (for
GNOME and earlier KDE) *or* the action tag, click whatever we
found, and then if we matched the submenu (not the action), we
assert and click the action. After that all paths should be in
sync again and we can continue.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-12 13:34:04 -08:00
..
apps Update some GNOME-related needles for changes in GNOME 40 2021-02-04 14:06:11 -08:00
arabic Update several layout needles for GNOME overview changing color 2021-02-04 14:47:22 -08:00
french Update French apps menu button, remove extra match areas 2020-04-18 14:59:14 -07:00
japanese Update several layout needles for GNOME overview changing color 2021-02-04 14:47:22 -08:00
russian Update several layout needles for GNOME overview changing color 2021-02-04 14:47:22 -08:00
apps_menu_button-20190625.json Drop unnecessary system menu match from apps_menu_button 2020-06-05 11:22:16 -07:00
apps_menu_button-20190625.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
auth_required-20190212.json Handle 'authentication required' appearing on Boxes startup 2019-03-26 12:30:47 -07:00
auth_required-20190212.png Handle 'authentication required' appearing on Boxes startup 2019-03-26 12:30:47 -07:00
auth_required-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
auth_required-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
auth_required-20200219.json Update authentication required GNOME needle 2020-02-19 10:35:47 -08:00
auth_required-20200219.png Update authentication required GNOME needle 2020-02-19 10:35:47 -08:00
desktop_no_notifications-gnome-20180813.json Add new 'no notifications' needle for GNOME 2018-08-13 15:56:42 -07:00
desktop_no_notifications-gnome-20180813.png Add new 'no notifications' needle for GNOME 2018-08-13 15:56:42 -07:00
desktop_package_tool_update_apply-gnome-cantarell111.json Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
desktop_package_tool_update_apply-gnome-cantarell111.png Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
desktop_package_tool_update_download-20181031.json Handle split of 'download' and 'apply' phases in gnome-software 2018-10-31 11:50:14 -07:00
desktop_package_tool_update_download-20181031.png Handle split of 'download' and 'apply' phases in gnome-software 2018-10-31 11:50:14 -07:00
desktop_package_tool_update_download-20200226.json Update GNOME Software 'Download' needle for changed kerning 2020-02-26 11:34:21 -08:00
desktop_package_tool_update_download-20200226.png Update GNOME Software 'Download' needle for changed kerning 2020-02-26 11:34:21 -08:00
desktop_package_tool_update_refresh-gnome-20190305.json Add variant GNOME Software refresh needle 2019-03-05 08:13:20 -08:00
desktop_package_tool_update_refresh-gnome-20190305.png Add variant GNOME Software refresh needle 2019-03-05 08:13:20 -08:00
desktop_package_tool_update-gnome-cantarell101.json Add yet a couple more cantarell 101 needles 2018-04-09 15:02:09 -07:00
desktop_package_tool_update-gnome-cantarell101.png Add yet a couple more cantarell 101 needles 2018-04-09 15:02:09 -07:00
desktop_package_tool_update-gnome-gtk3245-20190207.json Add GTK+ 3.24.5 desktop update needle 2019-02-07 10:12:27 -08:00
desktop_package_tool_update-gnome-gtk3245-20190207.png Add GTK+ 3.24.5 desktop update needle 2019-02-07 10:12:27 -08:00
desktop_runner-cantarell17.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_runner-cantarell17.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_runner.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_runner.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_update_notification_only-gnome-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
desktop_update_notification_only-gnome-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
desktop_update_notification_only-gnome-20200220.json Update desktop update notification only needle 2020-02-20 09:53:30 -08:00
desktop_update_notification_only-gnome-20200220.png Update desktop update notification only needle 2020-02-20 09:53:30 -08:00
getting_started-20200117.json First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
getting_started-20200117.png First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
getting_started-gtk3245-20190206.json GTK+ 3.24.5 needle retake 2019-02-06 13:27:30 -08:00
getting_started-gtk3245-20190206.png GTK+ 3.24.5 needle retake 2019-02-06 13:27:30 -08:00
getting_started-largetext-20180915.json Add a few more Cantarell 0.111 needles 2018-09-16 08:44:38 -07:00
getting_started-largetext-20180915.png Add a few more Cantarell 0.111 needles 2018-09-16 08:44:38 -07:00
getting_started-largetext-20200117.json First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
getting_started-largetext-20200117.png First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
getting_started-tour-20200831.json New getting started needle is language-agnostic 2020-09-01 10:40:41 -07:00
getting_started-tour-20200831.png Add new 'getting_started' needle for GNOME Tour 2020-08-31 12:43:56 -07:00
gnome_reboot_confirm-cantarell111.json Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
gnome_reboot_confirm-cantarell111.png Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
gnome_software_welcome-cantarell101.json Add a couple more cantarell101 needles 2018-03-30 17:52:16 -07:00
gnome_software_welcome-cantarell101.png Add a couple more cantarell101 needles 2018-03-30 17:52:16 -07:00
layout_us_ltr_overview-20190212.json Add various new needle variants for Rawhide changes 2019-02-13 00:15:50 -08:00
layout_us_ltr_overview-20190212.png Add various new needle variants for Rawhide changes 2019-02-13 00:15:50 -08:00
layout_us_ltr_overview-20200605.json Update various needles for a GNOME symbol change 2020-06-05 14:27:34 -07:00
layout_us_ltr_overview-20200605.png Update various needles for a GNOME symbol change 2020-06-05 14:27:34 -07:00
layout_us_ltr_overview-20210125.json Update various needles for GNOME down caret changing a bit 2021-01-25 16:27:39 -08:00
layout_us_ltr_overview-20210125.png Update various needles for GNOME down caret changing a bit 2021-01-25 16:27:39 -08:00
layout_us_ltr_overview.json Move layout_us_ltr_overview from arabic to GNOME too 2019-06-25 15:09:00 -07:00
layout_us_ltr_overview.png Move layout_us_ltr_overview from arabic to GNOME too 2019-06-25 15:09:00 -07:00
layout_us_ltr-gdm-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us_ltr-gdm-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us_ltr-gdm-20200605.json Update various needles for a GNOME symbol change 2020-06-05 14:27:34 -07:00
layout_us_ltr-gdm-20200605.png Update various needles for a GNOME symbol change 2020-06-05 14:27:34 -07:00
layout_us_ltr-gdm-20210125.json Update various needles for GNOME down caret changing a bit 2021-01-25 16:27:39 -08:00
layout_us_ltr-gdm-20210125.png Update various needles for GNOME down caret changing a bit 2021-01-25 16:27:39 -08:00
layout_us_ltr-gdm.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us_ltr-gdm.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us-20161215.json add an Asian (Japanese) language install test 2016-12-21 08:41:00 -08:00
layout_us-20161215.png Have non-English tests do graphical install and login 2016-12-16 09:40:29 -08:00
layout_us-gdm-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us-gdm-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us-gdm-20200901.json Update GDM/GNOME keyboard layout needles 2020-09-01 12:12:25 -07:00
layout_us-gdm-20200901.png Update GDM/GNOME keyboard layout needles 2020-09-01 12:12:25 -07:00
layout_us-gdm-20210122.json Crop layout needles to not include down carets 2021-02-03 17:47:30 -08:00
layout_us-gdm-20210122.png Update various needles for GNOME down caret changing a bit 2021-01-25 16:27:39 -08:00
layout_us-overview-20190905.json Add changed needle that failed for cyrillic test. 2019-09-05 17:10:50 +02:00
layout_us-overview-20190905.png Add changed needle that failed for cyrillic test. 2019-09-05 17:10:50 +02:00
layout_us-overview-20200901.json Crop layout needles to not include down carets 2021-02-03 17:47:30 -08:00
layout_us-overview-20200901.png Update GDM/GNOME keyboard layout needles 2020-09-01 12:12:25 -07:00
layout_us-overview-20210122.json Update various needles for GNOME down caret changing a bit 2021-01-25 16:27:39 -08:00
layout_us-overview-20210122.png Update various needles for GNOME down caret changing a bit 2021-01-25 16:27:39 -08:00
layout_us-overview-20210204.json Update several layout needles for GNOME overview changing color 2021-02-04 14:47:22 -08:00
layout_us-overview-20210204.png Update several layout needles for GNOME overview changing color 2021-02-04 14:47:22 -08:00
live_initial-20190820.json Add needles for new anaconda icon 2019-08-19 17:36:41 -07:00
live_initial-20190820.png Add needles for new anaconda icon 2019-08-19 17:36:41 -07:00
live_initial-gtk3195.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
live_initial-gtk3195.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
lock_button.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
lock_button.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
locked_screen_switch_user-20200422.json Change the order of steps and add another check screen. 2020-04-22 21:52:19 +02:00
locked_screen_switch_user-20200422.png Change the order of steps and add another check screen. 2020-04-22 21:52:19 +02:00
locked_screen_switch_user.json Make solidify_wallpaper more universal to handle different desktops. 2020-05-05 00:14:35 +00:00
locked_screen_switch_user.png Make solidify_wallpaper more universal to handle different desktops. 2020-05-05 00:14:35 +00:00
log_out_confirm.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
log_out_confirm.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
log_out_entry-gnome.json Rename log_out_entry needles to be unique 2020-08-25 16:42:46 -07:00
log_out_entry-gnome.png Rename log_out_entry needles to be unique 2020-08-25 16:42:46 -07:00
login_gdm_input-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
login_gdm_input-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
login_gdm_input-20200219.json Update GDM input needle 2020-02-19 09:47:13 -08:00
login_gdm_input-20200219.png Update GDM input needle 2020-02-19 09:47:13 -08:00
login_gdm_input-cantarell111.json Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
login_gdm_input-cantarell111.png Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
login_gdm-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
login_gdm-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
login_gdm.json Have non-English tests do graphical install and login 2016-12-16 09:40:29 -08:00
login_gdm.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
login_jack_blue.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
login_jack_blue.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
login_jack.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
login_jack.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
login_jim.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
login_jim.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
login_wrong_password.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
login_wrong_password.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
next_button-20160823.json Have non-English tests do graphical install and login 2016-12-16 09:40:29 -08:00
next_button-20160823.png add a bunch of needles for changed font rendering 2016-08-25 16:01:26 -07:00
next_button-startsetup-20200818.json Make g-i-s Start Setup button needle its own thing 2020-12-21 09:16:40 -08:00
next_button-startsetup-20200818.png Add a new not-really-a-Next-button needle for gnome-initial-setup 2020-08-18 12:23:09 -07:00
overview_app_grid-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
overview_app_grid-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
overview_app_grid-20200220.json Update overview app grid needle (more GNOME icon changes) 2020-02-20 09:57:04 -08:00
overview_app_grid-20200220.png Update overview app grid needle (more GNOME icon changes) 2020-02-20 09:57:04 -08:00
overview_app_grid.json Change up 'clean desktop' check again (use a util function) 2017-07-10 11:47:07 -07:00
overview_app_grid.png Change up 'clean desktop' check again (use a util function) 2017-07-10 11:47:07 -07:00
power_entry.json Adjust desktop_login and needles for KDE power option changes 2021-02-12 13:34:04 -08:00
power_entry.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
power_off_confirm.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
power_off_confirm.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
power_off_entry.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
power_off_entry.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
printing_check_sentence-20201030.json Update GNOME printing sentence needle 2020-10-31 11:26:32 -07:00
printing_check_sentence-20201030.png Update GNOME printing sentence needle 2020-10-31 11:26:32 -07:00
printing_check_sentence-20201215.json Update GNOME printing_check_sentence needle 2020-12-16 09:42:18 -08:00
printing_check_sentence-20201215.png Update GNOME printing_check_sentence needle 2020-12-16 09:42:18 -08:00
printing_check_sentence-f30-20191207.json Add some variant printing needles for F30 2019-12-06 17:28:27 -08:00
printing_check_sentence-f30-20191207.png Add some variant printing needles for F30 2019-12-06 17:28:27 -08:00
printing_check_sentence.json Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_check_sentence.png Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_print_completed.json Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_print_completed.png Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_print.json Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_print.png Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_select_pdfprinter-20200117.json First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
printing_select_pdfprinter-20200117.png First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
printing_select_pdfprinter-f30-20191207.json Add some variant printing needles for F30 2019-12-06 17:28:27 -08:00
printing_select_pdfprinter-f30-20191207.png Add some variant printing needles for F30 2019-12-06 17:28:27 -08:00
printing_select_pdfprinter.json Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_select_pdfprinter.png Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
reboot_entry-20200817.json desktop_login: update reboot flow for GNOME changes in F33+ 2020-08-17 16:25:32 -07:00
reboot_entry-20200817.png desktop_login: update reboot flow for GNOME changes in F33+ 2020-08-17 16:25:32 -07:00
restart_confirm.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
restart_confirm.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
skip_button-20200116.json First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
skip_button-20200116.png First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
skip_button-gtk3245-20190206.json GTK+ 3.24.5 needle retake 2019-02-06 13:27:30 -08:00
skip_button-gtk3245-20190206.png GTK+ 3.24.5 needle retake 2019-02-06 13:27:30 -08:00
switch_user_entry.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
switch_user_entry.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
system_menu_button_grey-20200605.json Update various needles for a GNOME symbol change 2020-06-05 14:27:34 -07:00
system_menu_button_grey-20200605.png Update various needles for a GNOME symbol change 2020-06-05 14:27:34 -07:00
system_menu_button_grey.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
system_menu_button_grey.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
system_menu_button-20200605.json Update various needles for a GNOME symbol change 2020-06-05 14:27:34 -07:00
system_menu_button-20200605.png Update various needles for a GNOME symbol change 2020-06-05 14:27:34 -07:00
system_menu_button-20210204.json Update some GNOME-related needles for changes in GNOME 40 2021-02-04 14:06:11 -08:00
system_menu_button-20210204.png Update some GNOME-related needles for changes in GNOME 40 2021-02-04 14:06:11 -08:00
system_menu_button.json Reduce system_menu_button match area not to include background 2020-05-11 16:07:18 -07:00
system_menu_button.png Make solidify_wallpaper more universal to handle different desktops. 2020-05-05 00:14:35 +00:00
user_confirm_jack.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
user_confirm_jack.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
user_confirm_jim.json Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
user_confirm_jim.png Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00