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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.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/PaymentRequestDynamicShippingSingleAddressTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
index e9ed01a0fcacbeb682838c491c72b86572781f49..4352d44c5a063d38f0481c33fbe3acc72f475266 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
@@ -8,6 +8,7 @@ import android.content.DialogInterface;
import android.test.suitebuilder.annotation.MediumTest;
import org.chromium.base.ThreadUtils;
+import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.FlakyTest;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.autofill.AutofillTestHelper;
@@ -43,6 +44,7 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
/** The shipping address should not be selected in UI by default. */
@MediumTest
+ @Feature({"Payments"})
public void testAddressNotSelected()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyForInput);
@@ -51,6 +53,7 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
/** Expand the shipping address section, select an address, and click "Pay." */
@MediumTest
+ @Feature({"Payments"})
public void testSelectValidAddressAndPay()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyForInput);
@@ -66,6 +69,7 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
/** Attempt to add an invalid address and cancel the transaction. */
@MediumTest
+ @Feature({"Payments"})
public void testAddInvalidAddressAndCancel()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyForInput);
@@ -83,6 +87,7 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
* @Restriction(RESTRICTION_TYPE_NON_LOW_END_DEVICE) // crbug.com/626289
*/
@FlakyTest(message = "crbug.com/626289")
+ @Feature({"Payments"})
public void testAddAddressAndPay()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyForInput);
@@ -100,6 +105,7 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
/** Quickly pressing "add address" and then [X] should not crash. */
@MediumTest
+ @Feature({"Payments"})
public void testQuickAddAddressAndCloseShouldNotCrash()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyForInput);
@@ -124,6 +130,7 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
/** Quickly pressing [X] and then "add address" should not crash. */
@MediumTest
+ @Feature({"Payments"})
public void testQuickCloseAndAddAddressShouldNotCrash()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyForInput);
@@ -146,6 +153,7 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
/** Quickly pressing "add address" and then "cancel" should not crash. */
@MediumTest
+ @Feature({"Payments"})
public void testQuickAddAddressAndCancelShouldNotCrash()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyForInput);
@@ -170,6 +178,7 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
/** Quickly pressing on "cancel" and then "add address" should not crash. */
@MediumTest
+ @Feature({"Payments"})
public void testQuickCancelAndAddAddressShouldNotCrash()
throws InterruptedException, ExecutionException, TimeoutException {
triggerUIAndWait(mReadyForInput);

Powered by Google App Engine
This is Rietveld 408576698