Fix flaky test

Desktop / Chromium - Renjie Liu [chromium.org] - 8 September 2017 03:52 EDT

The reason is chrome by default opens blank/about page which cause the cld to detect as und, and when we wait for french to be detected, it's actually und got passed in.

By fixing this bug, we can fix crbug.com/394066 and http://crbug.com/378061 as well.

Bug: 762875 Change-Id: Ib2cb9e493e9d9f2a03e5594e37a048136798a313 Reviewed-on: https://chromium-review.googlesource.com/656871

697e08e2 Fix flaky test.
.../translate/translate_language_browsertest.cc | 145 +++++++++++++++++++++
chrome/test/BUILD.gn | 1 +
2 files changed, 146 insertions(+)

Upstream: git.chromium.org


  • Share