#ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_UITEST_UTIL_H_
#define CHROME_BROWSER_AUTOFILL_AUTOFILL_UITEST_UTIL_H_
#include "components/autofill/content/browser/content_autofill_driver.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/rect_f.h"
class Profile;
namespace autofill {
class AutofillProfile;
class CreditCard;
void AddTestProfile(Profile* base_profile, const AutofillProfile& profile);
void AddTestCreditCard(Profile* base_profile, const CreditCard& card);
void AddTestServerCreditCard(Profile* base_profile, const CreditCard& card);
void AddTestAutofillData(Profile* base_profile,
const AutofillProfile& profile,
const CreditCard& card);
void WaitForPersonalDataChange(Profile* base_profile);
void WaitForPersonalDataManagerToBeLoaded(Profile* base_profile);
[[nodiscard]] testing::AssertionResult GenerateTestAutofillPopup(
ContentAutofillDriver& driver,
Profile* profile,
bool expect_popup_to_be_shown,
gfx::RectF element_bounds = gfx::RectF(100.0f, 100.0f));
}
#endif