Skip to content
Marcos Cáceres edited this page Jul 27, 2017 · 11 revisions

The data-tests attribute takes a list of space-separated urls, allowing you to link tests to testable assertions.

Examples of usage

<script>
const respecConfig = {
 testSuiteURI: "https://wpt.fyi/payment-request/",
};
</script>
<p data-tests="test-1.html test-2.html">
  The user agent MUST do this stuff.... 
</p>

Guides

Configuration options

W3C Configuration options

Linter rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

WebIDL

HTML attributes

CSS Classes

Special properties

Clone this wiki locally