Commit 90d6daa1 authored by Xiaocheng Hu's avatar Xiaocheng Hu Committed by Commit Bot

[Sheriff] Disable flaky test SettingsTestCase/testClearCookies

Bug: 1038398
Change-Id: I7f3701fdd633b641b19f3e520faf588a19d4d969
NoTry: True
Tbr: eugenebut@chromium.org, sczs@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1984434Reviewed-by: default avatarXiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#727810}
parent 0ad5120d
...@@ -351,14 +351,10 @@ id<GREYMatcher> ClearBrowsingDataCell() { ...@@ -351,14 +351,10 @@ id<GREYMatcher> ClearBrowsingDataCell() {
// Tests that clearing the cookies through the UI does clear all of them. Use a // Tests that clearing the cookies through the UI does clear all of them. Use a
// local server to navigate to a page that sets then tests a cookie, and then // local server to navigate to a page that sets then tests a cookie, and then
// clears the cookie and tests it is not set. // clears the cookie and tests it is not set.
#if defined(CHROME_EARL_GREY_1)
#define MAYBE_testClearCookies testClearCookies
#elif defined(CHROME_EARL_GREY_2)
#define MAYBE_testClearCookies DISABLED_testClearCookies
#endif
// TODO(crbug.com/1036133): [ChromeEarlGrey cookies] does not work correctly in // TODO(crbug.com/1036133): [ChromeEarlGrey cookies] does not work correctly in
// this test. // this test.
- (void)MAYBE_testClearCookies { // TODO(crbug.com/1038398): This test crashes flakily.
- (void)DISABLED_testClearCookies {
// Creates a map of canned responses and set up the test HTML server. // Creates a map of canned responses and set up the test HTML server.
std::map<GURL, std::pair<std::string, std::string>> response; std::map<GURL, std::pair<std::string, std::string>> response;
......
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