Android Espresso: PerformException

前端 未结 7 2079
春和景丽
春和景丽 2020-12-30 22:59

I`m getting

android.support.test.espresso.PerformException: Error performing \'send keyCode: 4, metaState: 0 key event\' on view \'Animations or tra

7条回答
  •  猫巷女王i
    2020-12-30 23:27

    A simple try catch. Where you only pick up the exception if it is an PerformException.

    Alternativ add the 500 items to your shopping cart by code, and then add 1 extra by UI test.

提交回复
热议问题