• Mohammad Refaat's avatar
    Create Open-in EG2 Test · 071693c8
    Mohammad Refaat authored
    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: default avatarEugene But <eugenebut@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#668502}
    071693c8
chrome_test_case.mm 13.7 KB