29 causes the tests to run, but some fail with this error:
com.john.shopper.ShoppingListItemsTest > testSetAllItemsAsIncomplete[test(AVD) - 10] FAILED
androidx.test.espresso.PerformException: Error performing 'single click - At Coordinates: 251, 396 and precision: 16, 16' on view 'an instance of android.widget.TextView and view.getText() with or without transformation to match: is "ADD"'.
at androidx.test.espresso.PerformException$Builder.build(PerformException.java:1)
com.john.shopper.ShoppingListItemsTest > testClearAllItems[test(AVD) - 10] FAILED
androidx.test.espresso.PerformException: Error performing 'single click - At Coordinates: 251, 396 and precision: 16, 16' on view 'an instance of android.widget.TextView and view.getText() with or without transformation to match: is "ADD"'.
at androidx.test.espresso.PerformException$Builder.build(PerformException.java:1)
com.john.shopper.ShoppingListItemsTest > testUpdateItemsOnMove[test(AVD) - 10] FAILED
androidx.test.espresso.PerformException: Error performing 'single click - At Coordinates: 251, 396 and precision: 16, 16' on view 'an instance of android.widget.TextView and view.getText() with or without transformation to match: is "ADD"'.
at androidx.test.espresso.PerformException$Builder.build(PerformException.java:1)
com.john.shopper.ShoppingListItemsTest > testSetAllItemsAsComplete[test(AVD) - 10] FAILED
androidx.test.espresso.PerformException: Error performing 'single click - At Coordinates: 251, 396 and precision: 16, 16' on view 'an instance of android.widget.TextView and view.getText() with or without transformation to match: is "ADD"'.
at androidx.test.espresso.PerformException$Builder.build(PerformException.java:1)
The tests were not passing because the keyboard was covering the buttons, which meant espresso couldn't find them. To fix this, I added .perform(closeSoftKeyboard()) before clicking each button.
Errors with api_level
29 causes the tests to run, but some fail with this error: