parent
ccd97a8a78
commit
6be69d6100
@ -0,0 +1,25 @@ |
||||
Feature: Announcement tool |
||||
In order to use the Announcement tool |
||||
The teachers should be able to create Announcements |
||||
|
||||
Background: |
||||
Given I am a platform administrator |
||||
And I am on course "TEMP" homepage |
||||
|
||||
Scenario: Create an announcement |
||||
Given I am on "/main/announcements/announcements.php?action=add&cidReq=TEMP" |
||||
When I fill in the following: |
||||
| title | Announcement test | |
||||
And I select "admin admin" from "users-f" |
||||
And I press "add" |
||||
And I fill in ckeditor field "content" with "Announcement description" |
||||
And I press "submit" |
||||
Then I should see "Announcement has been added" |
||||
|
||||
Scenario: Delete all announcements |
||||
Given I am on "/main/announcements/announcements.php?cidReq=TEMP" |
||||
When I follow "Clear list of announcements" |
||||
# And I confirm the popup |
||||
Then I should see "All announcements have been deleted" |
||||
|
||||
|
Loading…
Reference in new issue