- π¬πͺGeorgia almador
Does it possible to use this crawler just to make that all links from the Administration menu (admin/structure/menu/manage/admin) are opening without fatal errors? Any other module suggestions to crawl admin pages?
Over the past few months, I've filed a number of issues in the form of "If you click this admin link from this page, you get an exception instead of the page".
So, I was wondering if we could build an admin crawler test that would detect these problems, and once they're fixed, prevent them from recurring.
This test would:
(a) Probably install using the Standard profile, as a shortcut.
(b) Enable all modules.
(c) On top of what the Standard profile provides, create some content and other stuff (nodes, blocks, etc.) so that every "List" admin page has at least one item on it that can be operated on.
(d) Crawl the site, starting on /admin. For each page encountered:
- Verify that it returns HTTP code 200
- Verify that there is not the word "Exception" on the page (or other words that would imply errors?) [there might be a few pages that are about error/exception handling that would have these keywords on them intentionally, so we'd need to allow for that in the test]
- Add any links found on the page to the list of URLs to check
- Keep checking pages until there are no new URLs encountered
(a) Write this test.
(b) See how long it takes to run. If it isn't too much of an added burden on the testing of every patch, add it to Core. If it is... at least run it periodically?
None.
None.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Does it possible to use this crawler just to make that all links from the Administration menu (admin/structure/menu/manage/admin) are opening without fatal errors? Any other module suggestions to crawl admin pages?