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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cover GVA persistent button with snapshot tests #705

Merged

Conversation

rasmustautsglia
Copy link
Contributor

This PR covers Persistent button with VoiceOver and Layout snapshot tests. However, due to complications, dynamic font snapshot tests are not working as expected and will be postponed until later in order to maximise progress with the project. Rest assured, dynamic font in attributed string works well in simulator and in real device.

This PR also utilizes textstyle as a key component in making attributed string scale with dynamic font. Because of that, no default value is provided in the styles for textStyle anymore.

MetadataWrapper is necessary for making proper metadata json, as the nature of the Metadata type is somewhat restrictive.

MOB-2375

This PR covers Persistent button with VoiceOver and Layout snapshot tests.
However, due to complications, dynamic font snapshot tests are not working
as expected and will be postponed until later in order to maximise progress
with the project. Rest assured, dynamic font in attributed string works
well in simulator and in real device.

This PR also utilizes textstyle as a key component in making attributed
string scale with dynamic font. Because of that, no default value is
provided in the styles for textStyle anymore.

MetadataWrapper is necessary for making proper metadata json, as the nature
of the Metadata type is somewhat restrictive.

MOB-2375
@rasmustautsglia rasmustautsglia force-pushed the Cover-GVA-Persistent-button-with-snapshot-tests branch from a001d9c to 56898cf Compare August 8, 2023 12:45
@rasmustautsglia rasmustautsglia merged commit 93fb411 into development Aug 9, 2023
1 check passed
@rasmustautsglia rasmustautsglia deleted the Cover-GVA-Persistent-button-with-snapshot-tests branch August 9, 2023 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants