ZA1NZAFAR / TeamS_Projet_Software_Testing

1 stars 0 forks source link

Employee contract information - Hiring date range can contains illegal values #9

Open Rimberse opened 9 months ago

Rimberse commented 9 months ago

Describe the bug Hiring date can be set to the dates before company's creation date and after today.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://s.hr.dmerej.info/add_employee
  2. Scroll down to Contract part
  3. Enter illegal values in Hiring date field as '01/01/0001' or '31/12/9999'
  4. Observe that the system doesn't prevent user from entering illegal values

Expected behavior Entering values before company creation date or beyond today's date in hiring date input field should be prohibited.

Screenshots image image

AFKBETO commented 9 months ago

Bug still remains in 1.0.4 image