sergio-sastre / AndroidUiTestingUtils

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

FontSizeTestRule timing out from very time to time on API 25+ #10

Closed sergio-sastre closed 2 years ago

sergio-sastre commented 2 years ago

FontSizeTestRule timing out from very time to time. Using FontSizeTestRule#withTimeout(timeout) does not help.

Device or Emulator: Emulator API level: API 24+ AndroidUiTestingUtils version: 1.1.1 Affected Component: Activity (ONLY) -> FontSizeTestRule Buggy Configuration: FontSize Expected behavior: It does not time out

Remarks: It seems to be an issue with the context. Using instrumentation context seems to fix the issue.

sergio-sastre commented 2 years ago

solved in 1.1.2