Commit 849f2ad9 authored by Isabella Scalzi's avatar Isabella Scalzi Committed by Commit Bot

[quickview] Assert that the test remote fakeMouseClick worked

Addresses post-facto review comments of CL:2026548.

Bug: 1038799
Change-Id: Id22e54a6824d7d28028145f5ef5eef3efb8ff846
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2029560
Commit-Queue: Noel Gordon <noel@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736785}
parent 317c4f7f
...@@ -234,8 +234,8 @@ ...@@ -234,8 +234,8 @@
// Click the file-list context menu "Get info" command. // Click the file-list context menu "Get info" command.
const getInfoMenuItem = '#file-context-menu:not([hidden]) ' + const getInfoMenuItem = '#file-context-menu:not([hidden]) ' +
' [command="#get-info"]:not([hidden])'; ' [command="#get-info"]:not([hidden])';
await remoteCall.callRemoteTestUtil( chrome.test.assertTrue(!!await remoteCall.callRemoteTestUtil(
'fakeMouseClick', appId, [getInfoMenuItem]); 'fakeMouseClick', appId, [getInfoMenuItem]));
// Check: the Quick View dialog should be shown. // Check: the Quick View dialog should be shown.
const caller = getCaller(); const caller = getCaller();
...@@ -276,8 +276,8 @@ ...@@ -276,8 +276,8 @@
// Click the file-list context menu "Get info" command. // Click the file-list context menu "Get info" command.
const getInfoMenuItem = '#file-context-menu:not([hidden]) ' + const getInfoMenuItem = '#file-context-menu:not([hidden]) ' +
' [command="#get-info"]:not([hidden])'; ' [command="#get-info"]:not([hidden])';
await remoteCall.callRemoteTestUtil( chrome.test.assertTrue(!!await remoteCall.callRemoteTestUtil(
'fakeMouseClick', appId, [getInfoMenuItem]); 'fakeMouseClick', appId, [getInfoMenuItem]));
// Check: the Quick View dialog should be shown. // Check: the Quick View dialog should be shown.
const caller = getCaller(); const caller = getCaller();
......
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