Compare commits
4 Commits
1ec34ccd24
...
e3da59b33a
Author | SHA1 | Date |
---|---|---|
Adam Williamson | e3da59b33a | |
Lukas Ruzicka | 6b5a562783 | |
Adam Williamson | 5701d1a5a5 | |
Lukáš Růžička | bde855b343 |
|
@ -168,6 +168,17 @@ sub post_fail_hook {
|
|||
}
|
||||
}
|
||||
|
||||
# TEST TEST FOR DEBUGGING ONLY
|
||||
if (get_var("GUI_UPGRADE")) {
|
||||
script_run "df -h";
|
||||
script_run "ls -l /var/lib/PackageKit";
|
||||
script_run "ls -l /var/lib/PackageKit/prepared-upgrade";
|
||||
$self->root_console(tty => 4);
|
||||
send_key "ctrl-c";
|
||||
upload_logs "/tmp/pk.log", failok => 1;
|
||||
}
|
||||
# END DEBUGGING
|
||||
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -1356,12 +1356,12 @@ sub menu_launch_type {
|
|||
diag("Moving the mouse away from the launcher.");
|
||||
mouse_set(1, 1);
|
||||
}
|
||||
send_key 'super';
|
||||
wait_screen_change { send_key 'super'; };
|
||||
# srsly KDE y u so slo
|
||||
wait_still_screen 3;
|
||||
type_very_safely $app;
|
||||
# Wait for KDE to place focus correctly.
|
||||
sleep 2;
|
||||
wait_still_screen 2;
|
||||
send_key 'ret';
|
||||
wait_still_screen(3);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 352,
|
||||
"ypos": 216,
|
||||
"width": 112,
|
||||
"height": 21,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_about_shown"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 100 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 216,
|
||||
"ypos": 113,
|
||||
"width": 22,
|
||||
"height": 23,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_add_popup"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 55 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 18,
|
||||
"ypos": 205,
|
||||
"width": 147,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_annotation_added"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 60 KiB |
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 681,
|
||||
"ypos": 589,
|
||||
"width": 35,
|
||||
"height": 48,
|
||||
"type": "match",
|
||||
"match": 90
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_annotation_placed"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 116 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 671,
|
||||
"ypos": 582,
|
||||
"width": 46,
|
||||
"height": 51,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_annotation_removed"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 54 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 534,
|
||||
"ypos": 272,
|
||||
"width": 53,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_button_credits"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 96 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 781,
|
||||
"ypos": 614,
|
||||
"width": 50,
|
||||
"height": 19,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_button_save"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 76 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 125,
|
||||
"ypos": 74,
|
||||
"width": 76,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_change_zoom"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 54 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 993,
|
||||
"ypos": 118,
|
||||
"width": 17,
|
||||
"height": 20,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_close_annotation"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 55 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 205,
|
||||
"ypos": 435,
|
||||
"width": 105,
|
||||
"height": 42,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_content_rotated_once"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 274 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 610,
|
||||
"ypos": 583,
|
||||
"width": 85,
|
||||
"height": 33,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_content_rotated_twice"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 380 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 355,
|
||||
"ypos": 339,
|
||||
"width": 88,
|
||||
"height": 19,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_credits_shown"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 94 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 678,
|
||||
"ypos": 358,
|
||||
"width": 159,
|
||||
"height": 59,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_document_zoom_200"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 48 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 451,
|
||||
"ypos": 709,
|
||||
"width": 101,
|
||||
"height": 26,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_dual_mode"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 146 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 244,
|
||||
"ypos": 134,
|
||||
"width": 102,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_facing_pages"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 66 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 448,
|
||||
"ypos": 8,
|
||||
"width": 127,
|
||||
"height": 15,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_file_opened"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 115 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 262,
|
||||
"ypos": 226,
|
||||
"width": 65,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_file_select_pdf"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 458 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 388,
|
||||
"ypos": 171,
|
||||
"width": 167,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_help_shown"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 266 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 416,
|
||||
"ypos": 244,
|
||||
"width": 89,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_menu_about"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 69 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 31,
|
||||
"ypos": 336,
|
||||
"width": 68,
|
||||
"height": 23,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_menu_properties"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 77 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 15,
|
||||
"ypos": 204,
|
||||
"width": 79,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_menu_saveas"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 77 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 47,
|
||||
"ypos": 37,
|
||||
"width": 35,
|
||||
"height": 15,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_menu_view"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 54 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 359,
|
||||
"ypos": 115,
|
||||
"width": 73,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_navi_page_one"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 39 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 358,
|
||||
"ypos": 320,
|
||||
"width": 96,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_navi_page_two"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 33 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 311,
|
||||
"ypos": 516,
|
||||
"width": 101,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_open_file_dialog"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 632 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 443,
|
||||
"ypos": 317,
|
||||
"width": 120,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_presentation_dialogue"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 75 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 597,
|
||||
"ypos": 472,
|
||||
"width": 43,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_presentation_ok"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 75 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 427,
|
||||
"ypos": 422,
|
||||
"width": 110,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_properties_shown"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 99 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 710,
|
||||
"ypos": 673,
|
||||
"width": 62,
|
||||
"height": 15,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_remove_annotation"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 130 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 335,
|
||||
"ypos": 396,
|
||||
"width": 46,
|
||||
"height": 54,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_runs"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 632 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 553,
|
||||
"ypos": 589,
|
||||
"width": 53,
|
||||
"height": 29,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_search_found"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 117 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 651,
|
||||
"ypos": 608,
|
||||
"width": 55,
|
||||
"height": 20,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_select_annotation_place"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 54 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 97,
|
||||
"ypos": 321,
|
||||
"width": 73,
|
||||
"height": 21,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_submenu_orientation"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 71 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 349,
|
||||
"ypos": 322,
|
||||
"width": 75,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_submenu_rotate"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 78 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 238,
|
||||
"ypos": 69,
|
||||
"width": 87,
|
||||
"height": 23,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"okular_view_mode"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 54 KiB |
|
@ -64,6 +64,9 @@ sub run {
|
|||
record_soft_failure "Modular repos present! Upgrade will fail, so removing";
|
||||
assert_script_run "rm -f /etc/yum.repos.d/*modul*";
|
||||
}
|
||||
# TEST TEST FOR DEBUGGING ONLY
|
||||
assert_script_run 'sed -i -e "s,libexec/packagekitd,libexec/packagekitd --verbose,g" /usr/lib/systemd/system/packagekit.service';
|
||||
# END DEBUGGING
|
||||
# Switch to a user account
|
||||
enter_cmd("su -l $user");
|
||||
# Navigate to the version file directory
|
||||
|
|
|
@ -41,6 +41,12 @@ sub run {
|
|||
}
|
||||
# Let's check, that the desktop is shown.
|
||||
check_desktop();
|
||||
# TEST TEST FOR DEBUGGING ONLY
|
||||
$self->root_console(tty => 4);
|
||||
type_string "while true; do date -u >> /tmp/pk.log; df -h >> /tmp/pk.log; ls -l /var/lib/PackageKit >> /tmp/pk.log 2>&1; sleep 1; done\n";
|
||||
$self->root_console(tty => 3);
|
||||
desktop_vt;
|
||||
# END DEBUGGING
|
||||
|
||||
# Start the package manager application depending
|
||||
# on which DE we are on.
|
||||
|
|