1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Use super not alt-f1 for the 'clean desktop' workaround

Using alt-f1 might cause problems if we do it while we're at a
TTY (it'll switch to TTY1, which may not be what we want).
This commit is contained in:
Adam Williamson 2017-07-10 15:05:36 -07:00
parent 9a7d51f841
commit ad6186daf1

View File

@ -500,14 +500,14 @@ sub check_desktop_clean {
return if (check_screen "graphical_desktop_clean", 1);
# now do the special GNOME case
if (get_var("DESKTOP") eq "gnome") {
send_key "alt-f1";
send_key "super";
if (check_screen "overview_app_grid", 2) {
send_key "alt-f1";
send_key "super";
wait_still_screen 3;
# go back to the desktop, if we're still at the app
# grid (can be a bit fuzzy depending on response lag)
while (check_screen "overview_app_grid", 1) {
send_key "alt-f1";
send_key "super";
wait_still_screen 3;
}
return;