Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue-68] Fix unit tests that fail in Bold Text mode #73

Merged
merged 2 commits into from
Mar 17, 2023

Conversation

mpospese
Copy link
Contributor

@mpospese mpospese commented Mar 17, 2023

Introduction

While working on another issue, I noticed that some unit tests would fail if the device (or simulator) the tests were running on had the Accessibility Bold Text feature enabled.

Purpose

Fix #68 Clean up the unit tests so that they pass whether Bold Text is enabled or not.

Scope

  • Changes to test cases only

Discussion

This wasn't affecting CI/CD or anything because those simulators don't have Bold Text enabled, but it is a flakiness that should be cleaned up and will help ensure that our code is robust.

馃搱 Coverage

Code

Remains unchanged at 97.9% (didn't anticipate any code coverage changes since I didn't add or remove any tests, only provided different font families to test).
image

Documentation

Documentation coverage remains unchanged at 100% because this PR only affects unit test cases.

@mpospese mpospese force-pushed the issue/68-unit-tests-fail-bold-text-enabled branch from 5f6ce54 to 9a03e54 Compare March 17, 2023 17:25
@mpospese mpospese merged commit 90fa200 into main Mar 17, 2023
@mpospese mpospese deleted the issue/68-unit-tests-fail-bold-text-enabled branch March 17, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cleanup
Development

Successfully merging this pull request may close these issues.

Unit tests fail when run on simulator with Accessibility Bold Text enabled
3 participants