chromium/chrome/test/data/webui/settings/settings_focus_test.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 "chrome/common/chrome_features.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/web_ui_mocha_browser_test.h"
#include "components/content_settings/core/common/features.h"
#include "content/public/test/browser_test.h"

class SettingsFocusTest : public WebUIMochaFocusTest {};

IN_PROC_BROWSER_TEST_F(SettingsFocusTest, AnimatedPages) {}

IN_PROC_BROWSER_TEST_F(SettingsFocusTest, PaymentsSectionInteractive) {}

IN_PROC_BROWSER_TEST_F(SettingsFocusTest, PaymentsSectionFocus) {}

IN_PROC_BROWSER_TEST_F(SettingsFocusTest, SyncPage) {}

IN_PROC_BROWSER_TEST_F(SettingsFocusTest, SecureDns) {}

// Times out on Mac. See https://crbug.com/1060981.
#if BUILDFLAG(IS_MAC)
#define MAYBE_SettingsUIToolbarAndDrawer
#else
#define MAYBE_SettingsUIToolbarAndDrawer
#endif
IN_PROC_BROWSER_TEST_F(SettingsFocusTest, MAYBE_SettingsUIToolbarAndDrawer) {}

// Times out on Mac. See https://crbug.com/1060981.
#if BUILDFLAG(IS_MAC)
#define MAYBE_SettingsUISearch
#else
#define MAYBE_SettingsUISearch
#endif
IN_PROC_BROWSER_TEST_F(SettingsFocusTest, MAYBE_SettingsUISearch) {}

IN_PROC_BROWSER_TEST_F(SettingsFocusTest, Menu) {}

IN_PROC_BROWSER_TEST_F(SettingsFocusTest, ReviewNotificationPermissionsFocus) {}

class SettingsUnusedSitePermissionsFocusTest : public SettingsFocusTest {};

IN_PROC_BROWSER_TEST_F(SettingsUnusedSitePermissionsFocusTest, All) {}