#include "base/functional/callback_helpers.h"
#include "base/strings/strcat.h"
#include "build/build_config.h"
#include "chrome/browser/enterprise/browser_management/management_service_factory.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/test/test_browser_ui.h"
#include "chrome/browser/ui/views/profiles/first_run_flow_controller_dice.h"
#include "chrome/browser/ui/views/profiles/profile_management_step_controller.h"
#include "chrome/browser/ui/views/profiles/profile_picker_view_test_utils.h"
#include "chrome/browser/ui/views/profiles/profiles_pixel_test_utils.h"
#include "components/policy/core/common/management/scoped_management_service_override_for_testing.h"
#include "components/signin/public/base/signin_buildflags.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
#if !BUILDFLAG(ENABLE_DICE_SUPPORT)
#error Platform not supported
#endif
namespace {
struct FirstRunTestParam { … };
std::string ParamToTestSuffix(
const ::testing::TestParamInfo<FirstRunTestParam>& info) { … }
const FirstRunTestParam kTestParams[] = …;
const char kMakeCardDescriptionLongerJsString[] = …;
}
class FirstRunIntroPixelTest
: public ProfilesPixelTestBaseT<UiBrowserTest>,
public testing::WithParamInterface<FirstRunTestParam> { … };
IN_PROC_BROWSER_TEST_P(FirstRunIntroPixelTest, InvokeUi_default) { … }
INSTANTIATE_TEST_SUITE_P(…);