Project

General

Profile

Test plan for page "add a person"

Access

  • The page is accessible at the URL /{_locale}/person/new
  • The page contains a "firstname" input
  • The page contains a "lastname" input
  • The page contains a "gender" input
  • The page has a "date of birth" input
  • The gender input has two radio button: man and women
  • The page contains a "creation date" input
  • The page contains a butto
  • The gender input is not checked
  • The creation date input has the current date by default
  • All fields are required, except "date of birth"
  • An error message is shown if we fill more than 255 characters in firstname
  • An error message is shown if we fill more than 255 characters in lastname
  • An error message is shown if the date is invalid => passed : this should be tested by symfony
  • A message is shown if gender is not set
  • a valid form redirect to url /{_locale}/person/{personId}/general/edit
  • if the firstname and/or lastname is quite the same as an existing person, a confirmation page is shown
    => "is quite the same" must be defined