See also T180223: Port CentralNotice Selenium tests from Ruby to Node.js.
TODO
- create a test that opens https://en.wikipedia.beta.wmflabs.org/wiki/Main_Page and check if the banner is displayed
- update MediaWiki-Docker/Extension/CentralNotice
- How to create a banner via the API?
- How to create a banner via the web interface?
- Create a test that creates a banner (via the API or web) and checks that the banner is displayed.
Notes
- https://www.mediawiki.org/wiki/Extension:CentralNotice
- https://www.mediawiki.org/wiki/MediaWiki-Docker/Extension/CentralNotice
- http://localhost:8080/wiki/Special:CentralNoticeBanners
- https://meta.wikimedia.org/wiki/Special:CentralNoticeBanners/Edit/Community_banner_templatev2?withJS=MediaWiki:CentralNotice_Banner_Template_Intro.js