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

Unified Diff: ui/file_manager/integration_tests/file_manager/drive_specific.js

Issue 2046143002: Send 'key' from fake keyboard events generated by file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix additional tests I missed Created 4 years, 6 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
Index: ui/file_manager/integration_tests/file_manager/drive_specific.js
diff --git a/ui/file_manager/integration_tests/file_manager/drive_specific.js b/ui/file_manager/integration_tests/file_manager/drive_specific.js
index 9f62885c45d7933552e75c09e4524beffd279c08..f945d5c76e20b91f634a9dcb6be5f7f60907502e 100644
--- a/ui/file_manager/integration_tests/file_manager/drive_specific.js
+++ b/ui/file_manager/integration_tests/file_manager/drive_specific.js
@@ -209,7 +209,7 @@ testcase.clickFirstSearchResult = function() {
appId = id;
remoteCall.callRemoteTestUtil(
'fakeKeyDown', appId,
- ['#autocomplete-list', 'Down', false, false, false],
+ ['#autocomplete-list', 'ArrowDown', 'Down', false, false, false],
this.next);
},
function(result) {
@@ -260,7 +260,7 @@ testcase.pressEnterToSearch = function() {
function(result) {
remoteCall.callRemoteTestUtil(
'fakeKeyDown', appId,
- ['#search-box input', 'Enter', false, false, false],
+ ['#search-box input', 'Enter', 'Enter', false, false, false],
this.next);
},
function(result) {

Powered by Google App Engine
This is Rietveld 408576698