ui icon indicating copy to clipboard operation
ui copied to clipboard

Tests

Open benjamincanac opened this issue 2 years ago • 7 comments

We only have tests for the Button and Skeleton at the moment.

benjamincanac avatar Feb 08 '24 15:02 benjamincanac

I can work on adding tests for the Form component if needed.

romhml avatar Feb 18 '24 10:02 romhml

@romhml This would be awesome yes! Would you do it directly on #1364 as it's been init there.

benjamincanac avatar Feb 18 '24 10:02 benjamincanac

It would be cool to write a script that goes through all the component examples in the doc and save the snapshots from there. This way the test would always find the examples and compare them to the snapshots that nothing has changed.

jrutila avatar Jul 10 '24 10:07 jrutila

@jrutila This will be done in v3, we already have 795 written: https://github.com/benjamincanac/ui3/tree/dev/test/components CleanShot 2024-07-10 at 12.58.40@2x.png

benjamincanac avatar Jul 10 '24 10:07 benjamincanac

Great to see that! I get this is done in the components-test branch? Have you updated docs, yet? Would you like some PR for that?

jrutila avatar Jul 10 '24 11:07 jrutila

What do you mean? I sent you the link of the fork we're using to develop v3.

benjamincanac avatar Jul 10 '24 11:07 benjamincanac

Sorry, missed the link. Carry on...

jrutila avatar Jul 10 '24 12:07 jrutila