Assert an item of the stream offers (or does not offer) a button, by words of its text ("Comment 1", "Mark as Favorite", "Remove Favorite", "Delete").
Examples
Then the update "Welcome to the Webship Community!" should offer "Remove Favorite"
And the update "The new pattern library is out" should offer "Delete"
Then the update "Club meeting on Thursday" should not offer "Delete"
And the update "Welcome to the Webship Community!" should offer "Comment 1"
Then the update "The new pattern library is out" should offer "Mark as Favorite"
Pattern
Then(/^the update "([^"]*)" should( not)* offer "([^"]*)"$/, …)
Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.