Skip to content

implementation report generation

Marcos Cáceres edited this page Sep 7, 2021 · 23 revisions

Run the tests

  1. Install web platform tests per instructions
  2. Safari ./wpt run --log-wptreport "safari.json" --channel=preview safari payment-request/
  3. Chrome ./wpt run --log-wptreport "chrome.json" --binary=/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary chrome payment-request
  4. Remove any "tentative" results
  5. Move the results to test-results folder (see below!).

Generate the report

Prerequisites

  1. The report is generated using wptreport, so, install:
npm install -g wptreport
  1. Git clone the following repository:
git clone git@github.com:w3c/test-results.git

Generating the report

  1. In the "test-results" repo, navigate to the "payment-request" directory and run wptreport without any arguments. It does not take long to run. It will update "all.html" (and typically other files in the directory).
  2. Commit changed files; do a pull request.
Clone this wiki locally