Logo: Relish

  1. Sign in

Project: Sct

Blog admin

  • @admin
  • @blog

In order to administer Posts for blog
As Tomáš
I need Blod admin section

Scenarios
Comming to Blog admin
Given
I logged in as 'Tomáš'
And
I follow 'Posts'
Then
I should see 'All Posts'
Creating new Post
Given
I logged in as 'Tomáš'
And
I follow 'Posts'
And
I follow 'New'
When
I fill in 'Title' with 'Beatiful fonts'
And
I fill in 'Body' with 'Some longer text'
And
I fill in 'Links' with '[Tabac](/font/tabac)'
And
I fill in 'Tags' with 'Tabac'
And
I attach file for 'Image'
And
I press 'Save'
Then
I should see 'Post was successfully created.'
Destroying Post
Given
I logged in as 'Tomáš'
And
I created 'Some' Post
And
I follow 'Posts'
When
I press 'Delete'
Then
I should see 'Post was successfully destroyed'
Editing Post
Given
I logged in as 'Tomáš'
And
I created 'Some' Post
And
I follow 'Posts'
When
I press 'Edit'
And
I fill in 'Title' with 'Other'
And
I press 'Save'
Then
I should see 'Post was successfully updated'

Last published almost 7 years ago by pepe.