Clarify cucumber step definition
This commit is contained in:
parent
5b0cae2bbd
commit
7d6129b7f3
3 changed files with 5 additions and 5 deletions
|
|
@ -62,7 +62,7 @@ Feature: commenting
|
|||
When I focus the comment field
|
||||
Then the first comment field should be open
|
||||
|
||||
When I select "Besties" aspect
|
||||
When I select only "Besties" aspect
|
||||
Then I should see "Look at this dog"
|
||||
Then the first comment field should be closed
|
||||
When I focus the comment field
|
||||
|
|
|
|||
|
|
@ -26,18 +26,18 @@ Feature: posting from the main page
|
|||
Then I should see "I am eating a yogurt" within ".stream_element"
|
||||
|
||||
Scenario: post a text-only message to just one aspect
|
||||
When I select "PostingTo" aspect
|
||||
When I select only "PostingTo" aspect
|
||||
And I expand the publisher
|
||||
And I fill in "status_message_fake_text" with "I am eating a yogurt"
|
||||
And I press "Share"
|
||||
And I wait for the ajax to finish
|
||||
|
||||
When I am on the aspects page
|
||||
And I select "PostingTo" aspect
|
||||
And I select only "PostingTo" aspect
|
||||
Then I should see "I am eating a yogurt"
|
||||
|
||||
When I am on the aspects page
|
||||
And I select "NotPostingThingsHere" aspect
|
||||
And I select only "NotPostingThingsHere" aspect
|
||||
Then I should not see "I am eating a yogurt"
|
||||
|
||||
Scenario: post a photo with text
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ When /^I click on "([^"]*)" aspect edit icon$/ do |aspect_name|
|
|||
end
|
||||
end
|
||||
|
||||
When /^I select "([^"]*)" aspect$/ do |aspect_name|
|
||||
When /^I select only "([^"]*)" aspect$/ do |aspect_name|
|
||||
within('#aspect_nav') do
|
||||
click_link 'Deselect all'
|
||||
click_link aspect_name
|
||||
|
|
|
|||
Loading…
Reference in a new issue