Skip to content
Extraits de code Groupes Projets
Valider 59f055bf rédigé par Florian Staudacher's avatar Florian Staudacher
Parcourir les fichiers

Merge pull request #3498 from devendram/cukes-refactoring

merging multiple consecutive "I (should|should not) see" lines into one
parents 03858a07 7b9fcc2b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -86,8 +86,7 @@ Feature: following and being followed
When I sign in as "bob@bob.bob"
And I am on "alice@alice.alice"'s page
Then I should see "Besties"
Then I should see "Mention"
Then I should see "Besties" and "Mention"
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
......@@ -95,8 +94,7 @@ Feature: following and being followed
And I am on "bob@bob.bob"'s page
Then I should see "Add contact"
Then I should not see "Mention" within "#profile"
Then I should not see "Message" within "#profile"
Then I should not see "Mention" and "Message" within "#profile"
Scenario: interacting with the profile page of someone you follow who also follows you
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
When I go to "bob@bob.bob"'s page
Then I should see "All Aspects"
And I should see "Mention"
And I should see "Message"
Then I should see "All Aspects" and "Mention" and "Message"
\ No newline at end of file
......@@ -29,8 +29,7 @@ Scenario: Toggling nsfw state
And I sign in as "laura@officeworkers.com"
Then I should not see "I love 0bj3ction4bl3 c0nt3nt!"
When I toggle nsfw posts
Then I should see "I love 0bj3ction4bl3 c0nt3nt!"
And I should see "Sexy Senators Gone Wild!"
Then I should see "I love 0bj3ction4bl3 c0nt3nt!" and "Sexy Senators Gone Wild!"
#cookies
#When I refresh the page
......@@ -39,8 +38,7 @@ Scenario: Toggling nsfw state
#hiding
When I toggle nsfw posts
Then I should not see "I love 0bj3ction4bl3 c0nt3nt!"
And I should not see "Sexy Senators Gone Wild!"
Then I should not see "I love 0bj3ction4bl3 c0nt3nt!" and "Sexy Senators Gone Wild!"
Scenario: Resharing an nsfw post
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 select only "PostingTo" aspect
Then I should see "I am eating a yogurt"
Then I should see "And cornflakes also"
Then I should see "I am eating a yogurt" and "And cornflakes also"
When I am on the aspects page
And I select only "Besties" aspect
Then I should not see "I am eating a yogurt"
Then I should see "And cornflakes also"
When I am on the aspects page
And I select only "NotPostingThingsHere" aspect
Then I should not see "I am eating a yogurt"
Then I should not see "And cornflakes also"
Then I should not see "I am eating a yogurt" and "And cornflakes also"
# (NOTE) make this a jasmine spec
Scenario: reject deletion one of my posts
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter