Refactor settings and extensions browser tests to use common isVisible
Several browser_test test suites implemented the same version of a helper function to check if a particular element is visible. This CL refactor these tests to use an already commonly available util function. The original isVisible functionality is moved to isChildVisible and isVisible is adjusted to directly check the element parameter. Call sites that relied on the previous behavior have been refactored to use isChildVisible. Bug: 814436 Change-Id: I1d75f0562cd8ba789fab3e89bbd115ea7c85862b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2030921Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Theodore Olsauskas-Warren <sauski@google.com> Cr-Commit-Position: refs/heads/master@{#738653}
Showing
This diff is collapsed.
Please register or sign in to comment