diff --git a/needles/i3/apps_run_blivetgui-i3.json b/needles/i3/apps_run_blivetgui-i3.json deleted file mode 100644 index 24a0b434..00000000 --- a/needles/i3/apps_run_blivetgui-i3.json +++ /dev/null @@ -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" - ] -} \ No newline at end of file diff --git a/needles/i3/apps_run_blivetgui-i3.png b/needles/i3/apps_run_blivetgui-i3.png deleted file mode 100644 index 032bc0f1..00000000 Binary files a/needles/i3/apps_run_blivetgui-i3.png and /dev/null differ diff --git a/needles/i3/apps_run_gvim-20250902.json b/needles/i3/apps_run_gvim-20250902.json new file mode 100644 index 00000000..deefc01e --- /dev/null +++ b/needles/i3/apps_run_gvim-20250902.json @@ -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" + ] +} \ No newline at end of file diff --git a/needles/i3/apps_run_gvim-20250902.png b/needles/i3/apps_run_gvim-20250902.png new file mode 100644 index 00000000..53ce61d4 Binary files /dev/null and b/needles/i3/apps_run_gvim-20250902.png differ diff --git a/needles/i3/i3-blivet_gui_application.json b/needles/i3/i3-blivet_gui_application.json deleted file mode 100644 index e26138f3..00000000 --- a/needles/i3/i3-blivet_gui_application.json +++ /dev/null @@ -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" - ] -} \ No newline at end of file diff --git a/needles/i3/i3-blivet_gui_application.png b/needles/i3/i3-blivet_gui_application.png deleted file mode 100644 index 318dc16a..00000000 Binary files a/needles/i3/i3-blivet_gui_application.png and /dev/null differ diff --git a/needles/i3/i3_tiling_apps_installed-20250902.json b/needles/i3/i3_tiling_apps_installed-20250902.json new file mode 100644 index 00000000..ee354737 --- /dev/null +++ b/needles/i3/i3_tiling_apps_installed-20250902.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 3, + "ypos": 697, + "width": 170, + "height": 44, + "type": "match" + } + ], + "properties": [], + "tags": [ + "i3_tiling_apps_installed" + ] +} \ No newline at end of file diff --git a/needles/i3/i3_tiling_apps_installed-20250902.png b/needles/i3/i3_tiling_apps_installed-20250902.png new file mode 100644 index 00000000..d618e722 Binary files /dev/null and b/needles/i3/i3_tiling_apps_installed-20250902.png differ diff --git a/needles/i3/i3_windows_split-20250902.json b/needles/i3/i3_windows_split-20250902.json new file mode 100644 index 00000000..26bbbf66 --- /dev/null +++ b/needles/i3/i3_windows_split-20250902.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "ypos": 2, + "width": 417, + "type": "match", + "height": 40, + "xpos": 309 + } + ], + "properties": [], + "tags": [ + "i3_windows_split" + ] +} \ No newline at end of file diff --git a/needles/i3/i3_windows_split-20250902.png b/needles/i3/i3_windows_split-20250902.png new file mode 100644 index 00000000..44f60bd8 Binary files /dev/null and b/needles/i3/i3_windows_split-20250902.png differ diff --git a/needles/i3/i3_windows_stacked-20250902.json b/needles/i3/i3_windows_stacked-20250902.json new file mode 100644 index 00000000..fc212a6a --- /dev/null +++ b/needles/i3/i3_windows_stacked-20250902.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 0, + "height": 55, + "ypos": 2, + "width": 117, + "type": "match" + } + ], + "properties": [], + "tags": [ + "i3_windows_stacked" + ] +} \ No newline at end of file diff --git a/needles/i3/i3_windows_stacked-20250902.png b/needles/i3/i3_windows_stacked-20250902.png new file mode 100644 index 00000000..4ed47502 Binary files /dev/null and b/needles/i3/i3_windows_stacked-20250902.png differ diff --git a/tests/i3_tiling.pm b/tests/i3_tiling.pm index ab96158d..0e042f26 100644 --- a/tests/i3_tiling.pm +++ b/tests/i3_tiling.pm @@ -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;