android / android/testing-samples

Android ui test runs forever

Aperta
#468 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
9.3k
Fork
3.6k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

```
> Task :app:hiltJavaCompileDebugAndroidTest NO-SOURCE
> Task :app:mergeDebugAndroidTestJavaResource
> Task :app:transformDebugAndroidTestClassesWithAsm
> Task :app:packageDebug
> Task :app:createDebugApkListingFileRedirect UP-TO-DATE
> Task :app:dexBuilderDebugAndroidTest
> Task :app:mergeProjectDexDebugAndroidTest
> Task :app:packageDebugAndroidTest
> Task :app:createDebugAndroidTestApkListingFileRedirect UP-TO-DATE
Connected to process 4667 on device 'xiaomi-redmi_note_9_pro-6ed84981'.

> Task :app:connectedDebugAndroidTest
Starting 1 tests on Redmi Note 9 Pro - 12
```

Tried to use dependency group

```
debugImplementation "androidx.test:monitor:1.6.1"
debugImplementation("androidx.fragment:fragment-ktx:1.4.1")
debugImplementation 'androidx.test:core-ktx:1.5.0'

debugImplementation 'androidx.test:rules:1.5.0'
debugImplementation 'androidx.test:runner:1.5.2'

debugImplementation("androidx.fragment:fragment-testing:1.4.1")


// also the newest versions

debugImplementation("androidx.fragment:fragment-ktx:1.5.5")
debugImplementation("androidx.fragment:fragment-testing:1.5.5")
```

also the same issue, run with terminal also gives nothing the process stuck at 96%

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the hang at the connectedDebugAndroidTest task on the Redmi Note 9 Pro running Android 12, then inspect the listed AndroidX test and Fragment dependency declarations. Determine why the single test does not complete and verify that the UI test finishes successfully instead of remaining at 96%.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, java
Ambito
mobile, testing
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.