W3C home > Mailing lists > Public > public-device-apis-log@w3.org > November 2017

Re: [battery] Allow use in same-origin children, add Feature Policy integration

From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Sat, 04 Nov 2017 03:21:49 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-341868275-1509765708-sysbot+gh@w3.org>
> @foolip, this is another API that needs a bunch of manual tests due to its inherent nature, similarly to Vibration API. Is the following guide still considered the state of the art in manual w-p-t testing? :-)

http://web-platform-tests.org/writing-tests/manual.html is the documentation for manual tests, but as of today, http://web-platform-tests.org/writing-tests/testdriver.html is the state of the art.

For all of your automation needs, I would run the following steps:
1. If the size and shape of a WebDriver API for automation would be simple, define a WebDriver extension in your spec, or put stuff in the WebDriver spec itself.
1. Wrap that in `test_driver.something()`
1. If that would be too complicated, escalate to public-test-infra and investigate doing a testing API in the style of https://wicg.github.io/webusb/test/

GitHub Notification of comment by foolip
Please view or discuss this issue at https://github.com/w3c/battery/pull/13#issuecomment-341868275 using your GitHub account
Received on Saturday, 4 November 2017 03:21:53 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 4 November 2017 03:21:54 UTC