chromium/chrome/browser/ui/user_education/start_tutorial_in_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 "chrome/browser/ui/user_education/start_tutorial_in_page.h"

#include <optional>

#include "base/test/mock_callback.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
#include "chrome/browser/user_education/user_education_service.h"
#include "chrome/browser/user_education/user_education_service_factory.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "chrome/test/interaction/interactive_browser_test.h"
#include "components/strings/grit/components_strings.h"
#include "components/user_education/common/help_bubble_params.h"
#include "components/user_education/common/tutorial_registry.h"
#include "content/public/test/browser_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace {

const char kStartingPageURL[] =;
const char kTargetPageURL[] =;
const ui::ElementIdentifier kHelpBubbleAnchorId =;
const char kTestTutorialId[] =;

// Gets a partially-filled params block with default values. You will still
// need to specify `target_url` and `callback`.
StartTutorialInPage::Params GetDefaultParams() {}

}  // namespace

HelpBubbleArrow;
TutorialDescription;
BubbleStep;
EventStep;
HiddenStep;

class StartTutorialInPageBrowserTest : public InteractiveBrowserTest {};

IN_PROC_BROWSER_TEST_F(StartTutorialInPageBrowserTest,
                       StartTutorialInSamePage) {}

IN_PROC_BROWSER_TEST_F(StartTutorialInPageBrowserTest, StartTutorialInNewTab) {}

IN_PROC_BROWSER_TEST_F(StartTutorialInPageBrowserTest,
                       StartTutorialInSamePageWithNavigation) {}