ref: master
features/new_content_on_cms.feature
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
Feature: create content on cms As a noosfero user I want to create articles and upload files Background: Given the following users | login | name | | joaosilva | Joao Silva | And I am logged in as "joaosilva" And I am on joaosilva's cms Scenario: open page to select type of content Given I follow "New content" Then I should see "Choose the type of content" Scenario: list all content types Given I follow "New content" Then I should see "Text article" And I should see "Folder" And I should see "Blog" And I should see "Uploaded file" And I should see "Event" Scenario: create a folder Given I follow "New content" When I follow "Folder" And I fill in "Title" with "My Folder" And I press "Save" And I go to joaosilva's cms Then I should see "My Folder" Scenario: create a Blog Given I follow "New content" When I follow "Blog" And I fill in "Title" with "My blog" And I fill in "Address" with "my-blog" And I press "Save" And I go to joaosilva's cms Then I should see "My blog" Scenario: create an event Given I follow "New content" When I follow "Event" And I fill in "Title" with "My event" And I press "Save" And I go to joaosilva's cms Then I should see "My event" Scenario: redirect to upload files if choose UploadedFile Given I follow "New content" When I follow "Uploaded file" Then I should be on /myprofile/joaosilva/cms/upload_files |