Commit ef264503 authored by Rachel Sugrono's avatar Rachel Sugrono Committed by Commit Bot

Follow-up CL:1972737

myDriveContent moved to the if statement that it's used.

Bug: 1035220
Bug: 1035220

Change-Id: I9bef0cf1894bd18d76fc79936a41e13ba87fc6a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1977887Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Rachel Sugrono <rsugrono@google.com>
Cr-Commit-Position: refs/heads/master@{#726692}
parent 3f3b9dc2
...@@ -138,14 +138,14 @@ async function transferBetweenVolumes(transferInfo) { ...@@ -138,14 +138,14 @@ async function transferBetweenVolumes(transferInfo) {
SHARED_DRIVE_ENTRY_SET : SHARED_DRIVE_ENTRY_SET :
BASIC_DRIVE_ENTRY_SET; BASIC_DRIVE_ENTRY_SET;
const myDriveContent = TestEntryInfo.getExpectedRows(
driveFiles.filter(e => e.teamDriveName === '' && e.computerName === ''));
// Open files app. // Open files app.
const appId = const appId =
await setupAndWaitUntilReady(RootPath.DOWNLOADS, localFiles, driveFiles); await setupAndWaitUntilReady(RootPath.DOWNLOADS, localFiles, driveFiles);
// Expand Drive root if either src or dst is within Drive. // Expand Drive root if either src or dst is within Drive.
if (transferInfo.source.isTeamDrive || transferInfo.destination.isTeamDrive) { if (transferInfo.source.isTeamDrive || transferInfo.destination.isTeamDrive) {
const myDriveContent = TestEntryInfo.getExpectedRows(
driveFiles.filter(e => e.teamDriveName === '' && e.computerName === ''));
// Select + expand + wait for its content. // Select + expand + wait for its content.
chrome.test.assertTrue(await remoteCall.callRemoteTestUtil( chrome.test.assertTrue(await remoteCall.callRemoteTestUtil(
'selectFolderInTree', appId, ['Google Drive'])); 'selectFolderInTree', appId, ['Google Drive']));
......
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