Skip to content

implementation report generation

ianbjacobs edited this page Mar 28, 2019 · 23 revisions

Run the Tests in your Browser of Choice

  1. Visit the test runner with your browser of choice.
  2. Unselect Reftests and Manual tests.
  3. Run path under "/payment-request/"
  4. When you run the test, an initially blank window opens.
  5. When the tests finish running, download the resulting JSON file and name it "CCNN", where "CC" are the browser initials and NN is the version number. Initials are FF (Firefox), CH (Chrome), ED (Edge), SF (Safari), and SI (Samsung Internet). So, for example, Firefox 63 would be "FF63".
  6. Send a pull request with the new JSON file to the payment request test repo.

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