From 5bb12f10c563209c5bb519dad16e43d87a25cf66 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 14 Jun 2016 10:25:01 +0100 Subject: [PATCH] Add a test for the latest blog posts block --- features/blog.feature | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/features/blog.feature b/features/blog.feature index 0bffbcc8..5fa1ed60 100644 --- a/features/blog.feature +++ b/features/blog.feature @@ -9,3 +9,8 @@ Feature: Blog Given I am on "/blog/simplifying-drupal-migrations-with-xautoload" Then the response status code should be 200 And the ".nav li.active a" element should contain "Blog" + + Scenario: + Given I am on "/" + Then I should see "Latest blog posts" + And I should see 3 ".latest-posts .post" elements