We don't recommend going down this road.
It looks more convenient than implementing an idling resource because there's no need to change your code under test. However, it makes execution slower and more prone to breaking since you're depending on an ID that can be modified at any time by anyone working on the layout. This can break tests that are in principle unrelated to the specific View.
--
You received this message because you are subscribed to the Google Groups "Android Testing Support Library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-testing-suppo...@googlegroups.com.
To post to this group, send email to android-testing...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-testing-support-library/op.yftul8pmss10to%40angela.local.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to android-testing-support-library+unsubscribe@googlegroups.com.
To post to this group, send email to android-testing-support-lib...@googlegroups.com.