wpt.fyi

module
v0.0.0-...-5ad8ebe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: BSD-3-Clause

README

web-platform-tests dashboard 📈

GitHub Actions

wpt.fyi is a dashboard of cross-browser results for web-platform-tests, the data for which is uploaded by external services, primarily from various CI integrations in the wpt repo.

Backend: An App Engine app for storing test run metadata and serving HTML

Frontend: Polymer elements for loading and visualizing test results

Using the data

All test result data is public. Please use our APIs to explore the data. For example, use the results API to download result summaries, and use the runs API to query runs and their metadata, which include links to other data like raw full reports.

Product ID

This is a tuple of browser name, browser version, os name, os version, serialized in the form of browser[-version[-os[-version]]] ([] means optional), widely used in our APIs as the product parameter.

Development

Setting up your environment

You'll need Docker. With Docker installed, start the development container:

docker pull webplatformtests/wpt.fyi:latest   # Optional: this forces fetching the latest version, instead of using the locally cached version.
./util/docker-dev/run.sh

This starts a Docker instance named wptd-dev-instance.

Running locally

Once the instance is running, you can fire up the web server in another terminal:

./util/docker-dev/web_server.sh

This will build dependencies and start the Google App Engine development server inside wptd-dev-instance.

Meanwhile, you'll also need to populate the app datastore with some initial data. In another terminal, execute the script which leverages util/populate_dev_data.go by running:

./util/docker-dev/dev_data.sh

See CONTRIBUTING.md for more information on local development.

Miscellaneous

WPT documentation page for each browser
Location of the WPT in each browser’s source tree
You can run almost any WPT test on wpt.live

Try out http://wpt.live/html/semantics/forms/the-input-element/checkbox.html

This doesn't work with some HTTPS tests. Also be advised that the server is not intended for frequent large-scale test runs.

Sources of inspiration

Directories

Path Synopsis
api
azure/mock_azure
Package mock_azure is a generated GoMock package.
Package mock_azure is a generated GoMock package.
checks/mock_checks
Package mock_checks is a generated GoMock package.
Package mock_checks is a generated GoMock package.
manifest/mock_manifest
Package mock_manifest is a generated GoMock package.
Package mock_manifest is a generated GoMock package.
query/cache/backfill/mock_backfill
Package mock_backfill is a generated GoMock package.
Package mock_backfill is a generated GoMock package.
query/cache/index
Package index is a generated GoMock package.
Package index is a generated GoMock package.
query/cache/monitor
Package monitor is a generated GoMock package.
Package monitor is a generated GoMock package.
receiver/client
Package client is a package for simplifying the upload request made by a client to the results receiver upload endpoint (/api/results/upload).
Package client is a package for simplifying the upload request made by a client to the results receiver upload endpoint (/api/results/upload).
receiver/mock_receiver
Package mock_receiver is a generated GoMock package.
Package mock_receiver is a generated GoMock package.
taskcluster/mock_taskcluster
Package mock_taskcluster is a generated GoMock package.
Package mock_taskcluster is a generated GoMock package.
sharedtest
Package sharedtest is a generated GoMock package.
Package sharedtest is a generated GoMock package.
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL