Logo: Relish

  1. Sign in

Project: School

Blog Management

In order to make blogs
As a teacher
I want to create and manage blogs

Scenarios
View blogs
Given
I have blogs titled Welcome, Session1
When
I go to the list of blogs
Then
I should see "Welcome"
And
I should see "Session1"
Create blog
Given
I have no blogs
And
I am on the list of blogs
When
I follow new blog
And
I fill in "Title" with "Blog1"
And
I fill in "Message" with "This is Blog 1"
And
I click the "Submit" button
Then
I should see "New Blog Created."
And
I should see "Blog1"
And
I should see "This is Blog 1"
And
I should have 1 blog
Edit blog
Given
I have a blog
And
I visit the blogs page
And
I click on the blog
When
I choose to edit the blog
And
I fill in "Title" with "Edited Blog"
And
I fill in "Message" with "This is the edited blog"
And
I click the "Submit" button
Then
I should see "Blog updated successfully."
And
I should see "Edited Blog"
And
I should see "This is the edited blog"
Delete blog
Given
I have a blog
And
I visit the blogs page
And
I click the "Delete" button
Then
I should see "Blog successfully deleted."
And
I should have 0 blog

Last published about 4 years ago by Eddie Shaw.