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

Unified Diff: chrome/test/data/webui/bluetooth_internals_browsertest.js

Issue 2622393002: bluetooth: Add characteristic list to DeviceDetailsPage in internals page. (Closed)
Patch Set: Simplifications Created 3 years, 11 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
« no previous file with comments | « chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc ('k') | device/bluetooth/device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/bluetooth_internals_browsertest.js
diff --git a/chrome/test/data/webui/bluetooth_internals_browsertest.js b/chrome/test/data/webui/bluetooth_internals_browsertest.js
index 7931e2675867fd81c8359dfc0ceeab33d514d637..159dcd894e6f153ca5c377ceb89c76d64a41f307 100644
--- a/chrome/test/data/webui/bluetooth_internals_browsertest.js
+++ b/chrome/test/data/webui/bluetooth_internals_browsertest.js
@@ -334,13 +334,13 @@ TEST_F('BluetoothInternalsTest', 'Startup_BluetoothInternals', function() {
devices.splice(0, devices.length);
adapterBroker.adapterClient_.deviceAdded(fakeDeviceInfo1());
adapterBroker.adapterClient_.deviceAdded(fakeDeviceInfo2());
-
});
teardown(function() {
adapterFactory.reset();
sidebarObj.close();
snackbar.Snackbar.dismiss(true);
+ connectedDevices.clear();
adapterFactory.adapter.deviceProxyMap.forEach(function(deviceProxy) {
deviceProxy.reset();
@@ -790,6 +790,7 @@ TEST_F('BluetoothInternalsTest', 'Startup_BluetoothInternals', function() {
return adapterFactory.adapter.deviceProxyMap.get(
device.address).whenCalled('getServices').then(function() {
+ // At this point, the device details page should be fully loaded.
checkDeviceDetailsFieldSet(detailsPage, device);
// Second link is 'Forget'.
« no previous file with comments | « chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc ('k') | device/bluetooth/device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698