Reading/Web/Browser test coverage

From MediaWiki.org
< Reading‎ | Web
Jump to navigation Jump to search

This page summarises how we use browser tests across our many extensions.

Minerva[edit]

MobileFrontend[edit]

Written in Node.js

Browser tests cover:

  • Switching between mobile and desktop view
  • Modifications to user page behaviour for users without a user page via the MobileFormatter

RelatedArticles[edit]

Written in Node.js

Coverage summary[edit]

  • We check whether the feature respects wgRelatedArticlesFooterWhitelistedSkins by testing that it only shows on whitelisted skins.

Recommendations[edit]

  • None. The extension is relatively simple and would benefit more more UI regression tests.

Page Previews[edit]

QuickSurveys[edit]