ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

n/nDescriptionTest case InputsExpected resultStep by Step ScriptActual Result
SU1register new person and new user
  • valid signed content
  • correct OTP
  • valid password

200, create

  • person
  • user (tax_id, mpi)
  • user_role 
  • authentification_factor
  • token (access_token)
  1. follow the link
  2. fill data
  3. input sms
  4. input password
  • person_id is null
  • 2fa_access token instead of access_token
SU2register new user for existing mpi.person 
  • valid signed content
  • correct OTP
  • valid password

200, 

update

  • person (change updated_at)

create

  • user (tax_id, mpi)
  • user_role 
  • authentification_factor
  • token (access_token)
  1. follow the link
  2. fill data
  3. input sms
  4. input password
  • if found more than one person - return mistake, not update the first one as it is now
SU3register new person for mithril.user 
  • valid signed content
  • correct OTP
  • valid password

200, 

create

  • person (change updated_at)
  • user_role 
  • authentification_factor
  • token (access_token)

update

  • user (tax_id, mpi)
  1. follow the link
  2. fill data
  3. input sms
  4. input password
  • while updating user -  person_id is null
  • factor is not updated
SU4link existing person and  existing mithril.user 
  • valid signed content
  • correct OTP
  • valid password

200, 

update 

  • user (tax_id, mpi)
  • person (change updated_at)

create

  • user_role 
  • authentification_factor
  • token (access_token)
  1. follow the link
  2. fill data
  3. input sms
  4. input password
  • while updating user -  person_id is null
  • factor is not updated
SU5existing matching person with status='INACTIVE'
  • valid signed content
  • correct OTP
  • valid password
create new mpi.person_id
  1. follow the link
  2. fill data
  3. input sms
  4. input password
update current person
SU6update user with status is_blocked=true
  • valid signed content
  • correct OTP
  • valid password
401, User blocked
create person

  1. follow the link
  2. fill data
  3. input sms
  4. input password

401, User blocked,

create person

updated user, linked tax_id

SU7input incorrect OTP 
  • valid signed content
  • valid password
  • incorrect OTP
403 Error (`Invalid verification code`)
  1. follow the link
  2. fill data
  3. input sms
  4. input password

SU8

input password doesn't meet Password policy requirements 

  • valid signed content
  • invalid password
  • correct OTP
Password Policy
  1. follow the link
  2. fill data
  3. input sms
  4. input password

SU9


































  • No labels