Searched refs:browserTest (Results 1 – 4 of 4) sorted by relevance
19 browserTest.Update_PIN = function() {};21 browserTest.Update_PIN.prototype.run = function(data) {24 browserTest.expect(typeof data.new_pin == 'string');25 browserTest.expect(typeof data.old_pin == 'string');26 browserTest.expect(data.new_pin != data.old_pin,49 browserTest.pass,51 browserTest.fail55 browserTest.Update_PIN.prototype.changePIN_ = function(newPin) {59 browserTest.clickOnControl('change-daemon-pin');61 return browserTest.onUIMode(AppMode.HOST_SETUP_ASK_PIN).then(function() {[all …]
47 var browserTest = {}; variable49 browserTest.init = function() {54 browserTest.automationController_ = window.domAutomationController || {67 browserTest.expect = function(expr, message) {70 browserTest.fail('Expectation failed.' + message);74 browserTest.fail = function(error) {93 browserTest.automationController_.send(JSON.stringify({100 browserTest.pass = function() {101 browserTest.automationController_.send(JSON.stringify({108 browserTest.clickOnControl = function(id) {[all …]
18 browserTest.Cancel_PIN = function() {};20 browserTest.Cancel_PIN.prototype.run = function(data) {21 browserTest.expect(typeof data.pin == 'string');24 browserTest.clickOnControl('this-host-connect');25 browserTest.onUIMode(AppMode.CLIENT_PIN_PROMPT).then(function() {26 browserTest.clickOnControl('cancel-pin-entry-button');27 return browserTest.onUIMode(AppMode.HOME);29 browserTest.clickOnControl('this-host-connect');30 return browserTest.onUIMode(AppMode.CLIENT_PIN_PROMPT);35 browserTest.pass();[all …]
17 browserTest.Invalid_PIN = function() {};19 browserTest.Invalid_PIN.prototype.run = function(data) {21 browserTest.expect(typeof data.pin == 'string');24 browserTest.clickOnControl('this-host-connect');26 browserTest.onUIMode(remoting.AppMode.CLIENT_PIN_PROMPT).then(33 browserTest.pass();36 browserTest.fail(reason);40 browserTest.Invalid_PIN.prototype.enterPIN_ = function(pin) {42 browserTest.clickOnControl('pin-connect-button');43 return browserTest.expectMe2MeError(remoting.Error.INVALID_ACCESS_CODE);