1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 23:33:07 +00:00
os-autoinst-distri-fedora/needles/gnome
Adam Williamson 21eea18562 Add a needle check script, remove some unused needles
I call this...The @lruzicka Catcher!

It's a script that checks for needles that aren't actually used
anywhere. It also checks for cases where we have a needle JSON
file but no image, or an image file but no JSON file (and wipes
one case of the latter). It also adds a run of the script to tox
so we get it in CI.

You could make this script a lot more elaborate if you like, by
being fancier about parsing the test code and templates, but I
don't think it's really warranted, I think it just needs to be
'good enough'. It's not the end of the world if it misses the
odd thing or the whitelisting goes stale.

Quite a lot of the removed needles are remnants of different
approaches to app start/stop testing which weren't caught in the
initial PR review. The short-name partitioning ones are odd; they
were introduced in the commit that moved needles into subdirs,
but at least some of them don't actually appear to be moves. They
may have been non-tracked files Josef had lying around that got
into the commit by mistake, or they may just be old needles we
really used at some point but aren't using any more.
reclaim_space_second_partition was introduced as part of the
shrink test (along with reclaim_space_first_partition) but was
never actually used by that test - I guess, again, the test got
re-written during review but we forgot to remove the needle. We
rejigged user creation to use tab presses not a needle match a
while back, which made user_creation_password_input unnecessary.
The various cockpit_updates_* needles are I think remnants of
rewrites of the cockpit update tests that again were missed in
PR review, the tests as merged never used them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-08 16:55:46 -07:00
..
apps Add a needle check script, remove some unused needles 2020-04-08 16:55:46 -07:00
arabic Great Needle Cleanup 2020 2020-03-20 14:02:10 -07:00
french Great Needle Cleanup 2020 2020-03-20 14:02:10 -07:00
japanese Great Needle Cleanup 2020 2020-03-20 14:02:10 -07:00
russian Great Needle Cleanup 2020 2020-03-20 14:02:10 -07:00
auth_required-20190212.json Handle 'authentication required' appearing on Boxes startup 2019-03-26 12:30:47 -07:00
auth_required-20190212.png Handle 'authentication required' appearing on Boxes startup 2019-03-26 12:30:47 -07:00
auth_required-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
auth_required-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
auth_required-20200219.json Update authentication required GNOME needle 2020-02-19 10:35:47 -08:00
auth_required-20200219.png Update authentication required GNOME needle 2020-02-19 10:35:47 -08:00
desktop_clean-gnome-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
desktop_clean-gnome-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
desktop_no_notifications-gnome-20180813.json Add new 'no notifications' needle for GNOME 2018-08-13 15:56:42 -07:00
desktop_no_notifications-gnome-20180813.png Add new 'no notifications' needle for GNOME 2018-08-13 15:56:42 -07:00
desktop_package_tool_update_apply-gnome-cantarell111.json Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
desktop_package_tool_update_apply-gnome-cantarell111.png Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
desktop_package_tool_update_download-20181031.json Handle split of 'download' and 'apply' phases in gnome-software 2018-10-31 11:50:14 -07:00
desktop_package_tool_update_download-20181031.png Handle split of 'download' and 'apply' phases in gnome-software 2018-10-31 11:50:14 -07:00
desktop_package_tool_update_download-20200226.json Update GNOME Software 'Download' needle for changed kerning 2020-02-26 11:34:21 -08:00
desktop_package_tool_update_download-20200226.png Update GNOME Software 'Download' needle for changed kerning 2020-02-26 11:34:21 -08:00
desktop_package_tool_update_refresh-gnome-20190305.json Add variant GNOME Software refresh needle 2019-03-05 08:13:20 -08:00
desktop_package_tool_update_refresh-gnome-20190305.png Add variant GNOME Software refresh needle 2019-03-05 08:13:20 -08:00
desktop_package_tool_update-gnome-cantarell101.json Add yet a couple more cantarell 101 needles 2018-04-09 15:02:09 -07:00
desktop_package_tool_update-gnome-cantarell101.png Add yet a couple more cantarell 101 needles 2018-04-09 15:02:09 -07:00
desktop_package_tool_update-gnome-gtk3245-20190207.json Add GTK+ 3.24.5 desktop update needle 2019-02-07 10:12:27 -08:00
desktop_package_tool_update-gnome-gtk3245-20190207.png Add GTK+ 3.24.5 desktop update needle 2019-02-07 10:12:27 -08:00
desktop_runner-cantarell17.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_runner-cantarell17.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_runner.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_runner.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_update_notification_only-gnome-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
desktop_update_notification_only-gnome-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
desktop_update_notification_only-gnome-20200220.json Update desktop update notification only needle 2020-02-20 09:53:30 -08:00
desktop_update_notification_only-gnome-20200220.png Update desktop update notification only needle 2020-02-20 09:53:30 -08:00
getting_started-20200117.json First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
getting_started-20200117.png First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
getting_started-gtk3245-20190206.json GTK+ 3.24.5 needle retake 2019-02-06 13:27:30 -08:00
getting_started-gtk3245-20190206.png GTK+ 3.24.5 needle retake 2019-02-06 13:27:30 -08:00
getting_started-largetext-20180915.json Add a few more Cantarell 0.111 needles 2018-09-16 08:44:38 -07:00
getting_started-largetext-20180915.png Add a few more Cantarell 0.111 needles 2018-09-16 08:44:38 -07:00
getting_started-largetext-20200117.json First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
getting_started-largetext-20200117.png First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
gnome_reboot_confirm-cantarell111.json Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
gnome_reboot_confirm-cantarell111.png Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
gnome_software_welcome-cantarell101.json Add a couple more cantarell101 needles 2018-03-30 17:52:16 -07:00
gnome_software_welcome-cantarell101.png Add a couple more cantarell101 needles 2018-03-30 17:52:16 -07:00
layout_us_ltr_overview-20190212.json Add various new needle variants for Rawhide changes 2019-02-13 00:15:50 -08:00
layout_us_ltr_overview-20190212.png Add various new needle variants for Rawhide changes 2019-02-13 00:15:50 -08:00
layout_us_ltr_overview.json Move layout_us_ltr_overview from arabic to GNOME too 2019-06-25 15:09:00 -07:00
layout_us_ltr_overview.png Move layout_us_ltr_overview from arabic to GNOME too 2019-06-25 15:09:00 -07:00
layout_us_ltr-gdm-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us_ltr-gdm-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us_ltr-gdm.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us_ltr-gdm.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us-20161215.json add an Asian (Japanese) language install test 2016-12-21 08:41:00 -08:00
layout_us-20161215.png Have non-English tests do graphical install and login 2016-12-16 09:40:29 -08:00
layout_us-gdm-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us-gdm-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
layout_us-overview-20190905.json Add changed needle that failed for cyrillic test. 2019-09-05 17:10:50 +02:00
layout_us-overview-20190905.png Add changed needle that failed for cyrillic test. 2019-09-05 17:10:50 +02:00
live_initial-20190820.json Add needles for new anaconda icon 2019-08-19 17:36:41 -07:00
live_initial-20190820.png Add needles for new anaconda icon 2019-08-19 17:36:41 -07:00
live_initial-gtk3195.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
live_initial-gtk3195.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
login_gdm_input-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
login_gdm_input-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
login_gdm_input-20200219.json Update GDM input needle 2020-02-19 09:47:13 -08:00
login_gdm_input-20200219.png Update GDM input needle 2020-02-19 09:47:13 -08:00
login_gdm_input-cantarell111.json Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
login_gdm_input-cantarell111.png Add a large chunk of needles for Cantarell 0.111 2018-09-10 02:44:50 -07:00
login_gdm-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
login_gdm-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
login_gdm.json Have non-English tests do graphical install and login 2016-12-16 09:40:29 -08:00
login_gdm.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
next_button-20160823.json Have non-English tests do graphical install and login 2016-12-16 09:40:29 -08:00
next_button-20160823.png add a bunch of needles for changed font rendering 2016-08-25 16:01:26 -07:00
overview_app_grid-20190625.json Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
overview_app_grid-20190625.png Update a bunch of needles that have changed in Rawhide 2019-06-25 15:07:46 -07:00
overview_app_grid-20200220.json Update overview app grid needle (more GNOME icon changes) 2020-02-20 09:57:04 -08:00
overview_app_grid-20200220.png Update overview app grid needle (more GNOME icon changes) 2020-02-20 09:57:04 -08:00
overview_app_grid.json Change up 'clean desktop' check again (use a util function) 2017-07-10 11:47:07 -07:00
overview_app_grid.png Change up 'clean desktop' check again (use a util function) 2017-07-10 11:47:07 -07:00
printing_check_sentence-f30-20191207.json Add some variant printing needles for F30 2019-12-06 17:28:27 -08:00
printing_check_sentence-f30-20191207.png Add some variant printing needles for F30 2019-12-06 17:28:27 -08:00
printing_check_sentence.json Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_check_sentence.png Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_print_completed.json Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_print_completed.png Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_print.json Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_print.png Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_select_pdfprinter-20200117.json First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
printing_select_pdfprinter-20200117.png First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
printing_select_pdfprinter-f30-20191207.json Add some variant printing needles for F30 2019-12-06 17:28:27 -08:00
printing_select_pdfprinter-f30-20191207.png Add some variant printing needles for F30 2019-12-06 17:28:27 -08:00
printing_select_pdfprinter.json Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
printing_select_pdfprinter.png Create an automated test to test printing on Desktop 2019-12-05 09:22:50 -08:00
skip_button-20200116.json First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
skip_button-20200116.png First batch of updates for new version of cantarell 2020-01-17 01:18:52 +00:00
skip_button-gtk3245-20190206.json GTK+ 3.24.5 needle retake 2019-02-06 13:27:30 -08:00
skip_button-gtk3245-20190206.png GTK+ 3.24.5 needle retake 2019-02-06 13:27:30 -08:00