Add cuke that tests #2102. Change aspects in the middle of posting.

This commit is contained in:
Gonzalo Rodriguez 2011-10-08 18:39:42 -02:00
parent 6cd9c9c2d0
commit c0ea7054d6

View file

@ -130,3 +130,21 @@ Feature: posting from the main page
And I wait for the ajax to finish
And I go to the aspects page
Then I should not see "I am eating a yogurt"
Scenario: change aspects in the middle of the post writing
When I select only "NotPostingThingsHere" aspect
And I expand the publisher
And I fill in "status_message_fake_text" with "I am eating a yogurt"
And I follow "PostingTo" within "#aspect_nav"
And I follow "NotPostingThingsHere" within "#aspect_nav"
And I wait for the ajax to finish
Then the publisher should be expanded
When I append " and also cornflakes" to the publisher
And I press "Share"
And I wait for the ajax to finish
And I am on the aspects page
And I select only "PostingTo" aspect
Then I should see "I am eating a yogurt and also cornflakes"
When I am on the aspects page
And I select only "NotPostingThingsHere" aspect
Then I should not see "I am eating a yogurt and also cornflakes"