Adapt some cukes to the new implementation
This commit is contained in:
parent
74d00d7db4
commit
5a5bc852e2
3 changed files with 12 additions and 16 deletions
|
|
@ -47,7 +47,6 @@ Feature: following and being followed
|
||||||
And I add the person to my "Unicorns" aspect
|
And I add the person to my "Unicorns" aspect
|
||||||
|
|
||||||
When I go to the home page
|
When I go to the home page
|
||||||
When I follow "Your Aspects"
|
|
||||||
|
|
||||||
Then I should have 1 contact in "Unicorns"
|
Then I should have 1 contact in "Unicorns"
|
||||||
Then I should have 1 contact in "Besties"
|
Then I should have 1 contact in "Besties"
|
||||||
|
|
@ -59,7 +58,6 @@ Feature: following and being followed
|
||||||
Then I go to the destroy user session page
|
Then I go to the destroy user session page
|
||||||
|
|
||||||
When I sign in as "bob@bob.bob"
|
When I sign in as "bob@bob.bob"
|
||||||
When I follow "Your Aspects"
|
|
||||||
Then I should have 1 contacts in "Besties"
|
Then I should have 1 contacts in "Besties"
|
||||||
|
|
||||||
When I am on the home page
|
When I am on the home page
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ Feature: mentioning a contact from their profile page
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
Then I should see "I am eating a yogurt"
|
Then I should see "I am eating a yogurt"
|
||||||
|
|
||||||
When I follow "Your Aspects" within "#aspect_nav"
|
When I am on the aspects page
|
||||||
And I follow "NotPostingThingsHere" within "#aspect_nav"
|
And I follow "NotPostingThingsHere" within "#aspect_nav"
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
Then I should see "I am eating a yogurt"
|
Then I should see "I am eating a yogurt"
|
||||||
|
|
@ -49,11 +49,13 @@ Feature: mentioning a contact from their profile page
|
||||||
And I press "Share" in the modal window
|
And I press "Share" in the modal window
|
||||||
|
|
||||||
When I am on the aspects page
|
When I am on the aspects page
|
||||||
|
And I follow "Deselect all" within "#aspect_nav"
|
||||||
And I follow "PostingTo" within "#aspect_nav"
|
And I follow "PostingTo" within "#aspect_nav"
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
Then I should see "I am eating a yogurt"
|
Then I should see "I am eating a yogurt"
|
||||||
|
|
||||||
When I follow "Your Aspects" within "#aspect_nav"
|
When I am on the aspects page
|
||||||
|
And I follow "Deselect all" within "#aspect_nav"
|
||||||
And I follow "NotPostingThingsHere" within "#aspect_nav"
|
And I follow "NotPostingThingsHere" within "#aspect_nav"
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
Then I should not see "I am eating a yogurt"
|
Then I should not see "I am eating a yogurt"
|
||||||
|
|
|
||||||
|
|
@ -48,10 +48,9 @@ Feature: public repost
|
||||||
|
|
||||||
And I go to the home page
|
And I go to the home page
|
||||||
Then I should see a ".reshare"
|
Then I should see a ".reshare"
|
||||||
And I follow "Your Aspects"
|
And I should see "reshare this!"
|
||||||
Then I should see "reshare this!"
|
And I should see a ".reshare"
|
||||||
Then I should see a ".reshare"
|
And I should see "Bob"
|
||||||
And I should see "Bob"
|
|
||||||
|
|
||||||
Scenario: I can delete a post that has been reshared
|
Scenario: I can delete a post that has been reshared
|
||||||
Given "bob@bob.bob" has a public post with text "reshare this!"
|
Given "bob@bob.bob" has a public post with text "reshare this!"
|
||||||
|
|
@ -62,11 +61,9 @@ Feature: public repost
|
||||||
|
|
||||||
And I go to the home page
|
And I go to the home page
|
||||||
Then I should see a ".reshare"
|
Then I should see a ".reshare"
|
||||||
|
And I should see "reshare this!"
|
||||||
When I follow "Your Aspects"
|
And I should see a ".reshare"
|
||||||
Then I should see "reshare this!"
|
And I should see "Bob"
|
||||||
Then I should see a ".reshare"
|
|
||||||
And I should see "Bob"
|
|
||||||
|
|
||||||
When I go to the destroy user session page
|
When I go to the destroy user session page
|
||||||
And I sign in as "bob@bob.bob"
|
And I sign in as "bob@bob.bob"
|
||||||
|
|
@ -86,10 +83,9 @@ Feature: public repost
|
||||||
|
|
||||||
When I go to the home page
|
When I go to the home page
|
||||||
Then I should see a ".reshare"
|
Then I should see a ".reshare"
|
||||||
When I follow "Your Aspects"
|
And I should see "reshare this!"
|
||||||
Then I should see "reshare this!"
|
|
||||||
And I should see a ".reshare"
|
And I should see a ".reshare"
|
||||||
And I should see "Bob"
|
And I should see "Bob"
|
||||||
|
|
||||||
When I go to the home page
|
When I go to the home page
|
||||||
Then I should see "1 reshare"
|
Then I should see "1 reshare"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue