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

[profile-menu] Fix browser test crashes(incognito)

Bug: 1012167, 1014343
Change-Id: I347e56eee4fb0f12ddc7c7e1ea55ba40bbc42857
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1862436
Commit-Queue: Thomas Tangl <tangltom@chromium.org>
Commit-Queue: David Roger <droger@chromium.org>
Auto-Submit: Thomas Tangl <tangltom@chromium.org>
Reviewed-by: default avatarDavid Roger <droger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#705886}
parent 398078f6
......@@ -723,8 +723,8 @@ class ProfileMenuClickTest : public SyncTest,
ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0));
}
ProfileMenuView* profile_menu_view() {
return static_cast<ProfileMenuView*>(
ProfileMenuViewBase* profile_menu_view() {
return static_cast<ProfileMenuViewBase*>(
ProfileMenuViewBase::GetBubbleForTesting());
}
......@@ -907,9 +907,8 @@ constexpr ProfileMenuViewBase::ActionableItem
// there are no other buttons at the end.
ProfileMenuViewBase::ActionableItem::kExitProfileButton};
// TODO(crbug.com/1012167, 1014343): This crashes on Linux CFI bot.
PROFILE_MENU_CLICK_TEST(kActionableItems_IncognitoProfile,
DISABLED_ProfileMenuClickTest_IncognitoProfile) {
ProfileMenuClickTest_IncognitoProfile) {
SetTargetBrowser(CreateIncognitoBrowser(browser()->profile()));
RunTest();
......
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