Commit cd0b413e authored by Justin Cohen's avatar Justin Cohen Committed by Commit Bot

ios: Work around flake in testXClientData.

Bug: 1120723
Change-Id: Id1a510e5bd318df12207169a06c58dd2090ff297
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2369437
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Commit-Queue: Rohit Rao <rohitrao@chromium.org>
Auto-Submit: Justin Cohen <justincohen@chromium.org>
Reviewed-by: default avatarRohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800687}
parent 91c6f3a2
......@@ -163,6 +163,12 @@ id<GREYMatcher> SearchCopiedTextButton() {
EARL_GREY_TEST_SKIPPED(@"testXClientData doesn't pass on iPad device.");
}
#endif
// TODO(crbug.com/1120723) This test is flakily because of a DCHECK in
// ios/web. Clearing browser history first works around the problem, but
// shouldn't be necessary otherwise. Remove once the bug is fixed.
[ChromeEarlGrey clearBrowsingHistory];
// Rewrite the google URL to localhost URL.
[OmniboxAppInterface rewriteGoogleURLToLocalhost];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment