| Index: ui/file_manager/integration_tests/file_manager/tasks.js
|
| diff --git a/ui/file_manager/integration_tests/file_manager/tasks.js b/ui/file_manager/integration_tests/file_manager/tasks.js
|
| index 9e444f281ed0ac6eb811be0c334ec122d651f7d5..4e081ed3e4dfc86372417f9b07a9c02f20420c26 100644
|
| --- a/ui/file_manager/integration_tests/file_manager/tasks.js
|
| +++ b/ui/file_manager/integration_tests/file_manager/tasks.js
|
| @@ -178,8 +178,8 @@ function defaultActionDialog(expectedTaskId, windowId) {
|
|
|
| // Wait for the dialog hidden, and the task is executed.
|
| var dialogHiddenPromise = itemClickedPromise.then(function() {
|
| - return remoteCall.waitForElement.bind(
|
| - remoteCall, windowId, '#default-action-dialog', null);
|
| + return remoteCall.waitForElementLost(
|
| + windowId, '#default-action-dialog', null);
|
| });
|
|
|
| // Execute the new default task.
|
|
|