Sha256: caaf1530fa8ba75df1cdf5d8224e5316d32b2a946463a66ea99dc7ca168df0dc

Contents?: true

Size: 1.91 KB

Versions: 41

Compression:

Stored size: 1.91 KB

Contents

@javascript
Feature: Follow interface
  In order to make use of notifications
  As an Editor
  I want simple follow interface on cards

  Background:
    Given I am signed in as Joe User

  Scenario: Anonymous User should not see follow UI
    Given I follow "Sign out"
    When I go to the homepage
    And I open the main card menu
    Then I should not see "follow"

  Scenario: Following a Card
    Given Joe User is not watching "Home+*self"
    When I go to the homepage
    And I open the main card menu
    And In the main card menu I should not see "unfollow"
    And In the main card menu I click "follow"
    And I wait a sec
    And I close the modal window
    And I wait a sec
    And I open the main card menu
    Then In the main card menu I should see "unfollow"
    And the card Home+*self+Joe User+*follow should point to "always"

  Scenario: Unfollowing a Card
    Given Joe User is watching "Home+*self"
    And the card Home+*self+Joe User+*follow should point to "always"
    And I am on the homepage
    And I open the main card menu
    And In the main card menu I click "unfollow"
    And I wait a sec
    And I close the modal window
    And I wait a sec
    And I open the main card menu
    Then In the main card menu I should see "follow"
    And the card Home+*self+Joe User+*follow should point to "never"


  Scenario: Following a Cardtype
    When I go to card User
    And I open the main card menu
    Then In the main card menu I should see "follow"

  Scenario: A Card whose Cardtype is Followed
    Given Joe User is watching "User+*type"
    And I go to card Joe User
    And I open the main card menu
    Then In the main card menu I should see "(following)|unfollow"
    And I wait a sec

#too long for menu
#
#  Scenario: Watching Cardtypes
#    Given Joe User is watching "Cardtype"
#    When I go to card User
#    Then In the main card footer I should see "watching Cardtype cards | watch User cards"



Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
wagn-1.21.1 features/follow.feature
decko-0.1 features/follow.feature
wagn-1.21.0 features/follow.feature
wagn-1.20.4 features/follow.feature
wagn-1.20.3 features/follow.feature
wagn-1.20.2 features/follow.feature
wagn-1.20.1 features/follow.feature
wagn-1.20.0 features/follow.feature
wagn-1.19.6 features/follow.feature
wagn-1.19.5 features/follow.feature
wagn-1.19.4 features/follow.feature
wagn-1.19.3 features/follow.feature
wagn-1.19.2 features/follow.feature
wagn-1.19.1 features/follow.feature
wagn-1.19.0 features/follow.feature
wagn-1.18.6 features/follow.feature
wagn-1.18.5 features/follow.feature
wagn-1.18.4 features/follow.feature
wagn-1.18.3 features/follow.feature
wagn-1.18.2 features/follow.feature