parabeac_core icon indicating copy to clipboard operation
parabeac_core copied to clipboard

Golden Testing for AutoLayout

Open ivan-015 opened this issue 2 years ago • 0 comments

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 avatar May 30 '22 17:05 ivan-015