Espresso test fails with NoActivityResumedException often

后端 未结 6 2108
既然无缘
既然无缘 2021-02-06 21:58

EDIT: Updated description and error message and added some images. Still have this problem.

I have a strange error that occur many times when running espresso tests. Af

6条回答
  •  感情败类
    2021-02-06 22:29

    Mainly the error is because if your connection is not in an active mode, it shouldn't be in sleep mode either it has to be in the app where the test cases have been written. Assuming you already used the @Rule Activity launch rule.

提交回复
热议问题