blob: 4a00ebdd9b87875f52c5e53ea8d707e9da6eb6ed [file] [log] [blame]
Tests that geolocation emulation with latitude and longitude works as expected.
Running: testPermissionGranted
geolocation-emulation-tests.js:13 Permission granted.
Running: testGeolocationUnavailable
geolocation-emulation-tests.js:48 Position unavailable
Running: testOverridenGeolocation
geolocation-emulation-tests.js:41 Latitude: 50 Longitude: 100
Running: testInvalidParam
error: Protocol Error: Invalid type of argument 'latitude' for method 'Emulation.setGeolocationOverride' call. It must be 'number' but it is 'boolean'.
Running: testInvalidGeolocation
geolocation-emulation-tests.js:41 Latitude: 50 Longitude: 100
Running: testTimestampOfOverridenPosition
geolocation-emulation-tests.js:79 PASSED
Running: testNoOverride
Override was cleared correctly.