diff --git a/features/posts_from_main_page.feature b/features/posts_from_main_page.feature index 0bd76018f..020ab169f 100644 --- a/features/posts_from_main_page.feature +++ b/features/posts_from_main_page.feature @@ -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"