solidify_wallpaper: restore a wait_still_screen in GNOME path

The old code waited after launching the terminal, the new code
doesn't, which led to a 'g' being swallowed in the first command
in https://openqa.fedoraproject.org/tests/592759 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-05-05 10:19:31 -07:00
parent 8866b5289e
commit d66b185471

View File

@ -1219,6 +1219,8 @@ sub solidify_wallpaper {
elsif ($desktop eq "gnome") { elsif ($desktop eq "gnome") {
# Start the terminal to set up backgrounds. # Start the terminal to set up backgrounds.
menu_launch_type "gnome-terminal"; menu_launch_type "gnome-terminal";
# wait to be sure it's fully open
wait_still_screen 5;
# When the application opens, run command in it to set the background to black # When the application opens, run command in it to set the background to black
type_very_safely "gsettings set org.gnome.desktop.background picture-uri ''"; type_very_safely "gsettings set org.gnome.desktop.background picture-uri ''";
send_key 'ret'; send_key 'ret';