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}]]]
- e.g.
chrome
,safari-12
, orfirefox-63.0-linux
- when
product
is omitted, thislink
applies to tests across all browsers
url
is a bug URL;url
is non-optional unless alabel
is present.label
is a label to its tests;label
is used at a test-level and do not apply to subtests. Whenlabel
is present in a link:product
should be omittedurl
is optionalsubtest
is omitted
test
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.