BorderCloud/mediawiki-extension-LinkedWiki-CI

Automate JS Coverage Report

BorderCloud opened this issue · 0 comments

For the moment, there is not a simple solution to save automatically the coverage report with Selenium Grid.

However, you can see manually the coverage via Chrome during the tests via Selenium IDE:

  1. Put in the localsettings $wgResourceLoaderDebug = true;
  2. Execute the first line of a test in order to open the new Chrome window.
  3. Open the coverage window of Chrome
  4. Put the filter "PushAll" for example
  5. Start to record the coverage
  6. Execute the test suite via Selenium IDE
    You can see the coverage at the end of tests.