Webapp for displaying the results of web-platform-tests.
This app runs on a local server. You may set up a local server by using Python's SimpleHTTPServer.
python -m SimpleHTTPServer 8000
Go to a browser and visit localhost:8000
. WPT Viewer should start.
WPT Viewer needs to ingest some web-platform-tests mozlog files to get up and running. A good place to find mozlog files is Mozilla's Treeherder for mozilla-inbound.
These files are generally found under "Job Details" after clicking a job having structured logs (such as WPT) as an artifact. The typical name of these files are testsuite_raw.log
, such as wpt_raw.log
for the Web Platform Tests.
We have added an option in Treeherder present adjacent to these files. This option ingests the log in wptview along with an appropriate run name fetched from Treeherder.
You can try to press open in tests results viewer here.
A good log file to testing purposes may be found here. If you wish to test comparisons, you may use the log files for a recent w-2 with the w-e10s-2 run.
You may refer to the CONTRIBUTING.md file for further details.
We are active on the irc.mozilla.org under #ateam. Hope to see you there!