1. 03 Apr, 2020 1 commit
    • Jinsuk Kim's avatar
      GestureNav: Fix flaky tests · e0241b9d
      Jinsuk Kim authored
      ChromeTabUtils.fullyLoadUrlInNewTab sometimes takes long to finish
      on Tablet. Replaced it with ActivityTestRule.loadUrl. What they do is
      different but doesn't matter for the goal of the tests as long as they
      load a given URL.
      
      Swiping left and immediately swiping right on rendered pages
      sometimes fails. This CL gives a bit of delay before the second
      swiping starts for the gesture navigation to be ready.
      
      The tests for left swipe were removed, since those testing right
      swipe also include left swipe.
      
      Tested locally on Nexus 7.
      
      Bug: 1041233, 1051221
      Change-Id: I4bf866f2521c02b3c4500d47776ba80fdea91ac7
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2125914
      Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org>
      Reviewed-by: default avatarDonn Denman <donnd@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#756075}
      e0241b9d
  2. 02 Apr, 2020 39 commits