wpt-metadata is a repo for storing wpt.fyi test-result metadata, about tests defined in the wpt repo, in metadata yml files.
You can review the Design Doc for more details.
YAML Link Format Specs:
links:
- product: [product spec] (optional)
url: [URL]
label: [Label]
results:
- test: [Test name]
subtest: [Subtest name] (optional)
status: [Specific test result status] (optional)
- ...
Where
product
is a browser name with an option of product spec
{browser-name}[-{browser-version}[-{os}[-{os-version}]]]
chrome
, safari-12
, or firefox-63.0-linux
product
is omitted, this link
applies to tests across all browsersurl
is a bug URL; url
is non-optional unless a label
is present.label
is a label to its tests; label
is used at a test-level and do not
apply to subtests. When label
is present in a link:
product
should be omittedurl
is optionalsubtest
is omittedtest
is a filename, which is relative to the current directory. If it
is "*"
(note that asterisks must be quoted in YAML), the link will apply to
all tests in the current directory and its subdirectories.status
is an optional field that records the WPT test result, as
defined
in the wpt.fyi codebase. When the WPT version or the browser version
changes, this field could be used to indicate that a test is out-of-date. It is currently unused by tooling.You can contribute to the wpt-metadata repo by sending out a PR directly or through the Triage Metadata API available for trusted third parties.
See /api/metadat/triage for more information.