chromium/chrome/browser/ui/views/payments/contact_info_editor_view_controller_browsertest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <string>

#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/ui/views/payments/payment_request_browsertest_base.h"
#include "chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h"
#include "components/autofill/core/browser/address_data_manager.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/personal_data_manager.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"

namespace payments {

namespace {

const char16_t kNameFull[] =;
const char16_t kPhoneNumber[] =;
const char16_t kPhoneNumberInvalid[] =;
const char16_t kEmailAddress[] =;
const char16_t kEmailAddressInvalid[] =;

std::string GetLocale() {}

}  // namespace

#if BUILDFLAG(IS_MAC)
// Entire test suite is flaky on MacOS: https://crbug.com/1164438
#define MAYBE_PaymentRequestContactInfoEditorTest
#else
#define MAYBE_PaymentRequestContactInfoEditorTest
#endif

class MAYBE_PaymentRequestContactInfoEditorTest
    : public PaymentRequestBrowserTestBase {};

IN_PROC_BROWSER_TEST_F(MAYBE_PaymentRequestContactInfoEditorTest, HappyPath) {}

IN_PROC_BROWSER_TEST_F(MAYBE_PaymentRequestContactInfoEditorTest,
                       EnterAcceleratorHappyPath) {}

IN_PROC_BROWSER_TEST_F(MAYBE_PaymentRequestContactInfoEditorTest, Validation) {}

IN_PROC_BROWSER_TEST_F(MAYBE_PaymentRequestContactInfoEditorTest,
                       ModifyExisting) {}

IN_PROC_BROWSER_TEST_F(MAYBE_PaymentRequestContactInfoEditorTest,
                       ModifyExistingSelectsIt) {}

IN_PROC_BROWSER_TEST_F(MAYBE_PaymentRequestContactInfoEditorTest,
                       HappyPathInIncognito) {}

IN_PROC_BROWSER_TEST_F(MAYBE_PaymentRequestContactInfoEditorTest,
                       RetryWithPayerErrors) {}

IN_PROC_BROWSER_TEST_F(
    MAYBE_PaymentRequestContactInfoEditorTest,
    RetryWithPayerErrors_HasSameValueButDifferentErrorsShown) {}

IN_PROC_BROWSER_TEST_F(MAYBE_PaymentRequestContactInfoEditorTest,
                       RetryWithPayerErrors_NoPaymentOptions) {}

}  // namespace payments