-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle mock or automated behavior? #7156
Comments
In June 2017 discussions in several threads, and also a VC call, discussing Web Bluetooth, Web USB, and WebVR resulted in this summary of specification with matching test APIs. I'll include the summary here:
|
Note that some support for automation is currently available and in regular use. /cc @foolip |
It's fun to see this old issue and that we've actually resolved half of it now. doNextStepWithUserGesture is now supported. We have type:untestable issues for tracking missing capabilities, and there are many. For window.testRunner.setMockScreenOrientation, I think No way to test sensor APIs is the right issue, and @Honry is working on the API in w3c/sensors#369. For Web Bluetooth, WebUSB, and WebVR, a different form of mocking has emerged using Mojo JS. @Hexcles, is there a tracking page or issue for those capabilities? Closing this issue now since the basic infrastructure (testdriver.js) is there, but I acknowledge there is much work to be done for specific APIs. Please file new issues for specifics and add the type:untestable label if you have them. |
Originally posted as w3c/testharness.js#85 by @scheib on 09 Oct 2014, 22:08 UTC:
The text was updated successfully, but these errors were encountered: