Skip to content

Commit

Permalink
Set fully qualified class names for resources from other modules/depe…
Browse files Browse the repository at this point in the history
…ndencies

From Gradle 8.0, R classes are non transitive by defaut, so when referencing
from other modules/dependencies it's required their fully qualified classe name
OR switch off the flag
  • Loading branch information
avazirna committed Mar 18, 2024
1 parent de95c12 commit f10bc2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class AppPreferenceSettingsTest: BaseTest() {
private fun selectSetting(text: String) {
onView(withText("CommCare > Settings"))
.check(matches(isDisplayed()))
onView(withId(R.id.recycler_view))
onView(withId(androidx.preference.R.id.recycler_view))
.perform(RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>(
hasDescendant(withText(text))
))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ object InstrumentationUtility {
*/
fun searchCaseAndSelect(text: String){
onView(withId(R.id.search_action_bar)).perform(click())
enterText(R.id.search_src_text,text)
enterText(androidx.appcompat.R.id.search_src_text,text)
onView(withId(R.id.screen_entity_detail_list)).isPresent()
clickListItem(R.id.screen_entity_select_list, 0)
}
Expand Down

0 comments on commit f10bc2e

Please sign in to comment.