Add AX ID for Cancel and Done button on Translate Language Picker.
Currently, the test uses the following matchers to find the cancel and done button on language picker: grey_allOf(chrome_test_util::ButtonWithAccessibilityLabel(@"Cancel"), grey_userInteractionEnabled(), nil); This is not bullet proof and may break any time, and this CL fixes the issue by adding AX ID to both the cancel and done buttons. Bug: 750344 Change-Id: I4fda45961b684b877adf29a5bf0fee6e03f1ba8d Reviewed-on: https://chromium-review.googlesource.com/594831Reviewed-by:Eugene But <eugenebut@chromium.org> Commit-Queue: Yuke Liao <liaoyuke@chromium.org> Cr-Commit-Position: refs/heads/master@{#490840}
Showing
Please register or sign in to comment