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

Unified Diff: ui/file_manager/integration_tests/gallery/open_image_files.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/gallery/open_image_files.js
diff --git a/ui/file_manager/integration_tests/gallery/open_image_files.js b/ui/file_manager/integration_tests/gallery/open_image_files.js
index 650db7edaa452471b9b1011df67252fa75f0e262..0f597a3242e96f353bada518cd9325c45bca287c 100644
--- a/ui/file_manager/integration_tests/gallery/open_image_files.js
+++ b/ui/file_manager/integration_tests/gallery/open_image_files.js
@@ -114,7 +114,7 @@ function openMultipleImagesAndChangeToSlideMode(testVolumeName, volumeType) {
// Press Enter key and mode should be changed to slide mode.
return gallery.callRemoteTestUtil(
'fakeKeyDown', appId,
- [null /* active element */, 'Enter', false, false, false]);
+ [null /* active element */, 'Enter', 'Enter', false, false, false]);
}).then(function() {
// Wait until it changes to slide mode.
return gallery.waitForElement(appId, '.gallery[mode="slide"]');
« no previous file with comments | « ui/file_manager/integration_tests/file_manager/tab_index.js ('k') | ui/file_manager/integration_tests/gallery/photo_editor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698