Commit fbb09263 authored by Thomas Tangl's avatar Thomas Tangl Committed by Commit Bot

[profile-menu] Re-enable browser test _WithUnconsentedPrimaryAccount

... and wait for SyncTransportActive during the setup.

Bug: 995720, 1012167
Change-Id: Ib0523c68738f226a29171fabc64264cf36c03f37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1856061
Commit-Queue: Thomas Tangl <tangltom@chromium.org>
Reviewed-by: default avatarDavid Roger <droger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#705126}
parent 0bfab86a
...@@ -894,12 +894,12 @@ constexpr ProfileMenuView::ActionableItem ...@@ -894,12 +894,12 @@ constexpr ProfileMenuView::ActionableItem
ProfileMenuClickTest_WithUnconsentedPrimaryAccount::kOrderedActionableItems ProfileMenuClickTest_WithUnconsentedPrimaryAccount::kOrderedActionableItems
[]; [];
// TODO(crbug.com/1012167): Flaky.
IN_PROC_BROWSER_TEST_P(ProfileMenuClickTest_WithUnconsentedPrimaryAccount, IN_PROC_BROWSER_TEST_P(ProfileMenuClickTest_WithUnconsentedPrimaryAccount,
DISABLED_SetupAndRunTest) { SetupAndRunTest) {
signin::MakeAccountAvailableWithCookies(identity_manager(), signin::MakeAccountAvailableWithCookies(identity_manager(),
&test_url_loader_factory_, &test_url_loader_factory_,
"user@example.com", "gaia_id"); "user@example.com", "gaia_id");
ASSERT_TRUE(sync_harness()->AwaitSyncTransportActive());
// Check that the setup was successful. // Check that the setup was successful.
ASSERT_FALSE(identity_manager()->HasPrimaryAccount()); ASSERT_FALSE(identity_manager()->HasPrimaryAccount());
ASSERT_TRUE(identity_manager()->HasUnconsentedPrimaryAccount()); ASSERT_TRUE(identity_manager()->HasUnconsentedPrimaryAccount());
......
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