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
productis 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
productis omitted, thislinkapplies to tests across all browsers
urlis a bug URL;urlis non-optional unless alabelis present.labelis a label to its tests;labelis used at a test-level and do not apply to subtests. Whenlabelis present in a link:productshould be omittedurlis optionalsubtestis omitted
testis 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.statusis 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.