Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pamfilos opened this issue Apr 22, 2024 · 1 comment
Open
Assignees

Comments

@pamfilos
Copy link
Collaborator

pamfilos commented Apr 22, 2024

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).
@miguelgrc
Copy link
Contributor

miguelgrc commented Jul 18, 2024

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
Projects
None yet
Development

No branches or pull requests

2 participants