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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java

Issue 2258693002: Add Feature tag to all Payments tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java
index f92b8714c099c8bfff0d2820104e2a5a95457a9b..fab7a5848d6d1bcd19d6aab9e94d9a499f541ac9 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java
@@ -8,6 +8,7 @@ import android.content.DialogInterface;
import android.test.suitebuilder.annotation.MediumTest;
import org.chromium.base.metrics.RecordHistogram;
+import org.chromium.base.test.util.Feature;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.autofill.AutofillTestHelper;
import org.chromium.chrome.browser.autofill.PersonalDataManager.AutofillProfile;
@@ -40,6 +41,7 @@ public class PaymentRequestPhoneTest extends PaymentRequestTestBase {
/** Provide the existing valid phone number to the merchant. */
@MediumTest
+ @Feature({"Payments"})
public void testPay() throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyToPay);
clickAndWait(R.id.button_primary, mReadyForUnmaskInput);
@@ -50,6 +52,7 @@ public class PaymentRequestPhoneTest extends PaymentRequestTestBase {
/** Attempt to add an invalid phone number and cancel the transaction. */
@MediumTest
+ @Feature({"Payments"})
public void testAddInvalidPhoneAndCancel()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyToPay);
@@ -64,6 +67,7 @@ public class PaymentRequestPhoneTest extends PaymentRequestTestBase {
/** Add a new phone number and provide that to the merchant. */
@MediumTest
+ @Feature({"Payments"})
public void testAddPhoneAndPay()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyToPay);
@@ -82,6 +86,7 @@ public class PaymentRequestPhoneTest extends PaymentRequestTestBase {
* the appropriate metric being logged in the PaymentRequest.RequestedInformation histogram.
*/
@MediumTest
+ @Feature({"Payments"})
public void testRequestedInformationMetric() throws InterruptedException, ExecutionException,
TimeoutException {
// Start the Payment Request.

Powered by Google App Engine
This is Rietveld 408576698