AdevintaSpain / AdevintaSpain/Barista

baristaRule is causing keyDispatchingTimedOut during the automation test

Aberta
#480 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Kotlin
Estrelas
1.7k
Forks
119
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

*Please consider making a Pull Request if you are capable of doing so.*

**Library Version:**

4.3.0

**Describe the Bug:**

Keep getting random ANR during the test with error message of
INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_RESULT: longMsg=Input dispatching timed out (5ba616c com.xxx.debug/com.xxx.android.nav.NavHostActivity (server) is not responding. Waited 5005ms for FocusEvent(hasFocus=false))
INSTRUMENTATION_RESULT: shortMsg=keyDispatchingTimedOut

**Steps to reproduce the bug:**
Apply baristaRule in the test and trigger automation test

**Expected Behavior:**

Test should be passed without ANR (No app freeze) like when only composeTestRule is applied.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reproducing the automation test with baristaRule applied and compare it with the setup using only composeTestRule. Inspect the instrumentation output for the keyDispatchingTimedOut ANR and determine whether the test completes without an app freeze. Done means the automation test passes without the reported input-dispatch timeout.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
android, kotlin
Domínio
mobile-dev, testing-qa
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.