Update Behat and add more tests

This commit is contained in:
Oliver Davies 2016-06-14 10:03:23 +01:00
parent b5a0281729
commit 7c1fed2d49
11 changed files with 1057 additions and 706 deletions

12
features/home.feature Normal file
View file

@ -0,0 +1,12 @@
Feature: Home
In order to check that the website still works
As a website user
I need to be able to see that the homepage is correct
Scenario:
Given I am on the homepage
Then the response status code should be 200
And the ".nav li.active a" element should contain "About"
And I should see "Im a Web Developer and System Administrator based in Wales, UK."
And the "title" element should contain "Web Developer, System Administrator - PHP, Drupal, Symfony, Linux | Oliver Davies"
And the "title" element should not contain "About | Oliver Davies"