AndroidUiTestingUtils icon indicating copy to clipboard operation
AndroidUiTestingUtils copied to clipboard

LocaleTestRule for in-app locale preference, does not reset correctly

Open sergio-sastre opened this issue 3 years ago • 0 comments

Describe the bug LocaleTestRule does not reset correctly. It happens, for example, if the app has no in-app language set. After the test execution, the System Language is set as in-app locale pref instead. This may affect the rest of the tests, since the in-app local has preference over the System Locale.

Environment The setup in which the bug is reproducible:

  • Device or Emulator: An<
  • API level: Any
  • AndroidUiTestingUtils version: 1.2.1
  • Affected Component: LocaleTestRule
  • Buggy Configuration: In-app Locale pref

Expected behavior The in-app locale is properly reset

sergio-sastre avatar Oct 23 '22 18:10 sergio-sastre