You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.3 KiB
31 lines
1.3 KiB
9 years ago
|
Feature: Forum tool
|
||
|
In order to use the Forum tool
|
||
|
The teachers should be able to create forum categories, forums, forum threads
|
||
|
|
||
|
Background:
|
||
|
Given I am a platform administrator
|
||
|
And I am on course "TEMP" homepage
|
||
|
|
||
|
Scenario: Create a forum category
|
||
|
Given I am on "/main/forum/index.php?action=add&content=forumcategory"
|
||
|
When I fill in the following:
|
||
|
| forum_category_title | Forum Category Test |
|
||
|
| forum_category_comment | This is the first forum category for test |
|
||
|
And I press "SubmitForumCategory"
|
||
|
Then I should see "The forum category has been added"
|
||
|
|
||
|
Scenario: Create a forum
|
||
|
Given I am on "/main/forum/index.php?action=add&content=forum"
|
||
|
When I fill in the following:
|
||
|
| forum_title | Forum Test |
|
||
|
| forum_comment | This is the first forum for test |
|
||
|
And I press "SubmitForum"
|
||
|
Then I should see "The forum has been added"
|
||
|
|
||
|
Scenario: Create a forum thread
|
||
|
Given I am on "/main/forum/newthread.php?forum=5"
|
||
|
When I fill in the following:
|
||
|
| post_title | Thread One |
|
||
|
| post_text | This is a the first thread in a forum for test |
|
||
|
And I press "SubmitPost"
|
||
|
Then I should see "The new thread has been added"
|