chromium/chrome/browser/ui/autofill/address_bubbles_controller_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 "base/functional/bind.h"
#include "build/buildflag.h"
#include "chrome/browser/ui/autofill/address_bubbles_controller.h"
#include "chrome/browser/ui/views/autofill/add_new_address_bubble_view.h"
#include "chrome/browser/ui/views/autofill/edit_address_profile_view.h"
#include "chrome/browser/ui/views/autofill/save_address_profile_view.h"
#include "chrome/browser/ui/views/autofill/update_address_profile_view.h"
#include "chrome/test/interaction/interactive_browser_test.h"
#include "components/autofill/content/browser/content_autofill_client.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/data_model/autofill_profile.h"
#include "components/autofill/core/browser/data_model/autofill_profile_test_api.h"
#include "content/public/test/browser_test.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/window/dialog_client_view.h"

namespace autofill {

constexpr char kSuppressedScreenshotError[] =;

class BaseAddressBubblesControllerTest
    : public InteractiveBrowserTest {};

///////////////////////////////////////////////////////////////////////////////
// SaveAddressProfileTest

class SaveAddressProfileTest: public BaseAddressBubblesControllerTest {};

IN_PROC_BROWSER_TEST_F(SaveAddressProfileTest, SaveAccept) {}

IN_PROC_BROWSER_TEST_F(SaveAddressProfileTest, SaveDecline) {}

IN_PROC_BROWSER_TEST_F(SaveAddressProfileTest, SaveWithEdit) {}

IN_PROC_BROWSER_TEST_F(SaveAddressProfileTest, SaveInEdit) {}

IN_PROC_BROWSER_TEST_F(SaveAddressProfileTest, SaveCloseAndOpenAgain) {}

IN_PROC_BROWSER_TEST_F(SaveAddressProfileTest, NoCrashesOnTabClose) {}

///////////////////////////////////////////////////////////////////////////////
// UpdateAddressProfileTest

class UpdateAddressProfileTest: public BaseAddressBubblesControllerTest {};

IN_PROC_BROWSER_TEST_F(UpdateAddressProfileTest, UpdateThroughEdit) {}

///////////////////////////////////////////////////////////////////////////////
// UpdateAccountAddressProfileTest

class UpdateAccountAddressProfileTest : public UpdateAddressProfileTest {};

IN_PROC_BROWSER_TEST_F(UpdateAccountAddressProfileTest, UpdateThroughEdit) {}

///////////////////////////////////////////////////////////////////////////////
// SaveAddressProfileTest

class MigrateToProfileAddressProfileTest: public BaseAddressBubblesControllerTest {};

IN_PROC_BROWSER_TEST_F(MigrateToProfileAddressProfileTest, SaveDecline) {}

IN_PROC_BROWSER_TEST_F(MigrateToProfileAddressProfileTest, SaveWithEdit) {}
//////////////////////////////////////////////////////////////////////////////
// AddNewAddressProfileTest

class AddNewAddressProfileTest : public BaseAddressBubblesControllerTest {};

IN_PROC_BROWSER_TEST_F(AddNewAddressProfileTest, SaveDecline) {}

IN_PROC_BROWSER_TEST_F(AddNewAddressProfileTest, EditorCancel) {}

IN_PROC_BROWSER_TEST_F(AddNewAddressProfileTest, AddAddressAccept) {}

}  // namespace autofill