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

Side by Side Diff: remoting/webapp/browser_test/update_pin_browser_test.js

Issue 944183002: HostTableEntry refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Jamie's feedback Created 5 years, 9 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 | « remoting/webapp/browser_test/browser_test.js ('k') | remoting/webapp/crd/html/ui_me2me.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * @suppress {checkTypes} 7 * @suppress {checkTypes}
8 * Browser test for the scenario below: 8 * Browser test for the scenario below:
9 * 1. Change the PIN. 9 * 1. Change the PIN.
10 * 2. Connect with the new PIN. 10 * 2. Connect with the new PIN.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ); 55 );
56 }; 56 };
57 57
58 /** 58 /**
59 * @param {string} newPin 59 * @param {string} newPin
60 * @return {Promise} 60 * @return {Promise}
61 */ 61 */
62 browserTest.Update_PIN.prototype.changePIN_ = function(newPin) { 62 browserTest.Update_PIN.prototype.changePIN_ = function(newPin) {
63 var AppMode = remoting.AppMode; 63 var AppMode = remoting.AppMode;
64 var HOST_RESTART_WAIT = 10000; 64 var HOST_RESTART_WAIT = 10000;
65 browserTest.clickOnControl('change-daemon-pin'); 65 browserTest.clickOnControl('.change-daemon-pin');
66 return browserTest.setupPIN(newPin); 66 return browserTest.setupPIN(newPin);
67 }; 67 };
OLDNEW
« no previous file with comments | « remoting/webapp/browser_test/browser_test.js ('k') | remoting/webapp/crd/html/ui_me2me.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698