#include <optional>
#include "chrome/browser/ui/autofill/payments/save_card_bubble_controller_impl.h"
#include "chrome/browser/ui/autofill/payments/virtual_card_enroll_bubble_controller_impl_test_api.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/views/autofill/payments/dialog_view_ids.h"
#include "chrome/browser/ui/views/autofill/payments/save_card_bubble_views.h"
#include "chrome/browser/ui/views/autofill/payments/save_payment_icon_view.h"
#include "chrome/browser/ui/views/autofill/payments/save_payment_method_and_virtual_card_enroll_confirmation_bubble_views.h"
#include "chrome/browser/ui/views/autofill/payments/virtual_card_enroll_icon_view.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/toolbar_button_provider.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/common/autofill_payments_features.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/test/browser_test.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/test/ax_event_counter.h"
#include "ui/views/test/widget_test.h"
namespace autofill {
class SaveCardConfirmationBubbleViewsInteractiveUiTest
: public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(SaveCardConfirmationBubbleViewsInteractiveUiTest,
ShowSuccessBubbleViewThenHideBubbleView) { … }
IN_PROC_BROWSER_TEST_F(SaveCardConfirmationBubbleViewsInteractiveUiTest,
ShowFailureBubbleViewThenHideBubbleView) { … }
class VirtualCardEnrollConfirmationBubbleViewsInteractiveUiTest
: public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(
VirtualCardEnrollConfirmationBubbleViewsInteractiveUiTest,
ShowSuccessBubbleViewThenHideBubbleView) { … }
IN_PROC_BROWSER_TEST_F(
VirtualCardEnrollConfirmationBubbleViewsInteractiveUiTest,
ShowFailureBubbleViewThenHideBubbleView) { … }
}