Creating blog entries

As a blogger I should be able to create blog entries that appear on the home page so that users can read it.

Let us create a simple workflow for this test.

Blog Creation:
  • create a new blog entry
  • add some sample content
  • verify that the content appears on the home page
Now consider the case where we want to edit blogs.

As a blogger I should be able to edit existing blog entries so that I can rectify mistakes that I've made, or add updates to it.

We create a workflow as follows:-
Blog Creation:
  • create a new blog entry
  • add some sample content
  • edit the blog entry content
  • verify that the edited content appears on the home page
Let us say that we have several tests on creating a blog similar to the one above. We may want to merge the first two workflow steps as one logical step, say create a new blog entry with some sample content. To do so, select the two workflow steps, and choose Extract concept from the Context Menu. After extraction, the workflow looks as follows:-
Blog Creation:
  • create a new blog entry with some sample content
  • edit the blog entry content
  • verify that the edited content appears on the home page

Proceed to Creating blog entry with blog details.