| Index: chrome/test/data/chromeos/virtual_keyboard/layout_test.js
|
| diff --git a/chrome/test/data/chromeos/virtual_keyboard/layout_test.js b/chrome/test/data/chromeos/virtual_keyboard/layout_test.js
|
| index 69a67c59600ff7aa556949a2a54c0410bcf0375b..7ab5fcb236cb754a19354a7d1c0058d562e7cc44 100644
|
| --- a/chrome/test/data/chromeos/virtual_keyboard/layout_test.js
|
| +++ b/chrome/test/data/chromeos/virtual_keyboard/layout_test.js
|
| @@ -179,17 +179,15 @@ function testHandwritingLayoutAsync(testDoneCallback) {
|
| var hwtSelectBounds = hwtSelect.getBoundingClientRect();
|
| assertTrue(hwtSelectBounds.width > 0 && hwtSelectBounds.height > 0,
|
| 'Expect non-zero size for hwt select button.');
|
| - // TODO(fengyuan): bring back this handwriting test once found the cause.
|
| - /*onSwitchToKeyset('hwt', function() {
|
| + onSwitchToKeyset('hwt', function() {
|
| var view = getActiveView();
|
| assertEquals('hwt', view.id, 'Handwriting layout is not active.');
|
| var hwtCanvasView = view.querySelector('#canvasView');
|
| assertTrue(!!hwtCanvasView, 'Unable to find canvas view');
|
| - var candidateView = document.getElementById('candidateView');
|
| - assertTrue(!!candidateView, 'Unable to find candidate view');
|
| - var backButton = candidateView.querySelector(
|
| - '.inputview-candidate-button');
|
| - assertEquals('HANDWRITING_BACK', backButton.textContent);
|
| + var panelView = document.getElementById('panelView');
|
| + assertTrue(!!panelView, 'Unable to find panel view');
|
| + var backButton = panelView.querySelector('#backToKeyboard');
|
| + assertTrue(!!backButton, 'Unable to find back button.');
|
| onSwitchToKeyset('us.compact.qwerty', function() {
|
| assertEquals('us-compact-qwerty', getActiveView().id,
|
| 'compact layout is not active.');
|
| @@ -197,8 +195,7 @@ function testHandwritingLayoutAsync(testDoneCallback) {
|
| });
|
| mockTap(backButton);
|
| });
|
| - mockTap(hwtSelect);*/
|
| - testDoneCallback();
|
| + mockTap(hwtSelect);
|
| });
|
| };
|
| var config = {
|
|
|