Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Purpose

This test cases cover ban user functionality.

Prereq

You should have several users registered in the system.

#

Test steps

Expected result

1

Click on "Ban users" tab.

You should see a page with tools for bun users.

2

Typing an username.

While typing auto-completion shows possible suggestion.

3

Select user from list of possible suggestion. Click button "Add".

You should see user in the table bellow. Table should have next columns: username, email, posts count and the date of registration.

4

Typing a new username. Select user from list of possible suggestion. Click button "Add".

New user should be added in the table of users.

5

Tick the "Permanent Ban" check box.

The "Ban length" field should get disabled.

6

Click "Submit".

Permanent Ban should be applied to the users in the table.

7

Typing an username. Select user from list of possible suggestion. Click button "Add". Tick the "Permanent Ban" check box. Add some text in the "Ban reason" fields. Click "Submit".

Permanent Ban should be applied to the user in the table. Ban reason should be saved in the database.

8

Typing an username. Select user from list of possible suggestion. Click button "Add".

User should be added in the table of users.

9

Enter in the "Ban length" field not number.

Error message should be displayed.

10

Enter in the "Ban length" field number "n".

The "Permanent Ban" field should get disabled.

11

Click button "Submit".

Ban for "n" days should be applied to the user in the table.

12

Typing an username. Select user from list of possible suggestion. Click button "Add". Enter in the "Ban length" field number "n". Add some text in the "Ban reason" fields. Click "Submit".

Ban for "n" days should be applied to the user in the table. Ban reason should be saved in the database.

13

Typing an username. Select user from list of possible suggestion. Click button "Add". Click button "Submit".

Error or information message should be displayed because we not defined ban type.

14

Typing an username wich is baned. Select user from list of possible suggestion. Click button "Add". Click button "Reset".

Ban should be reset from user.