1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-16 21:07:22 +00:00
os-autoinst-distri-fedora/needles/cockpit
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
..
autoupdate_planned_day-20200124.json Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
autoupdate_planned_day-20200124.png Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
autoupdate_planned_time-20200124.json Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
autoupdate_planned_time-20200124.png Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
autoupdate_planned_time-oldcantarell-20200124.json Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
autoupdate_planned_time-oldcantarell-20200124.png Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_main-cockpit209-20191214.json Drop match level on cockpit main needle 2020-01-24 12:53:14 +01:00
cockpit_main-cockpit209-20191214.png Add new cockpit_main needle for cockpit 209 2019-12-13 17:55:06 -08:00
cockpit_software_updates-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
cockpit_software_updates-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
cockpit_updates_all_install-oldcantarell-20200124.json Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_all_install-oldcantarell-20200124.png Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_auto_on-20191215.json Add new cockpit autoupdate on needle 2019-12-18 12:36:57 -08:00
cockpit_updates_auto_on-20191215.png Add new cockpit autoupdate on needle 2019-12-18 12:36:57 -08:00
cockpit_updates_auto_on-f31-20200124.json Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_auto_on-f31-20200124.png Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_auto.json Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_auto.png Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_check-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
cockpit_updates_check-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
cockpit_updates_check-20200318.json Update cockpit_updates_check needle 2020-03-18 12:21:18 -07:00
cockpit_updates_check-20200318.png Update cockpit_updates_check needle 2020-03-18 12:21:18 -07:00
cockpit_updates_check-oldcantarell-20200124.json Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_check-oldcantarell-20200124.png Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_dnf_install-20190911.json Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_dnf_install-20190911.png Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_dnf_install-20191129.json Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_dnf_install-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
cockpit_updates_reconnect.json Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_reconnect.png Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_restart_ignore-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
cockpit_updates_restart_ignore-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
cockpit_updates_restart_ignore-oldcantarell-20200124.json Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_restart_ignore-oldcantarell-20200124.png Add cockpit_updates and remote_logging tests to updates 2020-01-24 21:03:41 +01:00
cockpit_updates_restart_ignore.json Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_restart_ignore.png Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_security_install.json Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_security_install.png Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_updated-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
cockpit_updates_updated-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
cockpit_updates_updated-20200318.json Update cockpit 'updated' needle (check mark got thinner) 2020-03-18 11:57:33 -07:00
cockpit_updates_updated-20200318.png Update cockpit 'updated' needle (check mark got thinner) 2020-03-18 11:57:33 -07:00
cockpit_updates_updated.json Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
cockpit_updates_updated.png Develop a new test for system updates via Cockpit. 2019-10-01 16:04:01 +02:00
join_button-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
join_button-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
join_complete-20200124.json Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
join_complete-20200124.png Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
join_complete-oldcantarell-20200124.json Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
join_complete-oldcantarell-20200124.png Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
join_domain_button-link-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
join_domain_button-link-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
join_domain_button-link-20191214.json Update realmd_join_cockpit for Cockpit 209 2019-12-14 12:29:00 -08:00
join_domain_button-link-20191214.png Update realmd_join_cockpit for Cockpit 209 2019-12-14 12:29:00 -08:00
join_domain-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
join_domain-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
login-cockpit206-20191030.json Update cockpit login screen needle *again* 2019-10-30 15:20:30 -07:00
login-cockpit206-20191030.png Update cockpit login screen needle *again* 2019-10-30 15:20:30 -07:00
login-cockpit2051-20191018.json Add new cockpit login needle 2019-10-18 10:35:14 -07:00
login-cockpit2051-20191018.png Add new cockpit login needle 2019-10-18 10:35:14 -07:00
login-unbranded-20171107.json Handle unbranded Cockpit login screen, record soft failure 2017-11-07 16:01:07 -08:00
login-unbranded-20171107.png Handle unbranded Cockpit login screen, record soft failure 2017-11-07 16:01:07 -08:00
login.json add cockpit_default and cockpit_basic tests 2016-06-01 09:05:33 -07:00
login.png add cockpit_default and cockpit_basic tests 2016-06-01 09:05:33 -07:00
logs_entry_detail-20200124.json Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
logs_entry_detail-20200124.png Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
logs_entry_detail-oldcantarell-20200124.json Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
logs_entry_detail-oldcantarell-20200124.png Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
logs_entry-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
logs_entry-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
logs_entry-cockpit198.json cockpit: update needles for 198, rejig Services page handling 2019-07-10 11:43:03 -07:00
logs_entry-cockpit198.png cockpit: update needles for 198, rejig Services page handling 2019-07-10 11:43:03 -07:00
logs-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
logs-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
services_detail-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
services_detail-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
services_detail-requires-20200124.json Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
services_detail-requires-20200124.png Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
services_detail-requires-oldcantarell-20200124.json Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
services_detail-requires-oldcantarell-20200124.png Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
services_entry-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
services_entry-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
services_entry-20200124.json Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
services_entry-20200124.png Update various Cockpit needles for 211 2020-01-24 15:18:27 +01:00
services-20191129.json Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00
services-20191129.png Update a bunch of needles for font rendering change in Rawhide 2019-11-29 13:00:54 -08:00