How do we test resources with Compose UI Testing? ...
# compose
a
How do we test resources with Compose UI Testing? I have a valid context with:
InstrumentationRegistry.getInstrumentation().targetContext
I have also tried using
createAndroidComposeRule<ComponentActivity>()
and then using
rule.activity.getString()
Then calling the resulting 
context
 with 
getString(R.string.app_name)
 returns: Using 
Method threw 'android.content.res.Resources$NotFoundException' exception.
The resource exists and is being used by the Composable function I am testing. But inside
androidTest
it doesn't work. I've tried putting the res folder in androidTest and that didn't change anything. Any help would be great as we want to have testing setup for multiple languages