WebUI Tab Strip: Fix possible cause of flaky tests
There may be a race condition for when the JavaScript to query a child in the shadow DOM of a tabstrip-tab-group element runs immediately after the test adds a tab to a group. This CL waits for the tabstrip-tab-group element to appear on the page before running this query. Bug: 1132300 Change-Id: I228f694ffeffa5c9bf303f4952fbbabef8f2334e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2594507 Commit-Queue: John Lee <johntlee@chromium.org> Reviewed-by:dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#837839}
Showing
Please register or sign in to comment