Skip to content

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

Open
@pamfilos

Description

@pamfilos

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).

Activity

miguelgrc

miguelgrc commented on Jul 18, 2024

@miguelgrc
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @pamfilos@miguelgrc

      Issue actions

        ui: tests - add e2e test for "save" action on draft - required field · Issue #2885 · cernanalysispreservation/analysispreservation.cern.ch