https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 8c228b827f2f7d2d317a13f48ff6022b0da5b10a authored by Luke Bjerring on 20 July 2018, 17:32:08 UTC
Try to automate u2f authentication, with vendor-specific implementations of what 'authenticate_u2f' would be.
Tip revision: 8c228b8
README.md
The `generic-sensor-tests.js` tests require an implementation of
the `GenericSensorTest` interface, which should emulate platform
sensor backends. The `GenericSensorTest` interface is defined as:

```
  class GenericSensorTest {
    async initialize();  // Sets up the testing enviroment.
    async reset(); // Frees the resources.
  };
```

The Chromium implementation of the `GenericSensorTest` interface is located in
[generic_sensor_mocks.js](../resources/chromium/generic_sensor_mocks.js).

Other browser vendors should provide their own implementations of
the `GenericSensorTest` interface.

[Known issue](https://github.com/web-platform-tests/wpt/issues/9686): a
WebDriver extension is a better approach for the Generic Sensor tests
automation.
back to top