sergio-sastre / AndroidUiTestingUtils

A set of TestRules, ActivityScenarios and utils to facilitate UI and screenshot testing under given configurations: FontSizes, Locales...
MIT License
287 stars 14 forks source link

LocaleTestRule for in-app language does not work only on API 33 #31

Closed sergio-sastre closed 1 year ago

sergio-sastre commented 1 year ago

Describe the bug Only on API 33, LocaleTestRule does not take effect on API 33

Environment The setup in which the bug is reproducible:

Expected behavior The LocaleTestRule should change the in-app locale and reset it once the test finishes.

This is likely to happen due to AppCompatDelegate not being executed at the proper time. One solution would be to set it via "adb"

sergio-sastre commented 1 year ago

DONE! fix coming in 1.2.4

sergio-sastre commented 1 year ago

fixed in 1.2.4