swe574-2015fall-group2 / webapp_repo

0 stars 1 forks source link

Create New Discussion - Empty discussion must not be created #82

Closed cakyel closed 8 years ago

cakyel commented 8 years ago

Currently, an empty discussion can be created without entering any values.

The following information must be mandatory:

image

cakyel commented 8 years ago

Test Cases

GIVEN there is an existing group and the user is in the Create New Discussion page, WHEN the user clicks Create Discussion button without filling any field THEN the discussion must not be created and a warning information should be shown.

GIVEN there is an existing group and the user is in the Create New Discussion page, WHEN the user clicks Create Discussion button without filling Discussion Name field, THEN the discussion must not be created and a warning information should be shown.

GIVEN there is an existing group and the user is in the Create New Discussion page, WHEN the user clicks Create Discussion button without filling Description field THEN the discussion must not be created and a warning information should be shown.

  • [x] Create New Discussion page loaded successfully
  • [x] Discussion cannot be created when all fields are empty
  • [x] Discussion cannot be created when Discussion Name field is empty
  • [x] Discussion cannot be created when Description field is empty
  • [x] Discussion can be created when mandatory fields are filled
cakyel commented 8 years ago

Test Case

cakyel commented 8 years ago

Tested OK

image