Commit 03dcd342 authored by Isabella Scalzi's avatar Isabella Scalzi Committed by Commit Bot

[quickview] Enable |openQuickViewImageRawWithOrientation| test in C++

Enable the test in C++, and fix a variable name in the test.

Bug: 1039141
Change-Id: Ieca66d8856028f22d7f0bd5a0fa3f7c55bf63fe9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065508
Commit-Queue: Noel Gordon <noel@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#742956}
parent 7286b36f
......@@ -466,6 +466,7 @@ WRAPPED_INSTANTIATE_TEST_SUITE_P(
TestCase("openQuickViewImage"),
TestCase("openQuickViewImageExif"),
TestCase("openQuickViewImageRaw"),
TestCase("openQuickViewImageRawWithOrientation"),
TestCase("openQuickViewBrokenImage"),
TestCase("openQuickViewVideo"),
TestCase("openQuickViewPdf"),
......
......@@ -1083,11 +1083,11 @@
['#quick-view', 'files-safe-media[type="image"]', 'webview'];
// Open Files app on Downloads containing ENTRIES.rawNef.
const appId =
await setupAndWaitUntilReady(RootPath.DOWNLOADS, [ENTRIES.rawNef], []);
const appId = await setupAndWaitUntilReady(
RootPath.DOWNLOADS, [ENTRIES.nefImage], []);
// Open the file in Quick View.
await openQuickView(appId, ENTRIES.rawNef.nameText);
await openQuickView(appId, ENTRIES.nefImage.nameText);
// Wait for the Quick View <webview> to load and display its content.
function checkWebViewImageLoaded(elements) {
......
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