Find some way to run font loader tests on older Androids
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
These 2 tests are failing on pre-28 devices because I think the same font request returns different/new native fonts. After 28, the OS seems to have a cache.
https://github.com/dotnet/maui/blob/release/6.0.3xx-rc1/src/Core/tests/DeviceTests/Services/FontManagerTests.Android.cs
I tried to fix it here, but unfortunately can't seem to find an easy way to do this so I disabled them on older androids: https://github.com/dotnet/maui/pull/5261
Contributor guide
Research direction
Start with src/Core/tests/DeviceTests/Services/FontManagerTests.Android.cs and review the attempted workaround in PR 5261. Run the two font loader tests on pre-28 and post-28 Android devices to compare the native fonts returned for the same request. Done means the tests run reliably on older Android versions without being disabled there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- mobile-dev, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100