Commit e919a379 authored by Alex Danilo's avatar Alex Danilo Committed by Commit Bot

Disable feedback panels by default

Bug: 999653
Change-Id: I3c2a65fc04817a1ced86ecbd5157877a6ac07244
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1778883
Commit-Queue: Alex Danilo <adanilo@chromium.org>
Commit-Queue: Austin Tankiang <austinct@chromium.org>
Auto-Submit: Alex Danilo <adanilo@chromium.org>
Reviewed-by: default avatarAustin Tankiang <austinct@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692200}
parent dc93b97b
......@@ -83,7 +83,7 @@ const base::Feature kDriveFsMirroring{"DriveFsMirroring",
// If enabled shows the visual signals feedback panel.
const base::Feature kEnableFileManagerFeedbackPanel{
"EnableFeedbackPanel", base::FEATURE_ENABLED_BY_DEFAULT};
"EnableFeedbackPanel", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables the enhanced external media formatting dialog in the file manager,
// with support for labelling and also NTFS/exFAT filesystems.
......
......@@ -600,13 +600,12 @@ testcase.transferDeletedFile = async () => {
chrome.test.assertTrue(
await remoteCall.callRemoteTestUtil('execCommand', appId, ['paste']));
// Check that the error appears in the feedback panel.
const element = await remoteCall.waitForElement(
appId, ['#progress-panel', 'xf-panel-item']);
chrome.test.assertEq(
`Whoops, ${entry.nameText} no longer exists.`,
element.attributes['primary-text']);
// Wait for the progress center to display.
await remoteCall.waitForElement(appId, '#progress-center:not([hidden])');
// Check that only one line of text is shown.
chrome.test.assertFalse(!!element.attributes['secondary-text']);
// Check that the error appears in the progress center.
const element =
await remoteCall.waitForElement(appId, '.progress-frame label');
chrome.test.assertEq(
`Whoops, ${entry.nameText} no longer exists.`, element.text);
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment