| Index: chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js
|
| diff --git a/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js b/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js
|
| index 286102d3970d49831cfa17be72c8dba8307edaf4..c0ce6b62ef4a0d2aa3ba4fd49184cab6dfaa7582 100644
|
| --- a/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js
|
| +++ b/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js
|
| @@ -143,48 +143,6 @@ function testPromise(promise) {
|
| };
|
|
|
| /**
|
| - * Test for creating new folder.
|
| - * @param {string} path Initial path.
|
| - * @param {Array.<TestEntryInfo>} initialEntrySet Initial set of entries.
|
| - * @return {Promise} Promise to be fulfilled on success.
|
| - */
|
| -function createNewFolder(path, initialEntrySet) {
|
| - var windowId;
|
| - // Open window.
|
| - return new Promise(function(callback) {
|
| - setupAndWaitUntilReady(null, path, callback);
|
| - }).then(function(inWindowId) {
|
| - windowId = inWindowId;
|
| - // Push Ctrl + E.
|
| - return callRemoteTestUtil('fakeKeyDown',
|
| - windowId,
|
| - // Ctrl + E
|
| - ['#file-list', 'U+0045', true]);
|
| - }).then(function() {
|
| - // Wait for rename text field.
|
| - return waitForElement(windowId, 'input.rename');
|
| - }).then(function() {
|
| - // Type new folder name.
|
| - return callRemoteTestUtil(
|
| - 'inputText', windowId, ['input.rename', 'Test Folder Name']);
|
| - }).then(function() {
|
| - // Push Enter.
|
| - return callRemoteTestUtil('fakeKeyDown',
|
| - windowId,
|
| - ['input.rename', 'Enter', false]);
|
| - }).then(function() {
|
| - return waitForElementLost(windowId, 'input.rename');
|
| - }).then(function() {
|
| - var expectedEntryRows = TestEntryInfo.getExpectedRows(initialEntrySet);
|
| - expectedEntryRows.push(['Test Folder Name', '--', 'Folder', '']);
|
| - // Wait for the new folder.
|
| - return waitForFiles(windowId,
|
| - expectedEntryRows,
|
| - {ignoreLastModifiedTime: true});
|
| - });
|
| -};
|
| -
|
| -/**
|
| * Renames a file.
|
| * @param {string} windowId ID of the window.
|
| * @param {string} oldName Old name of a file.
|
| @@ -273,12 +231,7 @@ testcase.keyboardDeleteDrive = function() {
|
| keyboardDelete(RootPath.DRIVE);
|
| };
|
|
|
| -testcase.createNewFolderDownloads = function() {
|
| - testPromise(createNewFolder(RootPath.DOWNLOADS, BASIC_LOCAL_ENTRY_SET));
|
| -};
|
| -
|
| -testcase.createNewFolderDrive = function() {
|
| - testPromise(createNewFolder(RootPath.DRIVE, BASIC_DRIVE_ENTRY_SET));
|
| +testcase.createNewFolderAndCheckFocus = function() {
|
| };
|
|
|
| testcase.renameFileDownloads = function() {
|
|
|