mirror of
https://github.com/hmalik144/Driver.git
synced 2025-12-10 02:45:20 +00:00
- lowered espresso version
Took 12 minutes
This commit is contained in:
@@ -62,18 +62,14 @@ jobs:
|
||||
- store_artifacts:
|
||||
path: app/build/reports/androidTests/connected
|
||||
destination: reports
|
||||
# Then publish the artifacts of output!
|
||||
- store_artifacts:
|
||||
path: app/build/outputs
|
||||
destination: outputs
|
||||
# Then publish the artifacts of the Firebase emulator logs!
|
||||
- run:
|
||||
name: save firebase emulator logs
|
||||
command: |
|
||||
mkdir -p /tmp/firebase_logs
|
||||
cp *.log /tmp/firebase_logs
|
||||
mkdir -p tmp/firebase_logs
|
||||
cp *.log tmp/firebase_logs
|
||||
- store_artifacts:
|
||||
path: /tmp/firebase_logs
|
||||
path: tmp/firebase_logs
|
||||
destination: logs
|
||||
# Then publish the results of the Instrumentation tests!
|
||||
- store_test_results:
|
||||
|
||||
@@ -113,7 +113,7 @@ dependencies {
|
||||
/ * Android Espresso */
|
||||
def testJunitVersion = "1.1.5"
|
||||
def testRunnerVersion = "1.5.2"
|
||||
def espressoVersion = "3.5.0"
|
||||
def espressoVersion = "3.4.0"
|
||||
androidTestImplementation "androidx.test.ext:junit:$testJunitVersion"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
||||
androidTestImplementation "androidx.test.espresso.idling:idling-concurrent:$espressoVersion"
|
||||
|
||||
@@ -49,7 +49,7 @@ open class BaseUiTest<T : BaseActivity<*>>(
|
||||
fun waitFor(delay: Long) {
|
||||
onView(isRoot()).perform(object : ViewAction {
|
||||
override fun getConstraints(): Matcher<View> = isRoot()
|
||||
override fun getDescription(): String = "wait for $delay milliseconds"
|
||||
override fun getDescription(): String? = "wait for $delay milliseconds"
|
||||
override fun perform(uiController: UiController, v: View?) {
|
||||
uiController.loopMainThreadForAtLeast(delay)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user