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

Unified Diff: ui/file_manager/integration_tests/file_manager/details_panel.js

Issue 2565333002: Remove details panel. (Closed)
Patch Set: Rebased. Created 4 years 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
« no previous file with comments | « ui/file_manager/file_manager/main.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/integration_tests/file_manager/details_panel.js
diff --git a/ui/file_manager/integration_tests/file_manager/details_panel.js b/ui/file_manager/integration_tests/file_manager/details_panel.js
deleted file mode 100644
index 05440b2bb3016b27709b0ca1c14b02b67324be03..0000000000000000000000000000000000000000
--- a/ui/file_manager/integration_tests/file_manager/details_panel.js
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-'use strict';
-
-testcase.openDetailsPanel = function() {
- var appId;
- StepsRunner.run([
- function() {
- setupAndWaitUntilReady(null, RootPath.DOWNLOADS, this.next);
- },
- function(results) {
- appId = results.windowId;
- remoteCall.callRemoteTestUtil('fakeEvent',
- appId,
- ['#details-button', 'click'],
- this.next);
- },
- function(result) {
- remoteCall.waitForElement(appId, "#details-container").then(this.next);
- },
- function(result) {
- chrome.test.assertFalse(result.hidden);
- checkIfNoErrorsOccured(this.next);
- }
- ]);
-};
-
-testcase.openDetailsPanelForSingleFile = function() {
- var appId;
- StepsRunner.run([
- function() {
- setupAndWaitUntilReady(null, RootPath.DOWNLOADS, this.next);
- },
- function(results) {
- appId = results.windowId;
- remoteCall.callRemoteTestUtil('fakeEvent',
- appId,
- ['#details-button', 'click'],
- this.next);
- },
- function(result) {
- remoteCall.waitForElement(appId, "#details-container").then(this.next);
- },
- function(result) {
- chrome.test.assertFalse(result.hidden);
- remoteCall.waitForAFile('downloads', 'hello.txt').then(this.next);
- },
- function(result) {
- remoteCall.waitForElement(appId, "#single-file-details").then(this.next);
- },
- function(result) {
- chrome.test.assertFalse(result.hidden);
- checkIfNoErrorsOccured(this.next);
- }
- ]);
-};
-
-testcase.openSingleFileAndSeeDetailsPanel = function() {
- var appId;
- StepsRunner.run([
- function() {
- setupAndWaitUntilReady(null, RootPath.DOWNLOADS, this.next);
- },
- function(results) {
- appId = results.windowId;
- remoteCall.callRemoteTestUtil('fakeEvent',
- appId,
- ['#details-button', 'click'],
- this.next);
- },
- function(result) {
- remoteCall.waitForElement(appId, "#details-container").then(this.next);
- },
- function(result) {
- chrome.test.assertFalse(result.hidden);
- remoteCall.callRemoteTestUtil('selectFile', appId, ['hello.txt'],
- this.next);
- },
- function(result) {
- remoteCall.waitForElement(appId, "#single-file-details .filename")
- .then(this.next);
- },
- function(result) {
- chrome.test.assertEq('hello.txt', result.text);
- checkIfNoErrorsOccured(this.next);
- }
- ]);
-};
« no previous file with comments | « ui/file_manager/file_manager/main.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698