Super User Tests

Last modified 22 Apr 2021 17:31 +02:00

Scenario 1 - Create super user test

Prerequirements:

User with the name "SuperUser" isn’t to be created yet.

Actions:

  1. Click Users → New user

  2. Fill in only mandatory fields:

    • Name: SuperUser

  3. Click → Save. (Expected result: user is created)

  4. Open Edit page for SuperUser user

  5. Fill in the first and the second password fields in the User details section

  6. Click menu icon in the Assignments section

  7. Click Assign role menu item

  8. Select Superuser role in the opened Select object’s window, click Assign button (Expected result: selected role appears in the Assignments section)

  9. Click Save button on the user’s Edit page (Expected result: user is saved successfully)

  10. Open Edit page for the same user again

Result:

  • Superuser role is assigned to the user

Scenario 2 - Log in as SuperUser test

Prerequirements:

User with the name "SuperUser" is to be created.

Actions:

  1. Log out from midPoint

  2. Log in to midPoint as SuperUser which was created in the Scenario 1

Result:

  • SuperUser user is successfully logged in to midPoint

Scenario 3 - Disable SuperUser and log in test

Prerequirements:

User with the name "SuperUser" is to be created

Actions:

  1. Click Users → List users

  2. Find SuperUser user

  3. Select checkbox for found SuperUser user

  4. Click on the menu icon in the upper right corner of the users list

  5. Select Disable menu item (Expected result: Success message appears on the page after operation is completed)

  6. Log out from system

  7. Try to log in as SuperUser

Result:

  • error message that user doesn’t have access is shown

Scenario 4 - Enable SuperUser and log in test

Prerequirements:

User with the name "SuperUser" is to be created

Actions:

  1. Click Users → List users

  2. Find SuperUser user

  3. Select checkbox for found SuperUser user

  4. Click on the menu icon in the upper right corner of the users list

  5. Select Enable menu item (Expected result: Success message appears on the page after operation is completed)

  6. Log out from system

  7. Try to log in as SuperUser

Result:

  • SuperUser is successfully logged in to the system