fix all but one cuke
This commit is contained in:
parent
0a1e649b2b
commit
68a8c23d80
4 changed files with 11 additions and 7 deletions
|
|
@ -14,7 +14,8 @@ Feature: invitation acceptance
|
||||||
And I fill in the following:
|
And I fill in the following:
|
||||||
| profile_first_name | O |
|
| profile_first_name | O |
|
||||||
|
|
||||||
When I follow "awesome_button"
|
And I preemptively confirm the alert
|
||||||
|
And I follow "awesome_button"
|
||||||
Then I should be on the multi page
|
Then I should be on the multi page
|
||||||
|
|
||||||
Scenario: accept invitation from user
|
Scenario: accept invitation from user
|
||||||
|
|
@ -31,7 +32,8 @@ Feature: invitation acceptance
|
||||||
And I fill in the following:
|
And I fill in the following:
|
||||||
| profile_first_name | O |
|
| profile_first_name | O |
|
||||||
|
|
||||||
When I follow "awesome_button"
|
And I preemptively confirm the alert
|
||||||
|
And I follow "awesome_button"
|
||||||
Then I should be on the multi page
|
Then I should be on the multi page
|
||||||
|
|
||||||
Scenario: sends an invitation
|
Scenario: sends an invitation
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ Feature: posting
|
||||||
Scenario: can stop following a tag from the homepage
|
Scenario: can stop following a tag from the homepage
|
||||||
When I go to the home page
|
When I go to the home page
|
||||||
And I preemptively confirm the alert
|
And I preemptively confirm the alert
|
||||||
And I hover over the "li.unfollow#boss"
|
And I hover over the "li.unfollow#tag-following-boss"
|
||||||
And I follow "unfollow_boss"
|
And I follow "unfollow_boss"
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
Then I should not see "#boss" within ".left_nav"
|
Then I should not see "#tag-following-boss" within ".left_nav"
|
||||||
|
|
|
||||||
|
|
@ -14,13 +14,15 @@ Feature: new user registration
|
||||||
And I should see "What are you into?"
|
And I should see "What are you into?"
|
||||||
|
|
||||||
Scenario: new user goes through the setup wizard
|
Scenario: new user goes through the setup wizard
|
||||||
And I fill in the following:
|
When I fill in the following:
|
||||||
| profile_first_name | O |
|
| profile_first_name | O |
|
||||||
|
And I preemptively confirm the alert
|
||||||
And I follow "awesome_button"
|
And I follow "awesome_button"
|
||||||
|
|
||||||
Then I should be on the multi page
|
Then I should be on the multi page
|
||||||
And I should not see "awesome_button"
|
And I should not see "awesome_button"
|
||||||
|
|
||||||
Scenario: new user skips the setup wizard
|
Scenario: new user skips the setup wizard
|
||||||
When I follow "awesome_button"
|
When I preemptively confirm the alert
|
||||||
|
And I follow "awesome_button"
|
||||||
Then I should be on the multi page
|
Then I should be on the multi page
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
Then /^"([^"]*)" should be part of active conversation$/ do |name|
|
Then /^"([^"]*)" should be part of active conversation$/ do |name|
|
||||||
within(".conversation_participants") do
|
within(".conversation_participants") do
|
||||||
find("img.avatar[title^='#{name} ']").should_not be_nil
|
find("img.avatar[title^='#{name}']").should_not be_nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue