Add a test for the latest blog posts block
This commit is contained in:
parent
8631e1c66d
commit
5bb12f10c5
|
@ -9,3 +9,8 @@ Feature: Blog
|
||||||
Given I am on "/blog/simplifying-drupal-migrations-with-xautoload"
|
Given I am on "/blog/simplifying-drupal-migrations-with-xautoload"
|
||||||
Then the response status code should be 200
|
Then the response status code should be 200
|
||||||
And the ".nav li.active a" element should contain "Blog"
|
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
|
||||||
|
|
Loading…
Reference in a new issue