dandi / dandi-schema

Schemata for DANDI archive project
Apache License 2.0
7 stars 10 forks source link

write a test to evaluate UI conformance before release #69

Open satra opened 3 years ago

satra commented 3 years ago

this will take a bit of work, but we should also be checking that the generated schema is conformant with the VJSF editor.

yarikoptic commented 3 years ago

I wonder how that could even be done without some selenium or alike, since IIRC for anyOf it just wouldn't render what we expect it to render, instead of giving some warning/error (or does it?)

satra commented 3 years ago

indeed we would have to use selenium or cypress or some such tool. not an easy task, but we would have to write that all these fields are expected to be in the display, but we could break the test into each of the schema components, not the overall schema.