chromium/chrome/test/data/webui/new_tab_page/new_tab_page_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 "build/build_config.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/web_ui_mocha_browser_test.h"
#include "components/history_clusters/core/features.h"
#include "components/search/ntp_features.h"
#include "content/public/test/browser_test.h"

class NewTabPageBrowserTest : public WebUIMochaBrowserTest {};

NewTabPageTest;

IN_PROC_BROWSER_TEST_F(NewTabPageTest, MetricsUtils) {}

IN_PROC_BROWSER_TEST_F(NewTabPageTest, VoiceSearchOverlay) {}

// TODO(crbug.com/40933410):  Re-enable once no longer fails.
IN_PROC_BROWSER_TEST_F(NewTabPageTest, DISABLED_LensForm) {}

// TODO(crbug.com/40902230): Test is flaky across platforms.
IN_PROC_BROWSER_TEST_F(NewTabPageTest, DISABLED_LensUploadDialog) {}

IN_PROC_BROWSER_TEST_F(NewTabPageTest, Logo) {}

IN_PROC_BROWSER_TEST_F(NewTabPageTest, DoodleShareDialog) {}

IN_PROC_BROWSER_TEST_F(NewTabPageTest, BackgroundManager) {}

IN_PROC_BROWSER_TEST_F(NewTabPageTest, MiddleSlotPromo) {}

IN_PROC_BROWSER_TEST_F(NewTabPageTest, ImageProcessor) {}

IN_PROC_BROWSER_TEST_F(NewTabPageTest, Transparency) {}

NewTabPageModulesTest;

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, ModuleWrapper) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, ModulesV2) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, ModuleHeaderV2) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, Modules) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, ModuleDescriptor) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, ModuleRegistry) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, ModuleHeader) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, InfoDialog) {}

#if !defined(OFFICIAL_BUILD)
// The dummy module is not available in official builds.
IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, DummyModule) {}
#endif  // !defined(OFFICIAL_BUILD)

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, Calendar) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, CalendarMetrics) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, CalendarEvent) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, CalendarEventMetrics) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, GoogleCalendarModule) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, OutlookCalendarModule) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, DriveModule) {}

IN_PROC_BROWSER_TEST_F(NewTabPageModulesTest, FileSuggestionModule) {}

NewTabPageAppTest;

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, Misc) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, OgbThemingRemoveScrim) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, OgbScrim) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, Theming) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, Promo) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, Clicks) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, Modules) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, V2Modules) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, CounterfactualModules) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, CustomizeChromeSidePanel) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, LensUploadDialog) {}

IN_PROC_BROWSER_TEST_F(NewTabPageAppTest, WallpaperSearch) {}

class NewTabPageModulesMostRelevantTabResumptionModuleTest
    : public NewTabPageBrowserTest {};

IN_PROC_BROWSER_TEST_F(NewTabPageModulesMostRelevantTabResumptionModuleTest,
                       Core) {}