Sha256: 8f80f9f69e8899d0ad96d1fa84ad37474e9b96fe03d21d6a98e61b84a4763f86

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 Home+*watchers should contain "Joe User"

  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 Home+*watchers should not contain "Joe User"

  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.13.0 features/watch.feature
wagn-1.13.0.pre2 features/watch.feature
wagn-1.13.0.pre1 features/watch.feature