Wait for aspect toggles to return before looking for content
This commit is contained in:
parent
862fc15910
commit
83384b08ea
1 changed files with 2 additions and 0 deletions
|
|
@ -35,10 +35,12 @@ Feature: posting from the main page
|
||||||
|
|
||||||
When I am on the aspects page
|
When I am on the aspects page
|
||||||
And I follow "PostTo" within "#aspect_nav"
|
And I follow "PostTo" within "#aspect_nav"
|
||||||
|
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 am on the aspects page
|
When I am on the aspects page
|
||||||
And I follow "DidntPostTo" within "#aspect_nav"
|
And I follow "DidntPostTo" within "#aspect_nav"
|
||||||
|
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"
|
||||||
|
|
||||||
Scenario: post a photo with text
|
Scenario: post a photo with text
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue