1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 05:53:09 +00:00

Update GNOME 'getting started' needle and dismissal key

The new one isn't an app, so alt-f4 doesn't work. Esc does.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-02-18 09:38:52 -08:00
parent 79c27e347f
commit 436e9cfdf2
4 changed files with 19 additions and 0 deletions

View File

@ -764,6 +764,8 @@ sub gnome_initial_setup {
# wait for the stupid 'help' screen to show and kill it # wait for the stupid 'help' screen to show and kill it
if (check_screen "getting_started", 45) { if (check_screen "getting_started", 45) {
send_key "alt-f4"; send_key "alt-f4";
# for GNOME 40, alt-f4 doesn't work
send_key "esc";
wait_still_screen 5; wait_still_screen 5;
} }
else { else {

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 458,
"ypos": 235,
"height": 140,
"type": "match",
"width": 141
}
],
"properties": [],
"tags": [
"getting_started"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 KiB

View File

@ -86,6 +86,8 @@ sub run {
# wait for the stupid 'help' screen to show and kill it # wait for the stupid 'help' screen to show and kill it
if (check_screen "getting_started", 45) { if (check_screen "getting_started", 45) {
send_key "alt-f4"; send_key "alt-f4";
# for GNOME 40, alt-f4 doesn't work
send_key "esc";
wait_still_screen 5; wait_still_screen 5;
} }
else { else {