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

Unified Diff: chrome/test/data/android/payments/payer_info_details.js

Issue 2393113003: test:
Patch Set: test: Created 4 years, 2 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/test/data/android/payments/payer_info_details.js
diff --git a/chrome/test/data/android/payments/phone.js b/chrome/test/data/android/payments/payer_info_details.js
similarity index 79%
copy from chrome/test/data/android/payments/phone.js
copy to chrome/test/data/android/payments/payer_info_details.js
index 2efbf4e8589a22ee6b0fd0728d234c4a6e8a8064..7187a9ac7724b1677276e342fc66a88364ad1a11 100644
--- a/chrome/test/data/android/payments/phone.js
+++ b/chrome/test/data/android/payments/payer_info_details.js
@@ -7,19 +7,21 @@
/* global PaymentRequest:false */
/**
- * Launches the PaymentRequest UI that requests phone number.
+ * Launches the PaymentRequest UI that requests payer information details.
*/
function buy() { // eslint-disable-line no-unused-vars
try {
new PaymentRequest(
[{supportedMethods: ['visa']}],
{total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}},
- {requestPayerPhone: true})
+ {requestPayerName:true, requestPayerEmail: true,
+ requestPayerPhone: true})
.show()
.then(function(resp) {
resp.complete('success')
.then(function() {
print(
+ resp.payerName + '<br>' + resp.payerEmail + '<br>' +
resp.payerPhone + '<br>' + resp.methodName + '<br>' +
JSON.stringify(resp.details, undefined, 2));
})

Powered by Google App Engine
This is Rietveld 408576698