#include "chrome/browser/ui/views/commerce/price_insights_icon_view.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/commerce/mock_commerce_ui_tab_helper.h"
#include "chrome/browser/ui/page_action/page_action_icon_type.h"
#include "chrome/browser/ui/tabs/public/tab_features.h"
#include "chrome/browser/ui/tabs/public/tab_interface.h"
#include "chrome/browser/ui/test/test_browser_ui.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/toolbar/toolbar_view.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/commerce/core/commerce_feature_list.h"
#include "components/commerce/core/test_utils.h"
#include "components/feature_engagement/public/feature_constants.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/test/browser_test.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/interaction/element_tracker.h"
#include "ui/views/interaction/element_tracker_views.h"
namespace {
const char kTestURL[] = …;
}
class PriceInsightsIconViewBrowserTest : public UiBrowserTest { … };
IN_PROC_BROWSER_TEST_F(PriceInsightsIconViewBrowserTest,
InvokeUi_show_price_insights_icon) { … }
class PriceInsightsIconViewWithLabelBrowserTest
: public PriceInsightsIconViewBrowserTest { … };
IN_PROC_BROWSER_TEST_F(PriceInsightsIconViewWithLabelBrowserTest,
InvokeUi_show_price_insights_icon_with_low_price_label) { … }
IN_PROC_BROWSER_TEST_F(
PriceInsightsIconViewWithLabelBrowserTest,
InvokeUi_show_price_insights_icon_with_high_price_label) { … }