Sha256: b3f85dc30cb724f0967a5d9799e947c243769c1301f6080567be16bb05fc55a1

Contents?: true

Size: 1.68 KB

Versions: 3

Compression:

Stored size: 1.68 KB

Contents

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

  Background:
    Given I am signed in as Joe User

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

  Scenario: Watching a Card
    When I go to the homepage
    And I hover over the main menu
    And In the main card menu I click "follow"
    Then In the main card menu I should see "following|unfollow"
    # assumes focus still on that link.  otherwise "following"
    # selenium behavior not totally consistent here.
    And the card Joe User+*following should contain "Home"

  Scenario: Unwatching a Card
    Given Joe User is watching "Home"
    And I am on the homepage
    And I hover over the main menu
    And In the main card menu I click "following"
    #note: turns to "unfollow on mouseover"
    Then In the main card menu I should see "follow"
    And the card Joe User+*following should not contain "Home"

  Scenario: Watching a Cardtype
    When I go to card User
    And I hover over the main menu
    And In the main card menu I should see "follow all"
    And In the main card menu I should not see "|"

  Scenario: A Card whose Cardtype is Watched
    Given Joe User is watching "User"
    And I go to card Joe User
    And I hover over the main menu
    Then In the main card menu I should see "(following)"

#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

3 entries across 3 versions & 1 rubygems

Version Path
wagn-1.14.0.pre3 features/watch.feature
wagn-1.14.0.pre2 features/watch.feature
wagn-1.14.0.pre1 features/watch.feature