analysispreservation.cern.ch
analysispreservation.cern.ch copied to clipboard
ui: tests - add e2e test for "save" action on draft - required field
e.g. with CMS cadi:
- Create record, don't fill up a required field, click save, it should work.
- Then try to publish, it should throw an error (and indicators in tab view).
It is currently possible to publish a draft with empty required fields. The validation only triggers when there's some change in the form before clicking on save or publishing. Is this a desired behavior? @pamfilos