1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-09-10 00:15:44 +00:00

Fix the I3 Tiling test

The test failed because one of the applications ceased to exist
on the installation media. The fix brings a different set of
applications and more to it - the applications get installed
during the test so we probably won't have to deal with similar
issue in the future. Or at least not that often.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/412
This commit is contained in:
Lukáš Růžička 2025-09-02 16:28:04 +02:00 committed by adamwill
parent feda79ebfc
commit eb6bd63e01
13 changed files with 78 additions and 49 deletions

View File

@ -1,22 +0,0 @@
{
"area": [
{
"xpos": 555,
"ypos": 24,
"width": 38,
"height": 17,
"type": "match"
},
{
"xpos": 513,
"ypos": 3,
"width": 64,
"height": 13,
"type": "match"
}
],
"properties": [],
"tags": [
"apps_run_blivetgui"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"xpos": 582,
"ypos": 3,
"width": 34,
"height": 15,
"type": "match"
},
{
"xpos": 524,
"ypos": 55,
"width": 58,
"height": 26,
"type": "match"
}
],
"properties": [],
"tags": [
"apps_run_gvim"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@ -1,22 +0,0 @@
{
"area": [
{
"xpos": 343,
"ypos": 3,
"width": 62,
"height": 15,
"type": "match"
},
{
"xpos": 7,
"ypos": 716,
"width": 123,
"height": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"blivet_gui_application"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 3,
"ypos": 697,
"width": 170,
"height": 44,
"type": "match"
}
],
"properties": [],
"tags": [
"i3_tiling_apps_installed"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 2,
"width": 417,
"type": "match",
"height": 40,
"xpos": 309
}
],
"properties": [],
"tags": [
"i3_windows_split"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 0,
"height": 55,
"ypos": 2,
"width": 117,
"type": "match"
}
],
"properties": [],
"tags": [
"i3_windows_stacked"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -10,11 +10,17 @@ sub run {
desktop_launch_terminal;
assert_screen("apps_run_terminal");
# Make sure to install some of the applications
type_very_safely("sudo dnf install -y gvim mousepad\n");
# Deal with sudo password
type_password("$password");
send_key("ret");
assert_screen("i3_tiling_apps_installed");
# start blivet_gui, mousepad and check that they are split on the screen
x11_start_program("blivet-gui");
x11_start_program("gvim");
wait_still_screen(2);
type_very_safely("$password\n");
assert_screen('apps_run_blivetgui');
assert_screen('apps_run_gvim');
x11_start_program("mousepad");
assert_screen('apps_run_mousepad');
assert_screen("i3_windows_split");
@ -26,7 +32,7 @@ sub run {
wait_still_screen(2);
send_key("alt-;");
assert_screen("blivet_gui_application");
assert_screen("apps_run_gvim");
send_key("alt-;");
assert_screen("mousepad_no_document_open");
@ -41,7 +47,7 @@ sub run {
assert_screen("mousepad_no_document_open");
send_key("alt-l");
assert_screen("blivet_gui_application");
assert_screen("apps_run_gvim");
}
1;