| Index: chrome/browser/ui/views/payments/payment_request_payment_response_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_payment_response_browsertest.cc b/chrome/browser/ui/views/payments/payment_request_payment_response_browsertest.cc
|
| index 78070a9c18c81fc1aa07a31e5c9708757385d451..a7bd42d84b6d72a0c3624e6b8bc1545e69e314a4 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_payment_response_browsertest.cc
|
| +++ b/chrome/browser/ui/views/payments/payment_request_payment_response_browsertest.cc
|
| @@ -45,7 +45,7 @@ IN_PROC_BROWSER_TEST_F(
|
| // Complete the Payment Request.
|
| InvokePaymentRequestUI();
|
| ResetEventObserver(DialogEvent::DIALOG_CLOSED);
|
| - ClickOnDialogViewAndWait(DialogViewID::PAY_BUTTON);
|
| + PayWithCreditCardAndWait(base::ASCIIToUTF16("123"));
|
|
|
| // Test that the card details were sent to the merchant.
|
| ExpectBodyContains(std::vector<base::string16>{
|
| @@ -100,7 +100,7 @@ IN_PROC_BROWSER_TEST_F(PaymentRequestPaymentResponseShippingAddressTest,
|
| // Complete the Payment Request.
|
| InvokePaymentRequestUI();
|
| ResetEventObserver(DialogEvent::DIALOG_CLOSED);
|
| - ClickOnDialogViewAndWait(DialogViewID::PAY_BUTTON);
|
| + PayWithCreditCardAndWait(base::ASCIIToUTF16("123"));
|
|
|
| // Test that the shipping address was sent to the merchant.
|
| ExpectBodyContains(std::vector<base::string16>{
|
| @@ -146,7 +146,7 @@ IN_PROC_BROWSER_TEST_F(PaymentRequestPaymentResponseAllContactDetailsTest,
|
| // Complete the Payment Request.
|
| InvokePaymentRequestUI();
|
| ResetEventObserver(DialogEvent::DIALOG_CLOSED);
|
| - ClickOnDialogViewAndWait(DialogViewID::PAY_BUTTON);
|
| + PayWithCreditCardAndWait(base::ASCIIToUTF16("123"));
|
|
|
| // Test that the contact details were sent to the merchant.
|
| ExpectBodyContains(std::vector<base::string16>{
|
| @@ -180,7 +180,7 @@ IN_PROC_BROWSER_TEST_F(PaymentRequestPaymentResponseOneContactDetailTest,
|
| // Complete the Payment Request.
|
| InvokePaymentRequestUI();
|
| ResetEventObserver(DialogEvent::DIALOG_CLOSED);
|
| - ClickOnDialogViewAndWait(DialogViewID::PAY_BUTTON);
|
| + PayWithCreditCardAndWait(base::ASCIIToUTF16("123"));
|
|
|
| // Test that the contact details were sent to the merchant.
|
| ExpectBodyContains(std::vector<base::string16>{
|
|
|