Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7039)

Unified Diff: chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc

Issue 2724063002: [Payments] Add a Pay button in the Order summary screen (Closed)
Patch Set: addressed comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc
diff --git a/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc b/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc
index be669b71a552af9e127d451a04d1b9bef4d7f59e..90726d5fec994a892cb67c4244bf8e2b1d26adae 100644
--- a/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc
+++ b/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc
@@ -281,7 +281,7 @@ bool PaymentRequestInteractiveTestBase::IsEditorComboboxInvalid(
bool PaymentRequestInteractiveTestBase::IsPayButtonEnabled() {
views::Button* button =
static_cast<views::Button*>(delegate_->dialog_view()->GetViewByID(
- static_cast<int>(DialogViewID::PAYMENT_SHEET_PAY_BUTTON)));
+ static_cast<int>(DialogViewID::PAY_BUTTON)));
DCHECK(button);
return button->enabled();
}

Powered by Google App Engine
This is Rietveld 408576698