Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix outdated gradle dependencies #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants