chromium/chrome/browser/supervised_user/url_filter_interactive_uitest.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 <string>
#include <string_view>

#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "base/types/strong_alias.h"
#include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
#include "chrome/test/interaction/interactive_browser_test.h"
#include "chrome/test/supervised_user/family_live_test.h"
#include "chrome/test/supervised_user/family_member.h"
#include "chrome/test/supervised_user/test_state_seeded_observer.h"
#include "content/public/test/browser_test.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/interaction/element_identifier.h"

namespace supervised_user {
namespace {

static constexpr std::string_view kPermissionRequestUrl =;

// All tests in this unit are subject to flakiness because they interact with a
// system that can be externally modified during execution.
// TODO(b/301587955): Fix placement of supervised_user/e2e test files and their
// dependencies.
class UrlFilterUiTest : public InteractiveFamilyLiveTest {};

IN_PROC_BROWSER_TEST_F(UrlFilterUiTest, ParentBlocksPage) {}

// Sanity test, if it fails it means that resetting the test state is not
// functioning properly.
IN_PROC_BROWSER_TEST_F(UrlFilterUiTest, ClearFamilyLinkSettings) {}

IN_PROC_BROWSER_TEST_F(UrlFilterUiTest, ParentAllowsPageBlockedBySafeSites) {}

IN_PROC_BROWSER_TEST_F(UrlFilterUiTest,
                       ParentAprovesPermissionRequestForBlockedSite) {}
}  // namespace
}  // namespace supervised_user