Create Open-in EG2 Test
This test was not possible in EG1 as EG1 can't detect system views (in this case the activity view). - Test that open in bar appears when a PDF is opened and test that interacting with it will show the activityView. Also test that after dismiss the activity view tapping on the web view will bring back the open in bar. - This CL also include a fix for the path problem where the default EmbededTestServer uses the Runner.app directory as the root directory. Instead change that to use the bundle path in the server initialization inside ChromeTestCase (This is a variation of Eugenebut@ solution created on https://chromium-review.googlesource.com/c/chromium/src/+/1650271 ) Bug: 945461 Change-Id: Ie8b53a7b662412b6516d8f2c654a19ac657416da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1650613 Commit-Queue: Mohammad Refaat <mrefaat@chromium.org> Reviewed-by:Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#668502}
Showing
Please register or sign in to comment