Skip to content

Commit

Permalink
YOLO Skip 3D Secure v1 Tests (#610)
Browse files Browse the repository at this point in the history
* Skip 3DS v1 integration tests.

* Skip additional 3DS tests.

Signed-off-by: Jax DesMarais-Leder <[email protected]>

Signed-off-by: Jax DesMarais-Leder <[email protected]>
  • Loading branch information
sshropshire authored Oct 19, 2022
1 parent d1f8b5d commit 190117e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
package com.braintreepayments.demo.test;

import androidx.preference.PreferenceManager;
import androidx.test.core.app.ApplicationProvider;
import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner;

import com.braintreepayments.demo.test.utilities.TestHelper;

import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

import static com.braintreepayments.AutomatorAction.click;
import static com.braintreepayments.AutomatorAction.setText;
import static com.braintreepayments.AutomatorAssertion.text;
import static com.braintreepayments.DeviceAutomator.onDevice;
import static com.braintreepayments.UiObjectMatcher.withContentDescription;
import static com.braintreepayments.UiObjectMatcher.withText;
import static com.braintreepayments.UiObjectMatcher.withTextContaining;
import static com.braintreepayments.UiObjectMatcher.withTextStartingWith;
import static com.braintreepayments.api.CardNumber.THREE_D_SECURE_AUTHENTICATION_FAILED;
import static com.braintreepayments.api.CardNumber.THREE_D_SECURE_ISSUER_DOES_NOT_PARTICIPATE;
Expand All @@ -29,7 +18,19 @@
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.endsWith;

import androidx.preference.PreferenceManager;
import androidx.test.core.app.ApplicationProvider;
import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner;

import com.braintreepayments.demo.test.utilities.TestHelper;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(AndroidJUnit4ClassRunner.class)
@Ignore("TODO: determine if 3DS v1 tests are still needed")
public class ThreeDSecureVerificationTest extends TestHelper {

@Before
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand All @@ -18,6 +19,7 @@
import static org.junit.Assert.fail;

@RunWith(AndroidJUnit4ClassRunner.class)
@Ignore("TODO: determine if 3DS v1 tests are still needed")
public class ThreeDSecureClientTest {

@Rule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand All @@ -24,6 +25,7 @@
import static org.junit.Assert.fail;

@RunWith(AndroidJUnit4ClassRunner.class)
@Ignore("TODO: determine if 3DS v1 tests are still needed")
public class ThreeDSecureVerificationTest {

private static final String TEST_AMOUNT = "1";
Expand Down

0 comments on commit 190117e

Please sign in to comment.