Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/connect/connection-succeeds.html

Issue 1898263002: bluetooth: Separate connection tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-get-primary-service
Patch Set: Add name to test Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/bluetooth/connect/connection-succeeds.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/notifications/stop-without-starting.html b/third_party/WebKit/LayoutTests/bluetooth/connect/connection-succeeds.html
similarity index 65%
copy from third_party/WebKit/LayoutTests/bluetooth/notifications/stop-without-starting.html
copy to third_party/WebKit/LayoutTests/bluetooth/connect/connection-succeeds.html
index 7cbb02923277a8249db0a1bc80b9830129cd2025..97321810f6448a46bc4df13cc53d2c90b0ca6940 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/notifications/stop-without-starting.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/connect/connection-succeeds.html
@@ -9,8 +9,6 @@ promise_test(() => {
.then(() => requestDeviceWithKeyDown({
filters: [{services: ['heart_rate']}]}))
.then(device => device.gatt.connect())
- .then(gattServer => gattServer.getPrimaryService('heart_rate'))
- .then(service => service.getCharacteristic('heart_rate_measurement'))
- .then(characteristic => characteristic.stopNotifications());
-}, "Stop without starting.");
+ .then(gattServer => assert_true(gattServer.connected));
+}, 'Device will connect');
</script>

Powered by Google App Engine
This is Rietveld 408576698