Clarify WebappNavigationTests
This CL: - Clarifies which tests test that a CCT is launched and which do not - Adds testing that the toolbar is hidden/shown in test cases where the toolbar should be shown instead of launching a CCT. - Removes deceptively named assertOffOrigin() which does not assert but instead waits for a condition to be met. Instead: - Changes WebappNavigationTest#waitFor() to wait till the tab for an activity has been created - Uses ChromeTabUtils#waitForTabPageLoaded() BUG=None Change-Id: If588dcc4ae2a9341221eb64ac7184bb5b75efd33 Reviewed-on: https://chromium-review.googlesource.com/777903 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#517823}
Showing
Please register or sign in to comment