diff --git a/check-needles.py b/check-needles.py index f00c2fba..217eea7f 100755 --- a/check-needles.py +++ b/check-needles.py @@ -230,6 +230,12 @@ for app in ("calculator", "clocks", "files", "terminal", "editor"): testtags.append("navigation_terminal_fullscreen") testtags.extend(f"anaconda_main_hub_{fsys}" for fsys in ('language_support', 'selec_packages', 'time_date', 'create_user','keyboard_layout')) +# for Accessibility tests +for letter in 'abcdefghijklmnopqrstuvwxyz': + testtags.append(f"acc_keyboard_{letter}") +for test in ('largetext', 'high_contrast', 'zoom','shapes', 'scrollbars'): + testtags.append(f"acc_seeing_{test}") + testtags.append(f"acc_seeing_{test}_enabled") # retcode tracker ret = 0 diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu-larger.json b/needles/gnome/apps/accessibility/acc_accessibility_menu-larger.json new file mode 100644 index 00000000..43ad1aba --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_accessibility_menu-larger.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 861, + "ypos": 7, + "width": 29, + "height": 27, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_accessibility_menu" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu-larger.png b/needles/gnome/apps/accessibility/acc_accessibility_menu-larger.png new file mode 100644 index 00000000..3919de3d Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_accessibility_menu-larger.png differ diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu-zoomed.json b/needles/gnome/apps/accessibility/acc_accessibility_menu-zoomed.json new file mode 100644 index 00000000..7fd0744d --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_accessibility_menu-zoomed.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 735, + "ypos": 14, + "width": 44, + "height": 41, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_accessibility_menu" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu-zoomed.png b/needles/gnome/apps/accessibility/acc_accessibility_menu-zoomed.png new file mode 100644 index 00000000..0dcd7796 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_accessibility_menu-zoomed.png differ diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu.json b/needles/gnome/apps/accessibility/acc_accessibility_menu.json new file mode 100644 index 00000000..b0b7373e --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_accessibility_menu.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 881, + "ypos": 5, + "width": 21, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_accessibility_menu" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu.png b/needles/gnome/apps/accessibility/acc_accessibility_menu.png new file mode 100644 index 00000000..0fd8e783 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_accessibility_menu.png differ diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-high_contrast.json b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-high_contrast.json new file mode 100644 index 00000000..a25f15c4 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-high_contrast.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 796, + "ypos": 512, + "width": 140, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_accessibility_menu_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-high_contrast.png b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-high_contrast.png new file mode 100644 index 00000000..af5b31ad Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-high_contrast.png differ diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-larger.json b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-larger.json new file mode 100644 index 00000000..b366d408 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-larger.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 754, + "ypos": 522, + "width": 177, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_accessibility_menu_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-larger.png b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-larger.png new file mode 100644 index 00000000..72756784 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown-larger.png differ diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu_shown.json b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown.json new file mode 100644 index 00000000..96a6a1e9 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 796, + "ypos": 512, + "width": 145, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_accessibility_menu_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_accessibility_menu_shown.png b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown.png new file mode 100644 index 00000000..dde559a3 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_accessibility_menu_shown.png differ diff --git a/needles/gnome/apps/accessibility/acc_askfedora_homepage-20240528.json b/needles/gnome/apps/accessibility/acc_askfedora_homepage-20240528.json new file mode 100644 index 00000000..51bfff54 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_askfedora_homepage-20240528.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "height": 51, + "ypos": 154, + "width": 224, + "type": "match", + "xpos": 12 + } + ], + "properties": [], + "tags": [ + "acc_askfedora_homepage" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_askfedora_homepage-20240528.png b/needles/gnome/apps/accessibility/acc_askfedora_homepage-20240528.png new file mode 100644 index 00000000..464450e4 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_askfedora_homepage-20240528.png differ diff --git a/needles/gnome/apps/accessibility/acc_askfedora_homepage.json b/needles/gnome/apps/accessibility/acc_askfedora_homepage.json new file mode 100644 index 00000000..07ced3be --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_askfedora_homepage.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 7, + "ypos": 152, + "width": 224, + "height": 51, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_askfedora_homepage" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_askfedora_homepage.png b/needles/gnome/apps/accessibility/acc_askfedora_homepage.png new file mode 100644 index 00000000..da79f565 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_askfedora_homepage.png differ diff --git a/needles/gnome/apps/accessibility/acc_clicking_hover_click.json b/needles/gnome/apps/accessibility/acc_clicking_hover_click.json new file mode 100644 index 00000000..2d8365e9 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_clicking_hover_click.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 369, + "ypos": 392, + "width": 77, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_clicking_hover_click" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_clicking_hover_click.png b/needles/gnome/apps/accessibility/acc_clicking_hover_click.png new file mode 100644 index 00000000..0ea51203 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_clicking_hover_click.png differ diff --git a/needles/gnome/apps/accessibility/acc_clicking_menu_shown.json b/needles/gnome/apps/accessibility/acc_clicking_menu_shown.json new file mode 100644 index 00000000..1bd5eace --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_clicking_menu_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 161, + "ypos": 112, + "width": 56, + "height": 98, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_clicking_menu_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_clicking_menu_shown.png b/needles/gnome/apps/accessibility/acc_clicking_menu_shown.png new file mode 100644 index 00000000..54262d72 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_clicking_menu_shown.png differ diff --git a/needles/gnome/apps/accessibility/acc_clicking_postclick.json b/needles/gnome/apps/accessibility/acc_clicking_postclick.json new file mode 100644 index 00000000..a690378b --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_clicking_postclick.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 414, + "ypos": 466, + "width": 59, + "height": 55, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_clicking_postclick" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_clicking_postclick.png b/needles/gnome/apps/accessibility/acc_clicking_postclick.png new file mode 100644 index 00000000..3f6f8f36 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_clicking_postclick.png differ diff --git a/needles/gnome/apps/accessibility/acc_clicking_select_click.json b/needles/gnome/apps/accessibility/acc_clicking_select_click.json new file mode 100644 index 00000000..c264431b --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_clicking_select_click.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 394, + "ypos": 360, + "width": 140, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_clicking_select_click" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_clicking_select_click.png b/needles/gnome/apps/accessibility/acc_clicking_select_click.png new file mode 100644 index 00000000..a404b49e Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_clicking_select_click.png differ diff --git a/needles/gnome/apps/accessibility/acc_clicking_settings_titlebar.json b/needles/gnome/apps/accessibility/acc_clicking_settings_titlebar.json new file mode 100644 index 00000000..d74cfcf3 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_clicking_settings_titlebar.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 96, + "ypos": 42, + "width": 65, + "height": 25, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_clicking_settings_titlebar" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_clicking_settings_titlebar.png b/needles/gnome/apps/accessibility/acc_clicking_settings_titlebar.png new file mode 100644 index 00000000..f3959a90 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_clicking_settings_titlebar.png differ diff --git a/needles/gnome/apps/accessibility/acc_clicking_simulate_rclick.json b/needles/gnome/apps/accessibility/acc_clicking_simulate_rclick.json new file mode 100644 index 00000000..6f1294c5 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_clicking_simulate_rclick.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 367, + "ypos": 337, + "width": 177, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_clicking_simulate_rclick" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_clicking_simulate_rclick.png b/needles/gnome/apps/accessibility/acc_clicking_simulate_rclick.png new file mode 100644 index 00000000..7b4fc047 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_clicking_simulate_rclick.png differ diff --git a/needles/gnome/apps/accessibility/acc_clicking_switcher_on.json b/needles/gnome/apps/accessibility/acc_clicking_switcher_on.json new file mode 100644 index 00000000..3f5c755b --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_clicking_switcher_on.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 833, + "ypos": 339, + "width": 54, + "height": 37, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_clicking_switcher_on" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_clicking_switcher_on.png b/needles/gnome/apps/accessibility/acc_clicking_switcher_on.png new file mode 100644 index 00000000..784a7447 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_clicking_switcher_on.png differ diff --git a/needles/gnome/apps/accessibility/acc_fedora_homepage.json b/needles/gnome/apps/accessibility/acc_fedora_homepage.json new file mode 100644 index 00000000..cf0f38b2 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_fedora_homepage.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 234, + "ypos": 83, + "width": 217, + "height": 25, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_fedora_homepage" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_fedora_homepage.png b/needles/gnome/apps/accessibility/acc_fedora_homepage.png new file mode 100644 index 00000000..2ae1d336 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_fedora_homepage.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_a.json b/needles/gnome/apps/accessibility/acc_keyboard_a.json new file mode 100644 index 00000000..56a0237f --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_a.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 255, + "ypos": 630, + "width": 20, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_a" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_a.png b/needles/gnome/apps/accessibility/acc_keyboard_a.png new file mode 100644 index 00000000..a819280f Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_a.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_c.json b/needles/gnome/apps/accessibility/acc_keyboard_c.json new file mode 100644 index 00000000..05b26b8c --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_c.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 388, + "ypos": 681, + "width": 19, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_c" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_c.png b/needles/gnome/apps/accessibility/acc_keyboard_c.png new file mode 100644 index 00000000..0691d2bb Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_c.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_d.json b/needles/gnome/apps/accessibility/acc_keyboard_d.json new file mode 100644 index 00000000..c16dafe9 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_d.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 361, + "ypos": 625, + "width": 20, + "height": 26, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_d" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_d.png b/needles/gnome/apps/accessibility/acc_keyboard_d.png new file mode 100644 index 00000000..22dba10f Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_d.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_dot.json b/needles/gnome/apps/accessibility/acc_keyboard_dot.json new file mode 100644 index 00000000..527af55f --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_dot.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 699, + "ypos": 680, + "width": 20, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_dot" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_dot.png b/needles/gnome/apps/accessibility/acc_keyboard_dot.png new file mode 100644 index 00000000..ea3c55dc Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_dot.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_e.json b/needles/gnome/apps/accessibility/acc_keyboard_e.json new file mode 100644 index 00000000..08d68df8 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_e.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 335, + "ypos": 577, + "width": 20, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_e" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_e.png b/needles/gnome/apps/accessibility/acc_keyboard_e.png new file mode 100644 index 00000000..963c9605 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_e.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_enter.json b/needles/gnome/apps/accessibility/acc_keyboard_enter.json new file mode 100644 index 00000000..63f77448 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_enter.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 746, + "ypos": 626, + "width": 33, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_enter" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_enter.png b/needles/gnome/apps/accessibility/acc_keyboard_enter.png new file mode 100644 index 00000000..69aa02dd Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_enter.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_f.json b/needles/gnome/apps/accessibility/acc_keyboard_f.json new file mode 100644 index 00000000..f1bbc439 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_f.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 414, + "ypos": 625, + "width": 16, + "height": 26, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_f" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_f.png b/needles/gnome/apps/accessibility/acc_keyboard_f.png new file mode 100644 index 00000000..e72077cf Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_f.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_g.json b/needles/gnome/apps/accessibility/acc_keyboard_g.json new file mode 100644 index 00000000..316d91b1 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_g.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 463, + "ypos": 629, + "width": 24, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_g" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_g.png b/needles/gnome/apps/accessibility/acc_keyboard_g.png new file mode 100644 index 00000000..af757036 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_g.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_j.json b/needles/gnome/apps/accessibility/acc_keyboard_j.json new file mode 100644 index 00000000..ac1f931d --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_j.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 569, + "ypos": 624, + "width": 20, + "height": 30, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_j" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_j.png b/needles/gnome/apps/accessibility/acc_keyboard_j.png new file mode 100644 index 00000000..82ae3235 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_j.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_k.json b/needles/gnome/apps/accessibility/acc_keyboard_k.json new file mode 100644 index 00000000..b9ae0f59 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_k.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 621, + "ypos": 625, + "width": 19, + "height": 27, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_k" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_k.png b/needles/gnome/apps/accessibility/acc_keyboard_k.png new file mode 100644 index 00000000..fa7326fb Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_k.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_m.json b/needles/gnome/apps/accessibility/acc_keyboard_m.json new file mode 100644 index 00000000..9ba23cf3 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_m.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 589, + "ypos": 681, + "width": 28, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_m" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_m.png b/needles/gnome/apps/accessibility/acc_keyboard_m.png new file mode 100644 index 00000000..6a0edac6 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_m.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_o.json b/needles/gnome/apps/accessibility/acc_keyboard_o.json new file mode 100644 index 00000000..3c801238 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_o.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 648, + "ypos": 578, + "width": 15, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_o" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_o.png b/needles/gnome/apps/accessibility/acc_keyboard_o.png new file mode 100644 index 00000000..a6599666 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_o.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_p.json b/needles/gnome/apps/accessibility/acc_keyboard_p.json new file mode 100644 index 00000000..32afb2a6 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_p.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 698, + "ypos": 575, + "width": 19, + "height": 27, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_p" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_p.png b/needles/gnome/apps/accessibility/acc_keyboard_p.png new file mode 100644 index 00000000..90fe1777 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_p.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_r.json b/needles/gnome/apps/accessibility/acc_keyboard_r.json new file mode 100644 index 00000000..c5d3e90a --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_r.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 386, + "ypos": 576, + "width": 18, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_r" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_r.png b/needles/gnome/apps/accessibility/acc_keyboard_r.png new file mode 100644 index 00000000..153ccb25 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_r.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_s.json b/needles/gnome/apps/accessibility/acc_keyboard_s.json new file mode 100644 index 00000000..9e37bbb4 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_s.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 306, + "ypos": 630, + "width": 26, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_s" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_s.png b/needles/gnome/apps/accessibility/acc_keyboard_s.png new file mode 100644 index 00000000..3ff5007b Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_s.png differ diff --git a/needles/gnome/apps/accessibility/acc_keyboard_t.json b/needles/gnome/apps/accessibility/acc_keyboard_t.json new file mode 100644 index 00000000..99293d36 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_keyboard_t.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 439, + "ypos": 575, + "width": 21, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_keyboard_t" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_keyboard_t.png b/needles/gnome/apps/accessibility/acc_keyboard_t.png new file mode 100644 index 00000000..a2732e95 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_keyboard_t.png differ diff --git a/needles/gnome/apps/accessibility/acc_onscreen_keyboard_visible.json b/needles/gnome/apps/accessibility/acc_onscreen_keyboard_visible.json new file mode 100644 index 00000000..4b17cd1d --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_onscreen_keyboard_visible.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 739, + "ypos": 727, + "width": 43, + "height": 28, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_onscreen_keyboard_visible" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_onscreen_keyboard_visible.png b/needles/gnome/apps/accessibility/acc_onscreen_keyboard_visible.png new file mode 100644 index 00000000..f858ab5c Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_onscreen_keyboard_visible.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_cursor_size.json b/needles/gnome/apps/accessibility/acc_seeing_cursor_size.json new file mode 100644 index 00000000..8972e4a3 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_cursor_size.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 370, + "ypos": 329, + "width": 78, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_cursor_size" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_cursor_size.png b/needles/gnome/apps/accessibility/acc_seeing_cursor_size.png new file mode 100644 index 00000000..cae5bb09 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_cursor_size.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_high_contrast.json b/needles/gnome/apps/accessibility/acc_seeing_high_contrast.json new file mode 100644 index 00000000..be0bc4f3 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_high_contrast.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 366, + "ypos": 112, + "width": 97, + "height": 18, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_high_contrast" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_high_contrast.png b/needles/gnome/apps/accessibility/acc_seeing_high_contrast.png new file mode 100644 index 00000000..0b5e6f26 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_high_contrast.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_high_contrast_enabled.json b/needles/gnome/apps/accessibility/acc_seeing_high_contrast_enabled.json new file mode 100644 index 00000000..3b85a40d --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_high_contrast_enabled.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 369, + "ypos": 111, + "width": 98, + "height": 41, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_high_contrast_enabled" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_high_contrast_enabled.png b/needles/gnome/apps/accessibility/acc_seeing_high_contrast_enabled.png new file mode 100644 index 00000000..b6c9df08 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_high_contrast_enabled.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_largest_cursor.json b/needles/gnome/apps/accessibility/acc_seeing_largest_cursor.json new file mode 100644 index 00000000..b6979135 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_largest_cursor.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 662, + "ypos": 391, + "width": 74, + "height": 96, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_largest_cursor" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_largest_cursor.png b/needles/gnome/apps/accessibility/acc_seeing_largest_cursor.png new file mode 100644 index 00000000..6e5fecc8 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_largest_cursor.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_largest_cursor_enabled.json b/needles/gnome/apps/accessibility/acc_seeing_largest_cursor_enabled.json new file mode 100644 index 00000000..af985714 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_largest_cursor_enabled.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 785, + "ypos": 379, + "width": 66, + "height": 51, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_largest_cursor_enabled" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_largest_cursor_enabled.png b/needles/gnome/apps/accessibility/acc_seeing_largest_cursor_enabled.png new file mode 100644 index 00000000..c6c82684 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_largest_cursor_enabled.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_largetext-enlarged.json b/needles/gnome/apps/accessibility/acc_seeing_largetext-enlarged.json new file mode 100644 index 00000000..a3b4b60f --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_largetext-enlarged.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 324, + "ypos": 310, + "width": 85, + "height": 43, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_largetext" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_largetext-enlarged.png b/needles/gnome/apps/accessibility/acc_seeing_largetext-enlarged.png new file mode 100644 index 00000000..e4dcbb0b Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_largetext-enlarged.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_largetext.json b/needles/gnome/apps/accessibility/acc_seeing_largetext.json new file mode 100644 index 00000000..a7c79c48 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_largetext.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 366, + "ypos": 272, + "width": 79, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_largetext" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_largetext.png b/needles/gnome/apps/accessibility/acc_seeing_largetext.png new file mode 100644 index 00000000..65126e7f Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_largetext.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_largetext_enabled.json b/needles/gnome/apps/accessibility/acc_seeing_largetext_enabled.json new file mode 100644 index 00000000..71838a84 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_largetext_enabled.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 323, + "ypos": 307, + "width": 113, + "height": 47, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_largetext_enabled" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_largetext_enabled.png b/needles/gnome/apps/accessibility/acc_seeing_largetext_enabled.png new file mode 100644 index 00000000..a83ee713 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_largetext_enabled.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_scrollbars.json b/needles/gnome/apps/accessibility/acc_seeing_scrollbars.json new file mode 100644 index 00000000..4ab4449f --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_scrollbars.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 367, + "ypos": 438, + "width": 159, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_scrollbars" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_scrollbars.png b/needles/gnome/apps/accessibility/acc_seeing_scrollbars.png new file mode 100644 index 00000000..4773957f Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_scrollbars.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_scrollbars_enabled.json b/needles/gnome/apps/accessibility/acc_seeing_scrollbars_enabled.json new file mode 100644 index 00000000..2e50bfaa --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_scrollbars_enabled.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 238, + "ypos": 242, + "width": 20, + "height": 90, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_scrollbars_enabled" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_scrollbars_enabled.png b/needles/gnome/apps/accessibility/acc_seeing_scrollbars_enabled.png new file mode 100644 index 00000000..4d066c7a Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_scrollbars_enabled.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_shapes-20240530.json b/needles/gnome/apps/accessibility/acc_seeing_shapes-20240530.json new file mode 100644 index 00000000..ea60e86f --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_shapes-20240530.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 369, + "ypos": 163, + "width": 99, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_shapes" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_shapes-20240530.png b/needles/gnome/apps/accessibility/acc_seeing_shapes-20240530.png new file mode 100644 index 00000000..2be2b9ad Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_shapes-20240530.png differ diff --git a/needles/gnome/apps/accessibility/acc_seeing_shapes_enabled.json b/needles/gnome/apps/accessibility/acc_seeing_shapes_enabled.json new file mode 100644 index 00000000..da2ec057 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_seeing_shapes_enabled.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 859, + "ypos": 114, + "width": 52, + "height": 86, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_seeing_shapes_enabled" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_seeing_shapes_enabled.png b/needles/gnome/apps/accessibility/acc_seeing_shapes_enabled.png new file mode 100644 index 00000000..78f8722d Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_seeing_shapes_enabled.png differ diff --git a/needles/gnome/apps/accessibility/acc_select_zoom.json b/needles/gnome/apps/accessibility/acc_select_zoom.json new file mode 100644 index 00000000..244a59f3 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_select_zoom.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 369, + "ypos": 412, + "width": 75, + "height": 27, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_select_zoom" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_select_zoom.png b/needles/gnome/apps/accessibility/acc_select_zoom.png new file mode 100644 index 00000000..d4859958 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_select_zoom.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_fedora_typed.json b/needles/gnome/apps/accessibility/acc_typing_fedora_typed.json new file mode 100644 index 00000000..18daaefb --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_fedora_typed.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 370, + "ypos": 396, + "width": 45, + "height": 35, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_typing_fedora_typed" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_typing_fedora_typed.png b/needles/gnome/apps/accessibility/acc_typing_fedora_typed.png new file mode 100644 index 00000000..7b55d816 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_fedora_typed.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_multiple_typed.json b/needles/gnome/apps/accessibility/acc_typing_multiple_typed.json new file mode 100644 index 00000000..ea4f9f25 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_multiple_typed.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 366, + "ypos": 396, + "width": 133, + "height": 36, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_typing_multiple_typed" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_typing_multiple_typed.png b/needles/gnome/apps/accessibility/acc_typing_multiple_typed.png new file mode 100644 index 00000000..9d62f411 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_multiple_typed.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_one_letter.json b/needles/gnome/apps/accessibility/acc_typing_one_letter.json new file mode 100644 index 00000000..25b4e3b5 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_one_letter.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 367, + "ypos": 392, + "width": 66, + "height": 41, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_typing_one_letter" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_typing_one_letter.png b/needles/gnome/apps/accessibility/acc_typing_one_letter.png new file mode 100644 index 00000000..ed9926eb Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_one_letter.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_screen_keyboard.json b/needles/gnome/apps/accessibility/acc_typing_screen_keyboard.json new file mode 100644 index 00000000..a6d70ca4 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_screen_keyboard.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 367, + "ypos": 112, + "width": 118, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_typing_screen_keyboard" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_typing_screen_keyboard.png b/needles/gnome/apps/accessibility/acc_typing_screen_keyboard.png new file mode 100644 index 00000000..e4156299 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_screen_keyboard.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_select_typing-20240522.json b/needles/gnome/apps/accessibility/acc_typing_select_typing-20240522.json new file mode 100644 index 00000000..886fdfec --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_select_typing-20240522.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 370, + "ypos": 307, + "width": 74, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_typing_select_typing" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_typing_select_typing-20240522.png b/needles/gnome/apps/accessibility/acc_typing_select_typing-20240522.png new file mode 100644 index 00000000..eb79b6e2 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_select_typing-20240522.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_select_waittime.json b/needles/gnome/apps/accessibility/acc_typing_select_waittime.json new file mode 100644 index 00000000..ecf7ef6c --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_select_waittime.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 631, + "ypos": 676, + "width": 50, + "height": 37, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_typing_select_waittime" + ] +} diff --git a/needles/gnome/apps/accessibility/acc_typing_select_waittime.png b/needles/gnome/apps/accessibility/acc_typing_select_waittime.png new file mode 100644 index 00000000..c45008f8 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_select_waittime.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_slow_typed.json b/needles/gnome/apps/accessibility/acc_typing_slow_typed.json new file mode 100644 index 00000000..6e37d378 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_slow_typed.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 366, + "ypos": 412, + "width": 87, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_typing_slow_typed" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_typing_slow_typed.png b/needles/gnome/apps/accessibility/acc_typing_slow_typed.png new file mode 100644 index 00000000..3577e5c0 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_slow_typed.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_suggestion_fedora.json b/needles/gnome/apps/accessibility/acc_typing_suggestion_fedora.json new file mode 100644 index 00000000..2ab3bba2 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_suggestion_fedora.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 610, + "ypos": 527, + "width": 58, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_typing_suggestion_fedora" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_typing_suggestion_fedora.png b/needles/gnome/apps/accessibility/acc_typing_suggestion_fedora.png new file mode 100644 index 00000000..8f73f59e Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_suggestion_fedora.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_text_entry-full.json b/needles/gnome/apps/accessibility/acc_typing_text_entry-full.json new file mode 100644 index 00000000..b66fae3d --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_text_entry-full.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "height": 18, + "ypos": 394, + "width": 60, + "type": "match", + "xpos": 369 + } + ], + "properties": [], + "tags": [ + "acc_typing_text_entry" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_typing_text_entry-full.png b/needles/gnome/apps/accessibility/acc_typing_text_entry-full.png new file mode 100644 index 00000000..592d2df4 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_text_entry-full.png differ diff --git a/needles/gnome/apps/accessibility/acc_typing_text_entry.json b/needles/gnome/apps/accessibility/acc_typing_text_entry.json new file mode 100644 index 00000000..052d06f1 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_typing_text_entry.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 368, + "ypos": 401, + "width": 72, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_typing_text_entry" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_typing_text_entry.png b/needles/gnome/apps/accessibility/acc_typing_text_entry.png new file mode 100644 index 00000000..4bf69666 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_typing_text_entry.png differ diff --git a/needles/gnome/apps/accessibility/acc_zoom_bottom_half.json b/needles/gnome/apps/accessibility/acc_zoom_bottom_half.json new file mode 100644 index 00000000..4d24c2b4 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_zoom_bottom_half.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 848, + "ypos": 519, + "width": 83, + "height": 25, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_zoom_bottom_half" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_zoom_bottom_half.png b/needles/gnome/apps/accessibility/acc_zoom_bottom_half.png new file mode 100644 index 00000000..6880dde2 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_zoom_bottom_half.png differ diff --git a/needles/gnome/apps/accessibility/acc_zoom_desktop_zoom.json b/needles/gnome/apps/accessibility/acc_zoom_desktop_zoom.json new file mode 100644 index 00000000..c7dad425 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_zoom_desktop_zoom.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 365, + "ypos": 110, + "width": 106, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_zoom_desktop_zoom" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_zoom_desktop_zoom.png b/needles/gnome/apps/accessibility/acc_zoom_desktop_zoom.png new file mode 100644 index 00000000..db75b50f Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_zoom_desktop_zoom.png differ diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_area.json b/needles/gnome/apps/accessibility/acc_zoom_screen_area.json new file mode 100644 index 00000000..7e4e571a --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_zoom_screen_area.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 370, + "ypos": 399, + "width": 83, + "height": 25, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_zoom_screen_area" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_area.png b/needles/gnome/apps/accessibility/acc_zoom_screen_area.png new file mode 100644 index 00000000..3b057fac Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_zoom_screen_area.png differ diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_split-20240528.json b/needles/gnome/apps/accessibility/acc_zoom_screen_split-20240528.json new file mode 100644 index 00000000..96694f02 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_zoom_screen_split-20240528.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 917, + "type": "match", + "height": 181, + "width": 57, + "ypos": 334 + } + ], + "properties": [], + "tags": [ + "acc_zoom_screen_split" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_split-20240528.png b/needles/gnome/apps/accessibility/acc_zoom_screen_split-20240528.png new file mode 100644 index 00000000..8166c7e8 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_zoom_screen_split-20240528.png differ diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_split.json b/needles/gnome/apps/accessibility/acc_zoom_screen_split.json new file mode 100644 index 00000000..8f226c91 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_zoom_screen_split.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 229, + "ypos": 323, + "width": 57, + "height": 181, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_zoom_screen_split" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_split.png b/needles/gnome/apps/accessibility/acc_zoom_screen_split.png new file mode 100644 index 00000000..b86382d3 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_zoom_screen_split.png differ diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed-20240528.json b/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed-20240528.json new file mode 100644 index 00000000..1ec133a8 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed-20240528.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "ypos": 405, + "width": 184, + "height": 45, + "type": "match", + "xpos": 56 + } + ], + "properties": [], + "tags": [ + "acc_zoom_screen_zoomed" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed-20240528.png b/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed-20240528.png new file mode 100644 index 00000000..4cddf8a6 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed-20240528.png differ diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed.json b/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed.json new file mode 100644 index 00000000..38e592e8 --- /dev/null +++ b/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 581, + "ypos": 395, + "width": 169, + "height": 45, + "type": "match" + } + ], + "properties": [], + "tags": [ + "acc_zoom_screen_zoomed" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed.png b/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed.png new file mode 100644 index 00000000..51af59e6 Binary files /dev/null and b/needles/gnome/apps/accessibility/acc_zoom_screen_zoomed.png differ diff --git a/needles/gnome/apps/accessibility/apps_run_settings.json b/needles/gnome/apps/accessibility/apps_run_settings.json new file mode 100644 index 00000000..a5f7843f --- /dev/null +++ b/needles/gnome/apps/accessibility/apps_run_settings.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 95, + "ypos": 41, + "width": 68, + "height": 26, + "type": "match" + } + ], + "properties": [], + "tags": [ + "apps_run_settings" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/apps_run_settings.png b/needles/gnome/apps/accessibility/apps_run_settings.png new file mode 100644 index 00000000..a97bd85d Binary files /dev/null and b/needles/gnome/apps/accessibility/apps_run_settings.png differ diff --git a/needles/gnome/apps/accessibility/firefox-20240520.json b/needles/gnome/apps/accessibility/firefox-20240520.json new file mode 100644 index 00000000..59c4a149 --- /dev/null +++ b/needles/gnome/apps/accessibility/firefox-20240520.json @@ -0,0 +1,31 @@ +{ + "area": [ + { + "ypos": 89, + "width": 17, + "height": 18, + "type": "match", + "xpos": 88 + }, + { + "width": 17, + "ypos": 88, + "height": 18, + "xpos": 991, + "type": "match" + }, + { + "ypos": 124, + "width": 19, + "height": 17, + "type": "match", + "xpos": 744 + } + ], + "properties": [], + "tags": [ + "firefox", + "browser", + "apps_run_firefox" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/firefox-20240520.png b/needles/gnome/apps/accessibility/firefox-20240520.png new file mode 100644 index 00000000..a2f4edd9 Binary files /dev/null and b/needles/gnome/apps/accessibility/firefox-20240520.png differ diff --git a/needles/gnome/apps/accessibility/firefox_search_bar.json b/needles/gnome/apps/accessibility/firefox_search_bar.json new file mode 100644 index 00000000..77af8375 --- /dev/null +++ b/needles/gnome/apps/accessibility/firefox_search_bar.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 238, + "ypos": 85, + "width": 87, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "firefox_search_bar" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/firefox_search_bar.png b/needles/gnome/apps/accessibility/firefox_search_bar.png new file mode 100644 index 00000000..fcae90ee Binary files /dev/null and b/needles/gnome/apps/accessibility/firefox_search_bar.png differ diff --git a/needles/gnome/apps/accessibility/keyboard_on_screen.json b/needles/gnome/apps/accessibility/keyboard_on_screen.json new file mode 100644 index 00000000..de270a4d --- /dev/null +++ b/needles/gnome/apps/accessibility/keyboard_on_screen.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 799, + "ypos": 234, + "width": 113, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "keyboard_on_screen" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/keyboard_on_screen.png b/needles/gnome/apps/accessibility/keyboard_on_screen.png new file mode 100644 index 00000000..0a39a4d6 Binary files /dev/null and b/needles/gnome/apps/accessibility/keyboard_on_screen.png differ diff --git a/needles/gnome/apps/accessibility/magnifying-glass-icon.json b/needles/gnome/apps/accessibility/magnifying-glass-icon.json new file mode 100644 index 00000000..23f8c656 --- /dev/null +++ b/needles/gnome/apps/accessibility/magnifying-glass-icon.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 11, + "ypos": 45, + "width": 22, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "magnifying-glass-icon" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/magnifying-glass-icon.png b/needles/gnome/apps/accessibility/magnifying-glass-icon.png new file mode 100644 index 00000000..8e70bec2 Binary files /dev/null and b/needles/gnome/apps/accessibility/magnifying-glass-icon.png differ diff --git a/needles/gnome/apps/accessibility/settings_acc_seeing.json b/needles/gnome/apps/accessibility/settings_acc_seeing.json new file mode 100644 index 00000000..0bd33720 --- /dev/null +++ b/needles/gnome/apps/accessibility/settings_acc_seeing.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 368, + "ypos": 196, + "width": 78, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "settings_acc_seeing" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/settings_acc_seeing.png b/needles/gnome/apps/accessibility/settings_acc_seeing.png new file mode 100644 index 00000000..86d4e461 Binary files /dev/null and b/needles/gnome/apps/accessibility/settings_acc_seeing.png differ diff --git a/needles/gnome/apps/accessibility/settings_accessibility_icon.json b/needles/gnome/apps/accessibility/settings_accessibility_icon.json new file mode 100644 index 00000000..50adfbcc --- /dev/null +++ b/needles/gnome/apps/accessibility/settings_accessibility_icon.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 22, + "ypos": 131, + "width": 111, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "settings_accessibility_icon" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/settings_accessibility_icon.png b/needles/gnome/apps/accessibility/settings_accessibility_icon.png new file mode 100644 index 00000000..8eb4e316 Binary files /dev/null and b/needles/gnome/apps/accessibility/settings_accessibility_icon.png differ diff --git a/needles/gnome/apps/accessibility/settings_accessibility_menu_enable.json b/needles/gnome/apps/accessibility/settings_accessibility_menu_enable.json new file mode 100644 index 00000000..bbe6b146 --- /dev/null +++ b/needles/gnome/apps/accessibility/settings_accessibility_menu_enable.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 418, + "ypos": 109, + "width": 123, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "settings_accessibility_menu_enable" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/settings_accessibility_menu_enable.png b/needles/gnome/apps/accessibility/settings_accessibility_menu_enable.png new file mode 100644 index 00000000..8dabb562 Binary files /dev/null and b/needles/gnome/apps/accessibility/settings_accessibility_menu_enable.png differ diff --git a/needles/gnome/apps/accessibility/settings_accessibility_screen.json b/needles/gnome/apps/accessibility/settings_accessibility_screen.json new file mode 100644 index 00000000..ae6222fe --- /dev/null +++ b/needles/gnome/apps/accessibility/settings_accessibility_screen.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 367, + "ypos": 198, + "width": 25, + "height": 82, + "type": "match" + } + ], + "properties": [], + "tags": [ + "settings_accessibility_screen" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/accessibility/settings_accessibility_screen.png b/needles/gnome/apps/accessibility/settings_accessibility_screen.png new file mode 100644 index 00000000..615b1142 Binary files /dev/null and b/needles/gnome/apps/accessibility/settings_accessibility_screen.png differ diff --git a/templates.fif.json b/templates.fif.json index 82f02218..6a22d479 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -663,6 +663,23 @@ "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" } }, + "accessibility": { + "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/accessibility", + "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" + } + }, "base_reboot_unmount": { "profiles": { "fedora-BaseOS-dvd-iso-x86_64-*-64bit": 50, diff --git a/tests/applications/accessibility/aaa_setup.pm b/tests/applications/accessibility/aaa_setup.pm new file mode 100644 index 00000000..3c4ef2cc --- /dev/null +++ b/tests/applications/accessibility/aaa_setup.pm @@ -0,0 +1,53 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script: +# - starts the Settings application and checks that it has started, +# - navigates in the Settings to the Accessibility tab, +# - enables the Accessibility menu in the upper right corner, +# - creates a milestone for consecutive testing. + +sub run { + my $self = shift; + # Start Settings. + menu_launch_type('settings'); + + # Check that it has started. + assert_screen('apps_run_settings'); + + # Maximize the window + # This is always better to maintain correct focus + # throughout the testing. + send_key('super-up'); + + # On smaller screens, the Accessibility tab is not visible + # for simple assertion, so we will use the Search bar to + # search for it. + assert_and_click('magnifying-glass-icon'); + + # Type 'accessibility' into the search box. + type_string('accessibility'); + + # Click on Accessibility. + assert_and_click('settings_accessibility_icon'); + + # Check that the accessibility screen is displayed. + assert_screen('settings_accessibility_screen'); + + # Enable the accessibility menu. + assert_and_click('settings_accessibility_menu_enable'); + + # Check that the menu has been enabled. + assert_screen('acc_accessibility_menu'); +} + +sub test_flags { + return {fatal => 1, milestone => 1}; +} + +1; + +# vim: set sw=4 et: + diff --git a/tests/applications/accessibility/accessibility_menu.pm b/tests/applications/accessibility/accessibility_menu.pm new file mode 100644 index 00000000..a30631c6 --- /dev/null +++ b/tests/applications/accessibility/accessibility_menu.pm @@ -0,0 +1,104 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script checks some of the accessibility features that can +# be accessed via the Desktop menu in the upper corner. + +sub open_menu { + # This subroutine opens the Accessibility menu. + assert_and_click('acc_accessibility_menu'); + assert_screen('acc_accessibility_menu_shown'); +} + +sub check_item { + # This subroutine checks if an item is switched on or off + # in the accessibility menu. + my ($item, $switch) = @_; + assert_and_click("acc_$item"); + if ($switch eq "off") { + sleep(5); + die("$item should be off but is still visible.") if check_screen("acc_${item}_enabled"); + } + else { + assert_screen("acc_${item}_enabled"); + } +} + +sub click_type { + # This subroutine provides typing ability on a graphical + # keyboard when string needs to be converted into a series + # of assertions and clicks. + my $text = shift; + my @letters = split("", $text); + foreach my $letter (@letters) { + assert_and_click("acc_keyboard_$letter"); + } +} + +sub run { + my $self = shift; + + # Open Firefox and go the Fedora home page to test some font changes. + menu_launch_type('firefox'); + assert_screen('apps_run_firefox'); + send_key('ctrl-l'); # Focus address bar + type_string('www.fedoraproject.org'); + send_key('ret'); + assert_screen('acc_fedora_homepage'); + + # Check high contrast. + open_menu(); + check_item('high_contrast'); + open_menu(); + check_item('high_contrast', 'off'); + + # Check "zoom". + open_menu(); + check_item('zoom'); + send_key('alt-super-8'); + + # Check "bigger_text". + open_menu(); + check_item('largetext'); + open_menu(); + check_item('largetext', 'off'); + + # Check "keyboard_on_screen". + open_menu(); + assert_and_click('keyboard_on_screen'); + + # Click into a text field (FF search bar) + # and type something on the screen + # using the on-screen keyboard. + assert_and_click('firefox_search_bar'); + assert_screen('acc_onscreen_keyboard_visible'); + send_key('ctrl-a'); + + # Type and a new address. + # Note, we do not want to include non-word + # characters to the typing string in order not + # to produce needles with non-word characters + # in their name. + click_type('ask'); + assert_and_click('acc_keyboard_dot'); + click_type('fedoraproject'); + assert_and_click('acc_keyboard_dot'); + click_type('org'); + assert_and_click('acc_keyboard_enter'); + # Check that we have arrived on a Fedora homepage + # Yes, we are aware that there is some risk that + # the server will be down but most of the time, + # this should be fine. + assert_screen('acc_askfedora_homepage'); +} + +sub test_flags { + return {fatal => 0, always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: + diff --git a/tests/applications/accessibility/clicking.pm b/tests/applications/accessibility/clicking.pm new file mode 100644 index 00000000..02e991e5 --- /dev/null +++ b/tests/applications/accessibility/clicking.pm @@ -0,0 +1,72 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script checks that some mouse clicking features work: +# - long click as double click +# - hover as click + + +sub run { + my $self = shift; + my $version = get_release_number(); + + # Long click as secondary (right) click + ####################################### + + # Select Clicking. + assert_and_click('acc_clicking_select_click'); + # Switch on the simulation for secondary click - + # click on the option to place focus and then + # send TAB to arrive at the switch and press Space + # to do the actual switching. + assert_and_click('acc_clicking_simulate_rclick'); + send_key("tab"); + sleep(1); + send_key("spc"); + + # Go to the title bar and click for 5 seconds to trigger + # the simulation of the secondary click and check that + # a context menu appears as a result. + assert_and_click('acc_clicking_settings_titlebar', clicktime => 5); + assert_screen('acc_clicking_menu_shown'); + # Press ESC to get rid of the context menu. + send_key('esc'); + # Switch off the simulation - as the switch button for this + # is the only blue switch button on the screen, we can switch + # that by simply clicking on it with no additional magic. + assert_and_click("acc_clicking_switcher_on"); + + # Hover to click + ################ + # Switch on hover to click similarly to previous + # task, get focus and use tab to navigate to the + # correct switch button. Then press Space. + assert_and_click('acc_clicking_hover_click'); + send_key("tab"); + sleep(1); + send_key("spc"); + + # As there currently no openQA way to set the mouse + # with coordinates taken from a needle, we need to move + # it manualy to a certain location. + #mouse_to_tag('acc_clicking_settings_notifications'); + mouse_set(200, 150); + # We will wait for some time to hover above that location, + # but in the mean time, the click should happen without + # any specific action being done on our side. + sleep(5); + # Check that the screen changed in the reaction to this + # automated click. + assert_screen('acc_clicking_postclick'); +} + +sub test_flags { + return {fatal => 0, always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: + diff --git a/tests/applications/accessibility/seeing.pm b/tests/applications/accessibility/seeing.pm new file mode 100644 index 00000000..eb4d946a --- /dev/null +++ b/tests/applications/accessibility/seeing.pm @@ -0,0 +1,60 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script checks +# - high contrast +# - shapes +# - larger text +# - always visible scrollbars +# - cursor size + + +sub check_item { + # This subroutine switches on certain + # accessibility feature, checks that it + # affected the screen, then switches it + # off again. + my $item = shift; + assert_and_click("acc_seeing_$item"); + assert_screen("acc_seeing_${item}_enabled"); + assert_and_click("acc_seeing_$item"); + # If the screen does not change back, die. + die("$item should be off but is still visible.") if check_screen("acc_seeing_${item}_enabled"); +} + +sub run { + my $self = shift; + + # In Settings, open the Seeing tab + assert_and_click("settings_acc_seeing"); + + # Check high contrast. + check_item('high_contrast'); + + # Check "shapes". + check_item('shapes'); + + # Check "bigger_text". + check_item('largetext'); + + # Check "scrollbars". + check_item("scrollbars"); + + # Check cursor size + assert_and_click('acc_seeing_cursor_size'); + assert_and_click('acc_seeing_largest_cursor'); + send_key('esc'); + mouse_set(800, 360); + assert_screen('acc_seeing_largest_cursor_enabled'); +} + +sub test_flags { + return {fatal => 0, always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: + diff --git a/tests/applications/accessibility/typing.pm b/tests/applications/accessibility/typing.pm new file mode 100644 index 00000000..92fa9509 --- /dev/null +++ b/tests/applications/accessibility/typing.pm @@ -0,0 +1,179 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script checks +# - the on-screen keyboard +# - sticky keys +# - slow keys +# - repeating keys + +sub clean_entry { + # This subroutine cleans the text entry. + send_key('ctrl-a'); + sleep(1); + send_key('delete'); + sleep(1); +} + +# This helps to navigate to various switches, as the +# GUI does not respond correctly when we click onto +# the headline. A since all radio buttons look the +# same, it is impossible to navigate through clicking +# nor with 'send key until needlematch'. +# Therefore, let's click into the text field and then +# send a certain number of tabs to arrive at the correct +# radio button. +sub navigate_and_switch { + my $tabs = shift; + assert_and_click('acc_typing_text_entry'); + foreach (1 .. $tabs) { + send_key('tab'); + sleep(1); + } + send_key("spc"); + sleep(1); +} + + +sub run { + my $self = shift; + my $version = get_release_number(); + + # Screen Keyboard + #################### + + # Select the Typing tab. + assert_and_click('acc_typing_select_typing'); + # Click on Screen Keyboard. + assert_and_click('acc_typing_screen_keyboard'); + # Click into the text entry. + assert_and_click('acc_typing_text_entry'); + + # The screen keyboard should be visible by now, + # so when we start clicking we should be fine. + # Note, that we also test the keyboard elsewhere + # so we only need to do some minor actions. + # + # Clicktype 'fed' + my @letters = qw( f e d ); + foreach my $letter (@letters) { + assert_and_click("acc_keyboard_$letter"); + } + + # Check that clicking on a suggestion will complete + # the word in the entry field. + assert_and_click('acc_typing_suggestion_fedora'); + assert_screen('acc_typing_fedora_typed'); + + # Switch off screen_keyboard + assert_and_click('acc_typing_screen_keyboard'); + + + # Sticky keys + ####################################### + # Switch on Sticky keys. + navigate_and_switch(4); + + # Send ctrl, alt, and the right arrow one after another. + # With Sticky keys on, this should produce the key combo + # to switch a workspace. + send_key('ctrl'); + send_key('alt'); + send_key('right'); + + # Check that new workspace is shown + assert_screen("${version}_background"); + + # Send ctrl, alt, and the left arrow one after another + send_key('ctrl'); + send_key('alt'); + send_key('left'); + + # Check that we are back on workspace 1 + assert_screen("acc_typing_text_entry"); + + # Switch off the Sticky keys again. + navigate_and_switch(4); + + # Slow keys + ######################################### + # + # Go to the text field and clean it. + assert_and_click('acc_typing_text_entry'); + clean_entry(); + + # With certain speed of typing, we should + # be able to get all the letters typed + # with the current settings. Let's do it. + type_string("I love Fedora", max_interval => 140, secret => 0); + # Check that we have that string + assert_screen('acc_typing_slow_typed'); + clean_entry(); + + # Now, switch on Slow keys. + navigate_and_switch(6); + # The standard selected time to wait in between key presses + # is too long and it is difficult to select the correct + # speed of typing -> usually we are too quick, so no + # characters appear at all. Therefore, we need to shorten + # the wait time. + assert_and_click("acc_typing_select_waittime"); + # Now, let us type the same string at the same pace as we + # already did. This time, some of the characters should not + # be caught, because we type too quickly for the wait mechanism + # and the process should result in an erroneous string. + assert_and_click('acc_typing_text_entry'); + type_string("I love Fedora", max_interval => 140, secret => 0); + # However, if the text is still correct, we assume that the + # settings did not change anything and we will die + # with an error message. + die("Slowing the keys might not have worked correctly") if check_screen("acc_typing_slow_typed"); + # Switch slow keys off again. + navigate_and_switch(6); + + + # Repeat keys + ######################################### + # Repeating keys are switched on by default, + # so let's test they really work. + + # Click into text_entry + assert_and_click('acc_typing_text_entry'); + clean_entry(); + + # Hold down the x key for two seconds and then release it. + # Two seconds are long time enough to produce a long series + # of x letter to fill in the entire text field. + hold_key('x'); + sleep(2); + release_key('x'); + assert_screen('acc_typing_multiple_typed'); + clean_entry(); + + # Navigate to the repeat keys switch and toggle it. + navigate_and_switch(2); + + # Click into text_entry again. + assert_and_click('acc_typing_text_entry'); + + # Hold down the x key for two seconds and then release it, + # this time only one letter should appear because repeating + # the keys is not allowed. + hold_key('x'); + sleep(2); + release_key('x'); + # Check that the entry field only shows one single letter x. + assert_screen('acc_typing_one_letter'); + +} + +sub test_flags { + return {fatal => 0, always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: + diff --git a/tests/applications/accessibility/zoom.pm b/tests/applications/accessibility/zoom.pm new file mode 100644 index 00000000..e20a4495 --- /dev/null +++ b/tests/applications/accessibility/zoom.pm @@ -0,0 +1,37 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script checks that screen can be zoomed. + + +sub run { + my $self = shift; + # Select the Zoom button + assert_and_click('acc_select_zoom'); + + # Select the screen area button + assert_and_click('acc_zoom_screen_area'); + + # Select bottom_half + assert_and_click('acc_zoom_bottom_half'); + + # Switch on the feature + assert_and_click('acc_zoom_desktop_zoom'); + + # Check the screen got zoomed + assert_screen('acc_zoom_screen_zoomed'); + + # Check the screen got split into two + assert_screen('acc_zoom_screen_split'); +} + +sub test_flags { + return {fatal => 0, always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: +