#include "chrome/browser/ui/views/commerce/discounts_icon_view.h"
#include "base/time/default_clock.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/commerce/mock_commerce_ui_tab_helper.h"
#include "chrome/browser/ui/tabs/public/tab_features.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/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/base/l10n/l10n_util.h"
#include "ui/views/interaction/element_tracker_views.h"
namespace {
const char kTestURL[] = …;
}
class DiscountsIconViewBrowserTest : public UiBrowserTest { … };
IN_PROC_BROWSER_TEST_F(DiscountsIconViewBrowserTest,
InvokeUi_show_discounts_icon_with_label) { … }
IN_PROC_BROWSER_TEST_F(DiscountsIconViewBrowserTest,
InvokeUi_show_discounts_icon_only) { … }