diff --git a/app/build.gradle b/app/build.gradle index c0b6c6145..aca0910fb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -51,5 +51,4 @@ dependencies { androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.0', { exclude group: 'com.android.support', module: 'support-annotations' } - androidTestImplementation('com.xamarin.testcloud:espresso-support:1.3') } diff --git a/app/src/androidTest/kotlin/org/wordpress/aztec/demo/BaseTest.kt b/app/src/androidTest/kotlin/org/wordpress/aztec/demo/BaseTest.kt index 7fb10c973..b7b3ae413 100644 --- a/app/src/androidTest/kotlin/org/wordpress/aztec/demo/BaseTest.kt +++ b/app/src/androidTest/kotlin/org/wordpress/aztec/demo/BaseTest.kt @@ -1,39 +1,21 @@ package org.wordpress.aztec.demo +import android.util.Log import androidx.test.rule.GrantPermissionRule import androidx.test.runner.AndroidJUnit4 -import com.xamarin.testcloud.espresso.Factory -import com.xamarin.testcloud.espresso.ReportHelper -import org.junit.Before import org.junit.Rule import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) abstract class BaseTest { - - @Rule - @JvmField - val mReportHelper: ReportHelper = Factory.getReportHelper() - @Rule @JvmField val grantPermissionRule: GrantPermissionRule = GrantPermissionRule.grant(android.Manifest.permission.CAMERA, android.Manifest.permission.WRITE_EXTERNAL_STORAGE) companion object { - private lateinit var reportHelper: ReportHelper - fun label(label: String) { - reportHelper.label(label) + Log.d("BaseTest", label) } } - - init { - BaseTest.reportHelper = mReportHelper - } - - @Before - fun SetUp() { - reportHelper.label("Starting App") - } }