Update Behat and add more tests
This commit is contained in:
parent
b5a0281729
commit
7c1fed2d49
11 changed files with 1057 additions and 706 deletions
16
features/blog.feature
Normal file
16
features/blog.feature
Normal file
|
@ -0,0 +1,16 @@
|
|||
Feature: Blog
|
||||
|
||||
Scenario:
|
||||
Given I am on "/blog"
|
||||
Then the response status code should be 200
|
||||
And the ".nav li.active a" element should contain "Blog"
|
||||
|
||||
Scenario:
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue