KataScreenshotAndroid icon indicating copy to clipboard operation
KataScreenshotAndroid copied to clipboard

Fix outdated gradle dependencies

Open Fishfield opened this issue 7 years ago • 4 comments

Fixes #8

I fixed the gradle dependencies, but unfortunately if I run the tests it says "No tests found".

Fishfield avatar Sep 22 '17 09:09 Fishfield

Hey @Fishfield thank you so much for your PR 😃 I've seen the issue you are facing before. It's related to the test runner. As you can see here, screenshot's library is initialized before invoking super.onCreate(..). This works with a previous Espresso version but not with the one you are using after the update. Just changing the initialization shouold work. Can you take a look?

pedrovgs avatar Sep 29 '17 07:09 pedrovgs

@pedrovgs what exactly should be changed in the initialization? Doing the calls after the super methods?

Fishfield avatar Oct 03 '17 10:10 Fishfield

Exactly 😃

pedrovgs avatar Oct 03 '17 11:10 pedrovgs

@Fishfield yesterday @flipper83 just told me that if you update the espresso version to espresso 3.X you'll have to update the emulator to API 22 😃 You can revert the espresso change if you don't want to change the Travis-CI configuration and record screenshots again.

pedrovgs avatar Oct 04 '17 15:10 pedrovgs