Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Golden Testing for AutoLayout #663

Open
ivan-015 opened this issue May 30, 2022 · 0 comments
Open

Golden Testing for AutoLayout #663

ivan-015 opened this issue May 30, 2022 · 0 comments
Labels
enhancement New feature or request refactor

Comments

@ivan-015
Copy link
Collaborator

Change Proposal

The golden testing for AutoLayout shall test that the AutoLayout frame has correct constraints.

For each combination of AutoLayout frame constraints/scaling, we shall have a general expected output for how these frames will scale.

See the following documents for more information on the original planning for AutoLayout

https://www.figma.com/file/wqP2dNsmIvPiSnhM8m97kw/Auto-Layout-Map-Planning

https://www.notion.so/parabeac/Auto-Layout-support-5e1a77740f234cfdbdd6b94b506a65f1

In addition, most combinations of AutoLayout frames have already been made and are present in the following file:

https://www.figma.com/file/9yfEiTTiE5hoyZeRTGopQd/Test-Suite?node-id=307%3A2

Module and Current Solution

Currently, some of the constraints for AutoLayout are being incorrectly interpreted. Therefore, we first need to fix the bugs with AutoLayout and update the Golden tests

Benefits of the Change

More accurate AutoLayout interpretation.

@ivan-015 ivan-015 added enhancement New feature or request refactor labels May 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request refactor
Projects
None yet
Development

No branches or pull requests

1 participant