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() { |