From fca8467e74a76f5f4eb7aa24b5651be8afea09ea Mon Sep 17 00:00:00 2001 From: Ariel Gold Date: Thu, 5 Mar 2015 14:26:25 -0800 Subject: [PATCH] Add blog.feature --- features/blog.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 features/blog.feature diff --git a/features/blog.feature b/features/blog.feature new file mode 100644 index 0000000..0c2d4b3 --- /dev/null +++ b/features/blog.feature @@ -0,0 +1,14 @@ +Feature: Blog + +@javascript @wip +Scenario: As a user with the editor role I can post to the blog +Given I am logged in as "editor-qa" +And I follow "Posts" +And I follow "Add New" +And I press "Text" +And I fill in "post_title" with "My Awesome Blog Post" +And I fill in "content" with "This post was made by robots." +And I wait for the message to appear +And I press "Publish" +Then I should see "Post published" +