chromium/chrome/browser/ui/views/commerce/product_specifications_button_browsertest.cc

// Copyright 2024 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/commerce/product_specifications_button.h"

#include "base/strings/utf_string_conversions.h"
#include "base/test/metrics/user_action_tester.h"
#include "chrome/browser/commerce/product_specifications/product_specifications_service_factory.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/commerce/product_specifications_entry_point_controller.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/tabs/tab_strip_prefs.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/tab_strip_region_view.h"
#include "chrome/browser/ui/views/tabs/tab_search_button.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/commerce/core/commerce_feature_list.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/test/browser_test.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/interaction/element_tracker.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/events/test/event_generator.h"
#include "ui/views/interaction/element_tracker_views.h"
#include "ui/views/view_utils.h"

class MockProductSpecificationsEntryPointController
    : public commerce::ProductSpecificationsEntryPointController {};

class ProductSpecificationsButtonBrowserTest : public InProcessBrowserTest {};

IN_PROC_BROWSER_TEST_F(ProductSpecificationsButtonBrowserTest,
                       ProductSpecificationsButtonOrder) {}

IN_PROC_BROWSER_TEST_F(ProductSpecificationsButtonBrowserTest, DelaysShow) {}

IN_PROC_BROWSER_TEST_F(ProductSpecificationsButtonBrowserTest,
                       StopIneligibleDelayedShow) {}

IN_PROC_BROWSER_TEST_F(ProductSpecificationsButtonBrowserTest,
                       ImmediatelyHidesWhenButtonDismissed) {}

IN_PROC_BROWSER_TEST_F(ProductSpecificationsButtonBrowserTest,
                       DelaysHideWhenButtonTimesOut) {}

IN_PROC_BROWSER_TEST_F(ProductSpecificationsButtonBrowserTest,
                       DoesntShowIfTabStripModalUIExists) {}

IN_PROC_BROWSER_TEST_F(ProductSpecificationsButtonBrowserTest,
                       BlocksTabStripModalUIWhileShown) {}

IN_PROC_BROWSER_TEST_F(ProductSpecificationsButtonBrowserTest, ClickButton) {}

IN_PROC_BROWSER_TEST_F(ProductSpecificationsButtonBrowserTest,
                       NotifyShowEntryPoint) {}