Commit a5d4660b authored by Eugene But's avatar Eugene But Committed by Commit Bot

[ios] Disable ChromeManageAccountsShowAddAccount on iOS 12 device

Test is consistently failing on downstream bots (iPhone and iPad device)

Bug: 1126746c
TBR: fernandex@chromium.org
Change-Id: I0cf93a563b5ca25356aa2fe8027559fc87e8f45e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404021Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805815}
parent 3bd6f0ef
......@@ -10,6 +10,7 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/ios/ios_util.h"
#include "base/test/bind_test_util.h"
#import "base/test/ios/wait_util.h"
#include "base/values.h"
......@@ -472,6 +473,13 @@ TEST_F(AccountConsistencyServiceTest,
// signon realm returns with a X-Chrome-Manage-Accounts header with ADDSESSION
// action.
TEST_F(AccountConsistencyServiceTest, ChromeManageAccountsShowAddAccount) {
#if !TARGET_IPHONE_SIMULATOR
// TODO(crbug.com/1126746): Test is failing on iOS 12 device.
if (!base::ios::IsRunningOnOrLater(13, 0, 0)) {
return;
}
#endif
id delegate =
[OCMockObject mockForProtocol:@protocol(ManageAccountsDelegate)];
[[delegate expect] onAddAccount];
......
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