Browse Source

Fixed tests

development
Godwin 8 years ago
parent
commit
71745f9deb
  1. 4
      features/conferences.feature
  2. 4
      features/landing_page.feature
  3. 2
      features/workshops.feature

4
features/conferences.feature

@ -60,7 +60,7 @@ Feature: Conferences
Then I should see 'Brooklyn'
But I should not see 'Yellowknife'
And not see 'New Orleans'
And not see 'More info'
And not see 'Details'
And not see a 'Register' link
And I should not see an 'Administrate' link
And I should not see an 'Edit' link
@ -75,7 +75,7 @@ Feature: Conferences
Then I should see 'Brooklyn'
But I should not see 'Yellowknife'
And not see 'New Orleans'
And not see 'More info'
And not see 'Details'
But I should see a 'Register' link
And I should not see an 'Administrate' link
And I should not see an 'Edit' link

4
features/landing_page.feature

@ -6,14 +6,14 @@ Feature: Landing Page
Given there is an upcoming conference in 'Brooklyn NY'
And I am on the landing page
Then I should see a 'More info' link
Then I should see a 'Details' link
Scenario: A registration link is displayed when registration is open
Given there is an upcoming conference in 'Brooklyn NY'
And Registration is open
And I am on the landing page
Then I should see a 'More info' link
Then I should see a 'Details' link
And see a 'Register' link
And see 'Brooklyn'

2
features/workshops.feature

@ -50,7 +50,7 @@ Feature: Workshops
When I click the 'Workshops' link
Then I should see two workshops
When I click on the 'More info' link
When I click on the 'Details' link
Then I should see 'Tools'
And should see 'Education'

Loading…
Cancel
Save