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

Unified Diff: ui/file_manager/integration_tests/gallery/photo_editor.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/photo_editor.js
diff --git a/ui/file_manager/integration_tests/gallery/photo_editor.js b/ui/file_manager/integration_tests/gallery/photo_editor.js
index 04df8b535922723bb6dc25dd9182054c583f4a48..0427a3aee512ae3884b722ec5c12924a00d0eec0 100644
--- a/ui/file_manager/integration_tests/gallery/photo_editor.js
+++ b/ui/file_manager/integration_tests/gallery/photo_editor.js
@@ -94,7 +94,7 @@ function cropImage(testVolumeName, volumeType) {
}).
then(function() {
return gallery.fakeKeyDown(
- appId, 'body', 'Enter', false, false, false);
+ appId, 'body', 'Enter', 'Enter', false, false, false);
}).
then(function(ret) {
chrome.test.assertTrue(ret);
@@ -159,7 +159,8 @@ function exposureImage(testVolumeName, volumeType) {
origMetadata = metadata;
// Push the Enter key.
- return gallery.fakeKeyDown(appId, 'body', 'Enter', false, false, false);
+ return gallery.fakeKeyDown(appId, 'body', 'Enter', 'Enter', false, false,
+ false);
}).then(function() {
// Wait until the image is updated.
return repeatUntil(function() {

Powered by Google App Engine
This is Rietveld 408576698