analysispreservation.cern.ch icon indicating copy to clipboard operation
analysispreservation.cern.ch copied to clipboard

ui: tests - add e2e test for "save" action on draft - required field

Open pamfilos opened this issue 1 year ago • 1 comments

e.g. with CMS cadi:

  1. Create record, don't fill up a required field, click save, it should work.
  2. Then try to publish, it should throw an error (and indicators in tab view).

pamfilos avatar Apr 22 '24 16:04 pamfilos

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

miguelgrc avatar Jul 18 '24 13:07 miguelgrc