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

Unified Diff: chrome/test/data/chromeos/virtual_keyboard/layout_test.js

Issue 1022143003: Removes flag --enable-new-md-input-view and add a opposite flag: --disable-new-md-input-view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/google_input_tools/inputview.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = {
« no previous file with comments | « no previous file | third_party/google_input_tools/inputview.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698