diff --git a/needles/gnome/apps/gnome-text-editor/gte_about.json b/needles/gnome/apps/gnome-text-editor/gte_about.json new file mode 100644 index 00000000..2a45d8f6 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_about.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 824, + "ypos": 547, + "width": 118, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_about" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_about.png b/needles/gnome/apps/gnome-text-editor/gte_about.png new file mode 100644 index 00000000..e7b0db34 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_about.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_about_credits.json b/needles/gnome/apps/gnome-text-editor/gte_about_credits.json new file mode 100644 index 00000000..484f45b2 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_about_credits.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 551, + "ypos": 242, + "width": 58, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_about_credits" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_about_credits.png b/needles/gnome/apps/gnome-text-editor/gte_about_credits.png new file mode 100644 index 00000000..b2158b4e Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_about_credits.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_about_shown.json b/needles/gnome/apps/gnome-text-editor/gte_about_shown.json new file mode 100644 index 00000000..8a0a4254 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_about_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 448, + "ypos": 285, + "width": 127, + "height": 168, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_about_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_about_shown.png b/needles/gnome/apps/gnome-text-editor/gte_about_shown.png new file mode 100644 index 00000000..b2158b4e Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_about_shown.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_adwaita_used.json b/needles/gnome/apps/gnome-text-editor/gte_adwaita_used.json new file mode 100644 index 00000000..14317a7b --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_adwaita_used.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 8, + "ypos": 129, + "width": 182, + "height": 89, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_adwaita_used" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_adwaita_used.png b/needles/gnome/apps/gnome-text-editor/gte_adwaita_used.png new file mode 100644 index 00000000..38261ef2 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_adwaita_used.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_change_to_dark.json b/needles/gnome/apps/gnome-text-editor/gte_change_to_dark.json new file mode 100644 index 00000000..5a53b7a8 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_change_to_dark.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 929, + "ypos": 102, + "width": 63, + "height": 40, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_change_to_dark" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_change_to_dark.png b/needles/gnome/apps/gnome-text-editor/gte_change_to_dark.png new file mode 100644 index 00000000..6eb79547 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_change_to_dark.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_classic_used.json b/needles/gnome/apps/gnome-text-editor/gte_classic_used.json new file mode 100644 index 00000000..0f2157a3 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_classic_used.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 4, + "ypos": 131, + "width": 188, + "height": 89, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_classic_used" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_classic_used.png b/needles/gnome/apps/gnome-text-editor/gte_classic_used.png new file mode 100644 index 00000000..143db6c1 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_classic_used.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_cobalt_used.json b/needles/gnome/apps/gnome-text-editor/gte_cobalt_used.json new file mode 100644 index 00000000..15792fa7 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_cobalt_used.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 4, + "ypos": 127, + "width": 185, + "height": 92, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_cobalt_used" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_cobalt_used.png b/needles/gnome/apps/gnome-text-editor/gte_cobalt_used.png new file mode 100644 index 00000000..865c49c3 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_cobalt_used.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_code_highlighted.json b/needles/gnome/apps/gnome-text-editor/gte_code_highlighted.json new file mode 100644 index 00000000..c8af41f7 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_code_highlighted.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 7, + "height": 89, + "ypos": 131, + "width": 176, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_code_highlighted" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_code_highlighted.png b/needles/gnome/apps/gnome-text-editor/gte_code_highlighted.png new file mode 100644 index 00000000..0fef1d8b Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_code_highlighted.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_credits_shown.json b/needles/gnome/apps/gnome-text-editor/gte_credits_shown.json new file mode 100644 index 00000000..9cc38a10 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_credits_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 428, + "ypos": 460, + "width": 173, + "height": 40, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_credits_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_credits_shown.png b/needles/gnome/apps/gnome-text-editor/gte_credits_shown.png new file mode 100644 index 00000000..18af056d Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_credits_shown.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_dark_style_used.json b/needles/gnome/apps/gnome-text-editor/gte_dark_style_used.json new file mode 100644 index 00000000..008b4c3c --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_dark_style_used.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 5, + "ypos": 132, + "width": 188, + "height": 88, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_dark_style_used" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_dark_style_used.png b/needles/gnome/apps/gnome-text-editor/gte_dark_style_used.png new file mode 100644 index 00000000..3944bfcd Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_dark_style_used.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_darkadwaita_used.json b/needles/gnome/apps/gnome-text-editor/gte_darkadwaita_used.json new file mode 100644 index 00000000..c3578ce0 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_darkadwaita_used.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 6, + "ypos": 132, + "width": 183, + "height": 88, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_darkadwaita_used" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_darkadwaita_used.png b/needles/gnome/apps/gnome-text-editor/gte_darkadwaita_used.png new file mode 100644 index 00000000..ccd4aeb0 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_darkadwaita_used.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_darkclassic_used.json b/needles/gnome/apps/gnome-text-editor/gte_darkclassic_used.json new file mode 100644 index 00000000..e675d16f --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_darkclassic_used.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 6, + "ypos": 131, + "width": 187, + "height": 88, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_darkclassic_used" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_darkclassic_used.png b/needles/gnome/apps/gnome-text-editor/gte_darkclassic_used.png new file mode 100644 index 00000000..b7e0ca22 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_darkclassic_used.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_display_line_numbers.json b/needles/gnome/apps/gnome-text-editor/gte_display_line_numbers.json new file mode 100644 index 00000000..1b0104e1 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_display_line_numbers.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 829, + "ypos": 123, + "width": 98, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_display_line_numbers" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_display_line_numbers.png b/needles/gnome/apps/gnome-text-editor/gte_display_line_numbers.png new file mode 100644 index 00000000..2692154a Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_display_line_numbers.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_display_margin.json b/needles/gnome/apps/gnome-text-editor/gte_display_margin.json new file mode 100644 index 00000000..746dca89 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_display_margin.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 828, + "ypos": 152, + "width": 96, + "height": 25, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_display_margin" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_display_margin.png b/needles/gnome/apps/gnome-text-editor/gte_display_margin.png new file mode 100644 index 00000000..868c752d Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_display_margin.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_find_next_occurence.json b/needles/gnome/apps/gnome-text-editor/gte_find_next_occurence.json new file mode 100644 index 00000000..74a707d2 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_find_next_occurence.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 828, + "ypos": 94, + "width": 44, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_find_next_occurence" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_find_next_occurence.png b/needles/gnome/apps/gnome-text-editor/gte_find_next_occurence.png new file mode 100644 index 00000000..538b885e Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_find_next_occurence.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_found_text.json b/needles/gnome/apps/gnome-text-editor/gte_found_text.json new file mode 100644 index 00000000..334d473d --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_found_text.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 11, + "ypos": 178, + "width": 125, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_found_text" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_found_text.png b/needles/gnome/apps/gnome-text-editor/gte_found_text.png new file mode 100644 index 00000000..16e5fbc4 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_found_text.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_grid_on.json b/needles/gnome/apps/gnome-text-editor/gte_grid_on.json new file mode 100644 index 00000000..b9892b29 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_grid_on.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 8, + "ypos": 300, + "width": 334, + "height": 113, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_grid_on" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_grid_on.png b/needles/gnome/apps/gnome-text-editor/gte_grid_on.png new file mode 100644 index 00000000..76fdb2ab Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_grid_on.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_bread_main.json b/needles/gnome/apps/gnome-text-editor/gte_help_bread_main.json new file mode 100644 index 00000000..a94357d3 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_help_bread_main.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 8, + "ypos": 85, + "width": 135, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_help_bread_main" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_bread_main.png b/needles/gnome/apps/gnome-text-editor/gte_help_bread_main.png new file mode 100644 index 00000000..feaa38f2 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_help_bread_main.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_files.json b/needles/gnome/apps/gnome-text-editor/gte_help_files.json new file mode 100644 index 00000000..25bac7c0 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_help_files.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 10, + "ypos": 241, + "width": 139, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_help_files" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_files.png b/needles/gnome/apps/gnome-text-editor/gte_help_files.png new file mode 100644 index 00000000..4ae430ab Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_help_files.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_open_file.json b/needles/gnome/apps/gnome-text-editor/gte_help_open_file.json new file mode 100644 index 00000000..03927c5a --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_help_open_file.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 12, + "ypos": 125, + "width": 261, + "height": 36, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_help_open_file" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_open_file.png b/needles/gnome/apps/gnome-text-editor/gte_help_open_file.png new file mode 100644 index 00000000..def1ff1e Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_help_open_file.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_search.json b/needles/gnome/apps/gnome-text-editor/gte_help_search.json new file mode 100644 index 00000000..c0050d8d --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_help_search.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 11, + "ypos": 425, + "width": 153, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_help_search" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_search.png b/needles/gnome/apps/gnome-text-editor/gte_help_search.png new file mode 100644 index 00000000..c3025429 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_help_search.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_search_replace.json b/needles/gnome/apps/gnome-text-editor/gte_help_search_replace.json new file mode 100644 index 00000000..ea8632c2 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_help_search_replace.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 8, + "ypos": 127, + "width": 313, + "height": 37, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_help_search_replace" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_search_replace.png b/needles/gnome/apps/gnome-text-editor/gte_help_search_replace.png new file mode 100644 index 00000000..51e4fd9b Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_help_search_replace.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_shown.json b/needles/gnome/apps/gnome-text-editor/gte_help_shown.json new file mode 100644 index 00000000..a542922c --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_help_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 13, + "ypos": 109, + "width": 374, + "height": 38, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_help_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_help_shown.png b/needles/gnome/apps/gnome-text-editor/gte_help_shown.png new file mode 100644 index 00000000..3962321e Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_help_shown.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_line_deleted.json b/needles/gnome/apps/gnome-text-editor/gte_line_deleted.json new file mode 100644 index 00000000..82bedbd1 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_line_deleted.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 9, + "ypos": 174, + "width": 303, + "height": 42, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_line_deleted" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_line_deleted.png b/needles/gnome/apps/gnome-text-editor/gte_line_deleted.png new file mode 100644 index 00000000..ddc962c2 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_line_deleted.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_line_highlighted.json b/needles/gnome/apps/gnome-text-editor/gte_line_highlighted.json new file mode 100644 index 00000000..08c49215 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_line_highlighted.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 4, + "ypos": 90, + "width": 97, + "height": 244, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_line_highlighted" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_line_highlighted.png b/needles/gnome/apps/gnome-text-editor/gte_line_highlighted.png new file mode 100644 index 00000000..e46b875d Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_line_highlighted.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_line_word.json b/needles/gnome/apps/gnome-text-editor/gte_line_word.json new file mode 100644 index 00000000..b767d317 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_line_word.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 205, + "ypos": 180, + "width": 39, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_line_word" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_line_word.png b/needles/gnome/apps/gnome-text-editor/gte_line_word.png new file mode 100644 index 00000000..1f1dabbb Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_line_word.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_lines_numbered.json b/needles/gnome/apps/gnome-text-editor/gte_lines_numbered.json new file mode 100644 index 00000000..870228cf --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_lines_numbered.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 10, + "ypos": 93, + "width": 84, + "height": 238, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_lines_numbered" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_lines_numbered.png b/needles/gnome/apps/gnome-text-editor/gte_lines_numbered.png new file mode 100644 index 00000000..0bfd7333 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_lines_numbered.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_margin_displayed.json b/needles/gnome/apps/gnome-text-editor/gte_margin_displayed.json new file mode 100644 index 00000000..720acb96 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_margin_displayed.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 707, + "ypos": 72, + "width": 72, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_margin_displayed" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_margin_displayed.png b/needles/gnome/apps/gnome-text-editor/gte_margin_displayed.png new file mode 100644 index 00000000..5a799cf5 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_margin_displayed.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_new_document_opened.json b/needles/gnome/apps/gnome-text-editor/gte_new_document_opened.json new file mode 100644 index 00000000..f039d33b --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_new_document_opened.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "xpos": 455, + "ypos": 45, + "width": 113, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gedit_new_document_opened", + "gte_new_document_opened" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_new_document_opened.png b/needles/gnome/apps/gnome-text-editor/gte_new_document_opened.png new file mode 100644 index 00000000..877ebc86 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_new_document_opened.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_preferences_off.json b/needles/gnome/apps/gnome-text-editor/gte_preferences_off.json new file mode 100644 index 00000000..44c5411b --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_preferences_off.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 982, + "ypos": 96, + "width": 27, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_preferences_off" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_preferences_off.png b/needles/gnome/apps/gnome-text-editor/gte_preferences_off.png new file mode 100644 index 00000000..8836c5cb Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_preferences_off.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_preferences_submenu.json b/needles/gnome/apps/gnome-text-editor/gte_preferences_submenu.json new file mode 100644 index 00000000..45383af9 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_preferences_submenu.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 823, + "ypos": 448, + "width": 87, + "height": 26, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_preferences_submenu" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_preferences_submenu.png b/needles/gnome/apps/gnome-text-editor/gte_preferences_submenu.png new file mode 100644 index 00000000..4971a411 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_preferences_submenu.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_replace_line.json b/needles/gnome/apps/gnome-text-editor/gte_replace_line.json new file mode 100644 index 00000000..0fac4a1d --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_replace_line.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 569, + "ypos": 138, + "width": 76, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_replace_line" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_replace_line.png b/needles/gnome/apps/gnome-text-editor/gte_replace_line.png new file mode 100644 index 00000000..7d4050c7 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_replace_line.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_replace_occurence.json b/needles/gnome/apps/gnome-text-editor/gte_replace_occurence.json new file mode 100644 index 00000000..c73643b7 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_replace_occurence.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 802, + "ypos": 137, + "width": 57, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_replace_occurence" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_replace_occurence.png b/needles/gnome/apps/gnome-text-editor/gte_replace_occurence.png new file mode 100644 index 00000000..c93e6204 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_replace_occurence.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_select_adwaita.json b/needles/gnome/apps/gnome-text-editor/gte_select_adwaita.json new file mode 100644 index 00000000..2447e048 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_select_adwaita.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 761, + "ypos": 630, + "width": 62, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_select_adwaita" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_select_adwaita.png b/needles/gnome/apps/gnome-text-editor/gte_select_adwaita.png new file mode 100644 index 00000000..312de563 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_select_adwaita.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_select_highlighting.json b/needles/gnome/apps/gnome-text-editor/gte_select_highlighting.json new file mode 100644 index 00000000..51558dcf --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_select_highlighting.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 831, + "ypos": 430, + "width": 108, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_select_highlighting" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_select_highlighting.png b/needles/gnome/apps/gnome-text-editor/gte_select_highlighting.png new file mode 100644 index 00000000..17a1cc27 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_select_highlighting.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_settings_button.json b/needles/gnome/apps/gnome-text-editor/gte_settings_button.json new file mode 100644 index 00000000..7eab0e5f --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_settings_button.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 910, + "ypos": 45, + "width": 23, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_settings_button" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_settings_button.png b/needles/gnome/apps/gnome-text-editor/gte_settings_button.png new file mode 100644 index 00000000..4be8683a Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_settings_button.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_shortcuts_go_two.json b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_go_two.json new file mode 100644 index 00000000..b844b81c --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_go_two.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 519, + "ypos": 703, + "width": 32, + "height": 31, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_shortcuts_go_two" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_shortcuts_go_two.png b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_go_two.png new file mode 100644 index 00000000..484c3bbd Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_go_two.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_shortcuts_one.json b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_one.json new file mode 100644 index 00000000..547a5359 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_one.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 63, + "ypos": 113, + "width": 106, + "height": 22, + "type": "match" + }, + { + "xpos": 473, + "ypos": 115, + "width": 54, + "height": 18, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_shortcuts_one" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_shortcuts_one.png b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_one.png new file mode 100644 index 00000000..78345a20 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_one.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_shortcuts_two.json b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_two.json new file mode 100644 index 00000000..8111532a --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_two.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 60, + "ypos": 112, + "width": 73, + "height": 21, + "type": "match" + }, + { + "xpos": 517, + "ypos": 115, + "width": 96, + "height": 18, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_shortcuts_two" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_shortcuts_two.png b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_two.png new file mode 100644 index 00000000..b8802ecd Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_shortcuts_two.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_side_panel_on.json b/needles/gnome/apps/gnome-text-editor/gte_side_panel_on.json new file mode 100644 index 00000000..37a542fa --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_side_panel_on.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 949, + "ypos": 70, + "width": 67, + "height": 70, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_side_panel_on" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_side_panel_on.png b/needles/gnome/apps/gnome-text-editor/gte_side_panel_on.png new file mode 100644 index 00000000..69197c52 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_side_panel_on.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_text_added.json b/needles/gnome/apps/gnome-text-editor/gte_text_added.json new file mode 100644 index 00000000..6359933f --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_text_added.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 10, + "ypos": 175, + "width": 347, + "height": 40, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_text_added" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_text_added.png b/needles/gnome/apps/gnome-text-editor/gte_text_added.png new file mode 100644 index 00000000..3be83e3a Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_text_added.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_text_file_opened.json b/needles/gnome/apps/gnome-text-editor/gte_text_file_opened.json new file mode 100644 index 00000000..f5368f5b --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_text_file_opened.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 469, + "ypos": 35, + "width": 101, + "height": 42, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_text_file_opened" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_text_file_opened.png b/needles/gnome/apps/gnome-text-editor/gte_text_file_opened.png new file mode 100644 index 00000000..f5650a47 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_text_file_opened.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_text_replaced.json b/needles/gnome/apps/gnome-text-editor/gte_text_replaced.json new file mode 100644 index 00000000..197b2c5a --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_text_replaced.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 202, + "ypos": 177, + "width": 54, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_text_replaced" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_text_replaced.png b/needles/gnome/apps/gnome-text-editor/gte_text_replaced.png new file mode 100644 index 00000000..c6f02ff8 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_text_replaced.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_toggle_grid.json b/needles/gnome/apps/gnome-text-editor/gte_toggle_grid.json new file mode 100644 index 00000000..372ce5a6 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_toggle_grid.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 722, + "ypos": 453, + "width": 144, + "height": 27, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_toggle_grid" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_toggle_grid.png b/needles/gnome/apps/gnome-text-editor/gte_toggle_grid.png new file mode 100644 index 00000000..ece3a427 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_toggle_grid.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_toggle_line_highlight.json b/needles/gnome/apps/gnome-text-editor/gte_toggle_line_highlight.json new file mode 100644 index 00000000..63524098 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_toggle_line_highlight.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 726, + "ypos": 511, + "width": 145, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_toggle_line_highlight" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_toggle_line_highlight.png b/needles/gnome/apps/gnome-text-editor/gte_toggle_line_highlight.png new file mode 100644 index 00000000..db8fee33 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_toggle_line_highlight.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_toggle_side_panel.json b/needles/gnome/apps/gnome-text-editor/gte_toggle_side_panel.json new file mode 100644 index 00000000..98ab41fe --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_toggle_side_panel.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 725, + "ypos": 565, + "width": 149, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_toggle_side_panel" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_toggle_side_panel.png b/needles/gnome/apps/gnome-text-editor/gte_toggle_side_panel.png new file mode 100644 index 00000000..121d634c Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_toggle_side_panel.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_txt_file.json b/needles/gnome/apps/gnome-text-editor/gte_txt_file.json new file mode 100644 index 00000000..c20fd6a9 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_txt_file.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 177, + "ypos": 151, + "width": 90, + "height": 31, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_txt_file" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_txt_file.png b/needles/gnome/apps/gnome-text-editor/gte_txt_file.png new file mode 100644 index 00000000..7fd6d6ae Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_txt_file.png differ diff --git a/needles/gnome/apps/gnome-text-editor/gte_window_dismiss.json b/needles/gnome/apps/gnome-text-editor/gte_window_dismiss.json new file mode 100644 index 00000000..ebaf4199 --- /dev/null +++ b/needles/gnome/apps/gnome-text-editor/gte_window_dismiss.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 513, + "ypos": 95, + "width": 29, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gte_window_dismiss" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-text-editor/gte_window_dismiss.png b/needles/gnome/apps/gnome-text-editor/gte_window_dismiss.png new file mode 100644 index 00000000..9c10ba93 Binary files /dev/null and b/needles/gnome/apps/gnome-text-editor/gte_window_dismiss.png differ diff --git a/needles/gnome/gnome_burger_menu_gte.json b/needles/gnome/gnome_burger_menu_gte.json new file mode 100644 index 00000000..a9bc60a8 --- /dev/null +++ b/needles/gnome/gnome_burger_menu_gte.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "width": 26, + "type": "match", + "xpos": 947, + "height": 21, + "ypos": 44 + } + ], + "properties": [], + "tags": [ + "gnome_burger_menu" + ] +} \ No newline at end of file diff --git a/needles/gnome/gnome_burger_menu_gte.png b/needles/gnome/gnome_burger_menu_gte.png new file mode 100644 index 00000000..d0692b7d Binary files /dev/null and b/needles/gnome/gnome_burger_menu_gte.png differ diff --git a/needles/gnome/gnome_open_location_documents.json b/needles/gnome/gnome_open_location_documents.json new file mode 100644 index 00000000..6b596dda --- /dev/null +++ b/needles/gnome/gnome_open_location_documents.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 19, + "ypos": 168, + "width": 107, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gnome_open_location_documents" + ] +} \ No newline at end of file diff --git a/needles/gnome/gnome_open_location_documents.png b/needles/gnome/gnome_open_location_documents.png new file mode 100644 index 00000000..8696fe60 Binary files /dev/null and b/needles/gnome/gnome_open_location_documents.png differ diff --git a/templates.fif.json b/templates.fif.json index d470e6ff..a3f8f445 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -1054,6 +1054,23 @@ "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" } }, + "gnome_text_editor": { + "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/gnome-text-editor", + "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" + } + }, "desktop_update_graphical": { "profiles": { "fedora-KDE-live-iso-x86_64-*-64bit": 32, diff --git a/tests/applications/gnome-text-editor/aaa_setup.pm b/tests/applications/gnome-text-editor/aaa_setup.pm new file mode 100644 index 00000000..4a643864 --- /dev/null +++ b/tests/applications/gnome-text-editor/aaa_setup.pm @@ -0,0 +1,53 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This part of the suite prepares downloads the test data and sets up the environment. + +sub run { + my $self = shift; + + # Go to the root console to set up the test data and necessary stuff. + $self->root_console(tty=>3); + + # Get the test data from the test data repository. + check_and_install_git(); + download_testdata("gnome-text-editor", "Documents"); + # Return to Desktop + desktop_vt(); + + # Start the application + menu_launch_type("gnome-text-editor"); + # Check that it started + assert_screen("apps_run_texteditor"); + + # Open the test file + send_key("ctrl-o"); + wait_still_screen(2); + + # Open the documents location + assert_and_click("gnome_open_location_documents"); + + # Choose the file + assert_and_click("gte_txt_file"); + + # Open it + send_key("ret"); + wait_still_screen(3); + + # Make the application fullscreen + send_key("super-up"); + wait_still_screen(3); + + # Check that the document has been opened + assert_screen("gte_text_file_opened"); +} + +sub test_flags { + return { fatal => 1, milestone => 1 }; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/gnome-text-editor/about.pm b/tests/applications/gnome-text-editor/about.pm new file mode 100644 index 00000000..99ed3971 --- /dev/null +++ b/tests/applications/gnome-text-editor/about.pm @@ -0,0 +1,35 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This part tests that About can be displayed. + +sub run { + my $self = shift; + # Open the menu. + assert_and_click("gnome_burger_menu"); + wait_still_screen(3); + + # Choose the About item. + assert_and_click "gte_about"; + wait_still_screen(2); + + # Check that the About dialogue was opened. + assert_screen "gte_about_shown"; + + # Click on Credits to move to another screen. + assert_and_click "gte_about_credits"; + wait_still_screen(2); + + # Check that Credits were shown. + assert_screen "gte_credits_shown"; +} + +sub test_flags { + return { always_rollback => 1 }; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/gnome-text-editor/delete_line.pm b/tests/applications/gnome-text-editor/delete_line.pm new file mode 100644 index 00000000..caa39d12 --- /dev/null +++ b/tests/applications/gnome-text-editor/delete_line.pm @@ -0,0 +1,41 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This part tests that a line of text can be deleted +# and the deletion reverted. + +sub run { + my $self = shift; + # Click on a word on the line. + assert_and_click("gte_line_word", clicktime=>0.3); + wait_still_screen(2); + # Delete the line + send_key("home"); + sleep 1; + send_key("shift-end"); + sleep 1; + send_key("delete"); + sleep 1; + # Move cursor out of the way. + send_key("ctrl-end"); + # Check that the line was deleted. + assert_screen "gte_line_deleted"; + + # Use combo to revert the action. + send_key "ctrl-z"; + sleep 1; + # Move cursor out of the way. + send_key "ctrl-end"; + # Check that the line was re-added. + assert_screen "gte_text_added"; +} + +sub test_flags { + return { always_rollback => 1 }; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/gnome-text-editor/find_text.pm b/tests/applications/gnome-text-editor/find_text.pm new file mode 100644 index 00000000..9760d7bd --- /dev/null +++ b/tests/applications/gnome-text-editor/find_text.pm @@ -0,0 +1,65 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This part tests that a piece of test can be found, that highlighting can be removed again, +# that search and replace can be used, that misspelt words can be highlighted, and +# that spelling control can be used to find and replace spelling mistakes. + +sub run { + my $self = shift; + # Search the text for specific string. + # At first, Wait 1 second for the test to get ready, as the control character was not properly recognized + # when the test started immediately after the rollback. + sleep 1; + # Invoke the Find dialogue + send_key "ctrl-f"; + # Type string + type_safely "sweetest"; + # Confirm + send_key "ret"; + # Check that correct word is highlighted. + assert_screen "gte_found_text"; + + # This tests that a highlight can be removed from a search result. + # Use combo for removing the highlighting. + send_key "ctrl-end"; + # Check that the highlighting was removed. + assert_screen "gte_text_added"; + + # We will continue to search and replace a piece of text. + # Open Switch and replace + send_key "ctrl-h"; + sleep 1; + # Type string. + type_safely "Gale"; + # Click to get onto the replace line. + assert_and_click("gte_replace_line"); + # Delete, what is typed there + send_key("ctrl-a"); + sleep 1; + send_key("delete"); + # Type replacement string. We purposefully produce a typo. + type_safely "Wiend"; + # Click to find the string + assert_and_click "gte_find_next_occurence"; + # and replace it. + assert_and_click "gte_replace_occurence"; + # Get rid of the screen. + send_key("ctrl-f"); + send_key("esc"); + # Move the cursor away + send_key("ctrl-end"); + sleep 1; + # Check that the string was replaced. + assert_screen "gte_text_replaced"; +} + +sub test_flags { + return { always_rollback => 1 }; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/gnome-text-editor/line_numbering.pm b/tests/applications/gnome-text-editor/line_numbering.pm new file mode 100644 index 00000000..35dd4a5b --- /dev/null +++ b/tests/applications/gnome-text-editor/line_numbering.pm @@ -0,0 +1,55 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This part tests that we can do line numbering, +# line navigation, line highlighting and show side and bottom panels. + +sub run { + my $self = shift; + + # Switches on line numbering. + assert_and_click "gte_settings_button"; + wait_still_screen(3); + assert_and_click "gte_display_line_numbers"; + assert_screen "gte_lines_numbered"; + + # Highlights the current line. + # Use the menu to switch on highlighting. + assert_and_click("gnome_burger_menu"); + assert_and_click("gte_preferences_submenu"); + assert_and_click("gte_toggle_line_highlight"); + # Dismiss the menu + assert_and_click("gte_preferences_off"); + # Assert that it worked. + assert_screen "gte_line_highlighted"; + + # Displays the right margin. + assert_and_click "gte_settings_button"; + assert_and_click "gte_display_margin"; + assert_screen "gte_margin_displayed"; + + # Display the side panel. + assert_and_click("gnome_burger_menu"); + assert_and_click("gte_preferences_submenu"); + assert_and_click("gte_toggle_side_panel"); + assert_and_click("gte_preferences_off"); + assert_screen "gte_side_panel_on"; + + # Display the grid. + assert_and_click("gnome_burger_menu"); + assert_and_click("gte_preferences_submenu"); + assert_and_click("gte_toggle_grid"); + assert_and_click("gte_preferences_off"); + assert_screen "gte_grid_on"; +} + + +sub test_flags { + return { always_rollback => 1 }; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/gnome-text-editor/new_file.pm b/tests/applications/gnome-text-editor/new_file.pm new file mode 100644 index 00000000..fa683eab --- /dev/null +++ b/tests/applications/gnome-text-editor/new_file.pm @@ -0,0 +1,49 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This part tests that we can create a new file that +# opens in a new panel, that we can add text, display +# text statistics and highlight code and save the file. + +sub run { + my $self = shift; + + # First we will use key combo to open the new document window. + sleep 2; + send_key("ctrl-t"); + assert_screen "gte_new_document_opened"; + + # Now let us produce some text + type_safely "# My shopping list.\n\n"; + type_safely "* **Milk**\n* *Apples*\n* `Bananas`\n* Bread\n* Butter\n* Cheese\n\n"; + type_safely "Happy shopping."; + + # Switch on Markdown Highlighting. + assert_and_click("gte_settings_button"); + assert_and_click "gte_select_highlighting"; + type_very_safely "markdown"; + send_key "ret"; + assert_and_click("gte_window_dismiss"); + assert_screen "gte_code_highlighted"; + + # Save the newly created file. + send_key("ctrl-s"); + wait_still_screen(3); + type_very_safely "list.md"; + send_key("ret"); + # Check that the file has been created + $self->root_console(tty=>3); + assert_script_run "ls /home/test/list.md"; + desktop_vt(); +} + + +sub test_flags { + return { milestone => 1 }; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/gnome-text-editor/show_help.pm b/tests/applications/gnome-text-editor/show_help.pm new file mode 100644 index 00000000..90eb0c74 --- /dev/null +++ b/tests/applications/gnome-text-editor/show_help.pm @@ -0,0 +1,32 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This part tests that Help can be shown. + +sub run { + my $self = shift; + + # Open Help. + send_key("f1"); + assert_screen "gte_help_shown"; + + # Navigate through several screens + assert_and_click "gte_help_files"; + assert_screen "gte_help_open_file"; + assert_and_click "gte_help_bread_main"; + # Another screen + assert_and_click "gte_help_search"; + assert_screen("gte_help_search_replace"); + assert_and_click "gte_help_bread_main"; +} + + +sub test_flags { + return { always_rollback => 1 }; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/gnome-text-editor/show_shortcuts.pm b/tests/applications/gnome-text-editor/show_shortcuts.pm new file mode 100644 index 00000000..92eb39a6 --- /dev/null +++ b/tests/applications/gnome-text-editor/show_shortcuts.pm @@ -0,0 +1,29 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This part tests that Shortcuts can be shown. + +sub run { + my $self = shift; + + # Open Shortcuts. + send_key("ctrl-?"); + + # Assert the screen and move to next one + assert_screen "gte_shortcuts_one"; + assert_and_click "gte_shortcuts_go_two"; + + # Assert the screen and move to next one + assert_screen "gte_shortcuts_two"; +} + + +sub test_flags { + return { always_rollback => 1 }; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/gnome-text-editor/skins.pm b/tests/applications/gnome-text-editor/skins.pm new file mode 100644 index 00000000..21e611c1 --- /dev/null +++ b/tests/applications/gnome-text-editor/skins.pm @@ -0,0 +1,56 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This part tests that different color varieties can be used. + +sub run { + my $self = shift; + + # Check that dark style can be used. + assert_and_click("gnome_burger_menu"); + assert_and_click("gte_change_to_dark"); + wait_still_screen(2); + send_key("esc"); + assert_screen("gte_dark_style_used"); + + + # Check that color varieties can be used. + # We will only test several of the varieties + assert_and_click("gnome_burger_menu"); + assert_and_click("gte_preferences_submenu"); + wait_still_screen(2); + # Click on Adwaita; + assert_and_click("gte_select_adwaita"); + assert_screen("gte_adwaita_used"); + # Switch to dark Adwaita + send_key("tab"); + sleep 1; + send_key("ret"); + assert_screen("gte_darkadwaita_used"); + # Switch to Classic + send_key("tab"); + sleep 1; + send_key("ret"); + assert_screen("gte_classic_used"); + # Switch to DarkClassic + send_key("tab"); + sleep 1; + send_key("ret"); + assert_screen("gte_darkclassic_used"); + # Switch to Cobalt + send_key("tab"); + sleep 1; + send_key("ret"); + assert_screen("gte_cobalt_used"); +} + + +sub test_flags { + return { always_rollback => 1 }; +} + +1; + +# vim: set sw=4 et: