Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlyaaaaaaaaaaaaa Zhitomirskiy <ilya@joindiaspora.com>2011-07-02 09:32:23 +0400
committerIlyaaaaaaaaaaaaa Zhitomirskiy <ilya@joindiaspora.com>2011-07-06 02:03:26 +0400
commit1e4ee472b70ca0899795c3582f79b796dc8f1c20 (patch)
treee824494e571adb461dcc5f37c36cdcd7673d3ff6 /features
parent77d28b411706a8590accf8a4b33cfe5c422117d6 (diff)
WIP you can now follow a tag, needs a clean up, and ajax love
Diffstat (limited to 'features')
-rw-r--r--features/follows_tags.feature33
1 files changed, 24 insertions, 9 deletions
diff --git a/features/follows_tags.feature b/features/follows_tags.feature
index 9e95fa482..de38def37 100644
--- a/features/follows_tags.feature
+++ b/features/follows_tags.feature
@@ -10,22 +10,37 @@ Feature: posting
When I sign in as "bob@bob.bob"
And I am on the home page
-
- Scenario: see a tag that I am following
- Given I expand the publisher
- And I fill in "status_message_fake_text" with "I am ALICE"
+ And I expand the publisher
+ And I fill in "status_message_fake_text" with "I am da #boss"
And I press the first ".public_icon" within "#publisher"
And I press "Share"
+ And I wait for the ajax to finish
+ And I wait for the ajax to finish
+
+ When I go to the home page
+ Then I should see "I am da #boss"
+ And I wait for 5 seconds
+
+ And I follow "#boss"
+ And I wait for the ajax to finish
+ And I debug
+ Then I should see "I am da #boss"
+
+
And I go to the destroy user session page
And I sign in as "alice@alice.alice"
- And I search for "#alice"
- And I press "Follow #alice"
- And I go to the home page
- And I press "#alice"
- Then I should see "I am #alice"
+ And I search for "#boss"
+ And I press "Follow #boss"
+ And I wait for the ajax to finish
+ Scenario: see a tag that I am following
+ When I go to the home page
+ And I follow "#boss"
+ Then I should see "I am da #boss"
+ Scenario: see that I'm following a particular tag
+ Then I should see "Following #boss"