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

[Templates] User should not be able to save templates with empty body #403

Open
MarG66 opened this issue Sep 25, 2024 · 0 comments
Open
Labels
bug 🐛 Something isn't working P3 - low web-app

Comments

@MarG66
Copy link

MarG66 commented Sep 25, 2024

Preconditions:
The user must be logged in on the "Template-uri" tab from "Contracte" sub-page.

Steps to Reproduce:

  1. Click on the "Creaza template" button
  2. Enter valid data into the "Numele template-ului" input
  3. Press on "Adauga text" button from the "Termenii contractului" section
  4. Enter any data
  5. Delete said data
  6. Press on the "Salveaza modificari" button
  7. Press on the "Salveaza" button

Expected Results:
6. Error regarding mandatory input is displayed and no action is taken on button press
7. No action is taken due to presence of error at step 6

Actual Results:
6.7 The template body is saved as empty and the template is created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working P3 - low web-app
Projects
None yet
Development

No branches or pull requests

3 participants