merging multiple consecutive "I (should|should not) see" lines into one
This commit is contained in:
parent
03858a07f7
commit
7b9fcc2b3d
3 changed files with 7 additions and 15 deletions
|
|
@ -86,8 +86,7 @@ Feature: following and being followed
|
||||||
When I sign in as "bob@bob.bob"
|
When I sign in as "bob@bob.bob"
|
||||||
And I am on "alice@alice.alice"'s page
|
And I am on "alice@alice.alice"'s page
|
||||||
|
|
||||||
Then I should see "Besties"
|
Then I should see "Besties" and "Mention"
|
||||||
Then I should see "Mention"
|
|
||||||
Then I should not see "Message" within "#profile"
|
Then I should not see "Message" within "#profile"
|
||||||
|
|
||||||
Scenario: interacting with the profile page of someone who follows you but who you do not follow
|
Scenario: interacting with the profile page of someone who follows you but who you do not follow
|
||||||
|
|
@ -95,8 +94,7 @@ Feature: following and being followed
|
||||||
And I am on "bob@bob.bob"'s page
|
And I am on "bob@bob.bob"'s page
|
||||||
|
|
||||||
Then I should see "Add contact"
|
Then I should see "Add contact"
|
||||||
Then I should not see "Mention" within "#profile"
|
Then I should not see "Mention" and "Message" within "#profile"
|
||||||
Then I should not see "Message" within "#profile"
|
|
||||||
|
|
||||||
Scenario: interacting with the profile page of someone you follow who also follows you
|
Scenario: interacting with the profile page of someone you follow who also follows you
|
||||||
Given I sign in as "alice@alice.alice"
|
Given I sign in as "alice@alice.alice"
|
||||||
|
|
@ -108,6 +106,4 @@ Feature: following and being followed
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
|
|
||||||
When I go to "bob@bob.bob"'s page
|
When I go to "bob@bob.bob"'s page
|
||||||
Then I should see "All Aspects"
|
Then I should see "All Aspects" and "Mention" and "Message"
|
||||||
And I should see "Mention"
|
|
||||||
And I should see "Message"
|
|
||||||
|
|
@ -29,8 +29,7 @@ Scenario: Toggling nsfw state
|
||||||
And I sign in as "laura@officeworkers.com"
|
And I sign in as "laura@officeworkers.com"
|
||||||
Then I should not see "I love 0bj3ction4bl3 c0nt3nt!"
|
Then I should not see "I love 0bj3ction4bl3 c0nt3nt!"
|
||||||
When I toggle nsfw posts
|
When I toggle nsfw posts
|
||||||
Then I should see "I love 0bj3ction4bl3 c0nt3nt!"
|
Then I should see "I love 0bj3ction4bl3 c0nt3nt!" and "Sexy Senators Gone Wild!"
|
||||||
And I should see "Sexy Senators Gone Wild!"
|
|
||||||
|
|
||||||
#cookies
|
#cookies
|
||||||
#When I refresh the page
|
#When I refresh the page
|
||||||
|
|
@ -39,8 +38,7 @@ Scenario: Toggling nsfw state
|
||||||
|
|
||||||
#hiding
|
#hiding
|
||||||
When I toggle nsfw posts
|
When I toggle nsfw posts
|
||||||
Then I should not see "I love 0bj3ction4bl3 c0nt3nt!"
|
Then I should not see "I love 0bj3ction4bl3 c0nt3nt!" and "Sexy Senators Gone Wild!"
|
||||||
And I should not see "Sexy Senators Gone Wild!"
|
|
||||||
|
|
||||||
Scenario: Resharing an nsfw post
|
Scenario: Resharing an nsfw post
|
||||||
Given a nsfw user with email "tommy@pr0nking.com"
|
Given a nsfw user with email "tommy@pr0nking.com"
|
||||||
|
|
|
||||||
|
|
@ -174,16 +174,14 @@ Feature: posting from the main page
|
||||||
|
|
||||||
And I am on the aspects page
|
And I am on the aspects page
|
||||||
And I select only "PostingTo" aspect
|
And I select only "PostingTo" aspect
|
||||||
Then I should see "I am eating a yogurt"
|
Then I should see "I am eating a yogurt" and "And cornflakes also"
|
||||||
Then I should see "And cornflakes also"
|
|
||||||
When I am on the aspects page
|
When I am on the aspects page
|
||||||
And I select only "Besties" aspect
|
And I select only "Besties" aspect
|
||||||
Then I should not see "I am eating a yogurt"
|
Then I should not see "I am eating a yogurt"
|
||||||
Then I should see "And cornflakes also"
|
Then I should see "And cornflakes also"
|
||||||
When I am on the aspects page
|
When I am on the aspects page
|
||||||
And I select only "NotPostingThingsHere" aspect
|
And I select only "NotPostingThingsHere" aspect
|
||||||
Then I should not see "I am eating a yogurt"
|
Then I should not see "I am eating a yogurt" and "And cornflakes also"
|
||||||
Then I should not see "And cornflakes also"
|
|
||||||
|
|
||||||
# (NOTE) make this a jasmine spec
|
# (NOTE) make this a jasmine spec
|
||||||
Scenario: reject deletion one of my posts
|
Scenario: reject deletion one of my posts
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue