Open satra opened 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?)
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.
this will take a bit of work, but we should also be checking that the generated schema is conformant with the VJSF editor.