[QA] Automated testing and reporting of on-wiki gadget JS errors across sites?

Andre Klapper aklapper at wikimedia.org
Wed Sep 21 17:38:16 UTC 2016


A clueless late night thought, probably somewhere between Pywikibot,
Selenium, headless browsers, and helping our communities.

Have some code that
* goes to $langcode.$site.org
* logs in on that site
* enables all gadgets in user preferences of that sites
* goes to a random page on that sites
* attaches ?action=edit&debug=true to the URL
* collects all JS error messages, deprecation warnings, and related
  URLs for broken gadgets etc. (browser's developer tools' console)
* knows the corresponding village pump of that site, or gathers 
  the user account who was the last editor of the affected gadget
* posts the error message and the gadget URL on that local village
  pump or the user talk page of the last gadget editor.

Has someone tried that before?
Do I miss any steps?
And does that make any sense?

Thanks,
andre
-- 
Andre Klapper | Wikimedia Bugwrangler
http://blogs.gnome.org/aklapper/



More information about the QA mailing list