chromium/chrome/browser/ui/views/location_bar/location_icon_view_interactive_uitest.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/location_bar/location_icon_view.h"

#include "build/build_config.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/location_bar/location_bar_view.h"
#include "chrome/browser/ui/views/page_action/page_action_icon_view.h"
#include "chrome/browser/ui/views/page_info/page_info_bubble_view.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/interactive_test_utils.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/test_utils.h"

namespace {

class LocationIconViewTest : public InProcessBrowserTest {};

// Verify that clicking the location icon a second time hides the bubble.
// TODO(crbug.com/40251927) flaky on mac11-arm64-rel, disabled via filter
// TODO(crbug.com/41481796) Fails consistently on Linux, disabled via filter.
IN_PROC_BROWSER_TEST_F(LocationIconViewTest, HideOnSecondClick) {}

#if BUILDFLAG(IS_MAC)
// TODO(jongkwon.lee): https://crbug.com/825834 NativeWidgetMac::Deactivate is
// not implemented on Mac.
#define MAYBE_ActivateFirstInactiveBubbleForAccessibility
#else
#define MAYBE_ActivateFirstInactiveBubbleForAccessibility
#endif
IN_PROC_BROWSER_TEST_F(LocationIconViewTest,
                       MAYBE_ActivateFirstInactiveBubbleForAccessibility) {}

}  // namespace