diff --git a/app/src/androidTest/java/network/loki/messenger/HomeActivityTests.kt b/app/src/androidTest/java/network/loki/messenger/HomeActivityTests.kt index c4a1d08df7..43b347ba42 100644 --- a/app/src/androidTest/java/network/loki/messenger/HomeActivityTests.kt +++ b/app/src/androidTest/java/network/loki/messenger/HomeActivityTests.kt @@ -2,8 +2,6 @@ package network.loki.messenger import android.Manifest import android.app.Instrumentation -import android.content.ClipboardManager -import android.content.Context import android.view.View import androidx.test.espresso.Espresso.onView import androidx.test.espresso.Espresso.pressBack @@ -16,8 +14,6 @@ import androidx.test.espresso.matcher.ViewMatchers.isDescendantOfA import androidx.test.espresso.matcher.ViewMatchers.isDisplayed import androidx.test.espresso.matcher.ViewMatchers.isRoot import androidx.test.espresso.matcher.ViewMatchers.withId -import androidx.test.espresso.matcher.ViewMatchers.withSubstring -import androidx.test.espresso.matcher.ViewMatchers.withText import androidx.test.ext.junit.rules.ActivityScenarioRule import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.LargeTest @@ -25,7 +21,7 @@ import androidx.test.platform.app.InstrumentationRegistry import androidx.test.uiautomator.By import androidx.test.uiautomator.UiDevice import com.adevinta.android.barista.interaction.PermissionGranter -import com.squareup.phrase.Phrase +import com.bumptech.glide.Glide import network.loki.messenger.util.InputBarButtonDrawableMatcher.Companion.inputButtonWithDrawable import org.hamcrest.Matcher import org.hamcrest.Matchers.allOf @@ -37,12 +33,9 @@ import org.junit.Test import org.junit.runner.RunWith import org.session.libsession.messaging.sending_receiving.link_preview.LinkPreview import org.session.libsession.utilities.TextSecurePreferences -import org.session.libsignal.utilities.guava.Optional -import org.session.libsession.utilities.StringSubstitutionConstants.URL_KEY import org.thoughtcrime.securesms.conversation.v2.ConversationActivityV2 import org.thoughtcrime.securesms.conversation.v2.input_bar.InputBar import org.thoughtcrime.securesms.home.HomeActivity -import com.bumptech.glide.Glide /** * Currently not used as part of our CI/Deployment processes !!!! @@ -64,7 +57,6 @@ class HomeActivityTests { @Before fun setUp() { InstrumentationRegistry.getInstrumentation().addMonitor(activityMonitor) - } @After @@ -200,5 +192,4 @@ class HomeActivityTests { } } } - } \ No newline at end of file