diff --git a/features/blog.feature b/features/blog.feature new file mode 100644 index 00000000..0bffbcc8 --- /dev/null +++ b/features/blog.feature @@ -0,0 +1,11 @@ +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" diff --git a/features/contact.feature b/features/contact.feature new file mode 100644 index 00000000..e9e21a1c --- /dev/null +++ b/features/contact.feature @@ -0,0 +1,6 @@ +Feature: Contact page + + Scenario: + Given I am on "/contact" + Then the response status code should be 200 + And the ".nav li.active a" element should contain "Contact" diff --git a/features/experience.feature b/features/experience.feature new file mode 100644 index 00000000..fd0bb453 --- /dev/null +++ b/features/experience.feature @@ -0,0 +1,6 @@ +Feature: Experience page + + Scenario: + Given I am on "/experience" + Then the response status code should be 200 + And the ".nav li.active a" element should contain "Experience" diff --git a/features/home.feature b/features/home.feature new file mode 100644 index 00000000..354c49c5 --- /dev/null +++ b/features/home.feature @@ -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 "/" + Then the response status code should be 200 + And the ".nav li.active a" element should contain "About" + And I should see "I’m 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" diff --git a/features/homepage.feature b/features/homepage.feature deleted file mode 100644 index 5cbe43cf..00000000 --- a/features/homepage.feature +++ /dev/null @@ -1,11 +0,0 @@ -Feature: Homepage - 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 "/" - Then the response status code should be 200 - And I should see "I’m 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" diff --git a/features/talks.feature b/features/talks.feature new file mode 100644 index 00000000..15e81a87 --- /dev/null +++ b/features/talks.feature @@ -0,0 +1,6 @@ +Feature: Talks page + + Scenario: + Given I am on "/talks" + Then the response status code should be 200 + And the ".nav li.active a" element should contain "Talks"