Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / test / data / chromeos / virtual_keyboard / hide_keyboard_key_test.js
blobde3e5fbe574d721bc872724ae242d5ad27808141
1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
7 /**
8 * Tests that tapping the hide keyboard button hides the keyboard.
9 * @param {Function} testDoneCallback The callback function on completion.
11 function testHideKeyboard(testDoneCallback) {
12 onKeyboardReady(function() {
13 var key = findKeyById('HideKeyboard');
14 mockTap(key);
15 chrome.virtualKeyboardPrivate.hideKeyboard.addExpectation();
16 chrome.virtualKeyboardPrivate.lockKeyboard.addExpectation(false);
17 testDoneCallback();
18 });