From da4055f860ee0e62f3933b78adca2eccb3808d3e Mon Sep 17 00:00:00 2001 From: valere Date: Wed, 29 Mar 2023 10:00:32 +0200 Subject: [PATCH] UI tests are disabled on CI --- .../java/im/vector/app/VerifySessionInteractiveTest.kt | 2 ++ .../java/im/vector/app/VerifySessionNavigationTest.kt | 7 +++++++ .../java/im/vector/app/VerifySessionPassphraseTest.kt | 2 ++ 3 files changed, 11 insertions(+) diff --git a/vector-app/src/androidTest/java/im/vector/app/VerifySessionInteractiveTest.kt b/vector-app/src/androidTest/java/im/vector/app/VerifySessionInteractiveTest.kt index d726cbe4ff..72892112dd 100644 --- a/vector-app/src/androidTest/java/im/vector/app/VerifySessionInteractiveTest.kt +++ b/vector-app/src/androidTest/java/im/vector/app/VerifySessionInteractiveTest.kt @@ -36,6 +36,7 @@ import org.amshove.kluent.internal.assertEquals import org.junit.After import org.junit.Assert.assertTrue import org.junit.Before +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith @@ -52,6 +53,7 @@ import kotlin.random.Random @RunWith(AndroidJUnit4::class) @LargeTest +@Ignore class VerifySessionInteractiveTest : VerificationTestBase() { var existingSession: Session? = null diff --git a/vector-app/src/androidTest/java/im/vector/app/VerifySessionNavigationTest.kt b/vector-app/src/androidTest/java/im/vector/app/VerifySessionNavigationTest.kt index a2a59e536e..2bb37e4711 100644 --- a/vector-app/src/androidTest/java/im/vector/app/VerifySessionNavigationTest.kt +++ b/vector-app/src/androidTest/java/im/vector/app/VerifySessionNavigationTest.kt @@ -23,6 +23,8 @@ import androidx.test.espresso.assertion.ViewAssertions import androidx.test.espresso.contrib.RecyclerViewActions import androidx.test.espresso.matcher.ViewMatchers import androidx.test.ext.junit.rules.ActivityScenarioRule +import androidx.test.ext.junit.runners.AndroidJUnit4 +import androidx.test.filters.LargeTest import im.vector.app.core.utils.getMatrixInstance import im.vector.app.espresso.tools.waitUntilActivityVisible import im.vector.app.espresso.tools.waitUntilViewVisible @@ -32,8 +34,10 @@ import im.vector.app.ui.robot.ElementRobot import kotlinx.coroutines.test.runTest import org.junit.After import org.junit.Before +import org.junit.Ignore import org.junit.Rule import org.junit.Test +import org.junit.runner.RunWith import org.matrix.android.sdk.api.auth.UIABaseAuth import org.matrix.android.sdk.api.auth.UserInteractiveAuthInterceptor import org.matrix.android.sdk.api.auth.UserPasswordAuth @@ -44,6 +48,9 @@ import kotlin.coroutines.Continuation import kotlin.coroutines.resume import kotlin.random.Random +@RunWith(AndroidJUnit4::class) +@LargeTest +@Ignore class VerifySessionNavigationTest : VerificationTestBase() { var existingSession: Session? = null diff --git a/vector-app/src/androidTest/java/im/vector/app/VerifySessionPassphraseTest.kt b/vector-app/src/androidTest/java/im/vector/app/VerifySessionPassphraseTest.kt index 950217c7b3..f54d619772 100644 --- a/vector-app/src/androidTest/java/im/vector/app/VerifySessionPassphraseTest.kt +++ b/vector-app/src/androidTest/java/im/vector/app/VerifySessionPassphraseTest.kt @@ -45,6 +45,7 @@ import im.vector.app.features.home.HomeActivity import im.vector.app.ui.robot.AnalyticsRobot import kotlinx.coroutines.runBlocking import org.junit.Before +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith @@ -59,6 +60,7 @@ import kotlin.random.Random @RunWith(AndroidJUnit4::class) @LargeTest +@Ignore class VerifySessionPassphraseTest : VerificationTestBase() { var existingSession: Session? = null