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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/bluetooth_options_browsertest.js

Issue 1942543002: Disable BluetoothWebUITestAsync.testConnect for flakiness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 GEN('#if defined(OS_CHROMEOS)'); 5 GEN('#if defined(OS_CHROMEOS)');
6 6
7 GEN_INCLUDE(['../options_browsertest_base.js']); 7 GEN_INCLUDE(['../options_browsertest_base.js']);
8 8
9 function BluetoothWebUITestAsync() {} 9 function BluetoothWebUITestAsync() {}
10 10
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 chrome.bluetooth.getAdapterState(function(state) { 225 chrome.bluetooth.getAdapterState(function(state) {
226 expectTrue($('bluetooth-pairing-pincode-entry').hidden); 226 expectTrue($('bluetooth-pairing-pincode-entry').hidden);
227 testDone(); 227 testDone();
228 }.bind(this)); 228 }.bind(this));
229 }.bind(this)); 229 }.bind(this));
230 }.bind(this)); 230 }.bind(this));
231 }.bind(this)); 231 }.bind(this));
232 }.bind(this)); 232 }.bind(this));
233 }); 233 });
234 234
235 TEST_F('BluetoothWebUITestAsync', 'testConnect', function() { 235 // TODO(crbug.com/608126) Test is flaky.
236 TEST_F('BluetoothWebUITestAsync', 'DISABLED_testConnect', function() {
236 assertEquals(this.browsePreload, document.location.href); 237 assertEquals(this.browsePreload, document.location.href);
237 238
238 // Enable bluetooth. 239 // Enable bluetooth.
239 $('enable-bluetooth').click(); 240 $('enable-bluetooth').click();
240 241
241 // Wait for the UI to process any pending messages. 242 // Wait for the UI to process any pending messages.
242 window.setTimeout(function() { 243 window.setTimeout(function() {
243 // Wait for fake bluetooth impl to send any updates. 244 // Wait for fake bluetooth impl to send any updates.
244 chrome.bluetooth.getAdapterState(function(state) { 245 chrome.bluetooth.getAdapterState(function(state) {
245 var pairedDeviceList = $('bluetooth-paired-devices-list'); 246 var pairedDeviceList = $('bluetooth-paired-devices-list');
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 assertEquals(pairDeviceDialogSize, nodeCount(pairDeviceDialog)); 431 assertEquals(pairDeviceDialogSize, nodeCount(pairDeviceDialog));
431 } 432 }
432 433
433 testDone(); 434 testDone();
434 }.bind(this)); 435 }.bind(this));
435 }.bind(this)); 436 }.bind(this));
436 }.bind(this)); 437 }.bind(this));
437 }); 438 });
438 439
439 GEN('#endif'); 440 GEN('#endif');
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698