Skip to content

Conversation

@Fishfield
Copy link

@Fishfield Fishfield commented Sep 22, 2017

Fixes #8

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

@pedrovgs
Copy link
Contributor

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?

@Fishfield
Copy link
Author

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

@pedrovgs
Copy link
Contributor

pedrovgs commented Oct 3, 2017

Exactly 😃

@pedrovgs
Copy link
Contributor

pedrovgs commented Oct 4, 2017

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants