BuildmLearn / BuildmLearn-Toolkit-Android

This repository contains the Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
BSD 3-Clause "New" or "Revised" License
57 stars 130 forks source link

Add espresso testing for all templates #410

Open tejavojjala opened 7 years ago

tejavojjala commented 7 years ago

@opticod currently only comprehension template has a code to do automated testing which too have a few bugs. We can extend the testing for all templates. Shall I send a pr for this.

opticod commented 7 years ago

It will be very helpful if you kindly fix the existing espresso test so that it runs successfully in travis-ci automated test. Last time, I tried adding it to all, but the travis-ci test was failing. Thanks. You can add it.

tejavojjala commented 7 years ago

@opticod ok, I will send a pr asap.

tejavojjala commented 7 years ago

@opticod Is this the error which you were getting when you tried? If not can you help me with this when you are free.

app:connectedDebugAndroidTesteException: Waited for the root of the view hierarchy to have window focus and not be requesting layout for over 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Otherwise, something is seriously wrong

opticod commented 7 years ago

@tejavojjala Sorry, I just missed this.

Yes, I got similar error messages. Did you able to solve it for Travis-CI too?