Skip to content

Commit

Permalink
Added basic feature tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
kalpaitch committed Dec 22, 2016
1 parent 7977066 commit 38b1d0e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions features/domain.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Feature: Domain suite
In order to have use multiple domains
as a User
I want to check each domain

Scenario: Check that the domains exist and set correct base url
Given I am on the domain "Example"
Then the response status code should be 200
Then I should see "Example Domain"
When I go to "/"
Then the response status code should be 200
Then I should see "Example Domain"

Scenario: Check that the base url gets reset for each scenario
When I go to "/"
Then the response status code should be 200
Then I should not see the text "Example Domain"

0 comments on commit 38b1d0e

Please sign in to comment.