chromium/chrome/test/data/webui/cr_elements/cr_elements_browsertest.cc

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

#include "base/test/scoped_feature_list.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/web_ui_mocha_browser_test.h"
#include "content/public/test/browser_test.h"
#include "third_party/blink/public/common/features.h"
#include "ui/compositor/compositor_switches.h"

CrElementsTest;

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrA11yAnnouncer) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrButton) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrChip) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrCollapse) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrContainerShadowMixin) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrContainerShadowMixinLit) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrDialog) {}

// https://crbug.com/1008122 - Flaky on Mac.
#if BUILDFLAG(IS_MAC)
#define MAYBE_CrDrawer
#else
#define MAYBE_CrDrawer
#endif
IN_PROC_BROWSER_TEST_F(CrElementsTest, MAYBE_CrDrawer) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrExpandButton) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrIcon) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrIconset) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, IconsetMap) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, FindShortcutMixin) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, I18nMixin) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, I18nMixinLit) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrIconButton) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrLazyList) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrLazyRender) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrLazyRenderLit) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrLinkRow) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, ListPropertyUpdateMixin) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrRadioButton) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrRipple) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrRippleMixin) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrCardRadioButton) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrRadioGroup) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrScrollObserverMixin) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrScrollObserverMixinLit) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrSearchField) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrSelectableMixin) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrSlider) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrSplitter) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrToast) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrToastManager) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrViewManager) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrPageSelector) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrPolicyIndicator) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrProgress) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrAutoImg) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrToolbar) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrTooltip) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrTree) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, WebUiListenerMixin) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, WebUiListenerMixinLit) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrUrlListItem) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, StoreClient) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrLitElement) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrLoadingGradient) {}

IN_PROC_BROWSER_TEST_F(CrElementsTest, CrFeedbackButtons) {}

// Test with --enable-pixel-output-in-tests enabled, required by a few test
// cases using HTML canvas.
class CrElementsWithPixelOutputTest : public WebUIMochaBrowserTest {};

IN_PROC_BROWSER_TEST_F(CrElementsWithPixelOutputTest, CrLottie) {}