From 48ec73e814e26411d4dee04e8970204f2f333344 Mon Sep 17 00:00:00 2001 From: Lukáš Růžička Date: Jul 12 2022 23:01:36 +0000 Subject: Create a test suite for Nautilus. --- diff --git a/needles/gnome/apps/nautilus/nautilus_about_credits.json b/needles/gnome/apps/nautilus/nautilus_about_credits.json new file mode 100644 index 0000000..389aa51 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_about_credits.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "height": 16, + "width": 55, + "xpos": 547, + "ypos": 226, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_about_credits" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_about_credits.png b/needles/gnome/apps/nautilus/nautilus_about_credits.png new file mode 100644 index 0000000..7bb95ed Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_about_credits.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_about_show.json b/needles/gnome/apps/nautilus/nautilus_about_show.json new file mode 100644 index 0000000..1ec5d3f --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_about_show.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 464, + "ypos": 329, + "width": 98, + "height": 102, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_about_show" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_about_show.png b/needles/gnome/apps/nautilus/nautilus_about_show.png new file mode 100644 index 0000000..f8aa992 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_about_show.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_available_directories.json b/needles/gnome/apps/nautilus/nautilus_available_directories.json new file mode 100644 index 0000000..23bebfa --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_available_directories.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "width": 141, + "height": 362, + "ypos": 107, + "xpos": 198, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_available_directories" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_available_directories.png b/needles/gnome/apps/nautilus/nautilus_available_directories.png new file mode 100644 index 0000000..8ddeba9 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_available_directories.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_browse_shown.json b/needles/gnome/apps/nautilus/nautilus_browse_shown.json new file mode 100644 index 0000000..7207a3d --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_browse_shown.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_browse_shown" + ], + "area": [ + { + "xpos": 9, + "ypos": 125, + "width": 389, + "height": 36, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_browse_shown.png b/needles/gnome/apps/nautilus/nautilus_browse_shown.png new file mode 100644 index 0000000..aac5022 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_browse_shown.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_confirm_wastebin.json b/needles/gnome/apps/nautilus/nautilus_confirm_wastebin.json new file mode 100644 index 0000000..100940a --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_confirm_wastebin.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_confirm_wastebin" + ], + "area": [ + { + "xpos": 92, + "ypos": 46, + "width": 65, + "height": 20, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_confirm_wastebin.png b/needles/gnome/apps/nautilus/nautilus_confirm_wastebin.png new file mode 100644 index 0000000..d29264a Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_confirm_wastebin.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_context_copy_to.json b/needles/gnome/apps/nautilus/nautilus_context_copy_to.json new file mode 100644 index 0000000..9453fdb --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_context_copy_to.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_context_copy_to" + ], + "area": [ + { + "xpos": 342, + "ypos": 461, + "width": 68, + "height": 20, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_context_copy_to.png b/needles/gnome/apps/nautilus/nautilus_context_copy_to.png new file mode 100644 index 0000000..d5a3219 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_context_copy_to.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_context_move_to.json b/needles/gnome/apps/nautilus/nautilus_context_move_to.json new file mode 100644 index 0000000..3a9a914 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_context_move_to.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_context_move_to" + ], + "area": [ + { + "xpos": 335, + "ypos": 431, + "width": 72, + "height": 21, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_context_move_to.png b/needles/gnome/apps/nautilus/nautilus_context_move_to.png new file mode 100644 index 0000000..b75fbda Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_context_move_to.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_context_properties.json b/needles/gnome/apps/nautilus/nautilus_context_properties.json new file mode 100644 index 0000000..45c9d4d --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_context_properties.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_context_properties" + ], + "area": [ + { + "xpos": 337, + "ypos": 615, + "width": 73, + "height": 22, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_context_properties.png b/needles/gnome/apps/nautilus/nautilus_context_properties.png new file mode 100644 index 0000000..597a230 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_context_properties.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_context_star.json b/needles/gnome/apps/nautilus/nautilus_context_star.json new file mode 100644 index 0000000..d82bfb7 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_context_star.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_context_star" + ], + "area": [ + { + "xpos": 306, + "ypos": 394, + "width": 35, + "height": 35, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_context_star.png b/needles/gnome/apps/nautilus/nautilus_context_star.png new file mode 100644 index 0000000..c5dd985 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_context_star.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_credits_shown.json b/needles/gnome/apps/nautilus/nautilus_credits_shown.json new file mode 100644 index 0000000..4328d76 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_credits_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "width": 291, + "height": 21, + "xpos": 379, + "ypos": 446, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_credits_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_credits_shown.png b/needles/gnome/apps/nautilus/nautilus_credits_shown.png new file mode 100644 index 0000000..3f7769d Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_credits_shown.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_delete_undo.json b/needles/gnome/apps/nautilus/nautilus_delete_undo.json new file mode 100644 index 0000000..08bfc27 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_delete_undo.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_delete_undo" + ], + "area": [ + { + "xpos": 665, + "ypos": 96, + "width": 66, + "height": 21, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_delete_undo.png b/needles/gnome/apps/nautilus/nautilus_delete_undo.png new file mode 100644 index 0000000..a8314db Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_delete_undo.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_directory_documents.json b/needles/gnome/apps/nautilus/nautilus_directory_documents.json new file mode 100644 index 0000000..19eeb89 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_directory_documents.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "height": 20, + "type": "match", + "xpos": 202, + "width": 117, + "ypos": 163 + } + ], + "properties": [], + "tags": [ + "nautilus_directory_documents" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_directory_documents.png b/needles/gnome/apps/nautilus/nautilus_directory_documents.png new file mode 100644 index 0000000..a0207ca Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_directory_documents.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_directory_documents_trash.json b/needles/gnome/apps/nautilus/nautilus_directory_documents_trash.json new file mode 100644 index 0000000..85f732b --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_directory_documents_trash.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "type": "match", + "height": 20, + "width": 100, + "xpos": 16, + "ypos": 205 + } + ], + "properties": [], + "tags": [ + "nautilus_directory_documents" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_directory_documents_trash.png b/needles/gnome/apps/nautilus/nautilus_directory_documents_trash.png new file mode 100644 index 0000000..f348051 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_directory_documents_trash.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_directory_downloads.json b/needles/gnome/apps/nautilus/nautilus_directory_downloads.json new file mode 100644 index 0000000..7a37be8 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_directory_downloads.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_directory_downloads" + ], + "area": [ + { + "xpos": 12, + "ypos": 244, + "width": 103, + "height": 20, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_directory_downloads.png b/needles/gnome/apps/nautilus/nautilus_directory_downloads.png new file mode 100644 index 0000000..1187aae Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_directory_downloads.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_directory_reached_downloads.json b/needles/gnome/apps/nautilus/nautilus_directory_reached_downloads.json new file mode 100644 index 0000000..f34c771 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_directory_reached_downloads.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 91, + "ypos": 45, + "width": 170, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_directory_reached_downloads" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_directory_reached_downloads.png b/needles/gnome/apps/nautilus/nautilus_directory_reached_downloads.png new file mode 100644 index 0000000..5063560 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_directory_reached_downloads.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_directory_starred.json b/needles/gnome/apps/nautilus/nautilus_directory_starred.json new file mode 100644 index 0000000..eec0c8e --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_directory_starred.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_directory_starred" + ], + "area": [ + { + "xpos": 13, + "ypos": 128, + "width": 79, + "height": 25, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_directory_starred.png b/needles/gnome/apps/nautilus/nautilus_directory_starred.png new file mode 100644 index 0000000..4f998c5 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_directory_starred.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_directory_videos.json b/needles/gnome/apps/nautilus/nautilus_directory_videos.json new file mode 100644 index 0000000..10afdce --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_directory_videos.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 12, + "ypos": 317, + "width": 75, + "height": 27, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_directory_videos" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_directory_videos.png b/needles/gnome/apps/nautilus/nautilus_directory_videos.png new file mode 100644 index 0000000..f51f0e7 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_directory_videos.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_documents_active.json b/needles/gnome/apps/nautilus/nautilus_documents_active.json new file mode 100644 index 0000000..4a342bd --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_documents_active.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 13, + "ypos": 204, + "width": 103, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_documents_active" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_documents_active.png b/needles/gnome/apps/nautilus/nautilus_documents_active.png new file mode 100644 index 0000000..48b4f67 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_documents_active.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_documents_folder-20220704.json b/needles/gnome/apps/nautilus/nautilus_documents_folder-20220704.json new file mode 100644 index 0000000..029dcd2 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_documents_folder-20220704.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 235, + "height": 22, + "type": "match", + "width": 82, + "ypos": 162 + } + ], + "properties": [], + "tags": [ + "nautilus_documents_folder" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_documents_folder-20220704.png b/needles/gnome/apps/nautilus/nautilus_documents_folder-20220704.png new file mode 100644 index 0000000..3657c72 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_documents_folder-20220704.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_documents_folder.json b/needles/gnome/apps/nautilus/nautilus_documents_folder.json new file mode 100644 index 0000000..e904fa8 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_documents_folder.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 251, + "ypos": 165, + "width": 82, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_documents_folder" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_documents_folder.png b/needles/gnome/apps/nautilus/nautilus_documents_folder.png new file mode 100644 index 0000000..1f75f88 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_documents_folder.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_help_browse_files.json b/needles/gnome/apps/nautilus/nautilus_help_browse_files.json new file mode 100644 index 0000000..b106719 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_help_browse_files.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 8, + "ypos": 254, + "width": 105, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_help_browse_files" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_help_browse_files.png b/needles/gnome/apps/nautilus/nautilus_help_browse_files.png new file mode 100644 index 0000000..41cf751 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_help_browse_files.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_help_search_file.json b/needles/gnome/apps/nautilus/nautilus_help_search_file.json new file mode 100644 index 0000000..d5fe88e --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_help_search_file.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_help_search_file" + ], + "area": [ + { + "xpos": 151, + "ypos": 524, + "width": 107, + "height": 18, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_help_search_file.png b/needles/gnome/apps/nautilus/nautilus_help_search_file.png new file mode 100644 index 0000000..fc9175d Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_help_search_file.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_help_shown.json b/needles/gnome/apps/nautilus/nautilus_help_shown.json new file mode 100644 index 0000000..06b92f6 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_help_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 8, + "ypos": 125, + "width": 358, + "height": 41, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_help_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_help_shown.png b/needles/gnome/apps/nautilus/nautilus_help_shown.png new file mode 100644 index 0000000..bbc9c3a Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_help_shown.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_hidden_file_shown.json b/needles/gnome/apps/nautilus/nautilus_hidden_file_shown.json new file mode 100644 index 0000000..45df9e3 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_hidden_file_shown.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_hidden_file_shown" + ], + "area": [ + { + "xpos": 207, + "ypos": 617, + "width": 122, + "height": 35, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_hidden_file_shown.png b/needles/gnome/apps/nautilus/nautilus_hidden_file_shown.png new file mode 100644 index 0000000..c521ddc Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_hidden_file_shown.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_instances_check.json b/needles/gnome/apps/nautilus/nautilus_instances_check.json new file mode 100644 index 0000000..9913a59 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_instances_check.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 277, + "ypos": 464, + "width": 70, + "height": 51, + "type": "match" + }, + { + "xpos": 675, + "ypos": 466, + "width": 72, + "height": 46, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_instances_check" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_instances_check.png b/needles/gnome/apps/nautilus/nautilus_instances_check.png new file mode 100644 index 0000000..8ce8ed3 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_instances_check.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_menu_about.json b/needles/gnome/apps/nautilus/nautilus_menu_about.json new file mode 100644 index 0000000..463fa01 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_menu_about.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "type": "match", + "width": 75, + "height": 18, + "ypos": 347, + "xpos": 846 + } + ], + "properties": [], + "tags": [ + "nautilus_menu_about" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_menu_about.png b/needles/gnome/apps/nautilus/nautilus_menu_about.png new file mode 100644 index 0000000..444fb18 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_menu_about.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_menu_new_directory.json b/needles/gnome/apps/nautilus/nautilus_menu_new_directory.json new file mode 100644 index 0000000..e5dd2b2 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_menu_new_directory.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 959, + "ypos": 110, + "width": 29, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_menu_new_directory" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_menu_new_directory.png b/needles/gnome/apps/nautilus/nautilus_menu_new_directory.png new file mode 100644 index 0000000..c2f4e89 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_menu_new_directory.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_menu_new_instance.json b/needles/gnome/apps/nautilus/nautilus_menu_new_instance.json new file mode 100644 index 0000000..7d5f3fc --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_menu_new_instance.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 857, + "ypos": 108, + "width": 22, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_menu_new_instance" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_menu_new_instance.png b/needles/gnome/apps/nautilus/nautilus_menu_new_instance.png new file mode 100644 index 0000000..bd172ab Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_menu_new_instance.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_menu_new_tab.json b/needles/gnome/apps/nautilus/nautilus_menu_new_tab.json new file mode 100644 index 0000000..784b49b --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_menu_new_tab.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 907, + "ypos": 110, + "width": 28, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_menu_new_tab" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_menu_new_tab.png b/needles/gnome/apps/nautilus/nautilus_menu_new_tab.png new file mode 100644 index 0000000..6960f5b Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_menu_new_tab.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_menu_shortcuts.json b/needles/gnome/apps/nautilus/nautilus_menu_shortcuts.json new file mode 100644 index 0000000..f9323f5 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_menu_shortcuts.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_menu_shortcuts" + ], + "area": [ + { + "xpos": 847, + "ypos": 294, + "width": 130, + "height": 22, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_menu_shortcuts.png b/needles/gnome/apps/nautilus/nautilus_menu_shortcuts.png new file mode 100644 index 0000000..c0489f8 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_menu_shortcuts.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_new_directory_check-unselected-20220712.json b/needles/gnome/apps/nautilus/nautilus_new_directory_check-unselected-20220712.json new file mode 100644 index 0000000..f57596f --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_new_directory_check-unselected-20220712.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "type": "match", + "ypos": 210, + "width": 95, + "height": 22, + "xpos": 240 + } + ], + "properties": [], + "tags": [ + "nautilus_new_directory_check" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_new_directory_check-unselected-20220712.png b/needles/gnome/apps/nautilus/nautilus_new_directory_check-unselected-20220712.png new file mode 100644 index 0000000..a93e81f Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_new_directory_check-unselected-20220712.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_new_directory_check.json b/needles/gnome/apps/nautilus/nautilus_new_directory_check.json new file mode 100644 index 0000000..5c08abb --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_new_directory_check.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 245, + "ypos": 255, + "width": 92, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_new_directory_check" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_new_directory_check.png b/needles/gnome/apps/nautilus/nautilus_new_directory_check.png new file mode 100644 index 0000000..8e5db14 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_new_directory_check.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_others_permissions.json b/needles/gnome/apps/nautilus/nautilus_others_permissions.json new file mode 100644 index 0000000..6d94554 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_others_permissions.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "ypos": 429, + "width": 146, + "type": "match", + "height": 72, + "xpos": 381 + } + ], + "properties": [], + "tags": [ + "nautilus_others_permissions" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_others_permissions.png b/needles/gnome/apps/nautilus/nautilus_others_permissions.png new file mode 100644 index 0000000..58a02a8 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_others_permissions.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_owner_permissions.json b/needles/gnome/apps/nautilus/nautilus_owner_permissions.json new file mode 100644 index 0000000..4706140 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_owner_permissions.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_owner_permissions" + ], + "area": [ + { + "xpos": 381, + "ypos": 254, + "width": 187, + "height": 78, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_owner_permissions.png b/needles/gnome/apps/nautilus/nautilus_owner_permissions.png new file mode 100644 index 0000000..6bcc97c Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_owner_permissions.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_permissions_read_only.json b/needles/gnome/apps/nautilus/nautilus_permissions_read_only.json new file mode 100644 index 0000000..ea56e19 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_permissions_read_only.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 439, + "ypos": 441, + "width": 158, + "height": 66, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_permissions_read_only" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_permissions_read_only.png b/needles/gnome/apps/nautilus/nautilus_permissions_read_only.png new file mode 100644 index 0000000..4132ee2 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_permissions_read_only.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_permissions_set_none.json b/needles/gnome/apps/nautilus/nautilus_permissions_set_none.json new file mode 100644 index 0000000..6cc572c --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_permissions_set_none.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 439, + "ypos": 436, + "width": 66, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_permissions_set_none" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_permissions_set_none.png b/needles/gnome/apps/nautilus/nautilus_permissions_set_none.png new file mode 100644 index 0000000..ab1ed08 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_permissions_set_none.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_properties_check.json b/needles/gnome/apps/nautilus/nautilus_properties_check.json new file mode 100644 index 0000000..70e9e5d --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_properties_check.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "ypos": 330, + "width": 307, + "type": "match", + "height": 95, + "xpos": 354 + } + ], + "properties": [], + "tags": [ + "nautilus_properties_check" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_properties_check.png b/needles/gnome/apps/nautilus/nautilus_properties_check.png new file mode 100644 index 0000000..f1d94bc Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_properties_check.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_rename_check.json b/needles/gnome/apps/nautilus/nautilus_rename_check.json new file mode 100644 index 0000000..fe6ba71 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_rename_check.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "height": 18, + "xpos": 240, + "width": 89, + "ypos": 211, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_rename_check" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_rename_check.png b/needles/gnome/apps/nautilus/nautilus_rename_check.png new file mode 100644 index 0000000..f6d45f6 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_rename_check.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_rename_dialogue.json b/needles/gnome/apps/nautilus/nautilus_rename_dialogue.json new file mode 100644 index 0000000..2125cb6 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_rename_dialogue.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_rename_dialogue" + ], + "area": [ + { + "xpos": 190, + "ypos": 263, + "width": 128, + "height": 24, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_rename_dialogue.png b/needles/gnome/apps/nautilus/nautilus_rename_dialogue.png new file mode 100644 index 0000000..b407b6b Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_rename_dialogue.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_restore_content.json b/needles/gnome/apps/nautilus/nautilus_restore_content.json new file mode 100644 index 0000000..e2dbe10 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_restore_content.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_restore_content" + ], + "area": [ + { + "xpos": 837, + "ypos": 129, + "width": 55, + "height": 21, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_restore_content.png b/needles/gnome/apps/nautilus/nautilus_restore_content.png new file mode 100644 index 0000000..3c5ca23 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_restore_content.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_search_file_shown.json b/needles/gnome/apps/nautilus/nautilus_search_file_shown.json new file mode 100644 index 0000000..8919cf8 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_search_file_shown.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_search_file_shown" + ], + "area": [ + { + "xpos": 4, + "ypos": 208, + "width": 146, + "height": 54, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_search_file_shown.png b/needles/gnome/apps/nautilus/nautilus_search_file_shown.png new file mode 100644 index 0000000..a096e67 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_search_file_shown.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_select_permissions.json b/needles/gnome/apps/nautilus/nautilus_select_permissions.json new file mode 100644 index 0000000..36ef233 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_select_permissions.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_select_permissions" + ], + "area": [ + { + "xpos": 402, + "ypos": 203, + "width": 93, + "height": 22, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_select_permissions.png b/needles/gnome/apps/nautilus/nautilus_select_permissions.png new file mode 100644 index 0000000..2a3c103 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_select_permissions.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_select_wastebin.json b/needles/gnome/apps/nautilus/nautilus_select_wastebin.json new file mode 100644 index 0000000..0205b4f --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_select_wastebin.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_select_wastebin" + ], + "area": [ + { + "xpos": 14, + "ypos": 396, + "width": 66, + "height": 21, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_select_wastebin.png b/needles/gnome/apps/nautilus/nautilus_select_wastebin.png new file mode 100644 index 0000000..b5a7961 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_select_wastebin.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_shortcuts_first.json b/needles/gnome/apps/nautilus/nautilus_shortcuts_first.json new file mode 100644 index 0000000..704dabd --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_shortcuts_first.json @@ -0,0 +1,22 @@ +{ + "properties": [], + "tags": [ + "nautilus_shortcuts_first" + ], + "area": [ + { + "xpos": 60, + "ypos": 114, + "width": 61, + "height": 19, + "type": "match" + }, + { + "xpos": 444, + "ypos": 115, + "width": 65, + "height": 20, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_shortcuts_first.png b/needles/gnome/apps/nautilus/nautilus_shortcuts_first.png new file mode 100644 index 0000000..282c500 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_shortcuts_first.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_shortcuts_second.json b/needles/gnome/apps/nautilus/nautilus_shortcuts_second.json new file mode 100644 index 0000000..1e52036 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_shortcuts_second.json @@ -0,0 +1,22 @@ +{ + "properties": [], + "tags": [ + "nautilus_shortcuts_second" + ], + "area": [ + { + "xpos": 60, + "ypos": 114, + "width": 39, + "height": 19, + "type": "match" + }, + { + "xpos": 527, + "ypos": 112, + "width": 82, + "height": 24, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_shortcuts_second.png b/needles/gnome/apps/nautilus/nautilus_shortcuts_second.png new file mode 100644 index 0000000..d319391 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_shortcuts_second.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_shortcuts_third.json b/needles/gnome/apps/nautilus/nautilus_shortcuts_third.json new file mode 100644 index 0000000..486fa6e --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_shortcuts_third.json @@ -0,0 +1,22 @@ +{ + "properties": [], + "tags": [ + "nautilus_shortcuts_third" + ], + "area": [ + { + "xpos": 59, + "ypos": 114, + "width": 41, + "height": 18, + "type": "match" + }, + { + "xpos": 474, + "ypos": 115, + "width": 55, + "height": 19, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_shortcuts_third.png b/needles/gnome/apps/nautilus/nautilus_shortcuts_third.png new file mode 100644 index 0000000..de158c9 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_shortcuts_third.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_show_sidebar.json b/needles/gnome/apps/nautilus/nautilus_show_sidebar.json new file mode 100644 index 0000000..e6eab19 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_show_sidebar.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_show_sidebar" + ], + "area": [ + { + "xpos": 843, + "ypos": 234, + "width": 97, + "height": 22, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_show_sidebar.png b/needles/gnome/apps/nautilus/nautilus_show_sidebar.png new file mode 100644 index 0000000..334a923 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_show_sidebar.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_side_panel-20220502.json b/needles/gnome/apps/nautilus/nautilus_side_panel-20220502.json new file mode 100644 index 0000000..d06ea9e --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_side_panel-20220502.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "type": "match", + "height": 294, + "width": 117, + "xpos": 5, + "ypos": 127 + } + ], + "properties": [], + "tags": [ + "nautilus_side_panel" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_side_panel-20220502.png b/needles/gnome/apps/nautilus/nautilus_side_panel-20220502.png new file mode 100644 index 0000000..21a7859 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_side_panel-20220502.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_side_panel.json b/needles/gnome/apps/nautilus/nautilus_side_panel.json new file mode 100644 index 0000000..c030cd6 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_side_panel.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_side_panel" + ], + "area": [ + { + "xpos": 5, + "ypos": 127, + "width": 117, + "height": 294, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_side_panel.png b/needles/gnome/apps/nautilus/nautilus_side_panel.png new file mode 100644 index 0000000..880c5bd Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_side_panel.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_star_confirm.json b/needles/gnome/apps/nautilus/nautilus_star_confirm.json new file mode 100644 index 0000000..d83d4cb --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_star_confirm.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_star_confirm" + ], + "area": [ + { + "xpos": 989, + "ypos": 438, + "width": 25, + "height": 26, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_star_confirm.png b/needles/gnome/apps/nautilus/nautilus_star_confirm.png new file mode 100644 index 0000000..bc2b092 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_star_confirm.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_starred_selected.json b/needles/gnome/apps/nautilus/nautilus_starred_selected.json new file mode 100644 index 0000000..da6b19c --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_starred_selected.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 92, + "ypos": 46, + "width": 76, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_starred_selected" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_starred_selected.png b/needles/gnome/apps/nautilus/nautilus_starred_selected.png new file mode 100644 index 0000000..b348597 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_starred_selected.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_tabs_check.json b/needles/gnome/apps/nautilus/nautilus_tabs_check.json new file mode 100644 index 0000000..df15425 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_tabs_check.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 352, + "ypos": 88, + "width": 90, + "height": 32, + "type": "match" + }, + { + "xpos": 782, + "ypos": 86, + "width": 69, + "height": 31, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_tabs_check" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_tabs_check.png b/needles/gnome/apps/nautilus/nautilus_tabs_check.png new file mode 100644 index 0000000..66f8174 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_tabs_check.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_test_file.json b/needles/gnome/apps/nautilus/nautilus_test_file.json new file mode 100644 index 0000000..542896d --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_test_file.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 239, + "height": 21, + "type": "match", + "ypos": 164, + "width": 98 + } + ], + "properties": [], + "tags": [ + "nautilus_test_file" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_test_file.png b/needles/gnome/apps/nautilus/nautilus_test_file.png new file mode 100644 index 0000000..e1a8eda Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_test_file.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_test_file_another-20220704.json b/needles/gnome/apps/nautilus/nautilus_test_file_another-20220704.json new file mode 100644 index 0000000..2bdd001 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_test_file_another-20220704.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "ypos": 164, + "width": 116, + "type": "match", + "height": 20, + "xpos": 200 + } + ], + "properties": [], + "tags": [ + "nautilus_test_file_another" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_test_file_another-20220704.png b/needles/gnome/apps/nautilus/nautilus_test_file_another-20220704.png new file mode 100644 index 0000000..9476713 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_test_file_another-20220704.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_test_file_another.json b/needles/gnome/apps/nautilus/nautilus_test_file_another.json new file mode 100644 index 0000000..07c0133 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_test_file_another.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "ypos": 117, + "width": 116, + "type": "match", + "height": 20, + "xpos": 201 + } + ], + "properties": [], + "tags": [ + "nautilus_test_file_another" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_test_file_another.png b/needles/gnome/apps/nautilus/nautilus_test_file_another.png new file mode 100644 index 0000000..8b4de45 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_test_file_another.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_test_file_another_selected.json b/needles/gnome/apps/nautilus/nautilus_test_file_another_selected.json new file mode 100644 index 0000000..f2f84ca --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_test_file_another_selected.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "type": "match", + "xpos": 205, + "ypos": 117, + "height": 20, + "width": 116 + } + ], + "properties": [], + "tags": [ + "nautilus_test_file_another" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_test_file_another_selected.png b/needles/gnome/apps/nautilus/nautilus_test_file_another_selected.png new file mode 100644 index 0000000..e7eaa12 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_test_file_another_selected.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_test_file_selected.json b/needles/gnome/apps/nautilus/nautilus_test_file_selected.json new file mode 100644 index 0000000..74795f6 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_test_file_selected.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "type": "match", + "width": 94, + "ypos": 117, + "xpos": 240, + "height": 21 + } + ], + "properties": [], + "tags": [ + "nautilus_test_file" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_test_file_selected.png b/needles/gnome/apps/nautilus/nautilus_test_file_selected.png new file mode 100644 index 0000000..a24effb Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_test_file_selected.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_toggle_hidden_files.json b/needles/gnome/apps/nautilus/nautilus_toggle_hidden_files.json new file mode 100644 index 0000000..0dc7f67 --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_toggle_hidden_files.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "nautilus_toggle_hidden_files" + ], + "area": [ + { + "xpos": 846, + "ypos": 210, + "width": 124, + "height": 19, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_toggle_hidden_files.png b/needles/gnome/apps/nautilus/nautilus_toggle_hidden_files.png new file mode 100644 index 0000000..0e62961 Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_toggle_hidden_files.png differ diff --git a/needles/gnome/apps/nautilus/nautilus_toggle_view.json b/needles/gnome/apps/nautilus/nautilus_toggle_view.json new file mode 100644 index 0000000..76e2d4e --- /dev/null +++ b/needles/gnome/apps/nautilus/nautilus_toggle_view.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "width": 24, + "height": 23, + "ypos": 44, + "xpos": 875, + "type": "match" + } + ], + "properties": [], + "tags": [ + "nautilus_toggle_view" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/nautilus/nautilus_toggle_view.png b/needles/gnome/apps/nautilus/nautilus_toggle_view.png new file mode 100644 index 0000000..de9045e Binary files /dev/null and b/needles/gnome/apps/nautilus/nautilus_toggle_view.png differ diff --git a/needles/gnome/gnome_select_button.json b/needles/gnome/gnome_select_button.json new file mode 100644 index 0000000..66a089c --- /dev/null +++ b/needles/gnome/gnome_select_button.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 956, + "ypos": 45, + "width": 46, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gnome_select_button" + ] +} \ No newline at end of file diff --git a/needles/gnome/gnome_select_button.png b/needles/gnome/gnome_select_button.png new file mode 100644 index 0000000..ef105c6 Binary files /dev/null and b/needles/gnome/gnome_select_button.png differ diff --git a/templates.fif.json b/templates.fif.json index b833b33..62f8a8b 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -1101,6 +1101,23 @@ "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" } }, + "nautilus": { + "profiles": { + "fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50, + "fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50, + "fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20, + "fedora-Workstation-live-iso-x86_64-*-64bit": 20, + "fedora-Workstation-upgrade-x86_64-*-64bit": 40, + "fedora-Workstation-upgrade-aarch64-*-aarch64": 40, + "fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22 + }, + "settings": { + "BOOTFROM": "c", + "HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2", + "POSTINSTALL_PATH": "tests/applications/nautilus", + "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" + } + }, "gnome_text_editor": { "profiles": { "fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50, diff --git a/tests/applications/nautilus/aaa_setup.pm b/tests/applications/nautilus/aaa_setup.pm new file mode 100644 index 0000000..bcfa77d --- /dev/null +++ b/tests/applications/nautilus/aaa_setup.pm @@ -0,0 +1,52 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script will download the test files, start Nautilus, +# stretch it all over the screen and upload the status to +# set a milestone as a starting point for the other Nautilus tests. + +sub run { + my $self = shift; + # Switch to console + $self->root_console(tty=>3); + # Perform git test + check_and_install_git(); + # Download the test data + download_testdata(); + + enter_cmd("touch /home/test/Documents/.invisible.txt"); + enter_cmd("chown test:test /home/test/Documents/.invisible.txt"); + enter_cmd("rm -f /home/test/*reference*"); + + # Exit the terminal + desktop_vt; + + # Start the application + menu_launch_type("nautilus"); + wait_still_screen("2"); + + # Fullsize the Nautilus window. + wait_screen_change { send_key("super-up"); }; + + # Check that is started + assert_screen 'apps_run_files'; + + # Click to change the Directory view to listings. + assert_and_click("nautilus_toggle_view", timeout => '30', button => 'left', mousehide => '1'); + + # This will test the common directory structure. The structure is always created when a user is created, so let's see if it has been created correctly. + assert_screen("nautilus_available_directories"); +} + +sub test_flags { + return {fatal => 1, milestone => 1}; +} + +1; + +# vim: set sw=4 et: + + + diff --git a/tests/applications/nautilus/about.pm b/tests/applications/nautilus/about.pm new file mode 100644 index 0000000..58f1314 --- /dev/null +++ b/tests/applications/nautilus/about.pm @@ -0,0 +1,35 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Test the About dialogue. + +sub run { + my $self = shift; + + # Open the menu by clicking on the Burger icon + assert_and_click("gnome_burger_menu", button => "left", timeout => 30); + wait_still_screen 2; + + # In the menu, click on the About item. + assert_and_click("nautilus_menu_about", button => "left", timeout => 30); + + # Check that the About section has been displayed. + assert_screen("nautilus_about_show"); + + # Click on Credits button to see the second part of the dialogue. + assert_and_click("nautilus_about_credits", button => "left", timeout => 30); + + # Check that Credits are accessible and visible, too. + assert_screen("nautilus_credits_shown"); +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + diff --git a/tests/applications/nautilus/copy_file.pm b/tests/applications/nautilus/copy_file.pm new file mode 100644 index 0000000..82266bc --- /dev/null +++ b/tests/applications/nautilus/copy_file.pm @@ -0,0 +1,52 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Copy a file. + +sub run { + my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + + # Click onto a file to select it. + assert_and_click("nautilus_test_file"); + wait_still_screen(2); + + # Press the keyboard shortcut to copy the file + send_key("ctrl-c"); + + # Select a different location to place the file. + assert_and_click("nautilus_directory_downloads"); + wait_still_screen(2); + + # Assert that we have entered the correct directory. + assert_screen("nautilus_directory_reached_downloads"); + + # Put the file in the new location + send_key("ctrl-v"); + + # Check that the file has appeared. + assert_screen("nautilus_test_file"); + + # Go into the root console and verify the operation in the background. + $self->root_console(tty=>3); + + # Verify that the new file exists in original location. + assert_script_run("ls /home/test/Documents/markdown.md", timeout => '60', fail_message => 'The test file was incorrectly removed from the old location.', quiet => '0'); + # And also in the new location. + assert_script_run("ls /home/test/Downloads/markdown.md", timeout => '60', fail_message => 'The test file has not been found in the new location.', quiet => '0'); + +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + + diff --git a/tests/applications/nautilus/create_directory.pm b/tests/applications/nautilus/create_directory.pm new file mode 100644 index 0000000..b343011 --- /dev/null +++ b/tests/applications/nautilus/create_directory.pm @@ -0,0 +1,48 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Create a new directory. + +sub run { +my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + wait_still_screen(2); + + # Click on the Burger menu to open it + assert_and_click("gnome_burger_menu"); + wait_still_screen(2); + + # Click on the Create directory icon to create a new directory. + assert_and_click("nautilus_menu_new_directory"); + wait_still_screen(2); + + # Type in the new name + type_safely("new_directory"); + send_key("ret"); + + # Confirm that the directory has appeared in the tree + assert_screen("nautilus_new_directory_check"); + + # Go into the root console and verify the operation in the background. + $self->root_console(tty=>3); + + # Check that the directory can be listed. + assert_script_run("ls /home/test/Documents/new_directory", fail_message => "The expected directory does not exist."); + # Check that it indeed is a directory and that it is user writable and executable. + validate_script_output("ls -l /home/test/Documents/ | grep new_directory", sub { m/drwx/ }); + +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + + diff --git a/tests/applications/nautilus/delete_file.pm b/tests/applications/nautilus/delete_file.pm new file mode 100644 index 0000000..d992f8b --- /dev/null +++ b/tests/applications/nautilus/delete_file.pm @@ -0,0 +1,77 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Delete a file. + +sub run { + my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + + # Click onto a file to select it. + assert_and_click("nautilus_test_file"); + + # Press the keyboard shortcut to delete the file and wait until file disappears + send_key("delete"); + wait_still_screen(1); + + # Now, find the confirmation and click on Undo to return the operation. + assert_and_click("nautilus_delete_undo"); + + # Check that the file is still in its location. + assert_and_click("nautilus_test_file"); + wait_still_screen(2); + + # Delete the file again and this time, let time pass for the confirmation dialogue + # to disappear. + send_key("delete"); + sleep(10); + + # Select another file and delete it. + assert_and_click("nautilus_test_file_another"); + wait_still_screen(2); + send_key("delete"); + sleep(10); + + # Navigate to the Wastebin and check that the file appeared there. + assert_and_click("nautilus_select_wastebin"); + + # Confirm that Wastebin is active + assert_screen("nautilus_confirm_wastebin"); + + # Check that the files are now located here. + assert_screen("nautilus_test_file"); + assert_screen("nautilus_test_file_another"); + + # Select the first file and restore it from the Bin. + assert_and_click("nautilus_test_file"); + wait_still_screen(2); + assert_and_click("nautilus_restore_content"); + + # Go to the Documents again and check that the file reappeared there. + assert_and_click("nautilus_directory_documents"); + wait_still_screen(2); + assert_screen("nautilus_test_file"); + + # Go into the root console and verify the operation in the background. + $self->root_console(tty=>3); + + # Verify that the first file still exists in the location as it was restored from the bin. + assert_script_run("ls /home/test/Documents/markdown.md", timeout => '60', fail_message => 'The file has not been found in the location.', quiet => '0'); + + # Verify that the next file has been deleted from the original location + assert_script_run("! ls /home/test/Documents/konkurz.md"); +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + + diff --git a/tests/applications/nautilus/help.pm b/tests/applications/nautilus/help.pm new file mode 100644 index 0000000..86c40a7 --- /dev/null +++ b/tests/applications/nautilus/help.pm @@ -0,0 +1,36 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Display Help. + +sub run { + my $self = shift; + + # Open help. + send_key("f1"); + wait_still_screen 2; + + # Check that Help has been shown. + assert_screen("nautilus_help_shown"); + + # Open one of the topics. + assert_and_click("nautilus_help_browse_files"); + + # Check that a correct topic has been opened. + assert_screen("nautilus_browse_shown"); + + # Find a subtopic and open it links + assert_and_click("nautilus_help_search_file"); + + # Check that it opened + assert_screen("nautilus_search_file_shown"); +} + +sub test_flags { + return {always_rollback => 1}; +} + +1; + diff --git a/tests/applications/nautilus/hidden_files.pm b/tests/applications/nautilus/hidden_files.pm new file mode 100644 index 0000000..443a776 --- /dev/null +++ b/tests/applications/nautilus/hidden_files.pm @@ -0,0 +1,68 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Show and unshow hidden files. + +sub run { + my $self = shift; + + # Enter the Documents directory. + assert_and_dclick("nautilus_documents_folder", timeout => '30', button => 'left', mousehide => '1'); + + # Check that we are in the Documents directory. + assert_screen("nautilus_documents_active", timeout => '30', no_wait => '0'); + + # Check if the hidden files are set to shown. If so, let's remember this status quo for further testing. + my $hidden_a = 0; + my $hidden_b = 0; + + # Set the a variable to 1, if the hidden files are shown. + if (check_screen("nautilus_hidden_file_shown")) { + $hidden_a = 1; + } + + # Now toggle the status of the invisible files and check that it is changed now + # using the keyboard shortcut. + send_key("ctrl-h"); + wait_still_screen(2); + + # Now let us check again, if the invisible file is seen. + if (check_screen("nautilus_hidden_file_shown")) { + $hidden_b = 1; + } + + # Compare the results. They should differ from each other. + if ($hidden_a == $hidden_b) { + die("The ctrl-h keyboard shortcut should have changed the status of invisible files, but the status has not been changed which indicates that the shortcut might not have worked correctly."); + } + + # Now use the menu to change the status of the invisible files. + assert_and_click("gnome_burger_menu"); + wait_still_screen(2); + assert_and_click("nautilus_toggle_hidden_files", timeout => '30', button => 'left', mousehide => '1'); + wait_still_screen(2); + + # Check the current status of the invisible files. + if (check_screen("nautilus_hidden_file_shown")) { + $hidden_b = 1; + } + else { + $hidden_b = 0; + } + + # Compare the results. They should be the same if everything up til now has worked correctly. + if ($hidden_a != $hidden_b) { + die("The menu item 'Show hidden files' should have changed the status of the invisible files, but the status has not changed which indicates that the menu item might not have worked correctly."); + } +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + diff --git a/tests/applications/nautilus/keyboard_shortcuts.pm b/tests/applications/nautilus/keyboard_shortcuts.pm new file mode 100644 index 0000000..a156d64 --- /dev/null +++ b/tests/applications/nautilus/keyboard_shortcuts.pm @@ -0,0 +1,39 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Display all screens of Keyboard shortcuts. + +sub run { + my $self = shift; + + assert_and_click("gnome_burger_menu"); + wait_still_screen(2); + + assert_and_click("nautilus_menu_shortcuts"); + wait_still_screen(2); + + assert_screen("nautilus_shortcuts_first"); + + send_key("right"); + send_key("ret"); + wait_still_screen(2); + + assert_screen("nautilus_shortcuts_second"); + + send_key("right"); + send_key("ret"); + wait_still_screen(2); + + assert_screen("nautilus_shortcuts_third"); +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + diff --git a/tests/applications/nautilus/move_file.pm b/tests/applications/nautilus/move_file.pm new file mode 100644 index 0000000..fa00ad9 --- /dev/null +++ b/tests/applications/nautilus/move_file.pm @@ -0,0 +1,52 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Move a file. + +sub run { + my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + + # Click onto a file to select it. + assert_and_click("nautilus_test_file"); + wait_still_screen(2); + + # Press the keyboard shortcut to cut the file + send_key("ctrl-x"); + + # Select a different location to place the file. + assert_and_click("nautilus_directory_downloads"); + wait_still_screen(2); + + # Check that we have entered the Downloads directory + assert_screen("nautilus_directory_reached_downloads"); + + # Put the file in the new location + send_key("ctrl-v"); + + # Check that the file has appeared. + assert_screen("nautilus_test_file"); + + # Go into the root console and verify the operation in the background. + $self->root_console(tty=>3); + + # Verify that the new file does not exist in the original location. + assert_script_run("! ls /home/test/Documents/markdown.md", fail_message => 'The test file still exists in the original location, but it should have been removed.'); + # And that it exists in the new location. + assert_script_run("ls /home/test/Downloads/markdown.md", fail_message => 'The test file has not been found in the expected location when it should have been copied there.', quiet => '0'); + +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + + diff --git a/tests/applications/nautilus/move_file_into.pm b/tests/applications/nautilus/move_file_into.pm new file mode 100644 index 0000000..e288971 --- /dev/null +++ b/tests/applications/nautilus/move_file_into.pm @@ -0,0 +1,61 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Move and copy files using the Move/Copy To menu items. + +sub run { + my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + + # Right click onto a file to select it and open the context menu + # for it. + assert_and_click("nautilus_test_file", button => "right"); + wait_still_screen(2); + + # Click on Copy To + assert_and_click("nautilus_context_copy_to"); + wait_still_screen(2); + + # Select a different location to place the file. + assert_and_click("nautilus_directory_downloads"); + wait_still_screen(2); + + # Click on Select to copy the file into the new location + assert_and_click("gnome_select_button"); + + # Right click on that file again, this time we will move it elsewhere. + assert_and_click("nautilus_test_file", button => "right"); + + # Click on Move to + assert_and_click("nautilus_context_move_to"); + + # Select a new location for this file + assert_and_click("nautilus_directory_videos"); + + # Click on Select to move the file into the new location. + assert_and_click("gnome_select_button"); + + # Go into the root console and verify the operation in the background. + $self->root_console(tty=>3); + + # Verify that the new file does not exist in the original location. + assert_script_run("! ls /home/test/Documents/markdown.md", fail_message => 'The test file has not been deleted from its original location.'); + # And that it now exists in the new locations. + assert_script_run("ls /home/test/Downloads/markdown.md", fail_message => 'The test file has not been found in the expected location.', quiet => '0'); + assert_script_run("ls /home/test/Downloads/markdown.md", fail_message => 'The test file has not been found in the excpected location.', quiet => '0'); + +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + + diff --git a/tests/applications/nautilus/new_instance.pm b/tests/applications/nautilus/new_instance.pm new file mode 100644 index 0000000..ba8c9a2 --- /dev/null +++ b/tests/applications/nautilus/new_instance.pm @@ -0,0 +1,39 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Open another instance of Nautilus. + +sub run { + my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + + # Click on the Burger menu to open it + assert_and_click("gnome_burger_menu"); + wait_still_screen(2); + + # Click on the new instance icon to create a new instance of Nautilus. + assert_and_click("nautilus_menu_new_instance"); + wait_still_screen(2); + + # Hit the Meta key to switch to the activities mode for further check. + send_key("super"); + wait_still_screen(2); + + # Confirm that two Nautilus windows exist in the view. + assert_screen("nautilus_instances_check"); + +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + + diff --git a/tests/applications/nautilus/open_new_tab.pm b/tests/applications/nautilus/open_new_tab.pm new file mode 100644 index 0000000..6cfb713 --- /dev/null +++ b/tests/applications/nautilus/open_new_tab.pm @@ -0,0 +1,40 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Open a new tab. + +sub run { + my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + + # Click on the Burger menu to open it + assert_and_click("gnome_burger_menu"); + wait_still_screen(2); + + # Click on the New tab to start a new tab of Nautilus. + assert_and_click("nautilus_menu_new_tab"); + wait_still_screen(2); + + # The new tab will open in the same directory, so let us choose + # another directory to be able to compare in the needle. + assert_and_click("nautilus_directory_videos"); + wait_still_screen(2); + + # Confirm that two tabs exists with Documents and Video locations. + assert_screen("nautilus_tabs_check"); + +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + + diff --git a/tests/applications/nautilus/permissions.pm b/tests/applications/nautilus/permissions.pm new file mode 100644 index 0000000..768216f --- /dev/null +++ b/tests/applications/nautilus/permissions.pm @@ -0,0 +1,66 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# View and change file permissions. + +sub run { + my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + + # Rigth click onto a file to open context menu. + assert_and_click("nautilus_test_file", button => "right"); + wait_still_screen(2); + + # Click on the Properties menu item + assert_and_click("nautilus_context_properties"); + wait_still_screen(2); + + # Check that the Properties window has appeared and close it. + assert_screen("nautilus_properties_check"); + send_key("esc"); + + # Send a key combination to open the Properties again. + send_key("ctrl-i"); + + # Check that the Properties window has appeared again. + assert_screen("nautilus_properties_check"); + + # Click on the Permissions tab + assert_and_click("nautilus_select_permissions"); + + # Check that the owner can read and write the file + assert_screen("nautilus_owner_permissions"); + + # Check that others cannot do anything. + assert_screen("nautilus_others_permissions"); + + # Set the permission for others to None + assert_and_click("nautilus_permissions_read_only"); + + # Click on Read Only to select it. + assert_and_click("nautilus_permissions_set_none"); + + # Close the Properties + send_key("esc"); + + # Go into the root console and verify the operation in the background. + $self->root_console(tty=>3); + + # Check that the permissions have been changed. + validate_script_output("ls -l /home/test/Documents/markdown.md", sub { m/-rw-r-----/ }); + +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + + diff --git a/tests/applications/nautilus/rename_file.pm b/tests/applications/nautilus/rename_file.pm new file mode 100644 index 0000000..3f70ae7 --- /dev/null +++ b/tests/applications/nautilus/rename_file.pm @@ -0,0 +1,46 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Rename a file. + +sub run { + my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + + # Click onto a file to select it. + assert_and_click("nautilus_test_file"); + + # Press the keyboard shortcut to rename the file + send_key("f2"); + + # Check that a rename dialogue has been displayed. + assert_screen("nautilus_rename_dialogue"); + + # Type a new name and confirm it. + type_very_safely("renamed"); + send_key("ret"); + + # Check that the file has been renamed. + assert_screen("nautilus_rename_check"); + + # Go into the root console and verify the operation in the background. + $self->root_console(tty=>3); + + # Verify that the new file exists in the location. + assert_script_run("ls /home/test/Documents/renamed.md", timeout => '60', fail_message => 'The renamed file has not been found in the location.', quiet => '0'); + +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + + diff --git a/tests/applications/nautilus/side_panel.pm b/tests/applications/nautilus/side_panel.pm new file mode 100644 index 0000000..709ccd7 --- /dev/null +++ b/tests/applications/nautilus/side_panel.pm @@ -0,0 +1,62 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Toggle and untoggle the side panel. + +sub run { + my $self = shift; + + # It seems that the following checks run so quickly that the tested + # virtual machine is unable to properly reload from the previous test + # and it keeps failing. + # Let's give it some time to settle. + sleep(5); + + my $side_panel = 0; + if (check_screen("nautilus_side_panel")) { + $side_panel = 1; + } + + # Switch off the side panel + send_key("f9"); + wait_still_screen(2); + + # Recheck if side panel is visible + my $off_panel = 0; + if (check_screen("nautilus_side_panel")) { + $off_panel = 1; + } + + # Compare the results, they should be different. + if ($off_panel == $side_panel) { + die("The side panel visibility should have been toggled and it is not. That indicates that the keyboard shortcut to toggle it does not work properly."); + } + + # Use menu to toggle the side panel back. + assert_and_click("gnome_burger_menu"); + wait_still_screen(2); + assert_and_click("nautilus_show_sidebar"); + wait_still_screen(2); + + # Recheck if side panel is visible + if (check_screen("nautilus_side_panel")) { + $off_panel = 1; + } + + # Compare the results. If everything has been ok until now, the values should not be different. + if ($off_panel != $side_panel) { + die("The side panel visibility should have been toggled back, but it has not been. That indicates that the menu item to toggle it does not work properly."); + } + +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + diff --git a/tests/applications/nautilus/star_file.pm b/tests/applications/nautilus/star_file.pm new file mode 100644 index 0000000..17859a7 --- /dev/null +++ b/tests/applications/nautilus/star_file.pm @@ -0,0 +1,44 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# Star a file and check it is displayed in the Starred folder. + +sub run { + my $self = shift; + + # Enter the Documents directory to get to the test data. + assert_and_dclick("nautilus_directory_documents"); + + # Right click onto a file to select it to see the + # context menu. + assert_and_click("nautilus_test_file", button => "right"); + wait_still_screen(2); + + # Click to Star it. + assert_and_click("nautilus_context_star"); + + # Check that a star gets solid on the right part of the selected file + assert_screen("nautilus_star_confirm"); + + # Click on Starred to see all the starred files in a new view. + assert_and_click("nautilus_directory_starred"); + wait_still_screen(2); + + # Check that the view switched to Starred + assert_screen("nautilus_starred_selected"); + + # Check that the file has appeared. + assert_screen("nautilus_test_file"); +} + +sub test_flags { + # Rollback to the previous state to make space for other parts. + return {always_rollback => 1}; +} + +1; + + +