Clean up TabSwitcherMultiWindowTest
* Instead of holding on to references of RecyclerViews to check tab switcher state within two Activities, use Espresso style checks. Benefits of doing so are: 1) Espresso style requires us to use moveActivityToFront() to bring current activity to the front, which makes tests more readable. 2) It aligns better with the approach that we are using across tab_ui. * Use helper functions from TabUiTestHelper. Bug: 1017141 Change-Id: I939fc48f258a0c0b8089fd91a1492f0479370cf6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2145076Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Commit-Queue: Yue Zhang <yuezhanggg@chromium.org> Cr-Commit-Position: refs/heads/master@{#759136}
Showing
Please register or sign in to comment